2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Vtable Verification Runtime Library 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Vtable Verification Runtime Library'
589 PACKAGE_TARNAME
='libvtv'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='GNU Vtable Verification Runtime Library 1.0'
593 PACKAGE_URL
='http://www.gnu.org/software/libvtv/'
595 ac_unique_file
="vtv_rts.h"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
643 ENABLE_DARWIN_AT_RPATH_FALSE
644 ENABLE_DARWIN_AT_RPATH_TRUE
681 MAINTAINER_MODE_FALSE
705 INSTALL_STRIP_PROGRAM
720 ENABLE_VTABLE_VERIFY_FALSE
721 ENABLE_VTABLE_VERIFY_TRUE
732 LIBSTDCXX_RAW_CXX_LDFLAGS
733 LIBSTDCXX_RAW_CXX_CXXFLAGS
775 program_transform_name
788 enable_option_checking
790 enable_version_specific_runtime_libs
792 enable_dependency_tracking
794 enable_maintainer_mode
802 enable_darwin_at_rpath
804 with_gcc_major_version_only
806 ac_precious_vars
='build_alias
818 # Initialize some variables set by options.
820 ac_init_version
=false
821 ac_unrecognized_opts
=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
832 program_transform_name
=s
,x
,x
,
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir
='${exec_prefix}/bin'
847 sbindir
='${exec_prefix}/sbin'
848 libexecdir
='${exec_prefix}/libexec'
849 datarootdir
='${prefix}/share'
850 datadir
='${datarootdir}'
851 sysconfdir
='${prefix}/etc'
852 sharedstatedir
='${prefix}/com'
853 localstatedir
='${prefix}/var'
854 includedir
='${prefix}/include'
855 oldincludedir
='/usr/include'
856 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
857 infodir
='${datarootdir}/info'
862 libdir
='${exec_prefix}/lib'
863 localedir
='${datarootdir}/locale'
864 mandir
='${datarootdir}/man'
870 # If the previous option needs an argument, assign it.
871 if test -n "$ac_prev"; then
872 eval $ac_prev=\
$ac_option
878 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 # Accept the important Cygnus configure options, so we can diagnose typos.
885 case $ac_dashdash$ac_option in
889 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
891 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
894 -build |
--build |
--buil |
--bui |
--bu)
895 ac_prev
=build_alias
;;
896 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
897 build_alias
=$ac_optarg ;;
899 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
900 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
901 ac_prev
=cache_file
;;
902 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
903 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
904 cache_file
=$ac_optarg ;;
907 cache_file
=config.cache
;;
909 -datadir |
--datadir |
--datadi |
--datad)
911 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
912 datadir
=$ac_optarg ;;
914 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
915 |
--dataroo |
--dataro |
--datar)
916 ac_prev
=datarootdir
;;
917 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
918 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
919 datarootdir
=$ac_optarg ;;
921 -disable-* |
--disable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error $?
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=no
;;
937 -docdir |
--docdir |
--docdi |
--doc |
--do)
939 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
942 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
944 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
947 -enable-* |
--enable-*)
948 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
951 as_fn_error $?
"invalid feature name: $ac_useropt"
952 ac_useropt_orig
=$ac_useropt
953 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
959 ac_unrecognized_sep
=', ';;
961 eval enable_
$ac_useropt=\
$ac_optarg ;;
963 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
964 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
965 |
--exec |
--exe |
--ex)
966 ac_prev
=exec_prefix
;;
967 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
968 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
969 |
--exec=* |
--exe=* |
--ex=*)
970 exec_prefix
=$ac_optarg ;;
972 -gas |
--gas |
--ga |
--g)
973 # Obsolete; use --with-gas.
976 -help |
--help |
--hel |
--he |
-h)
978 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
979 ac_init_help
=recursive
;;
980 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
981 ac_init_help
=short
;;
983 -host |
--host |
--hos |
--ho)
984 ac_prev
=host_alias
;;
985 -host=* |
--host=* |
--hos=* |
--ho=*)
986 host_alias
=$ac_optarg ;;
988 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
990 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
992 htmldir
=$ac_optarg ;;
994 -includedir |
--includedir |
--includedi |
--included |
--include \
995 |
--includ |
--inclu |
--incl |
--inc)
996 ac_prev
=includedir
;;
997 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
998 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
999 includedir
=$ac_optarg ;;
1001 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1003 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1004 infodir
=$ac_optarg ;;
1006 -libdir |
--libdir |
--libdi |
--libd)
1008 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1009 libdir
=$ac_optarg ;;
1011 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1012 |
--libexe |
--libex |
--libe)
1013 ac_prev
=libexecdir
;;
1014 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1015 |
--libexe=* |
--libex=* |
--libe=*)
1016 libexecdir
=$ac_optarg ;;
1018 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1019 ac_prev
=localedir
;;
1020 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1021 localedir
=$ac_optarg ;;
1023 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1024 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1025 ac_prev
=localstatedir
;;
1026 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1027 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1028 localstatedir
=$ac_optarg ;;
1030 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1032 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1033 mandir
=$ac_optarg ;;
1035 -nfp |
--nfp |
--nf)
1036 # Obsolete; use --without-fp.
1039 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1040 |
--no-cr |
--no-c |
-n)
1043 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1044 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1047 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1048 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1049 |
--oldin |
--oldi |
--old |
--ol |
--o)
1050 ac_prev
=oldincludedir
;;
1051 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1052 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1053 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1054 oldincludedir
=$ac_optarg ;;
1056 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1058 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1059 prefix
=$ac_optarg ;;
1061 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1062 |
--program-pre |
--program-pr |
--program-p)
1063 ac_prev
=program_prefix
;;
1064 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1065 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1066 program_prefix
=$ac_optarg ;;
1068 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1069 |
--program-suf |
--program-su |
--program-s)
1070 ac_prev
=program_suffix
;;
1071 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1072 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1073 program_suffix
=$ac_optarg ;;
1075 -program-transform-name |
--program-transform-name \
1076 |
--program-transform-nam |
--program-transform-na \
1077 |
--program-transform-n |
--program-transform- \
1078 |
--program-transform |
--program-transfor \
1079 |
--program-transfo |
--program-transf \
1080 |
--program-trans |
--program-tran \
1081 |
--progr-tra |
--program-tr |
--program-t)
1082 ac_prev
=program_transform_name
;;
1083 -program-transform-name=* |
--program-transform-name=* \
1084 |
--program-transform-nam=* |
--program-transform-na=* \
1085 |
--program-transform-n=* |
--program-transform-=* \
1086 |
--program-transform=* |
--program-transfor=* \
1087 |
--program-transfo=* |
--program-transf=* \
1088 |
--program-trans=* |
--program-tran=* \
1089 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1090 program_transform_name
=$ac_optarg ;;
1092 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1094 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1095 pdfdir
=$ac_optarg ;;
1097 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1099 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1102 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1103 |
-silent |
--silent |
--silen |
--sile |
--sil)
1106 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1108 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1110 sbindir
=$ac_optarg ;;
1112 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1113 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1114 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1116 ac_prev
=sharedstatedir
;;
1117 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1118 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1119 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1121 sharedstatedir
=$ac_optarg ;;
1123 -site |
--site |
--sit)
1125 -site=* |
--site=* |
--sit=*)
1128 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1130 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1131 srcdir
=$ac_optarg ;;
1133 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1134 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1135 ac_prev
=sysconfdir
;;
1136 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1137 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1138 sysconfdir
=$ac_optarg ;;
1140 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1141 ac_prev
=target_alias
;;
1142 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1143 target_alias
=$ac_optarg ;;
1145 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1148 -version |
--version |
--versio |
--versi |
--vers |
-V)
1149 ac_init_version
=: ;;
1152 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=\
$ac_optarg ;;
1167 -without-* |
--without-*)
1168 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1171 as_fn_error $?
"invalid package name: $ac_useropt"
1172 ac_useropt_orig
=$ac_useropt
1173 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1178 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1179 ac_unrecognized_sep
=', ';;
1181 eval with_
$ac_useropt=no
;;
1184 # Obsolete; use --with-x.
1187 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1188 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1189 ac_prev
=x_includes
;;
1190 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1191 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1192 x_includes
=$ac_optarg ;;
1194 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1195 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1196 ac_prev
=x_libraries
;;
1197 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1198 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1199 x_libraries
=$ac_optarg ;;
1201 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1202 Try \`$0 --help' for more information"
1206 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 case $ac_envvar in #(
1209 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1210 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1212 eval $ac_envvar=\
$ac_optarg
1213 export $ac_envvar ;;
1216 # FIXME: should be removed in autoconf 3.0.
1217 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1219 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1226 if test -n "$ac_prev"; then
1227 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1228 as_fn_error $?
"missing argument to $ac_option"
1231 if test -n "$ac_unrecognized_opts"; then
1232 case $enable_option_checking in
1234 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1235 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239 # Check all directory arguments for consistency.
1240 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1241 datadir sysconfdir sharedstatedir localstatedir includedir \
1242 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1243 libdir localedir mandir
1245 eval ac_val
=\$
$ac_var
1246 # Remove trailing slashes.
1249 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1250 eval $ac_var=\
$ac_val;;
1252 # Be sure to have absolute directory names.
1254 [\\/$
]* | ?
:[\\/]* ) continue;;
1255 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1257 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1260 # There might be people who depend on the old broken behavior: `$host'
1261 # used to hold the argument of --host etc.
1262 # FIXME: To remove some day.
1265 target
=$target_alias
1267 # FIXME: To remove some day.
1268 if test "x$host_alias" != x
; then
1269 if test "x$build_alias" = x
; then
1270 cross_compiling
=maybe
1271 elif test "x$build_alias" != "x$host_alias"; then
1277 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1279 test "$silent" = yes && exec 6>/dev
/null
1282 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di
=`ls -di .` &&
1284 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1285 as_fn_error $?
"working directory cannot be determined"
1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1287 as_fn_error $?
"pwd does not report name of working directory"
1290 # Find the source files, if location was not specified.
1291 if test -z "$srcdir"; then
1292 ac_srcdir_defaulted
=yes
1293 # Try the directory containing this script, then the parent directory.
1294 ac_confdir
=`$as_dirname -- "$as_myself" ||
1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1296 X"$as_myself" : 'X\(//\)[^/]' \| \
1297 X"$as_myself" : 'X\(//\)$' \| \
1298 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1299 $as_echo X"$as_myself" |
1300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1322 ac_srcdir_defaulted
=no
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1325 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1326 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1328 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332 # When building in place, set srcdir=.
1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
1336 # Remove unnecessary trailing slashes from srcdir.
1337 # Double slashes in file names in object file debugging info
1338 # mess up M-x gdb in Emacs.
1340 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 for ac_var
in $ac_precious_vars; do
1343 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1345 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1346 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1350 # Report the --help message.
1352 if test "$ac_init_help" = "long"; then
1353 # Omit some internal or obsolete options to make the list less imposing.
1354 # This message is too long to be a string in the A/UX 3.1 sh.
1356 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE. See below for descriptions of some of the useful variables.
1363 Defaults for the options are specified in brackets.
1366 -h, --help display this help and exit
1367 --help=short display options specific to this package
1368 --help=recursive display the short help of all the included packages
1369 -V, --version display version information and exit
1370 -q, --quiet, --silent do not print \`checking ...' messages
1371 --cache-file=FILE cache test results in FILE [disabled]
1372 -C, --config-cache alias for \`--cache-file=config.cache'
1373 -n, --no-create do not create output files
1374 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1376 Installation directories:
1377 --prefix=PREFIX install architecture-independent files in PREFIX
1378 [$ac_default_prefix]
1379 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1387 For better control, use the options below.
1389 Fine tuning of the installation directories:
1390 --bindir=DIR user executables [EPREFIX/bin]
1391 --sbindir=DIR system admin executables [EPREFIX/sbin]
1392 --libexecdir=DIR program executables [EPREFIX/libexec]
1393 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1394 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1395 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1396 --libdir=DIR object code libraries [EPREFIX/lib]
1397 --includedir=DIR C header files [PREFIX/include]
1398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1401 --infodir=DIR info documentation [DATAROOTDIR/info]
1402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1403 --mandir=DIR man documentation [DATAROOTDIR/man]
1404 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1405 --htmldir=DIR html documentation [DOCDIR]
1406 --dvidir=DIR dvi documentation [DOCDIR]
1407 --pdfdir=DIR pdf documentation [DOCDIR]
1408 --psdir=DIR ps documentation [DOCDIR]
1414 --program-prefix=PREFIX prepend PREFIX to installed program names
1415 --program-suffix=SUFFIX append SUFFIX to installed program names
1416 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1419 --build=BUILD configure
for building on BUILD
[guessed
]
1420 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1421 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1425 if test -n "$ac_init_help"; then
1426 case $ac_init_help in
1427 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1432 --disable-option-checking ignore unrecognized
--enable/--with options
1433 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1434 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1435 --enable-multilib build many library versions
(default
)
1436 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1437 --enable-vtable-verify Enable vtable verification feature
1438 --enable-dependency-tracking
1439 do not reject slow dependency extractors
1440 --disable-dependency-tracking
1441 speeds up one-time build
1442 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1443 --disable-silent-rules verbose build output
(undo
: "make V=0")
1444 --enable-maintainer-mode
1445 enable make rules and dependencies not useful
(and
1446 sometimes confusing
) to the casual installer
1447 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1448 --enable-static[=PKGS
] build static libraries
[default
=yes]
1449 --enable-fast-install[=PKGS
]
1450 optimize
for fast installation
[default
=yes]
1451 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1452 --enable-darwin-at-rpath
1453 install libraries with @rpath
/library-name
, requires
1454 rpaths to be added to executables
1455 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1458 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1459 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1460 --with-toolexeclibdir=DIR
1461 install libraries built with a cross compiler within
1463 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1465 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1466 --with-gcc-major-version-only
1467 use only GCC major number
in filesystem paths
1469 Some influential environment variables
:
1470 CC C compiler
command
1471 CFLAGS C compiler flags
1472 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1473 nonstandard directory
<lib dir
>
1474 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1475 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1476 you have headers
in a nonstandard directory
<include dir
>
1478 CXX C
++ compiler
command
1479 CXXFLAGS C
++ compiler flags
1480 CXXCPP C
++ preprocessor
1482 Use these variables to override the choices made by
`configure' or to help
1483 it to find libraries and programs with nonstandard names/locations.
1485 Report bugs to the package provider.
1486 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1487 General help using GNU software: <http://www.gnu.org/gethelp/>.
1492 if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1495 test -d "$ac_dir" ||
1496 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1504 # A ".." for each directory in $ac_dir_suffix.
1505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1506 case $ac_top_builddir_sub in
1507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1511 ac_abs_top_builddir=$ac_pwd
1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1513 # for backward compatibility:
1514 ac_top_builddir=$ac_top_build_prefix
1517 .) # We are building in place.
1519 ac_top_srcdir=$ac_top_builddir_sub
1520 ac_abs_top_srcdir=$ac_pwd ;;
1521 [\\/]* | ?:[\\/]* ) # Absolute name.
1522 ac_srcdir=$srcdir$ac_dir_suffix;
1523 ac_top_srcdir=$srcdir
1524 ac_abs_top_srcdir=$srcdir ;;
1526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1527 ac_top_srcdir=$ac_top_build_prefix$srcdir
1528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1532 cd "$ac_dir" || { ac_status=$?; continue; }
1533 # Check for guested configure.
1534 if test -f "$ac_srcdir/configure.gnu"; then
1536 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1537 elif test -f "$ac_srcdir/configure"; then
1539 $SHELL "$ac_srcdir/configure" --help=recursive
1541 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543 cd "$ac_pwd" || { ac_status=$?; break; }
1547 test -n "$ac_init_help" && exit $ac_status
1548 if $ac_init_version; then
1550 GNU Vtable Verification Runtime Library configure 1.0
1551 generated by GNU Autoconf 2.69
1553 Copyright (C) 2012 Free Software Foundation, Inc.
1554 This configure script is free software; the Free Software Foundation
1555 gives unlimited permission to copy, distribute and modify it.
1560 ## ------------------------ ##
1561 ## Autoconf initialization. ##
1562 ## ------------------------ ##
1564 # ac_fn_c_try_compile LINENO
1565 # --------------------------
1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_c_try_compile ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 rm -f conftest.$ac_objext
1571 if { { ac_try="$ac_compile"
1573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1574 *) ac_try_echo
=$ac_try;;
1576 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1580 if test -s conftest.err
; then
1581 grep -v '^ *+' conftest.err
>conftest.er1
1582 cat conftest.er1
>&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.
$ac_objext; then :
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.
$ac_ext >&5
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598 as_fn_set_status
$ac_retval
1600 } # ac_fn_c_try_compile
1602 # ac_fn_c_try_cpp LINENO
1603 # ----------------------
1604 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1607 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1608 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } > conftest.i && {
1624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1642 # the include files in INCLUDES and setting the cache variable VAR
1644 ac_fn_c_check_header_mongrel ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 if eval \${$3+:} false; then :
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \${$3+:} false; then :
1651 $as_echo_n "(cached) " >&6
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 # Is the header compilable?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1659 $as_echo_n "checking $2 usability... " >&6; }
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 ac_header_compiler=yes
1668 ac_header_compiler=no
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1672 $as_echo "$ac_header_compiler" >&6; }
1674 # Is the header present?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1676 $as_echo_n "checking $2 presence... " >&6; }
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1681 if ac_fn_c_try_cpp "$LINENO"; then :
1682 ac_header_preproc=yes
1684 ac_header_preproc=no
1686 rm -f conftest.err conftest.i conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1688 $as_echo "$ac_header_preproc" >&6; }
1690 # So? What about this header?
1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1702 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1706 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if eval \${$3+:} false; then :
1714 $as_echo_n "(cached) " >&6
1716 eval "$3=\$ac_header_compiler"
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 } # ac_fn_c_check_header_mongrel
1726 # ac_fn_c_try_run LINENO
1727 # ----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1729 # that executables *can* be run.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_link"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1744 { { case "(($ac_try" in
1745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_try") 2>&5
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; }; }; then :
1756 $as_echo "$as_me: program exited with status $ac_status" >&5
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=$ac_status
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists and can be compiled using the include files in
1771 # INCLUDES, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_compile ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval \${$3+:} false; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile "$LINENO"; then :
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } # ac_fn_c_check_header_compile
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext conftest$ac_exeext
1806 if { { ac_try="$ac_link"
1808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1809 *) ac_try_echo
=$ac_try;;
1811 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_link") 2>conftest.err
1815 if test -s conftest.err
; then
1816 grep -v '^ *+' conftest.err
>conftest.er1
1817 cat conftest.er1
>&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && {
1822 test -z "$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest
$ac_exeext && {
1825 test "$cross_compiling" = yes ||
1826 test -x conftest
$ac_exeext
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.
$ac_ext >&5
1835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837 # interfere with the next link command; also delete a directory that is
1838 # left behind by Apple's compiler. We do this before executing the actions.
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status
$ac_retval
1843 } # ac_fn_c_try_link
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \
${$3+:} false
; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link
"$LINENO"; then :
1902 rm -f core conftest.err conftest.
$ac_objext \
1903 conftest
$ac_exeext conftest.
$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_func
1912 # ac_fn_cxx_try_compile LINENO
1913 # ----------------------------
1914 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1915 ac_fn_cxx_try_compile
()
1917 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1918 rm -f conftest.
$ac_objext
1919 if { { ac_try
="$ac_compile"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_compile") 2>conftest.err
1928 if test -s conftest.err; then
1929 grep -v '^ *+' conftest.err >conftest.er1
1930 cat conftest.er1 >&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && {
1935 test -z "$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1937 } && test -s conftest.$ac_objext; then :
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 as_fn_set_status $ac_retval
1948 } # ac_fn_cxx_try_compile
1950 # ac_fn_cxx_try_cpp LINENO
1951 # ------------------------
1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_cpp ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1959 *) ac_try_echo
=$ac_try;;
1961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 if test -s conftest.err
; then
1966 grep -v '^ *+' conftest.err
>conftest.er1
1967 cat conftest.er1
>&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } > conftest.i
&& {
1972 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1973 test ! -s conftest.err
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status
$ac_retval
1985 } # ac_fn_cxx_try_cpp
1987 # ac_fn_cxx_try_link LINENO
1988 # -------------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_link
()
1992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1993 rm -f conftest.
$ac_objext conftest
$ac_exeext
1994 if { { ac_try
="$ac_link"
1996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 test -x conftest$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_cxx_try_link
2032 cat >config.log <<_ACEOF
2033 This file contains any messages produced by compilers while
2034 running configure, to aid debugging if configure makes a mistake.
2036 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
2037 generated by GNU Autoconf 2.69. Invocation command line was
2049 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2050 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2051 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2052 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2053 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2055 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2056 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2058 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2059 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2060 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2061 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2062 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2063 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2064 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 test -z "$as_dir" && as_dir=.
2073 $as_echo "PATH: $as_dir"
2089 # Keep a trace of the command line.
2090 # Strip out --no-create and --no-recursion so they do not pile up.
2091 # Strip out --silent because we don't want to record it for future runs.
2092 # Also quote any args containing shell meta-characters.
2093 # Make two passes to allow for proper duplicate-argument suppression.
2097 ac_must_keep_next=false
2103 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2105 | -silent | --silent | --silen | --sile | --sil)
2108 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2111 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2113 as_fn_append ac_configure_args1 " '$ac_arg'"
2114 if test $ac_must_keep_next = true; then
2115 ac_must_keep_next=false # Got value, back to normal.
2118 *=* | --config-cache | -C | -disable-* | --disable-* \
2119 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2120 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2121 | -with-* | --with-* | -without-* | --without-* | --x)
2122 case "$ac_configure_args0 " in
2123 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2126 -* ) ac_must_keep_next=true ;;
2129 as_fn_append ac_configure_args " '$ac_arg'"
2134 { ac_configure_args0=; unset ac_configure_args0;}
2135 { ac_configure_args1=; unset ac_configure_args1;}
2137 # When interrupted or exit'd, cleanup temporary files, and complete
2138 # config.log. We remove comments because anyway the quotes in there
2139 # would cause problems or look ugly.
2140 # WARNING: Use '\'' to represent an apostrophe within the trap.
2141 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2142 trap 'exit_status=$?
2143 # Save into config.log some information that might help in debugging.
2147 $as_echo "## ---------------- ##
2148 ## Cache variables. ##
2149 ## ---------------- ##"
2151 # The following way of writing the cache mishandles newlines in values,
2153 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2154 eval ac_val=\$$ac_var
2158 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2159 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2162 _ | IFS | as_nl) ;; #(
2163 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2164 *) { eval $ac_var=; unset $ac_var;} ;;
2169 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2170 *${as_nl}ac_space=\ *)
2172 "s/'\''/'\''\\\\'\'''\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183 $as_echo "## ----------------- ##
2184 ## Output variables. ##
2185 ## ----------------- ##"
2187 for ac_var in $ac_subst_vars
2189 eval ac_val=\$$ac_var
2191 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 $as_echo "$ac_var='\''$ac_val'\''"
2197 if test -n "$ac_subst_files"; then
2198 $as_echo "## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##"
2202 for ac_var in $ac_subst_files
2204 eval ac_val=\$$ac_var
2206 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 $as_echo "$ac_var='\''$ac_val'\''"
2213 if test -s confdefs.h; then
2214 $as_echo "## ----------- ##
2221 test "$ac_signal" != 0 &&
2222 $as_echo "$as_me: caught signal $ac_signal"
2223 $as_echo "$as_me: exit $exit_status"
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 for ac_signal in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest* confdefs.h
2237 $as_echo "/* confdefs.h */" > confdefs.h
2239 # Predefined preprocessor variables.
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_URL "$PACKAGE_URL"
2266 # Let the site file select an alternate cache file if it wants to.
2267 # Prefer an explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 # We do not want a PATH search for config.site.
2272 case $CONFIG_SITE in #((
2273 -*) ac_site_file1=./$CONFIG_SITE;;
2274 */*) ac_site_file1=$CONFIG_SITE;;
2275 *) ac_site_file1=./$CONFIG_SITE;;
2277 elif test "x$prefix" != xNONE; then
2278 ac_site_file1=$prefix/share/config.site
2279 ac_site_file2=$prefix/etc/config.site
2281 ac_site_file1=$ac_default_prefix/share/config.site
2282 ac_site_file2=$ac_default_prefix/etc/config.site
2284 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2286 test "x$ac_site_file" = xNONE && continue
2287 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2289 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2290 sed 's/^/| /' "$ac_site_file" >&5
2292 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294 as_fn_error $? "failed to load site
script $ac_site_file
2295 See \
`config.log' for more details" "$LINENO" 5; }
2299 if test -r "$cache_file"; then
2300 # Some versions of bash will fail to source /dev/null (special files
2301 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2302 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2304 $as_echo "$as_me: loading cache $cache_file" >&6;}
2306 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2307 *) . "./$cache_file";;
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2312 $as_echo "$as_me: creating cache $cache_file" >&6;}
2316 # Check that the precious variables saved in the cache have kept the same
2318 ac_cache_corrupted=false
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321 eval ac_new_set=\$ac_env_${ac_var}_set
2322 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323 eval ac_new_val=\$ac_env_${ac_var}_value
2324 case $ac_old_set,$ac_new_set in
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2327 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2331 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2332 ac_cache_corrupted=: ;;
2335 if test "x$ac_old_val" != "x$ac_new_val"; then
2336 # differences in whitespace do not lead to failure.
2337 ac_old_val_w=`echo x
$ac_old_val`
2338 ac_new_val_w=`echo x
$ac_new_val`
2339 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2341 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2342 ac_cache_corrupted=:
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2345 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2346 eval $ac_var=\$ac_old_val
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2349 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2351 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2354 # Pass precious variables to config.status.
2355 if test "$ac_new_set" = set; then
2357 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2358 *) ac_arg=$ac_var=$ac_new_val ;;
2360 case " $ac_configure_args " in
2361 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2362 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2366 if $ac_cache_corrupted; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2370 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2371 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2373 ## -------------------- ##
2374 ## Main body of script. ##
2375 ## -------------------- ##
2378 ac_cpp='$CPP $CPPFLAGS'
2379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 #AC_INIT(package-unused, version-unused, libvtv)
2390 # Default to --enable-multilib
2391 # Check whether --enable-multilib was given.
2392 if test "${enable_multilib+set}" = set; then :
2393 enableval=$enable_multilib; case "$enableval" in
2394 yes) multilib=yes ;;
2396 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2403 # We may get other options which we leave undocumented:
2404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2405 # See config-ml.in if you want the gory details.
2407 if test "$srcdir" = "."; then
2408 if test "$with_target_subdir" != "."; then
2409 multi_basedir="$srcdir/$with_multisrctop../.."
2411 multi_basedir="$srcdir/$with_multisrctop.."
2414 multi_basedir="$srcdir/.."
2418 # Even if the default multilib is not a cross compilation,
2419 # it may be that some of the other multilibs are.
2420 if test $cross_compiling = no && test $multilib = yes \
2421 && test "x${with_multisubdir}" != x ; then
2422 cross_compiling=maybe
2425 ac_config_commands="$ac_config_commands default-1"
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2432 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2433 # Check whether --enable-version-specific-runtime-libs was given.
2434 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2435 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2436 yes) version_specific_libs=yes ;;
2437 no) version_specific_libs=no ;;
2438 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2441 version_specific_libs=no
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2445 $as_echo "$version_specific_libs" >&6; }
2447 # Do not delete or change the following two lines. For why, see
2448 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2450 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2451 if test -f "$ac_dir/install-sh"; then
2453 ac_install_sh="$ac_aux_dir/install-sh -c"
2455 elif test -f "$ac_dir/install.sh"; then
2457 ac_install_sh="$ac_aux_dir/install.sh -c"
2459 elif test -f "$ac_dir/shtool"; then
2461 ac_install_sh="$ac_aux_dir/shtool install -c"
2465 if test -z "$ac_aux_dir"; then
2466 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2469 # These three variables are undocumented and unsupported,
2470 # and are intended to be withdrawn in a future Autoconf release.
2471 # They can cause serious problems if a builder's source tree is in a directory
2472 # whose full name contains unusual characters.
2473 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2474 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2475 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2478 # Make sure we can run config.sub.
2479 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2480 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2483 $as_echo_n "checking build system type... " >&6; }
2484 if ${ac_cv_build+:} false; then :
2485 $as_echo_n "(cached) " >&6
2487 ac_build_alias=$build_alias
2488 test "x$ac_build_alias" = x &&
2489 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2490 test "x$ac_build_alias" = x &&
2491 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2492 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2493 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2497 $as_echo "$ac_cv_build" >&6; }
2498 case $ac_cv_build in
2500 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2503 ac_save_IFS=$IFS; IFS='-'
2509 # Remember, the first character of IFS is used to create $*,
2510 # except with old shells:
2513 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2517 $as_echo_n "checking host system type... " >&6; }
2518 if ${ac_cv_host+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test "x$host_alias" = x; then
2522 ac_cv_host=$ac_cv_build
2524 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2525 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2530 $as_echo "$ac_cv_host" >&6; }
2533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2536 ac_save_IFS=$IFS; IFS='-'
2542 # Remember, the first character of IFS is used to create $*,
2543 # except with old shells:
2546 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2550 $as_echo_n "checking target system type... " >&6; }
2551 if ${ac_cv_target+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test "x$target_alias" = x; then
2555 ac_cv_target=$ac_cv_host
2557 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2558 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2563 $as_echo "$ac_cv_target" >&6; }
2564 case $ac_cv_target in
2566 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2568 target=$ac_cv_target
2569 ac_save_IFS=$IFS; IFS='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2582 # The aliases save the names the user supplied, while $host etc.
2583 # will get canonicalized.
2584 test -n "$target_alias" &&
2585 test "$program_prefix$program_suffix$program_transform_name" = \
2587 program_prefix=${target_alias}-
2589 target_alias=${target_alias-$host_alias}
2591 case ${build_alias} in
2592 "") build_noncanonical=${build} ;;
2593 *) build_noncanonical=${build_alias} ;;
2596 case ${host_alias} in
2597 "") host_noncanonical=${build_noncanonical} ;;
2598 *) host_noncanonical=${host_alias} ;;
2601 case ${target_alias} in
2602 "") target_noncanonical=${host_noncanonical} ;;
2603 *) target_noncanonical=${target_alias} ;;
2610 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2611 -I\$(top_builddir)/../libstdc++-v3/include \
2612 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2613 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2614 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2615 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2620 # Expand $ac_aux_dir to an absolute path.
2621 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2624 ac_cpp='$CPP $CPPFLAGS'
2625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2630 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_CC+:} false; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2659 $as_echo "$CC" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2667 if test -z "$ac_cv_prog_CC"; then
2669 # Extract the first word of "gcc", so it can be a program name with args.
2670 set dummy gcc; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_ac_ct_CC="gcc"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2697 if test -n "$ac_ct_CC"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2699 $as_echo "$ac_ct_CC" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2705 if test "x$ac_ct_CC" = x; then
2708 case $cross_compiling:$ac_tool_warned in
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712 ac_tool_warned=yes ;;
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2723 set dummy ${ac_tool_prefix}cc; ac_word=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if ${ac_cv_prog_CC+:} false; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2739 ac_cv_prog_CC="${ac_tool_prefix}cc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2761 if test -z "$CC"; then
2762 # Extract the first word of "cc", so it can be a program name with args.
2763 set dummy cc; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if ${ac_cv_prog_CC+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2781 ac_prog_rejected=yes
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test $ac_prog_rejected = yes; then
2793 # We found a bogon in the path, so make sure we never use it.
2794 set dummy $ac_cv_prog_CC
2796 if test $# != 0; then
2797 # We chose a different compiler from the bogus one.
2798 # However, it has the same basename, so the bogon will be chosen
2799 # first if we set CC to just the basename; use the full file name.
2801 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 if test -n "$ac_tool_prefix"; then
2819 for ac_prog in cl.exe
2821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_CC+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir=.
2836 for ac_exec_ext in '' $ac_executable_extensions; do
2837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2858 test -n "$CC" && break
2861 if test -z "$CC"; then
2863 for ac_prog in cl.exe
2865 # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy $ac_prog; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$ac_ct_CC"; then
2873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 ac_cv_prog_ac_ct_CC="$ac_prog"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2893 if test -n "$ac_ct_CC"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2895 $as_echo "$ac_ct_CC" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$ac_ct_CC" && break
2905 if test "x$ac_ct_CC" = x; then
2908 case $cross_compiling:$ac_tool_warned in
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2912 ac_tool_warned=yes ;;
2921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2923 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2924 See \
`config.log' for more details" "$LINENO" 5; }
2926 # Provide some information about the compiler.
2927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2930 for ac_option in --version -v -V -qversion; do
2931 { { ac_try="$ac_compiler $ac_option >&5"
2933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2934 *) ac_try_echo
=$ac_try;;
2936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2940 if test -s conftest.err
; then
2942 ... rest of stderr output deleted ...
2943 10q' conftest.err
>conftest.er1
2944 cat conftest.er1
>&5
2946 rm -f conftest.er1 conftest.err
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; }
2951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2962 ac_clean_files_save
=$ac_clean_files
2963 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2964 # Try to create an executable without -o first, disregard a.out.
2965 # It will help us diagnose broken compilers, and finding out an intuition
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2968 $as_echo_n "checking whether the C compiler works... " >&6; }
2969 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2971 # The possible output files:
2972 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2975 for ac_file
in $ac_files
2978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2979 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2984 if { { ac_try
="$ac_link_default"
2986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_link_default") 2>&5
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }; then :
2995 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2996 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2997 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2998 # so that the user can short-circuit this test for compilers unknown to
3000 for ac_file in $ac_files ''
3002 test -f "$ac_file" || continue
3004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3007 # We found the default executable, but exeext='' is most
3011 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3013 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3015 # We set ac_cv_exeext here because the later test for it is not
3016 # safe: cross compilers may not add the suffix if given an `-o'
3017 # argument, so we may need to know it at that point already.
3018 # Even if this section looks crufty: it has the advantage of
3025 test "$ac_cv_exeext" = no && ac_cv_exeext=
3030 if test -z "$ac_file"; then :
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3033 $as_echo "$as_me: failed program was:" >&5
3034 sed 's
/^
/|
/' conftest.$ac_ext >&5
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3037 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3038 as_fn_error 77 "C compiler cannot create executables
3039 See \`config.log
' for more details" "$LINENO" 5; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3042 $as_echo "yes" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3045 $as_echo_n "checking for C compiler default output file name... " >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3047 $as_echo "$ac_file" >&6; }
3048 ac_exeext=$ac_cv_exeext
3050 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3051 ac_clean_files=$ac_clean_files_save
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3053 $as_echo_n "checking for suffix of executables... " >&6; }
3054 if { { ac_try="$ac_link"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; }; then :
3065 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3066 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3067 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3069 for ac_file
in conftest.exe conftest conftest.
*; do
3070 test -f "$ac_file" ||
continue
3072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3073 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3082 See \`config.log' for more details" "$LINENO" 5; }
3084 rm -f conftest conftest
$ac_cv_exeext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3086 $as_echo "$ac_cv_exeext" >&6; }
3088 rm -f conftest.
$ac_ext
3089 EXEEXT
=$ac_cv_exeext
3091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3097 FILE *f = fopen ("conftest.out", "w");
3098 return ferror (f) || fclose (f) != 0;
3104 ac_clean_files
="$ac_clean_files conftest.out"
3105 # Check that the compiler produces executables we can run. If not, either
3106 # the compiler is broken, or we cross compile.
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3108 $as_echo_n "checking whether we are cross compiling... " >&6; }
3109 if test "$cross_compiling" != yes; then
3110 { { ac_try
="$ac_link"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_link") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }
3121 if { ac_try='./conftest$ac_cv_exeext'
3122 { { case "(($ac_try" in
3123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3124 *) ac_try_echo
=$ac_try;;
3126 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_try") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }; }; then
3134 if test "$cross_compiling" = maybe
; then
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $?
"cannot run C compiled programs.
3140 If you meant to cross compile, use \`--host'.
3141 See \`config.log' for more details" "$LINENO" 5; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3146 $as_echo "$cross_compiling" >&6; }
3148 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3149 ac_clean_files
=$ac_clean_files_save
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3151 $as_echo_n "checking for suffix of object files... " >&6; }
3152 if ${ac_cv_objext+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3166 rm -f conftest.o conftest.obj
3167 if { { ac_try
="$ac_compile"
3169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_compile") 2>&5
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }; then :
3178 for ac_file in conftest.o conftest.obj conftest.*; do
3179 test -f "$ac_file" || continue;
3181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.$ac_ext >&5
3190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3193 See \
`config.log' for more details" "$LINENO" 5; }
3195 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3198 $as_echo "$ac_cv_objext" >&6; }
3199 OBJEXT=$ac_cv_objext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3202 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3203 if ${ac_cv_c_compiler_gnu+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3220 if ac_fn_c_try_compile "$LINENO"; then :
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3230 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3231 if test $ac_compiler_gnu = yes; then
3236 ac_test_CFLAGS=${CFLAGS+set}
3237 ac_save_CFLAGS=$CFLAGS
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3239 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3240 if ${ac_cv_prog_cc_g+:} false; then :
3241 $as_echo_n "(cached) " >&6
3243 ac_save_c_werror_flag=$ac_c_werror_flag
3244 ac_c_werror_flag=yes
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3276 ac_c_werror_flag=$ac_save_c_werror_flag
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3289 if ac_fn_c_try_compile "$LINENO"; then :
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_c_werror_flag=$ac_save_c_werror_flag
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3300 $as_echo "$ac_cv_prog_cc_g" >&6; }
3301 if test "$ac_test_CFLAGS" = set; then
3302 CFLAGS=$ac_save_CFLAGS
3303 elif test $ac_cv_prog_cc_g = yes; then
3304 if test "$GCC" = yes; then
3310 if test "$GCC" = yes; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3317 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3318 if ${ac_cv_prog_cc_c89+:} false; then :
3319 $as_echo_n "(cached) " >&6
3321 ac_cv_prog_cc_c89=no
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3328 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3329 struct buf { int x; };
3330 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3331 static char *e (p, i)
3337 static char *f (char * (*g) (char **, int), char **p, ...)
3342 s = g (p, va_arg (v,int));
3347 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3348 function prototypes and stuff, but not '\xHH' hex character constants.
3349 These don't provoke an error unfortunately, instead are silently treated
3350 as 'x'. The following induces an error, until -std is added to get
3351 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3352 array size at least. It's necessary to write '\x00'==0 to get something
3353 that's true only with -std. */
3354 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3356 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3357 inside strings and character constants. */
3359 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3361 int test (int i, double x);
3362 struct s1 {int (*f) (int a);};
3363 struct s2 {int (*f) (double a);};
3364 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3370 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3375 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3376 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3378 CC="$ac_save_CC $ac_arg"
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 ac_cv_prog_cc_c89=$ac_arg
3382 rm -f core conftest.err conftest.$ac_objext
3383 test "x$ac_cv_prog_cc_c89" != "xno" && break
3385 rm -f conftest.$ac_ext
3390 case "x$ac_cv_prog_cc_c89" in
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3393 $as_echo "none needed" >&6; } ;;
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3396 $as_echo "unsupported" >&6; } ;;
3398 CC="$CC $ac_cv_prog_cc_c89"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3400 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3402 if test "x$ac_cv_prog_cc_c89" != xno; then :
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413 ac_cpp='$CPP $CPPFLAGS'
3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3418 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3419 if ${am_cv_prog_cc_c_o+:} false; then :
3420 $as_echo_n "(cached) " >&6
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3433 # Make sure it works both with $CC and with simple cc.
3434 # Following AC_PROG_CC_C_O, we do the test twice because some
3435 # compilers refuse to overwrite an existing .o file with -o,
3436 # though they will create one.
3437 am_cv_prog_cc_c_o=yes
3439 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3440 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } \
3444 && test -f conftest2.$ac_objext; then
3447 am_cv_prog_cc_c_o=no
3451 rm -f core conftest*
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3455 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3456 if test "$am_cv_prog_cc_c_o" != yes; then
3457 # Losing compiler, so override with the script.
3458 # FIXME: It is wrong to rewrite CC.
3459 # But if we don't then we get into trouble of one sort or another.
3460 # A longer-term fix would be to have automake use am__CC in this case,
3461 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3462 CC="$am_aux_dir/compile $CC"
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 ac_cpp='$CPP $CPPFLAGS'
3474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3478 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3479 # On Suns, sometimes $CPP names a directory.
3480 if test -n "$CPP" && test -d "$CPP"; then
3483 if test -z "$CPP"; then
3484 if ${ac_cv_prog_CPP+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 # Double quotes because CPP needs to be expanded
3488 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3491 for ac_c_preproc_warn_flag in '' yes
3493 # Use a header file that comes with gcc, so configuring glibc
3494 # with a fresh cross-compiler works.
3495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3496 # <limits.h> exists even on freestanding compilers.
3497 # On the NeXT, cc -E runs the code through the compiler's parser,
3498 # not just through cpp. "Syntax error" is here to catch this case.
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3502 # include <limits.h>
3504 # include <assert.h>
3508 if ac_fn_c_try_cpp "$LINENO"; then :
3511 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.i conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3520 #include <ac_nonexistent.h>
3522 if ac_fn_c_try_cpp "$LINENO"; then :
3523 # Broken: success on invalid input.
3526 # Passes both tests.
3530 rm -f conftest.err conftest.i conftest.$ac_ext
3533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3534 rm -f conftest.i conftest.err conftest.
$ac_ext
3535 if $ac_preproc_ok; then :
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3548 $as_echo "$CPP" >&6; }
3550 for ac_c_preproc_warn_flag
in '' yes
3552 # Use a header file that comes with gcc, so configuring glibc
3553 # with a fresh cross-compiler works.
3554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3555 # <limits.h> exists even on freestanding compilers.
3556 # On the NeXT, cc -E runs the code through the compiler's parser,
3557 # not just through cpp. "Syntax error" is here to catch this case.
3558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3561 # include <limits.h>
3563 # include <assert.h>
3567 if ac_fn_c_try_cpp
"$LINENO"; then :
3570 # Broken: fails on valid input.
3573 rm -f conftest.err conftest.i conftest.
$ac_ext
3575 # OK, works on sane cases. Now check whether nonexistent headers
3576 # can be detected and how.
3577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3579 #include <ac_nonexistent.h>
3581 if ac_fn_c_try_cpp
"$LINENO"; then :
3582 # Broken: success on invalid input.
3585 # Passes both tests.
3589 rm -f conftest.err conftest.i conftest.
$ac_ext
3592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3593 rm -f conftest.i conftest.err conftest.
$ac_ext
3594 if $ac_preproc_ok; then :
3597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3600 See \`config.log' for more details" "$LINENO" 5; }
3604 ac_cpp
='$CPP $CPPFLAGS'
3605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3611 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3612 if ${ac_cv_path_GREP+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -z "$GREP"; then
3616 ac_path_GREP_found
=false
3617 # Loop through the user's path and test for each of PROGNAME-LIST
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_prog
in grep ggrep
; do
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3626 as_fn_executable_p
"$ac_path_GREP" ||
continue
3627 # Check for GNU ac_path_GREP and select it if it is found.
3628 # Check for GNU $ac_path_GREP
3629 case `"$ac_path_GREP" --version 2>&1` in
3631 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3634 $as_echo_n 0123456789 >"conftest.in"
3637 cat "conftest.in" "conftest.in" >"conftest.tmp"
3638 mv "conftest.tmp" "conftest.in"
3639 cp "conftest.in" "conftest.nl"
3640 $as_echo 'GREP' >> "conftest.nl"
3641 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3642 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3643 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3644 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3645 # Best one so far, save it but keep looking for a better one
3646 ac_cv_path_GREP
="$ac_path_GREP"
3647 ac_path_GREP_max
=$ac_count
3649 # 10*(2^10) chars as input seems more than enough
3650 test $ac_count -gt 10 && break
3652 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3655 $ac_path_GREP_found && break 3
3660 if test -z "$ac_cv_path_GREP"; then
3661 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3664 ac_cv_path_GREP
=$GREP
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3669 $as_echo "$ac_cv_path_GREP" >&6; }
3670 GREP
="$ac_cv_path_GREP"
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3674 $as_echo_n "checking for egrep... " >&6; }
3675 if ${ac_cv_path_EGREP+:} false
; then :
3676 $as_echo_n "(cached) " >&6
3678 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3679 then ac_cv_path_EGREP
="$GREP -E"
3681 if test -z "$EGREP"; then
3682 ac_path_EGREP_found
=false
3683 # Loop through the user's path and test for each of PROGNAME-LIST
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_prog
in egrep; do
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3692 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3693 # Check for GNU ac_path_EGREP and select it if it is found.
3694 # Check for GNU $ac_path_EGREP
3695 case `"$ac_path_EGREP" --version 2>&1` in
3697 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3700 $as_echo_n 0123456789 >"conftest.in"
3703 cat "conftest.in" "conftest.in" >"conftest.tmp"
3704 mv "conftest.tmp" "conftest.in"
3705 cp "conftest.in" "conftest.nl"
3706 $as_echo 'EGREP' >> "conftest.nl"
3707 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3708 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3709 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3710 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3711 # Best one so far, save it but keep looking for a better one
3712 ac_cv_path_EGREP
="$ac_path_EGREP"
3713 ac_path_EGREP_max
=$ac_count
3715 # 10*(2^10) chars as input seems more than enough
3716 test $ac_count -gt 10 && break
3718 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3721 $ac_path_EGREP_found && break 3
3726 if test -z "$ac_cv_path_EGREP"; then
3727 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3730 ac_cv_path_EGREP
=$EGREP
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3736 $as_echo "$ac_cv_path_EGREP" >&6; }
3737 EGREP
="$ac_cv_path_EGREP"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3741 $as_echo_n "checking for ANSI C header files... " >&6; }
3742 if ${ac_cv_header_stdc+:} false
; then :
3743 $as_echo_n "(cached) " >&6
3745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3760 if ac_fn_c_try_compile
"$LINENO"; then :
3761 ac_cv_header_stdc
=yes
3763 ac_cv_header_stdc
=no
3765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3767 if test $ac_cv_header_stdc = yes; then
3768 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3775 $EGREP "memchr" >/dev
/null
2>&1; then :
3778 ac_cv_header_stdc
=no
3784 if test $ac_cv_header_stdc = yes; then
3785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3792 $EGREP "free" >/dev
/null
2>&1; then :
3795 ac_cv_header_stdc
=no
3801 if test $ac_cv_header_stdc = yes; then
3802 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3803 if test "$cross_compiling" = yes; then :
3806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3810 #if ((' ' & 0x0FF) == 0x020)
3811 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3812 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3814 # define ISLOWER(c) \
3815 (('a' <= (c) && (c) <= 'i') \
3816 || ('j' <= (c) && (c) <= 'r') \
3817 || ('s' <= (c) && (c) <= 'z'))
3818 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3821 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3826 for (i = 0; i < 256; i++)
3827 if (XOR (islower (i), ISLOWER (i))
3828 || toupper (i) != TOUPPER (i))
3833 if ac_fn_c_try_run
"$LINENO"; then :
3836 ac_cv_header_stdc
=no
3838 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3839 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3845 $as_echo "$ac_cv_header_stdc" >&6; }
3846 if test $ac_cv_header_stdc = yes; then
3848 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3852 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3853 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3854 inttypes.h stdint.h unistd.h
3856 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3857 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3860 cat >>confdefs.h
<<_ACEOF
3861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3870 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3871 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3878 if test "$MINIX" = yes; then
3880 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3883 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3886 $as_echo "#define _MINIX 1" >>confdefs.h
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3892 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3893 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3894 $as_echo_n "(cached) " >&6
3896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3899 # define __EXTENSIONS__ 1
3900 $ac_includes_default
3909 if ac_fn_c_try_compile
"$LINENO"; then :
3910 ac_cv_safe_to_define___extensions__
=yes
3912 ac_cv_safe_to_define___extensions__
=no
3914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3917 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3918 test $ac_cv_safe_to_define___extensions__ = yes &&
3919 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3921 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3923 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3925 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3927 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3931 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3933 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3934 # Check whether --enable-vtable-verify was given.
3935 if test "${enable_vtable_verify+set}" = set; then :
3936 enableval
=$enable_vtable_verify; case "$enableval" in
3937 yes) enable_vtable_verify
=yes ;;
3938 no
) enable_vtable_verify
=no
;;
3939 *) enable_vtable_verify
=no
;;
3942 enable_vtable_verify
=no
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3946 $as_echo "$enable_vtable_verify" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3951 $as_echo_n "checking for host support for vtable verification... " >&6; }
3952 .
${srcdir}/configure.tgt
3955 # libvtv requires init priority support, which depends on the linker
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3958 $as_echo_n "checking for init priority support... " >&6; }
3959 if ${libvtv_cv_init_priority+:} false
; then :
3960 $as_echo_n "(cached) " >&6
3963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3969 void ip (void) __attribute__ ((constructor (1)));
3974 if ac_fn_c_try_compile
"$LINENO"; then :
3975 libgcc_cv_init_priority
=yes
3977 libgcc_cv_init_priority
=no
3979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3982 $as_echo "$libvtv_cv_init_priority" >&6; }
3983 if test x
$libvtv_cv_init_priority = xno
; then
3986 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3987 # configure.tgt restricting to libvtv to Solaris 11+.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3991 $as_echo "$VTV_SUPPORTED" >&6; }
3993 # Decide if it's usable.
3994 use_vtable_verify
=no
3995 if test "x$VTV_SUPPORTED" = "xyes"; then
3996 if test "x$enable_vtable_verify" = "xyes"; then
3997 use_vtable_verify
=yes
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3999 $as_echo "$as_me: using vtable verification" >&6;}
4002 if test $use_vtable_verify = yes; then
4003 ENABLE_VTABLE_VERIFY_TRUE
=
4004 ENABLE_VTABLE_VERIFY_FALSE
='#'
4006 ENABLE_VTABLE_VERIFY_TRUE
='#'
4007 ENABLE_VTABLE_VERIFY_FALSE
=
4011 am__api_version
='1.15'
4013 # Find a good install program. We prefer a C program (faster),
4014 # so one script is as good as another. But avoid the broken or
4015 # incompatible versions:
4016 # SysV /etc/install, /usr/sbin/install
4017 # SunOS /usr/etc/install
4018 # IRIX /sbin/install
4020 # AmigaOS /C/install, which installs bootblocks on floppy discs
4021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4024 # OS/2's system install, which has a completely different semantic
4025 # ./install, which can be erroneously created by make from ./install.sh.
4026 # Reject install programs that cannot install multiple files.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4028 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4029 if test -z "$INSTALL"; then
4030 if ${ac_cv_path_install+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 # Account for people who put trailing slashes in PATH elements.
4039 case $as_dir/ in #((
4040 .
/ | .
// |
/[cC
]/* | \
4041 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4042 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4045 # OSF1 and SCO ODT 3.0 have their own names for install.
4046 # Don't use installbsd from OSF since it installs stuff as root
4048 for ac_prog
in ginstall scoinst
install; do
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4051 if test $ac_prog = install &&
4052 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4053 # AIX install. It has an incompatible calling convention.
4055 elif test $ac_prog = install &&
4056 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4057 # program-specific install script used by HP pwplus--don't use.
4060 rm -rf conftest.one conftest.two conftest.dir
4061 echo one
> conftest.one
4062 echo two
> conftest.two
4064 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4065 test -s conftest.one
&& test -s conftest.two
&&
4066 test -s conftest.dir
/conftest.one
&&
4067 test -s conftest.dir
/conftest.two
4069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4082 rm -rf conftest.one conftest.two conftest.dir
4085 if test "${ac_cv_path_install+set}" = set; then
4086 INSTALL
=$ac_cv_path_install
4088 # As a last resort, use the slow shell script. Don't cache a
4089 # value for INSTALL within a source directory, because that will
4090 # break other packages using the cache if that directory is
4091 # removed, or if the value is a relative name.
4092 INSTALL
=$ac_install_sh
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4096 $as_echo "$INSTALL" >&6; }
4098 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4099 # It thinks the first close brace ends the variable substitution.
4100 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4102 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4104 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4107 $as_echo_n "checking whether build environment is sane... " >&6; }
4108 # Reject unsafe characters in $srcdir or the absolute working directory
4109 # name. Accept space and tab only in the latter.
4113 *[\\\"\
#\$\&\'\`$am_lf]*)
4114 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4117 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4118 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4121 # Do 'set' in a subshell so we don't clobber the current shell's
4122 # arguments. Must try -L first in case configure is actually a
4123 # symlink; some systems play weird games with the mod time of symlinks
4124 # (eg FreeBSD returns the mod time of the symlink's containing
4128 for am_try
in 1 2; do
4129 echo "timestamp, slept: $am_has_slept" > conftest.
file
4130 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4131 if test "$*" = "X"; then
4133 set X
`ls -t "$srcdir/configure" conftest.file`
4135 if test "$*" != "X $srcdir/configure conftest.file" \
4136 && test "$*" != "X conftest.file $srcdir/configure"; then
4138 # If neither matched, then we have a broken ls. This can happen
4139 # if, for instance, CONFIG_SHELL is bash and it inherits a
4140 # broken ls alias from the environment. This has actually
4141 # happened. Such a system could not be considered "sane".
4142 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4143 alias in your environment" "$LINENO" 5
4145 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4152 test "$2" = conftest.
file
4158 as_fn_error $?
"newly created file is older than distributed files!
4159 Check your system clock" "$LINENO" 5
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4162 $as_echo "yes" >&6; }
4163 # If we didn't sleep, we still need to ensure time stamps of config.status and
4164 # generated files are strictly newer.
4166 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4173 test "$program_prefix" != NONE
&&
4174 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4175 # Use a double $ so make ignores it.
4176 test "$program_suffix" != NONE
&&
4177 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4178 # Double any \ or $.
4179 # By default was `s,x,x', remove it if useless.
4180 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4181 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4183 if test x
"${MISSING+set}" != xset
; then
4186 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4188 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4191 # Use eval to expand $SHELL
4192 if eval "$MISSING --is-lightweight"; then
4193 am_missing_run
="$MISSING "
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4197 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4200 if test x
"${install_sh+set}" != xset
; then
4203 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4205 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4209 # Installed binaries are usually stripped using 'strip' when the user
4210 # run "make install-strip". However 'strip' might not be the right
4211 # tool to use in cross-compilation environments, therefore Automake
4212 # will honor the 'STRIP' environment variable to overrule this program.
4213 if test "$cross_compiling" != no
; then
4214 if test -n "$ac_tool_prefix"; then
4215 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4216 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_STRIP+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$STRIP"; then
4223 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_exec_ext
in '' $ac_executable_extensions; do
4231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4232 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 STRIP
=$ac_cv_prog_STRIP
4243 if test -n "$STRIP"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4245 $as_echo "$STRIP" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4253 if test -z "$ac_cv_prog_STRIP"; then
4255 # Extract the first word of "strip", so it can be a program name with args.
4256 set dummy strip
; ac_word
=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4260 $as_echo_n "(cached) " >&6
4262 if test -n "$ac_ct_STRIP"; then
4263 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir
=.
4270 for ac_exec_ext
in '' $ac_executable_extensions; do
4271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_ac_ct_STRIP
="strip"
4273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4283 if test -n "$ac_ct_STRIP"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4285 $as_echo "$ac_ct_STRIP" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4291 if test "x$ac_ct_STRIP" = x
; then
4294 case $cross_compiling:$ac_tool_warned in
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4298 ac_tool_warned
=yes ;;
4303 STRIP
="$ac_cv_prog_STRIP"
4307 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4310 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4311 if test -z "$MKDIR_P"; then
4312 if ${ac_cv_path_mkdir+:} false
; then :
4313 $as_echo_n "(cached) " >&6
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_prog
in mkdir gmkdir
; do
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4323 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4324 'mkdir (GNU coreutils) '* | \
4325 'mkdir (coreutils) '* | \
4326 'mkdir (fileutils) '4.1*)
4327 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4337 test -d .
/--version && rmdir .
/--version
4338 if test "${ac_cv_path_mkdir+set}" = set; then
4339 MKDIR_P
="$ac_cv_path_mkdir -p"
4341 # As a last resort, use the slow shell script. Don't cache a
4342 # value for MKDIR_P within a source directory, because that will
4343 # break other packages using the cache if that directory is
4344 # removed, or if the value is a relative name.
4345 MKDIR_P
="$ac_install_sh -d"
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4349 $as_echo "$MKDIR_P" >&6; }
4351 for ac_prog
in gawk mawk nawk
awk
4353 # Extract the first word of "$ac_prog", so it can be a program name with args.
4354 set dummy
$ac_prog; ac_word
=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_AWK+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$AWK"; then
4361 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_AWK
="$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$AWK"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4383 $as_echo "$AWK" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$AWK" && break
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4396 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4397 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 cat >conftest.
make <<\_ACEOF
4403 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4405 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4408 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4410 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4414 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4416 $as_echo "yes" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4421 SET_MAKE
="MAKE=${MAKE-make}"
4424 rm -rf .tst
2>/dev
/null
4425 mkdir .tst
2>/dev
/null
4426 if test -d .tst
; then
4431 rmdir .tst
2>/dev
/null
4433 DEPDIR
="${am__leading_dot}deps"
4435 ac_config_commands
="$ac_config_commands depfiles"
4438 am_make
=${MAKE-make}
4439 cat > confinc
<< 'END'
4441 @
echo this is the am__doit target
4444 # If we don't find an include directive, just comment out the code.
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4446 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4450 # First try GNU make style include.
4451 echo "include confinc" > confmf
4452 # Ignore all kinds of additional output from 'make'.
4453 case `$am_make -s -f confmf 2> /dev/null` in #(
4454 *the\ am__doit\ target
*)
4460 # Now try BSD make style include.
4461 if test "$am__include" = "#"; then
4462 echo '.include "confinc"' > confmf
4463 case `$am_make -s -f confmf 2> /dev/null` in #(
4464 *the\ am__doit\ target
*)
4465 am__include
=.include
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4474 $as_echo "$_am_result" >&6; }
4475 rm -f confinc confmf
4477 # Check whether --enable-dependency-tracking was given.
4478 if test "${enable_dependency_tracking+set}" = set; then :
4479 enableval
=$enable_dependency_tracking;
4482 if test "x$enable_dependency_tracking" != xno
; then
4483 am_depcomp
="$ac_aux_dir/depcomp"
4487 if test "x$enable_dependency_tracking" != xno; then
4496 # Check whether --enable-silent-rules was given.
4497 if test "${enable_silent_rules+set}" = set; then :
4498 enableval
=$enable_silent_rules;
4501 case $enable_silent_rules in # (((
4502 yes) AM_DEFAULT_VERBOSITY
=0;;
4503 no
) AM_DEFAULT_VERBOSITY
=1;;
4504 *) AM_DEFAULT_VERBOSITY
=1;;
4506 am_make
=${MAKE-make}
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4508 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4509 if ${am_cv_make_support_nested_variables+:} false
; then :
4510 $as_echo_n "(cached) " >&6
4512 if $as_echo 'TRUE=$(BAR$(V))
4518 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4519 am_cv_make_support_nested_variables
=yes
4521 am_cv_make_support_nested_variables
=no
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4525 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4526 if test $am_cv_make_support_nested_variables = yes; then
4528 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4530 AM_V
=$AM_DEFAULT_VERBOSITY
4531 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4536 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4537 # is not polluted with repeated "-I."
4538 am__isrc
=' -I$(srcdir)'
4539 # test to see if srcdir already configured
4540 if test -f $srcdir/config.status
; then
4541 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4545 # test whether we have cygpath
4546 if test -z "$CYGPATH_W"; then
4547 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4548 CYGPATH_W
='cygpath -w'
4555 # Define the identity of the package.
4560 cat >>confdefs.h
<<_ACEOF
4561 #define PACKAGE "$PACKAGE"
4565 cat >>confdefs.h
<<_ACEOF
4566 #define VERSION "$VERSION"
4569 # Some tools Automake needs.
4571 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4574 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4577 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4580 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4583 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4585 # For better backward compatibility. To be removed once Automake 1.9.x
4586 # dies out for good. For more background, see:
4587 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4588 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4589 mkdir_p
='$(MKDIR_P)'
4591 # We need awk for the "check" target (and possibly the TAP driver). The
4592 # system "awk" is bad on some platforms.
4593 # Always define AMTAR for backward compatibility. Yes, it's still used
4594 # in the wild :-( We should find a proper way to deprecate it ...
4598 # We'll loop over all known methods to create a tar archive until one works.
4599 _am_tools
='gnutar pax cpio none'
4601 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4607 depcc
="$CC" am_compiler_list
=
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4610 $as_echo_n "checking dependency style of $depcc... " >&6; }
4611 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4615 # We make a subdir and do the tests there. Otherwise we can end up
4616 # making bogus files that we don't know about and never remove. For
4617 # instance it was reported that on HP-UX the gcc test will end up
4618 # making a dummy file named 'D' -- because '-MD' means "put the output
4622 # Copy depcomp to subdir because otherwise we won't find it if we're
4623 # using a relative directory.
4624 cp "$am_depcomp" conftest.dir
4626 # We will build objects and dependencies in a subdirectory because
4627 # it helps to detect inapplicable dependency modes. For instance
4628 # both Tru64's cc and ICC support -MD to output dependencies as a
4629 # side effect of compilation, but ICC will put the dependencies in
4630 # the current directory while Tru64 will put them in the object
4634 am_cv_CC_dependencies_compiler_type
=none
4635 if test "$am_compiler_list" = ""; then
4636 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4639 case " $depcc " in #(
4640 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4643 for depmode
in $am_compiler_list; do
4644 # Setup a source with many dependencies, because some compilers
4645 # like to wrap large dependency lists on column 80 (with \), and
4646 # we should not choose a depcomp mode which is confused by this.
4648 # We need to recreate these files for each test, as the compiler may
4649 # overwrite some of them when testing with obscure command lines.
4650 # This happens at least with the AIX C compiler.
4652 for i
in 1 2 3 4 5 6; do
4653 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4654 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4655 # Solaris 10 /bin/sh.
4656 echo '/* dummy */' > sub
/conftst
$i.h
4658 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4660 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4661 # mode. It turns out that the SunPro C++ compiler does not properly
4662 # handle '-M -o', and we need to detect this. Also, some Intel
4663 # versions had trouble with output in subdirs.
4664 am__obj
=sub
/conftest.
${OBJEXT-o}
4665 am__minus_obj
="-o $am__obj"
4668 # This depmode causes a compiler race in universal mode.
4669 test "$am__universal" = false ||
continue
4672 # After this tag, mechanisms are not by side-effect, so they'll
4673 # only be used when explicitly requested.
4674 if test "x$enable_dependency_tracking" = xyes
; then
4680 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4681 # This compiler won't grok '-c -o', but also, the minuso test has
4682 # not run yet. These depmodes are late enough in the game, and
4683 # so weak that their functioning should not be impacted.
4684 am__obj
=conftest.
${OBJEXT-o}
4689 if depmode
=$depmode \
4690 source=sub
/conftest.c object
=$am__obj \
4691 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4692 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4693 >/dev
/null
2>conftest.err
&&
4694 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4695 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4696 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4697 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4698 # icc doesn't choke on unknown options, it will just issue warnings
4699 # or remarks (even with -Werror). So we grep stderr for any message
4700 # that says an option was ignored or not supported.
4701 # When given -MP, icc 7.0 and 7.1 complain thusly:
4702 # icc: Command line warning: ignoring option '-M'; no argument required
4703 # The diagnosis changed in icc 8.0:
4704 # icc: Command line remark: option '-MP' not supported
4705 if (grep 'ignoring option' conftest.err ||
4706 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4707 am_cv_CC_dependencies_compiler_type
=$depmode
4716 am_cv_CC_dependencies_compiler_type
=none
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4721 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4722 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4725 test "x$enable_dependency_tracking" != xno \
4726 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4728 am__fastdepCC_FALSE
='#'
4730 am__fastdepCC_TRUE
='#'
4731 am__fastdepCC_FALSE
=
4736 # POSIX will say in a future version that running "rm -f" with no argument
4737 # is OK; and we want to be able to make that assumption in our Makefile
4738 # recipes. So use an aggressive probe to check that the usage we want is
4739 # actually supported "in the wild" to an acceptable degree.
4740 # See automake bug#10828.
4741 # To make any issue more visible, cause the running configure to be aborted
4742 # by default if the 'rm' program in use doesn't match our expectations; the
4743 # user can still override this though.
4744 if rm -f && rm -fr && rm -rf; then : OK
; else
4748 Your 'rm' program seems unable to run without file operands specified
4749 on the command line, even when the '-f' option is present. This is contrary
4750 to the behaviour of most rm programs out there, and not conforming with
4751 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4753 Please tell bug-automake@gnu.org about your system, including the value
4754 of your $PATH and any error possibly output before this message. This
4755 can help us improve future automake versions.
4758 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4759 echo 'Configuration will proceed anyway, since you have set the' >&2
4760 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4764 Aborting the configuration process, to ensure you take notice of the issue.
4766 You can download and install GNU coreutils to get an 'rm' implementation
4767 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4769 If you want to complete the configuration process using your problematic
4770 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4771 to "yes", and re-run configure.
4774 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4780 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4781 # Check whether --enable-maintainer-mode was given.
4782 if test "${enable_maintainer_mode+set}" = set; then :
4783 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4785 USE_MAINTAINER_MODE
=no
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4789 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4790 if test $USE_MAINTAINER_MODE = yes; then
4791 MAINTAINER_MODE_TRUE
=
4792 MAINTAINER_MODE_FALSE
='#'
4794 MAINTAINER_MODE_TRUE
='#'
4795 MAINTAINER_MODE_FALSE
=
4798 MAINT
=$MAINTAINER_MODE_TRUE
4804 # These need to be absolute paths, yet at the same time need to
4805 # canonicalize only relative paths, because then amd will not unmount
4806 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4807 libvtv_builddir
=`${PWDCMD-pwd}`
4809 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4810 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4812 toplevel_builddir
=${libvtv_builddir}/..
4813 toplevel_srcdir
=${libvtv_srcdir}/..
4821 # Check whether --with-toolexeclibdir was given.
4822 if test "${with_toolexeclibdir+set}" = set; then :
4823 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
4827 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
4831 with_toolexeclibdir
=no
4836 # Calculate toolexeclibdir
4837 # Also toolexecdir, though it's only used in toolexeclibdir
4838 case ${version_specific_libs} in
4840 # Need the gcc compiler version to know where to install libraries
4841 # and header files if --enable-version-specific-runtime-libs option
4843 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4844 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4847 if test -n "$with_cross_host" &&
4848 test x
"$with_cross_host" != x
"no"; then
4849 # Install a library built with a cross compiler in tooldir, not libdir.
4850 toolexecdir
='$(exec_prefix)/$(target_alias)'
4851 case ${with_toolexeclibdir} in
4853 toolexeclibdir
='$(toolexecdir)/lib'
4856 toolexeclibdir
=${with_toolexeclibdir}
4860 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4861 toolexeclibdir
='$(libdir)'
4863 multi_os_directory
=`$CC -print-multi-os-directory`
4864 case $multi_os_directory in
4865 .
) ;; # Avoid trailing /.
4866 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4874 for ac_func
in __secure_getenv
4876 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4877 if test "x$ac_cv_func___secure_getenv" = xyes
; then :
4878 cat >>confdefs.h
<<_ACEOF
4879 #define HAVE___SECURE_GETENV 1
4887 for ac_func
in secure_getenv
4889 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4890 if test "x$ac_cv_func_secure_getenv" = xyes
; then :
4891 cat >>confdefs.h
<<_ACEOF
4892 #define HAVE_SECURE_GETENV 1
4899 for ac_func
in getexecname __fortify_fail
4901 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4902 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4903 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4904 cat >>confdefs.h
<<_ACEOF
4905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4912 # Check for programs.
4916 ac_cpp
='$CPP $CPPFLAGS'
4917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4922 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_CC+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$CC"; then
4929 ac_cv_prog_CC
="$CC" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 if test -n "$CC"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4951 $as_echo "$CC" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4959 if test -z "$ac_cv_prog_CC"; then
4961 # Extract the first word of "gcc", so it can be a program name with args.
4962 set dummy gcc
; ac_word
=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -n "$ac_ct_CC"; then
4969 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_exec_ext
in '' $ac_executable_extensions; do
4977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_ac_ct_CC
="gcc"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4989 if test -n "$ac_ct_CC"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4991 $as_echo "$ac_ct_CC" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4997 if test "x$ac_ct_CC" = x
; then
5000 case $cross_compiling:$ac_tool_warned in
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5004 ac_tool_warned
=yes ;;
5012 if test -z "$CC"; then
5013 if test -n "$ac_tool_prefix"; then
5014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5015 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_CC+:} false
; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -n "$CC"; then
5022 ac_cv_prog_CC
="$CC" # Let the user override the test.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir
=.
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 if test -n "$CC"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5044 $as_echo "$CC" >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5053 if test -z "$CC"; then
5054 # Extract the first word of "cc", so it can be a program name with args.
5055 set dummy cc
; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_CC+:} false
; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$CC"; then
5062 ac_cv_prog_CC
="$CC" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5072 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5073 ac_prog_rejected
=yes
5077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 if test $ac_prog_rejected = yes; then
5085 # We found a bogon in the path, so make sure we never use it.
5086 set dummy
$ac_cv_prog_CC
5088 if test $# != 0; then
5089 # We chose a different compiler from the bogus one.
5090 # However, it has the same basename, so the bogon will be chosen
5091 # first if we set CC to just the basename; use the full file name.
5093 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5099 if test -n "$CC"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 $as_echo "$CC" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5109 if test -z "$CC"; then
5110 if test -n "$ac_tool_prefix"; then
5111 for ac_prog
in cl.exe
5113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5114 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_CC+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$CC"; then
5121 ac_cv_prog_CC
="$CC" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 if test -n "$CC"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5143 $as_echo "$CC" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5150 test -n "$CC" && break
5153 if test -z "$CC"; then
5155 for ac_prog
in cl.exe
5157 # Extract the first word of "$ac_prog", so it can be a program name with args.
5158 set dummy
$ac_prog; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$ac_ct_CC"; then
5165 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_CC
="$ac_prog"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5185 if test -n "$ac_ct_CC"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5187 $as_echo "$ac_ct_CC" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5194 test -n "$ac_ct_CC" && break
5197 if test "x$ac_ct_CC" = x
; then
5200 case $cross_compiling:$ac_tool_warned in
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5204 ac_tool_warned
=yes ;;
5213 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5215 as_fn_error $?
"no acceptable C compiler found in \$PATH
5216 See \`config.log' for more details" "$LINENO" 5; }
5218 # Provide some information about the compiler.
5219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5222 for ac_option
in --version -v -V -qversion; do
5223 { { ac_try
="$ac_compiler $ac_option >&5"
5225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5229 $as_echo "$ac_try_echo"; } >&5
5230 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5232 if test -s conftest.err; then
5234 ... rest of stderr output deleted ...
5235 10q' conftest.err >conftest.er1
5236 cat conftest.er1 >&5
5238 rm -f conftest.er1 conftest.err
5239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5240 test $ac_status = 0; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5245 if ${ac_cv_c_compiler_gnu+:} false; then :
5246 $as_echo_n "(cached) " >&6
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5262 if ac_fn_c_try_compile "$LINENO"; then :
5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5273 if test $ac_compiler_gnu = yes; then
5278 ac_test_CFLAGS=${CFLAGS+set}
5279 ac_save_CFLAGS=$CFLAGS
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5282 if ${ac_cv_prog_cc_g+:} false; then :
5283 $as_echo_n "(cached) " >&6
5285 ac_save_c_werror_flag=$ac_c_werror_flag
5286 ac_c_werror_flag=yes
5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5300 if ac_fn_c_try_compile "$LINENO"; then :
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5315 if ac_fn_c_try_compile "$LINENO"; then :
5318 ac_c_werror_flag=$ac_save_c_werror_flag
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5331 if ac_fn_c_try_compile "$LINENO"; then :
5334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5339 ac_c_werror_flag=$ac_save_c_werror_flag
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5342 $as_echo "$ac_cv_prog_cc_g" >&6; }
5343 if test "$ac_test_CFLAGS" = set; then
5344 CFLAGS=$ac_save_CFLAGS
5345 elif test $ac_cv_prog_cc_g = yes; then
5346 if test "$GCC" = yes; then
5352 if test "$GCC" = yes; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5360 if ${ac_cv_prog_cc_c89+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 ac_cv_prog_cc_c89=no
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5371 struct buf { int x; };
5372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5373 static char *e (p, i)
5379 static char *f (char * (*g) (char **, int), char **p, ...)
5384 s = g (p, va_arg (v,int));
5389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5390 function prototypes and stuff, but not '\xHH' hex character constants.
5391 These don't provoke an error unfortunately, instead are silently treated
5392 as 'x'. The following induces an error, until -std is added to get
5393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5394 array size at least. It's necessary to write '\x00'==0 to get something
5395 that's true only with -std. */
5396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5399 inside strings and character constants. */
5401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5403 int test (int i, double x);
5404 struct s1 {int (*f) (int a);};
5405 struct s2 {int (*f) (double a);};
5406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5418 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5420 CC="$ac_save_CC $ac_arg"
5421 if ac_fn_c_try_compile "$LINENO"; then :
5422 ac_cv_prog_cc_c89=$ac_arg
5424 rm -f core conftest.err conftest.$ac_objext
5425 test "x$ac_cv_prog_cc_c89" != "xno" && break
5427 rm -f conftest.$ac_ext
5432 case "x$ac_cv_prog_cc_c89" in
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5435 $as_echo "none needed" >&6; } ;;
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5438 $as_echo "unsupported" >&6; } ;;
5440 CC="$CC $ac_cv_prog_cc_c89"
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5444 if test "x$ac_cv_prog_cc_c89" != xno; then :
5449 ac_cpp='$CPP $CPPFLAGS'
5450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 ac_cpp='$CPP $CPPFLAGS'
5456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5460 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5461 if ${am_cv_prog_cc_c_o+:} false; then :
5462 $as_echo_n "(cached) " >&6
5464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5465 /* end confdefs.h. */
5475 # Make sure it works both with $CC and with simple cc.
5476 # Following AC_PROG_CC_C_O, we do the test twice because some
5477 # compilers refuse to overwrite an existing .o file with -o,
5478 # though they will create one.
5479 am_cv_prog_cc_c_o=yes
5481 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5482 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } \
5486 && test -f conftest2.$ac_objext; then
5489 am_cv_prog_cc_c_o=no
5493 rm -f core conftest*
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5497 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5498 if test "$am_cv_prog_cc_c_o" != yes; then
5499 # Losing compiler, so override with the script.
5500 # FIXME: It is wrong to rewrite CC.
5501 # But if we don't then we get into trouble of one sort or another.
5502 # A longer-term fix would be to have automake use am__CC in this case,
5503 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5504 CC="$am_aux_dir/compile $CC"
5507 ac_cpp='$CPP $CPPFLAGS'
5508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5514 ac_cpp='$CXXCPP $CPPFLAGS'
5515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5518 if test -z "$CXX"; then
5519 if test -n "$CCC"; then
5522 if test -n "$ac_tool_prefix"; then
5523 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_CXX+:} false; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$CXX"; then
5533 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 if test -n "$CXX"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5555 $as_echo "$CXX" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5562 test -n "$CXX" && break
5565 if test -z "$CXX"; then
5567 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5569 # Extract the first word of "$ac_prog", so it can be a program name with args.
5570 set dummy $ac_prog; ac_word=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5574 $as_echo_n "(cached) " >&6
5576 if test -n "$ac_ct_CXX"; then
5577 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_ac_ct_CXX="$ac_prog"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5597 if test -n "$ac_ct_CXX"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5599 $as_echo "$ac_ct_CXX" >&6; }
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5606 test -n "$ac_ct_CXX" && break
5609 if test "x$ac_ct_CXX" = x; then
5612 case $cross_compiling:$ac_tool_warned in
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5616 ac_tool_warned=yes ;;
5624 # Provide some information about the compiler.
5625 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5628 for ac_option in --version -v -V -qversion; do
5629 { { ac_try="$ac_compiler $ac_option >&5"
5631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5632 *) ac_try_echo
=$ac_try;;
5634 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5635 $as_echo "$ac_try_echo"; } >&5
5636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5638 if test -s conftest.err
; then
5640 ... rest of stderr output deleted ...
5641 10q' conftest.err
>conftest.er1
5642 cat conftest.er1
>&5
5644 rm -f conftest.er1 conftest.err
5645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5646 test $ac_status = 0; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5650 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5651 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5652 $as_echo_n "(cached) " >&6
5654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5668 if ac_fn_cxx_try_compile
"$LINENO"; then :
5673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5674 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5678 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5679 if test $ac_compiler_gnu = yes; then
5684 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5685 ac_save_CXXFLAGS
=$CXXFLAGS
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5687 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5688 if ${ac_cv_prog_cxx_g+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5692 ac_cxx_werror_flag
=yes
5695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5706 if ac_fn_cxx_try_compile
"$LINENO"; then :
5707 ac_cv_prog_cxx_g
=yes
5710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5721 if ac_fn_cxx_try_compile
"$LINENO"; then :
5724 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5737 if ac_fn_cxx_try_compile
"$LINENO"; then :
5738 ac_cv_prog_cxx_g
=yes
5740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5745 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5748 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5749 if test "$ac_test_CXXFLAGS" = set; then
5750 CXXFLAGS
=$ac_save_CXXFLAGS
5751 elif test $ac_cv_prog_cxx_g = yes; then
5752 if test "$GXX" = yes; then
5758 if test "$GXX" = yes; then
5765 ac_cpp
='$CPP $CPPFLAGS'
5766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5770 depcc
="$CXX" am_compiler_list
=
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5773 $as_echo_n "checking dependency style of $depcc... " >&6; }
5774 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5775 $as_echo_n "(cached) " >&6
5777 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5778 # We make a subdir and do the tests there. Otherwise we can end up
5779 # making bogus files that we don't know about and never remove. For
5780 # instance it was reported that on HP-UX the gcc test will end up
5781 # making a dummy file named 'D' -- because '-MD' means "put the output
5785 # Copy depcomp to subdir because otherwise we won't find it if we're
5786 # using a relative directory.
5787 cp "$am_depcomp" conftest.dir
5789 # We will build objects and dependencies in a subdirectory because
5790 # it helps to detect inapplicable dependency modes. For instance
5791 # both Tru64's cc and ICC support -MD to output dependencies as a
5792 # side effect of compilation, but ICC will put the dependencies in
5793 # the current directory while Tru64 will put them in the object
5797 am_cv_CXX_dependencies_compiler_type
=none
5798 if test "$am_compiler_list" = ""; then
5799 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5802 case " $depcc " in #(
5803 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5806 for depmode
in $am_compiler_list; do
5807 # Setup a source with many dependencies, because some compilers
5808 # like to wrap large dependency lists on column 80 (with \), and
5809 # we should not choose a depcomp mode which is confused by this.
5811 # We need to recreate these files for each test, as the compiler may
5812 # overwrite some of them when testing with obscure command lines.
5813 # This happens at least with the AIX C compiler.
5815 for i
in 1 2 3 4 5 6; do
5816 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5817 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5818 # Solaris 10 /bin/sh.
5819 echo '/* dummy */' > sub
/conftst
$i.h
5821 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5823 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5824 # mode. It turns out that the SunPro C++ compiler does not properly
5825 # handle '-M -o', and we need to detect this. Also, some Intel
5826 # versions had trouble with output in subdirs.
5827 am__obj
=sub
/conftest.
${OBJEXT-o}
5828 am__minus_obj
="-o $am__obj"
5831 # This depmode causes a compiler race in universal mode.
5832 test "$am__universal" = false ||
continue
5835 # After this tag, mechanisms are not by side-effect, so they'll
5836 # only be used when explicitly requested.
5837 if test "x$enable_dependency_tracking" = xyes
; then
5843 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5844 # This compiler won't grok '-c -o', but also, the minuso test has
5845 # not run yet. These depmodes are late enough in the game, and
5846 # so weak that their functioning should not be impacted.
5847 am__obj
=conftest.
${OBJEXT-o}
5852 if depmode
=$depmode \
5853 source=sub
/conftest.c object
=$am__obj \
5854 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5855 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5856 >/dev
/null
2>conftest.err
&&
5857 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5858 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5859 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5860 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5861 # icc doesn't choke on unknown options, it will just issue warnings
5862 # or remarks (even with -Werror). So we grep stderr for any message
5863 # that says an option was ignored or not supported.
5864 # When given -MP, icc 7.0 and 7.1 complain thusly:
5865 # icc: Command line warning: ignoring option '-M'; no argument required
5866 # The diagnosis changed in icc 8.0:
5867 # icc: Command line remark: option '-MP' not supported
5868 if (grep 'ignoring option' conftest.err ||
5869 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5870 am_cv_CXX_dependencies_compiler_type
=$depmode
5879 am_cv_CXX_dependencies_compiler_type
=none
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5884 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5885 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5888 test "x$enable_dependency_tracking" != xno \
5889 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5890 am__fastdepCXX_TRUE
=
5891 am__fastdepCXX_FALSE
='#'
5893 am__fastdepCXX_TRUE
='#'
5894 am__fastdepCXX_FALSE
=
5905 # Newer automakes demand CCAS and CCASFLAGS.
5907 : ${CCASFLAGS='$(CFLAGS)'}
5911 if test -n "$ac_tool_prefix"; then
5912 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5913 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_AS+:} false
; then :
5917 $as_echo_n "(cached) " >&6
5919 if test -n "$AS"; then
5920 ac_cv_prog_AS
="$AS" # Let the user override the test.
5922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir
=.
5927 for ac_exec_ext
in '' $ac_executable_extensions; do
5928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_AS
="${ac_tool_prefix}as"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 if test -n "$AS"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5942 $as_echo "$AS" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5950 if test -z "$ac_cv_prog_AS"; then
5952 # Extract the first word of "as", so it can be a program name with args.
5953 set dummy as
; ac_word
=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 if test -n "$ac_ct_AS"; then
5960 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir
=.
5967 for ac_exec_ext
in '' $ac_executable_extensions; do
5968 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_ac_ct_AS
="as"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5980 if test -n "$ac_ct_AS"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5982 $as_echo "$ac_ct_AS" >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5988 if test "x$ac_ct_AS" = x
; then
5991 case $cross_compiling:$ac_tool_warned in
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5995 ac_tool_warned
=yes ;;
6003 if test -n "$ac_tool_prefix"; then
6004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6005 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_AR+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6011 if test -n "$AR"; then
6012 ac_cv_prog_AR
="$AR" # Let the user override the test.
6014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6018 test -z "$as_dir" && as_dir
=.
6019 for ac_exec_ext
in '' $ac_executable_extensions; do
6020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 if test -n "$AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6034 $as_echo "$AR" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6042 if test -z "$ac_cv_prog_AR"; then
6044 # Extract the first word of "ar", so it can be a program name with args.
6045 set dummy
ar; ac_word
=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$ac_ct_AR"; then
6052 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_ac_ct_AR
="ar"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6072 if test -n "$ac_ct_AR"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6074 $as_echo "$ac_ct_AR" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6080 if test "x$ac_ct_AR" = x
; then
6083 case $cross_compiling:$ac_tool_warned in
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6087 ac_tool_warned
=yes ;;
6095 if test -n "$ac_tool_prefix"; then
6096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6097 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_RANLIB+:} false
; then :
6101 $as_echo_n "(cached) " >&6
6103 if test -n "$RANLIB"; then
6104 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir
=.
6111 for ac_exec_ext
in '' $ac_executable_extensions; do
6112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 RANLIB
=$ac_cv_prog_RANLIB
6124 if test -n "$RANLIB"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6126 $as_echo "$RANLIB" >&6; }
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6134 if test -z "$ac_cv_prog_RANLIB"; then
6135 ac_ct_RANLIB
=$RANLIB
6136 # Extract the first word of "ranlib", so it can be a program name with args.
6137 set dummy ranlib
; ac_word
=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6141 $as_echo_n "(cached) " >&6
6143 if test -n "$ac_ct_RANLIB"; then
6144 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir
=.
6151 for ac_exec_ext
in '' $ac_executable_extensions; do
6152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6164 if test -n "$ac_ct_RANLIB"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6166 $as_echo "$ac_ct_RANLIB" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6172 if test "x$ac_ct_RANLIB" = x
; then
6175 case $cross_compiling:$ac_tool_warned in
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6179 ac_tool_warned
=yes ;;
6181 RANLIB
=$ac_ct_RANLIB
6184 RANLIB
="$ac_cv_prog_RANLIB"
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6196 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6201 macro_version
='2.2.7a'
6202 macro_revision
='1.3134'
6216 ltmain
="$ac_aux_dir/ltmain.sh"
6218 # Backslashify metacharacters that are still active within
6219 # double-quoted strings.
6220 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6222 # Same as above, but do not quote variable references.
6223 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6225 # Sed substitution to delay expansion of an escaped shell variable in a
6226 # double_quote_subst'ed string.
6227 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6229 # Sed substitution to delay expansion of an escaped single quote.
6230 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6232 # Sed substitution to avoid accidental globbing in evaled expressions
6233 no_glob_subst
='s/\*/\\\*/g'
6235 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6236 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6237 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6240 $as_echo_n "checking how to print strings... " >&6; }
6241 # Test print first, because it will be a builtin if present.
6242 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6243 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6245 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6248 # Use this function as a fallback that always works.
6249 func_fallback_echo ()
6251 eval 'cat <<_LTECHO_EOF
6255 ECHO='func_fallback_echo
'
6258 # func_echo_all arg...
6259 # Invoke $ECHO with all args, space-separated.
6266 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6267 $as_echo "printf" >&6; } ;;
6268 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6269 $as_echo "print -r" >&6; } ;;
6270 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6271 $as_echo "cat" >&6; } ;;
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6288 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6289 if ${ac_cv_path_SED+:} false; then :
6290 $as_echo_n "(cached) " >&6
6292 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6293 for ac_i in 1 2 3 4 5 6 7; do
6294 ac_script="$ac_script$as_nl$ac_script"
6296 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6297 { ac_script=; unset ac_script;}
6298 if test -z "$SED"; then
6299 ac_path_SED_found=false
6300 # Loop through the user's path and
test for each of PROGNAME-LIST
6301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6305 test -z "$as_dir" && as_dir
=.
6306 for ac_prog
in sed gsed
; do
6307 for ac_exec_ext
in '' $ac_executable_extensions; do
6308 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6309 as_fn_executable_p
"$ac_path_SED" ||
continue
6310 # Check for GNU ac_path_SED and select it if it is found.
6311 # Check for GNU $ac_path_SED
6312 case `"$ac_path_SED" --version 2>&1` in
6314 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6317 $as_echo_n 0123456789 >"conftest.in"
6320 cat "conftest.in" "conftest.in" >"conftest.tmp"
6321 mv "conftest.tmp" "conftest.in"
6322 cp "conftest.in" "conftest.nl"
6323 $as_echo '' >> "conftest.nl"
6324 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6325 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6326 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6327 if test $ac_count -gt ${ac_path_SED_max-0}; then
6328 # Best one so far, save it but keep looking for a better one
6329 ac_cv_path_SED
="$ac_path_SED"
6330 ac_path_SED_max
=$ac_count
6332 # 10*(2^10) chars as input seems more than enough
6333 test $ac_count -gt 10 && break
6335 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6338 $ac_path_SED_found && break 3
6343 if test -z "$ac_cv_path_SED"; then
6344 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6352 $as_echo "$ac_cv_path_SED" >&6; }
6353 SED
="$ac_cv_path_SED"
6356 test -z "$SED" && SED
=sed
6357 Xsed
="$SED -e 1s/^X//"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6370 $as_echo_n "checking for fgrep... " >&6; }
6371 if ${ac_cv_path_FGREP+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6375 then ac_cv_path_FGREP
="$GREP -F"
6377 if test -z "$FGREP"; then
6378 ac_path_FGREP_found
=false
6379 # Loop through the user's path and test for each of PROGNAME-LIST
6380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6381 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6384 test -z "$as_dir" && as_dir
=.
6385 for ac_prog
in fgrep
; do
6386 for ac_exec_ext
in '' $ac_executable_extensions; do
6387 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6388 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6389 # Check for GNU ac_path_FGREP and select it if it is found.
6390 # Check for GNU $ac_path_FGREP
6391 case `"$ac_path_FGREP" --version 2>&1` in
6393 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6396 $as_echo_n 0123456789 >"conftest.in"
6399 cat "conftest.in" "conftest.in" >"conftest.tmp"
6400 mv "conftest.tmp" "conftest.in"
6401 cp "conftest.in" "conftest.nl"
6402 $as_echo 'FGREP' >> "conftest.nl"
6403 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6404 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6405 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6406 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6407 # Best one so far, save it but keep looking for a better one
6408 ac_cv_path_FGREP
="$ac_path_FGREP"
6409 ac_path_FGREP_max
=$ac_count
6411 # 10*(2^10) chars as input seems more than enough
6412 test $ac_count -gt 10 && break
6414 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6417 $ac_path_FGREP_found && break 3
6422 if test -z "$ac_cv_path_FGREP"; then
6423 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6426 ac_cv_path_FGREP
=$FGREP
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6432 $as_echo "$ac_cv_path_FGREP" >&6; }
6433 FGREP
="$ac_cv_path_FGREP"
6436 test -z "$GREP" && GREP
=grep
6456 # Check whether --with-gnu-ld was given.
6457 if test "${with_gnu_ld+set}" = set; then :
6458 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6464 if test "$GCC" = yes; then
6465 # Check if gcc -print-prog-name=ld gives a path.
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6467 $as_echo_n "checking for ld used by $CC... " >&6; }
6470 # gcc leaves a trailing carriage return which upsets mingw
6471 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6473 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6476 # Accept absolute paths.
6478 re_direlt
='/[^/][^/]*/\.\./'
6479 # Canonicalize the pathname of ld
6480 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6481 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6482 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6484 test -z "$LD" && LD
="$ac_prog"
6487 # If it fails, then pretend we aren't using GCC.
6491 # If it is relative, then search for the first ld in PATH.
6495 elif test "$with_gnu_ld" = yes; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6497 $as_echo_n "checking for GNU ld... " >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6500 $as_echo_n "checking for non-GNU ld... " >&6; }
6502 if ${lt_cv_path_LD+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6505 if test -z "$LD"; then
6506 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6507 for ac_dir
in $PATH; do
6509 test -z "$ac_dir" && ac_dir
=.
6510 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6511 lt_cv_path_LD
="$ac_dir/$ac_prog"
6512 # Check to see if the program is GNU ld. I'd rather use --version,
6513 # but apparently some variants of GNU ld only accept -v.
6514 # Break only if it was the GNU/non-GNU ld that we prefer.
6515 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6516 *GNU
* |
*'with BFD'*)
6517 test "$with_gnu_ld" != no
&& break
6520 test "$with_gnu_ld" != yes && break
6527 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6532 if test -n "$LD"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6534 $as_echo "$LD" >&6; }
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6539 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6541 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6542 if ${lt_cv_prog_gnu_ld+:} false
; then :
6543 $as_echo_n "(cached) " >&6
6545 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6546 case `$LD -v 2>&1 </dev/null` in
6547 *GNU
* |
*'with BFD'*)
6548 lt_cv_prog_gnu_ld
=yes
6551 lt_cv_prog_gnu_ld
=no
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6556 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6557 with_gnu_ld
=$lt_cv_prog_gnu_ld
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6568 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6569 if ${lt_cv_path_NM+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6572 if test -n "$NM"; then
6573 # Let the user override the nm to test.
6574 lt_nm_to_check
="$NM"
6576 lt_nm_to_check
="${ac_tool_prefix}nm"
6577 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6578 lt_nm_to_check
="$lt_nm_to_check nm"
6581 for lt_tmp_nm
in "$lt_nm_to_check"; do
6582 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6583 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6585 test -z "$ac_dir" && ac_dir
=.
6586 # Strip out any user-provided options from the nm to test twice,
6587 # the first time to test to see if nm (rather than its options) has
6588 # an explicit path, the second time to yield a file which can be
6590 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6591 case "$tmp_nm_path" in
6592 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6593 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6595 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6596 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6597 # Check to see if the nm accepts a BSD-compat flag.
6598 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6599 # nm: unknown option "B" ignored
6600 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6601 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6605 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6607 lt_cv_path_NM
="$tmp_nm -p"
6611 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6612 continue # so that we can try to find one that supports BSD flags
6621 : ${lt_cv_path_NM=no}
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6624 $as_echo "$lt_cv_path_NM" >&6; }
6625 if test "$lt_cv_path_NM" != "no"; then
6628 # Didn't find any BSD compatible name lister, look for dumpbin.
6629 if test -n "$DUMPBIN"; then :
6630 # Let the user override the test.
6632 if test -n "$ac_tool_prefix"; then
6633 for ac_prog
in dumpbin
"link -dump"
6635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6636 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$DUMPBIN"; then
6643 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir
=.
6650 for ac_exec_ext
in '' $ac_executable_extensions; do
6651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 DUMPBIN
=$ac_cv_prog_DUMPBIN
6663 if test -n "$DUMPBIN"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6665 $as_echo "$DUMPBIN" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6672 test -n "$DUMPBIN" && break
6675 if test -z "$DUMPBIN"; then
6676 ac_ct_DUMPBIN
=$DUMPBIN
6677 for ac_prog
in dumpbin
"link -dump"
6679 # Extract the first word of "$ac_prog", so it can be a program name with args.
6680 set dummy
$ac_prog; ac_word
=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$ac_ct_DUMPBIN"; then
6687 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir
=.
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6707 if test -n "$ac_ct_DUMPBIN"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6709 $as_echo "$ac_ct_DUMPBIN" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6716 test -n "$ac_ct_DUMPBIN" && break
6719 if test "x$ac_ct_DUMPBIN" = x
; then
6722 case $cross_compiling:$ac_tool_warned in
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned
=yes ;;
6728 DUMPBIN
=$ac_ct_DUMPBIN
6732 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6734 DUMPBIN
="$DUMPBIN -symbols"
6742 if test "$DUMPBIN" != ":"; then
6746 test -z "$NM" && NM
=nm
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6754 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6755 if ${lt_cv_nm_interface+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 lt_cv_nm_interface
="BSD nm"
6759 echo "int some_variable = 0;" > conftest.
$ac_ext
6760 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6761 (eval "$ac_compile" 2>conftest.err
)
6762 cat conftest.err
>&5
6763 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6764 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6765 cat conftest.err
>&5
6766 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6767 cat conftest.out
>&5
6768 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6769 lt_cv_nm_interface
="MS dumpbin"
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6774 $as_echo "$lt_cv_nm_interface" >&6; }
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6777 $as_echo_n "checking whether ln -s works... " >&6; }
6779 if test "$LN_S" = "ln -s"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6781 $as_echo "yes" >&6; }
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6784 $as_echo "no, using $LN_S" >&6; }
6787 # find the maximum length of command line arguments
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6789 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6790 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6791 $as_echo_n "(cached) " >&6
6798 # On DJGPP, this test can blow up pretty badly due to problems in libc
6799 # (any single argument exceeding 2000 bytes causes a buffer overrun
6800 # during glob expansion). Even if it were fixed, the result of this
6801 # check would be larger than it should be.
6802 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6806 # Under GNU Hurd, this test is not required because there is
6807 # no limit to the length of command line arguments.
6808 # Libtool will interpret -1 as no limit whatsoever
6809 lt_cv_sys_max_cmd_len
=-1;
6812 cygwin
* | mingw
* | cegcc
*)
6813 # On Win9x/ME, this test blows up -- it succeeds, but takes
6814 # about 5 minutes as the teststring grows exponentially.
6815 # Worse, since 9x/ME are not pre-emptively multitasking,
6816 # you end up with a "frozen" computer, even though with patience
6817 # the test eventually succeeds (with a max line length of 256k).
6818 # Instead, let's just punt: use the minimum linelength reported by
6819 # all of the supported platforms: 8192 (on NT/2K/XP).
6820 lt_cv_sys_max_cmd_len
=8192;
6824 # On MiNT this can take a long time and run out of memory.
6825 lt_cv_sys_max_cmd_len
=8192;
6829 # On AmigaOS with pdksh, this test takes hours, literally.
6830 # So we just punt and use a minimum line length of 8192.
6831 lt_cv_sys_max_cmd_len
=8192;
6834 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6835 # This has been around since 386BSD, at least. Likely further.
6836 if test -x /sbin
/sysctl
; then
6837 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6838 elif test -x /usr
/sbin
/sysctl
; then
6839 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6841 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6843 # And add a safety zone
6844 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6845 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6849 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6850 lt_cv_sys_max_cmd_len
=196608
6854 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6855 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6856 # nice to cause kernel panics so lets avoid the loop below.
6857 # First set a reasonable default.
6858 lt_cv_sys_max_cmd_len
=16384
6860 if test -x /sbin
/sysconfig
; then
6861 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6862 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6867 lt_cv_sys_max_cmd_len
=102400
6869 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6870 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6871 if test -n "$kargmax"; then
6872 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6874 lt_cv_sys_max_cmd_len
=32768
6878 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6879 if test -n "$lt_cv_sys_max_cmd_len"; then
6880 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6881 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6883 # Make teststring a little bigger before we do anything with it.
6884 # a 1K string should be a reasonable start.
6885 for i
in 1 2 3 4 5 6 7 8 ; do
6886 teststring
=$teststring$teststring
6888 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6889 # If test is not a shell built-in, we'll probably end up computing a
6890 # maximum length that is only half of the actual maximum length, but
6892 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6893 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6894 test $i != 17 # 1/2 MB should be enough
6897 teststring
=$teststring$teststring
6899 # Only check the string length outside the loop.
6900 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6902 # Add a significant safety factor because C++ compilers can tack on
6903 # massive amounts of additional arguments before passing them to the
6904 # linker. It appears as though 1/2 is a usable value.
6905 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6912 if test -n $lt_cv_sys_max_cmd_len ; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6914 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6917 $as_echo "none" >&6; }
6919 max_cmd_len
=$lt_cv_sys_max_cmd_len
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6931 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6932 # Try some XSI features
6935 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6937 && eval 'test $(( 1 + 1 )) -eq 2 \
6938 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6941 $as_echo "$xsi_shell" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6945 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6947 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6949 && lt_shell_append=yes
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6951 $as_echo "$lt_shell_append" >&6; }
6954 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6964 # test EBCDIC or ASCII
6965 case `echo X|tr X '\101'` in
6966 A) # ASCII based system
6967 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6968 lt_SP2NL='tr \040 \012'
6969 lt_NL2SP='tr \015\012 \040\040'
6971 *) # EBCDIC based system
6972 lt_SP2NL='tr \100 \n'
6973 lt_NL2SP='tr \r\n \100\100'
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6986 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6987 if ${lt_cv_ld_reload_flag+:} false; then :
6988 $as_echo_n "(cached
) " >&6
6990 lt_cv_ld_reload_flag='-r'
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6993 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6994 reload_flag=$lt_cv_ld_reload_flag
6995 case $reload_flag in
6997 *) reload_flag=" $reload_flag" ;;
6999 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7002 if test "$GCC" = yes; then
7003 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7005 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7018 if test -n "$ac_tool_prefix"; then
7019 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7020 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7022 $as_echo_n "checking
for $ac_word...
" >&6; }
7023 if ${ac_cv_prog_OBJDUMP+:} false; then :
7024 $as_echo_n "(cached
) " >&6
7026 if test -n "$OBJDUMP"; then
7027 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7046 OBJDUMP=$ac_cv_prog_OBJDUMP
7047 if test -n "$OBJDUMP"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7049 $as_echo "$OBJDUMP" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7052 $as_echo "no
" >&6; }
7057 if test -z "$ac_cv_prog_OBJDUMP"; then
7058 ac_ct_OBJDUMP=$OBJDUMP
7059 # Extract the first word of "objdump
", so it can be a program name with args.
7060 set dummy objdump; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7062 $as_echo_n "checking
for $ac_word...
" >&6; }
7063 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7064 $as_echo_n "(cached
) " >&6
7066 if test -n "$ac_ct_OBJDUMP"; then
7067 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7086 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7087 if test -n "$ac_ct_OBJDUMP"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7089 $as_echo "$ac_ct_OBJDUMP" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7092 $as_echo "no
" >&6; }
7095 if test "x
$ac_ct_OBJDUMP" = x; then
7098 case $cross_compiling:$ac_tool_warned in
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7101 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7102 ac_tool_warned=yes ;;
7104 OBJDUMP=$ac_ct_OBJDUMP
7107 OBJDUMP="$ac_cv_prog_OBJDUMP"
7110 test -z "$OBJDUMP" && OBJDUMP=objdump
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7121 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7122 if ${lt_cv_deplibs_check_method+:} false; then :
7123 $as_echo_n "(cached
) " >&6
7125 lt_cv_file_magic_cmd='$MAGIC_CMD'
7126 lt_cv_file_magic_test_file=
7127 lt_cv_deplibs_check_method='unknown'
7128 # Need to set the preceding variable on all platforms that support
7129 # interlibrary dependencies.
7130 # 'none' -- dependencies not supported.
7131 # `unknown' -- same as none, but documents that we really don't know.
7132 # 'pass_all' -- all dependencies passed with no checks.
7133 # 'test_compile' -- check by making test program.
7134 # 'file_magic [[regex]]' -- check by looking for files in library path
7135 # which responds to the $file_magic_cmd with a given extended regex.
7136 # If you have `file' or equivalent on your system and you're not sure
7137 # whether `pass_all' will *always* work, you probably want this one.
7141 lt_cv_deplibs_check_method=pass_all
7145 lt_cv_deplibs_check_method=pass_all
7149 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7150 lt_cv_file_magic_cmd='/usr/bin/file -L'
7151 lt_cv_file_magic_test_file=/shlib/libc.so
7155 # func_win32_libid is a shell function defined in ltmain.sh
7156 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7157 lt_cv_file_magic_cmd='func_win32_libid'
7161 # Base MSYS/MinGW do not provide the 'file' command needed by
7162 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7163 # unless we find 'file', for example because we are cross-compiling.
7164 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7165 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7167 lt_cv_file_magic_cmd='func_win32_libid'
7169 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7170 lt_cv_file_magic_cmd='$OBJDUMP -f'
7175 # use the weaker test based on 'objdump'. See mingw*.
7176 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7177 lt_cv_file_magic_cmd='$OBJDUMP -f'
7180 darwin* | rhapsody*)
7181 lt_cv_deplibs_check_method=pass_all
7184 freebsd* | dragonfly*)
7185 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7188 # Not sure whether the presence of OpenBSD here was a mistake.
7189 # Let's accept both of them until this is cleared up.
7190 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7191 lt_cv_file_magic_cmd=/usr/bin/file
7192 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7196 lt_cv_deplibs_check_method=pass_all
7201 lt_cv_deplibs_check_method=pass_all
7205 lt_cv_deplibs_check_method=pass_all
7208 hpux10.20* | hpux11*)
7209 lt_cv_file_magic_cmd=/usr/bin/file
7212 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7213 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7216 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]'
7217 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7220 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7221 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7227 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7231 irix5* | irix6* | nonstopux*)
7233 *-32|*"-32 ") libmagic=32-bit;;
7234 *-n32|*"-n32 ") libmagic=N32;;
7235 *-64|*"-64 ") libmagic=64-bit;;
7236 *) libmagic=never-match;;
7238 lt_cv_deplibs_check_method=pass_all
7241 # This must be Linux ELF.
7242 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7243 lt_cv_deplibs_check_method=pass_all
7247 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7248 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7256 lt_cv_file_magic_cmd=/usr/bin/file
7257 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7261 lt_cv_deplibs_check_method=pass_all
7265 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7272 osf3* | osf4* | osf5*)
7273 lt_cv_deplibs_check_method=pass_all
7277 lt_cv_deplibs_check_method=pass_all
7281 lt_cv_deplibs_check_method=pass_all
7284 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7285 lt_cv_deplibs_check_method=pass_all
7289 case $host_vendor in
7291 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]'
7292 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7295 lt_cv_deplibs_check_method=pass_all
7298 lt_cv_file_magic_cmd='/bin/file'
7299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7302 lt_cv_file_magic_cmd='/bin/file'
7303 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7304 lt_cv_file_magic_test_file=/lib/libc.so
7307 lt_cv_deplibs_check_method=pass_all
7310 lt_cv_deplibs_check_method=pass_all
7316 lt_cv_deplibs_check_method=pass_all
7319 # Assume VxWorks cross toolchains are built on Linux, possibly
7320 # as canadian for Windows hosts.
7321 lt_cv_deplibs_check_method=pass_all
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7327 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7328 file_magic_cmd=$lt_cv_file_magic_cmd
7329 deplibs_check_method=$lt_cv_deplibs_check_method
7330 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7344 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7345 for plugin in $plugin_names; do
7346 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7347 if test x$plugin_so = x$plugin; then
7348 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7350 if test x$plugin_so != x$plugin; then
7351 plugin_option="--plugin $plugin_so"
7356 if test -n "$ac_tool_prefix"; then
7357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7358 set dummy ${ac_tool_prefix}ar; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7360 $as_echo_n "checking
for $ac_word...
" >&6; }
7361 if ${ac_cv_prog_AR+:} false; then :
7362 $as_echo_n "(cached
) " >&6
7364 if test -n "$AR"; then
7365 ac_cv_prog_AR="$AR" # Let the user override the test.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_AR="${ac_tool_prefix}ar"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7385 if test -n "$AR"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7387 $as_echo "$AR" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7390 $as_echo "no
" >&6; }
7395 if test -z "$ac_cv_prog_AR"; then
7397 # Extract the first word of "ar", so it can be a program name with args.
7398 set dummy ar; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7400 $as_echo_n "checking
for $ac_word...
" >&6; }
7401 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7402 $as_echo_n "(cached
) " >&6
7404 if test -n "$ac_ct_AR"; then
7405 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_ac_ct_AR="ar"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7424 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7425 if test -n "$ac_ct_AR"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7427 $as_echo "$ac_ct_AR" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7430 $as_echo "no
" >&6; }
7433 if test "x
$ac_ct_AR" = x; then
7436 case $cross_compiling:$ac_tool_warned in
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7440 ac_tool_warned=yes ;;
7448 test -z "$AR" && AR=ar
7449 if test -n "$plugin_option"; then
7450 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7452 $AR $plugin_option rc conftest.a conftest.c
7453 if test "$?
" != 0; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7455 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7457 AR="$AR $plugin_option"
7462 test -z "$AR_FLAGS" && AR_FLAGS=cru
7474 if test -n "$ac_tool_prefix"; then
7475 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7476 set dummy ${ac_tool_prefix}strip; ac_word=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7478 $as_echo_n "checking
for $ac_word...
" >&6; }
7479 if ${ac_cv_prog_STRIP+:} false; then :
7480 $as_echo_n "(cached
) " >&6
7482 if test -n "$STRIP"; then
7483 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 test -z "$as_dir" && as_dir=.
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7502 STRIP=$ac_cv_prog_STRIP
7503 if test -n "$STRIP"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7505 $as_echo "$STRIP" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7508 $as_echo "no
" >&6; }
7513 if test -z "$ac_cv_prog_STRIP"; then
7515 # Extract the first word of "strip
", so it can be a program name with args.
7516 set dummy strip; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7518 $as_echo_n "checking
for $ac_word...
" >&6; }
7519 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7520 $as_echo_n "(cached
) " >&6
7522 if test -n "$ac_ct_STRIP"; then
7523 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_ac_ct_STRIP="strip
"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7543 if test -n "$ac_ct_STRIP"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7545 $as_echo "$ac_ct_STRIP" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7548 $as_echo "no
" >&6; }
7551 if test "x
$ac_ct_STRIP" = x; then
7554 case $cross_compiling:$ac_tool_warned in
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7557 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7558 ac_tool_warned=yes ;;
7563 STRIP="$ac_cv_prog_STRIP"
7566 test -z "$STRIP" && STRIP=:
7573 if test -n "$ac_tool_prefix"; then
7574 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7575 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7577 $as_echo_n "checking
for $ac_word...
" >&6; }
7578 if ${ac_cv_prog_RANLIB+:} false; then :
7579 $as_echo_n "(cached
) " >&6
7581 if test -n "$RANLIB"; then
7582 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7591 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7601 RANLIB=$ac_cv_prog_RANLIB
7602 if test -n "$RANLIB"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7604 $as_echo "$RANLIB" >&6; }
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7607 $as_echo "no
" >&6; }
7612 if test -z "$ac_cv_prog_RANLIB"; then
7613 ac_ct_RANLIB=$RANLIB
7614 # Extract the first word of "ranlib
", so it can be a program name with args.
7615 set dummy ranlib; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7617 $as_echo_n "checking
for $ac_word...
" >&6; }
7618 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7619 $as_echo_n "(cached
) " >&6
7621 if test -n "$ac_ct_RANLIB"; then
7622 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7631 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7641 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7642 if test -n "$ac_ct_RANLIB"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7644 $as_echo "$ac_ct_RANLIB" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7647 $as_echo "no
" >&6; }
7650 if test "x
$ac_ct_RANLIB" = x; then
7653 case $cross_compiling:$ac_tool_warned in
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7656 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7657 ac_tool_warned=yes ;;
7659 RANLIB=$ac_ct_RANLIB
7662 RANLIB="$ac_cv_prog_RANLIB"
7665 test -z "$RANLIB" && RANLIB=:
7666 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7667 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7668 RANLIB="$RANLIB $plugin_option"
7677 # Determine commands to create old-style static archives.
7678 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7679 old_postinstall_cmds='chmod 644 $oldlib'
7680 old_postuninstall_cmds=
7682 if test -n "$RANLIB"; then
7685 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7688 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7691 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7696 lock_old_archive_extraction=yes ;;
7698 lock_old_archive_extraction=no ;;
7739 # If no C compiler was specified, use CC.
7742 # If no C compiler flags were specified, use CFLAGS.
7743 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7745 # Allow CC to be a program name with arguments.
7749 # Check for command to grab the raw symbol name followed by C symbol from nm.
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7751 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7752 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7753 $as_echo_n "(cached
) " >&6
7756 # These are sane defaults that work on at least a few old systems.
7757 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7759 # Character class describing NM global symbol codes.
7760 symcode='[BCDEGRST]'
7762 # Regexp to match symbols that can be accessed directly from C.
7763 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7765 # Define system-specific variables.
7770 cygwin* | mingw* | pw32* | cegcc*)
7771 symcode='[ABCDGISTW]'
7774 if test "$host_cpu" = ia64; then
7775 symcode='[ABCDEGRST]'
7779 symcode='[BCDEGRST]'
7782 symcode='[BCDEGQRST]'
7793 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7801 # If we're using GNU nm, then use its standard symbol codes.
7802 case `$NM -V 2>&1` in
7803 *GNU* | *'with BFD'*)
7804 symcode='[ABCDGIRSTW]' ;;
7807 # Transform an extracted symbol line into a proper C declaration.
7808 # Some systems (esp. on ia64) link data and code symbols differently,
7809 # so use this general approach.
7810 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7812 # Transform an extracted symbol line into symbol name and symbol address
7813 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7814 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'"
7816 # Handle CRLF in mingw tool chain
7820 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7824 # Try without a prefix underscore, then with it.
7825 for ac_symprfx in "" "_
"; do
7827 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7828 symxfrm="\\1 $ac_symprfx\\2 \\2"
7830 # Write the raw and C identifiers.
7831 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7832 # Fake it for dumpbin and say T for any non-static function
7833 # and D for any global variable.
7834 # Also find C++ and __fastcall symbols from MSVC++,
7835 # which start with @ or ?.
7836 lt_cv_sys_global_symbol_pipe="$AWK '"\
7837 " {last_section=section; section=\$ 3};"\
7838 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7839 " \$ 0!~/External *\|/{next};"\
7840 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7841 " {if(hide[section]) next};"\
7842 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7843 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7844 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7845 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7846 " ' prfx
=^
$ac_symprfx"
7848 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7851 # Check to see that the pipe works correctly.
7855 cat > conftest.$ac_ext <<_LT_EOF
7860 void nm_test_func(void);
7861 void nm_test_func(void){}
7865 int main(){nm_test_var='a';nm_test_func();return(0);}
7868 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7869 (eval $ac_compile) 2>&5
7871 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7872 test $ac_status = 0; }; then
7873 # Now try to grab the symbols.
7875 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7876 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7878 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7879 test $ac_status = 0; } && test -s "$nlist"; then
7880 # Try sorting and uniquifying the output.
7881 if sort "$nlist" | uniq > "$nlist"T; then
7882 mv -f "$nlist"T "$nlist"
7887 # Make sure that we snagged all the symbols we need.
7888 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7889 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7890 cat <<_LT_EOF > conftest.$ac_ext
7896 # Now generate the symbol file.
7897 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7899 cat <<_LT_EOF >> conftest.$ac_ext
7901 /* The mapping between symbol names and symbols. */
7906 lt__PROGRAM__LTX_preloaded_symbols[] =
7908 { "@PROGRAM@
", (void *) 0 },
7910 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7911 cat <<\_LT_EOF >> conftest.$ac_ext
7915 /* This works around a problem in FreeBSD linker */
7916 #ifdef FREEBSD_WORKAROUND
7917 static const void *lt_preloaded_setup() {
7918 return lt__PROGRAM__LTX_preloaded_symbols;
7926 # Now try linking the two files.
7927 mv conftest.$ac_objext conftstm.$ac_objext
7928 lt_save_LIBS="$LIBS"
7929 lt_save_CFLAGS="$CFLAGS"
7930 LIBS="conftstm.
$ac_objext"
7931 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7932 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7933 (eval $ac_link) 2>&5
7935 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7936 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7939 LIBS="$lt_save_LIBS"
7940 CFLAGS="$lt_save_CFLAGS"
7942 echo "cannot
find nm_test_func
in $nlist" >&5
7945 echo "cannot
find nm_test_var
in $nlist" >&5
7948 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7951 echo "$progname: failed program was
:" >&5
7952 cat conftest.$ac_ext >&5
7954 rm -rf conftest* conftst*
7956 # Do not use the global_symbol_pipe unless it works.
7957 if test "$pipe_works" = yes; then
7960 lt_cv_sys_global_symbol_pipe=
7966 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7967 lt_cv_sys_global_symbol_to_cdecl=
7969 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7971 $as_echo "failed
" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7974 $as_echo "ok
" >&6; }
7998 # Check whether --enable-libtool-lock was given.
7999 if test "${enable_libtool_lock+set}" = set; then :
8000 enableval=$enable_libtool_lock;
8003 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8005 # Some flags need to be propagated to the compiler or linker for good
8009 # Find out which ABI we are using.
8010 echo 'int i;' > conftest.$ac_ext
8011 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8012 (eval $ac_compile) 2>&5
8014 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8015 test $ac_status = 0; }; then
8016 case `/usr/bin/file conftest.$ac_objext` in
8028 # Find out which ABI we are using.
8029 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8030 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8031 (eval $ac_compile) 2>&5
8033 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8034 test $ac_status = 0; }; then
8035 if test "$lt_cv_prog_gnu_ld" = yes; then
8036 case `/usr/bin/file conftest.$ac_objext` in
8038 LD="${LD-ld} -melf32bsmip"
8041 LD="${LD-ld} -melf32bmipn32"
8044 LD="${LD-ld} -melf64bmip"
8048 case `/usr/bin/file conftest.$ac_objext` in
8064 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8065 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8066 # Find out which ABI we are using.
8067 echo 'int i;' > conftest.$ac_ext
8068 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8069 (eval $ac_compile) 2>&5
8071 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8072 test $ac_status = 0; }; then
8073 case `/usr/bin/file conftest.o` in
8076 x86_64-*kfreebsd*-gnu)
8077 LD="${LD-ld} -m elf_i386_fbsd
"
8080 case `/usr/bin/file conftest.o` in
8082 LD="${LD-ld} -m elf32_x86_64
"
8085 LD="${LD-ld} -m elf_i386
"
8089 powerpc64le-*linux*)
8090 LD="${LD-ld} -m elf32lppclinux
"
8093 LD="${LD-ld} -m elf32ppclinux
"
8096 LD="${LD-ld} -m elf_s390
"
8099 LD="${LD-ld} -m elf32_sparc
"
8105 x86_64-*kfreebsd*-gnu)
8106 LD="${LD-ld} -m elf_x86_64_fbsd
"
8109 LD="${LD-ld} -m elf_x86_64
"
8112 LD="${LD-ld} -m elf64lppc
"
8115 LD="${LD-ld} -m elf64ppc
"
8117 s390*-*linux*|s390*-*tpf*)
8118 LD="${LD-ld} -m elf64_s390
"
8121 LD="${LD-ld} -m elf64_sparc
"
8131 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8132 SAVE_CFLAGS="$CFLAGS"
8133 CFLAGS="$CFLAGS -belf"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8135 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8136 if ${lt_cv_cc_needs_belf+:} false; then :
8137 $as_echo_n "(cached
) " >&6
8140 ac_cpp='$CPP $CPPFLAGS'
8141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8156 if ac_fn_c_try_link "$LINENO"; then :
8157 lt_cv_cc_needs_belf=yes
8159 lt_cv_cc_needs_belf=no
8161 rm -f core conftest.err conftest.$ac_objext \
8162 conftest$ac_exeext conftest.$ac_ext
8164 ac_cpp='$CPP $CPPFLAGS'
8165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8171 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8172 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8173 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8174 CFLAGS="$SAVE_CFLAGS"
8178 # Find out which ABI we are using.
8179 echo 'int i;' > conftest.$ac_ext
8180 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8181 (eval $ac_compile) 2>&5
8183 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8184 test $ac_status = 0; }; then
8185 case `/usr/bin/file conftest.o` in
8187 case $lt_cv_prog_gnu_ld in
8188 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8190 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8202 need_locks="$enable_libtool_lock"
8206 rhapsody* | darwin*)
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8211 $as_echo_n "checking
for $ac_word...
" >&6; }
8212 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8213 $as_echo_n "(cached
) " >&6
8215 if test -n "$DSYMUTIL"; then
8216 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8225 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8235 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8236 if test -n "$DSYMUTIL"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8238 $as_echo "$DSYMUTIL" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8241 $as_echo "no
" >&6; }
8246 if test -z "$ac_cv_prog_DSYMUTIL"; then
8247 ac_ct_DSYMUTIL=$DSYMUTIL
8248 # Extract the first word of "dsymutil
", so it can be a program name with args.
8249 set dummy dsymutil; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8251 $as_echo_n "checking
for $ac_word...
" >&6; }
8252 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8253 $as_echo_n "(cached
) " >&6
8255 if test -n "$ac_ct_DSYMUTIL"; then
8256 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8275 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8276 if test -n "$ac_ct_DSYMUTIL"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8278 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8281 $as_echo "no
" >&6; }
8284 if test "x
$ac_ct_DSYMUTIL" = x; then
8287 case $cross_compiling:$ac_tool_warned in
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8290 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8291 ac_tool_warned=yes ;;
8293 DSYMUTIL=$ac_ct_DSYMUTIL
8296 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8299 if test -n "$ac_tool_prefix"; then
8300 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8301 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8303 $as_echo_n "checking
for $ac_word...
" >&6; }
8304 if ${ac_cv_prog_NMEDIT+:} false; then :
8305 $as_echo_n "(cached
) " >&6
8307 if test -n "$NMEDIT"; then
8308 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8327 NMEDIT=$ac_cv_prog_NMEDIT
8328 if test -n "$NMEDIT"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8330 $as_echo "$NMEDIT" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8333 $as_echo "no
" >&6; }
8338 if test -z "$ac_cv_prog_NMEDIT"; then
8339 ac_ct_NMEDIT=$NMEDIT
8340 # Extract the first word of "nmedit
", so it can be a program name with args.
8341 set dummy nmedit; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8343 $as_echo_n "checking
for $ac_word...
" >&6; }
8344 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 if test -n "$ac_ct_NMEDIT"; then
8348 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8367 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8368 if test -n "$ac_ct_NMEDIT"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8370 $as_echo "$ac_ct_NMEDIT" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8373 $as_echo "no
" >&6; }
8376 if test "x
$ac_ct_NMEDIT" = x; then
8379 case $cross_compiling:$ac_tool_warned in
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8383 ac_tool_warned=yes ;;
8385 NMEDIT=$ac_ct_NMEDIT
8388 NMEDIT="$ac_cv_prog_NMEDIT"
8391 if test -n "$ac_tool_prefix"; then
8392 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8393 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8395 $as_echo_n "checking
for $ac_word...
" >&6; }
8396 if ${ac_cv_prog_LIPO+:} false; then :
8397 $as_echo_n "(cached
) " >&6
8399 if test -n "$LIPO"; then
8400 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8406 test -z "$as_dir" && as_dir=.
8407 for ac_exec_ext in '' $ac_executable_extensions; do
8408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8409 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8419 LIPO=$ac_cv_prog_LIPO
8420 if test -n "$LIPO"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8422 $as_echo "$LIPO" >&6; }
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8425 $as_echo "no
" >&6; }
8430 if test -z "$ac_cv_prog_LIPO"; then
8432 # Extract the first word of "lipo
", so it can be a program name with args.
8433 set dummy lipo; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8435 $as_echo_n "checking
for $ac_word...
" >&6; }
8436 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8437 $as_echo_n "(cached
) " >&6
8439 if test -n "$ac_ct_LIPO"; then
8440 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8446 test -z "$as_dir" && as_dir=.
8447 for ac_exec_ext in '' $ac_executable_extensions; do
8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8449 ac_cv_prog_ac_ct_LIPO="lipo
"
8450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8459 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8460 if test -n "$ac_ct_LIPO"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8462 $as_echo "$ac_ct_LIPO" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8465 $as_echo "no
" >&6; }
8468 if test "x
$ac_ct_LIPO" = x; then
8471 case $cross_compiling:$ac_tool_warned in
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8474 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8475 ac_tool_warned=yes ;;
8480 LIPO="$ac_cv_prog_LIPO"
8483 if test -n "$ac_tool_prefix"; then
8484 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8485 set dummy ${ac_tool_prefix}otool; ac_word=$2
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8487 $as_echo_n "checking
for $ac_word...
" >&6; }
8488 if ${ac_cv_prog_OTOOL+:} false; then :
8489 $as_echo_n "(cached
) " >&6
8491 if test -n "$OTOOL"; then
8492 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8498 test -z "$as_dir" && as_dir=.
8499 for ac_exec_ext in '' $ac_executable_extensions; do
8500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8501 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8511 OTOOL=$ac_cv_prog_OTOOL
8512 if test -n "$OTOOL"; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8514 $as_echo "$OTOOL" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8517 $as_echo "no
" >&6; }
8522 if test -z "$ac_cv_prog_OTOOL"; then
8524 # Extract the first word of "otool
", so it can be a program name with args.
8525 set dummy otool; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8527 $as_echo_n "checking
for $ac_word...
" >&6; }
8528 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8529 $as_echo_n "(cached
) " >&6
8531 if test -n "$ac_ct_OTOOL"; then
8532 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8538 test -z "$as_dir" && as_dir=.
8539 for ac_exec_ext in '' $ac_executable_extensions; do
8540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541 ac_cv_prog_ac_ct_OTOOL="otool
"
8542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8551 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8552 if test -n "$ac_ct_OTOOL"; then
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8554 $as_echo "$ac_ct_OTOOL" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8557 $as_echo "no
" >&6; }
8560 if test "x
$ac_ct_OTOOL" = x; then
8563 case $cross_compiling:$ac_tool_warned in
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8566 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8567 ac_tool_warned=yes ;;
8572 OTOOL="$ac_cv_prog_OTOOL"
8575 if test -n "$ac_tool_prefix"; then
8576 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8577 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8579 $as_echo_n "checking
for $ac_word...
" >&6; }
8580 if ${ac_cv_prog_OTOOL64+:} false; then :
8581 $as_echo_n "(cached
) " >&6
8583 if test -n "$OTOOL64"; then
8584 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8590 test -z "$as_dir" && as_dir=.
8591 for ac_exec_ext in '' $ac_executable_extensions; do
8592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8593 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8603 OTOOL64=$ac_cv_prog_OTOOL64
8604 if test -n "$OTOOL64"; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8606 $as_echo "$OTOOL64" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8609 $as_echo "no
" >&6; }
8614 if test -z "$ac_cv_prog_OTOOL64"; then
8615 ac_ct_OTOOL64=$OTOOL64
8616 # Extract the first word of "otool64
", so it can be a program name with args.
8617 set dummy otool64; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8619 $as_echo_n "checking
for $ac_word...
" >&6; }
8620 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8621 $as_echo_n "(cached
) " >&6
8623 if test -n "$ac_ct_OTOOL64"; then
8624 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8643 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8644 if test -n "$ac_ct_OTOOL64"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8646 $as_echo "$ac_ct_OTOOL64" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8649 $as_echo "no
" >&6; }
8652 if test "x
$ac_ct_OTOOL64" = x; then
8655 case $cross_compiling:$ac_tool_warned in
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8659 ac_tool_warned=yes ;;
8661 OTOOL64=$ac_ct_OTOOL64
8664 OTOOL64="$ac_cv_prog_OTOOL64"
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8694 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8695 if ${lt_cv_apple_cc_single_mod+:} false; then :
8696 $as_echo_n "(cached
) " >&6
8698 lt_cv_apple_cc_single_mod=no
8699 if test -z "${LT_MULTI_MODULE}"; then
8700 # By default we will add the -single_module flag. You can override
8701 # by either setting the environment variable LT_MULTI_MODULE
8702 # non-empty at configure time, or by adding -multi_module to the
8704 rm -rf libconftest.dylib*
8705 echo "int foo
(void
){return 1;}" > conftest.c
8706 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8707 -dynamiclib -Wl,-single_module conftest.c
" >&5
8708 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8709 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8711 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8712 lt_cv_apple_cc_single_mod=yes
8714 cat conftest.err >&5
8716 rm -rf libconftest.dylib*
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8721 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8723 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8724 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8725 $as_echo_n "(cached
) " >&6
8727 lt_cv_ld_exported_symbols_list=no
8728 save_LDFLAGS=$LDFLAGS
8729 echo "_main
" > conftest.sym
8730 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 lt_cv_ld_exported_symbols_list=yes
8745 lt_cv_ld_exported_symbols_list=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 LDFLAGS="$save_LDFLAGS"
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8753 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8755 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8756 if ${lt_cv_ld_force_load+:} false; then :
8757 $as_echo_n "(cached
) " >&6
8759 lt_cv_ld_force_load=no
8760 cat > conftest.c << _LT_EOF
8761 int forced_loaded() { return 2;}
8763 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8764 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8765 echo "$AR cru libconftest.a conftest.o
" >&5
8766 $AR cru libconftest.a conftest.o 2>&5
8767 cat > conftest.c << _LT_EOF
8768 int main() { return 0;}
8770 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8771 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8773 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8774 lt_cv_ld_force_load=yes
8776 cat conftest.err >&5
8778 rm -f conftest.err libconftest.a conftest conftest.c
8779 rm -rf conftest.dSYM
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8783 $as_echo "$lt_cv_ld_force_load" >&6; }
8784 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8785 # build without first building modern cctools / linker.
8786 case $host_cpu-$host_os in
8787 *-rhapsody* | *-darwin1.[012])
8788 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8790 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8792 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8793 # deployment target is forced to an earlier version.
8794 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8795 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
8798 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8805 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8806 _lt_dar_single_mod='$single_module'
8808 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8809 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8811 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8813 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8814 _lt_dsymutil='~$DSYMUTIL $lib || :'
8821 for ac_header in dlfcn.h
8823 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8825 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8826 cat >>confdefs.h <<_ACEOF
8827 #define HAVE_DLFCN_H 1
8847 # Check whether --enable-shared was given.
8848 if test "${enable_shared+set}" = set; then :
8849 enableval=$enable_shared; p=${PACKAGE-default}
8851 yes) enable_shared=yes ;;
8852 no) enable_shared=no ;;
8855 # Look at the argument we got. We use all the common list separators.
8856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8857 for pkg in $enableval; do
8859 if test "X
$pkg" = "X
$p"; then
8878 # Check whether --enable-static was given.
8879 if test "${enable_static+set}" = set; then :
8880 enableval=$enable_static; p=${PACKAGE-default}
8882 yes) enable_static=yes ;;
8883 no) enable_static=no ;;
8886 # Look at the argument we got. We use all the common list separators.
8887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8888 for pkg in $enableval; do
8890 if test "X
$pkg" = "X
$p"; then
8910 # Check whether --with-pic was given.
8911 if test "${with_pic+set}" = set; then :
8912 withval=$with_pic; pic_mode="$withval"
8918 test -z "$pic_mode" && pic_mode=default
8926 # Check whether --enable-fast-install was given.
8927 if test "${enable_fast_install+set}" = set; then :
8928 enableval=$enable_fast_install; p=${PACKAGE-default}
8930 yes) enable_fast_install=yes ;;
8931 no) enable_fast_install=no ;;
8933 enable_fast_install=no
8934 # Look at the argument we got. We use all the common list separators.
8935 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8936 for pkg in $enableval; do
8938 if test "X
$pkg" = "X
$p"; then
8939 enable_fast_install=yes
8946 enable_fast_install=yes
8959 # This can be used to rebuild libtool when needed
8960 LIBTOOL_DEPS="$ltmain"
8962 # Always use our own libtool.
8963 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8990 test -z "$LN_S" && LN_S="ln -s"
9005 if test -n "${ZSH_VERSION+set}" ; then
9006 setopt NO_GLOB_SUBST
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9010 $as_echo_n "checking
for objdir...
" >&6; }
9011 if ${lt_cv_objdir+:} false; then :
9012 $as_echo_n "(cached
) " >&6
9014 rm -f .libs 2>/dev/null
9015 mkdir .libs 2>/dev/null
9016 if test -d .libs; then
9019 # MS-DOS does not allow filenames that begin with a dot.
9022 rmdir .libs 2>/dev/null
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9025 $as_echo "$lt_cv_objdir" >&6; }
9026 objdir=$lt_cv_objdir
9032 cat >>confdefs.h <<_ACEOF
9033 #define LT_OBJDIR "$lt_cv_objdir/"
9041 # AIX sometimes has problems with the GCC collect2 program. For some
9042 # reason, if we set the COLLECT_NAMES environment variable, the problems
9043 # vanish in a puff of smoke.
9044 if test "X
${COLLECT_NAMES+set}" != Xset; then
9046 export COLLECT_NAMES
9053 can_build_shared=yes
9055 # All known linkers require a `.a' archive for static linking (except MSVC,
9056 # which needs '.lib').
9059 with_gnu_ld="$lt_cv_prog_gnu_ld"
9062 old_CFLAGS="$CFLAGS"
9064 # Set sane defaults for various variables
9065 test -z "$CC" && CC=cc
9066 test -z "$LTCC" && LTCC=$CC
9067 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9068 test -z "$LD" && LD=ld
9069 test -z "$ac_objext" && ac_objext=o
9071 for cc_temp in $compiler""; do
9073 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9074 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9079 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9082 # Only perform the check for file, if the check method requires it
9083 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9084 case $deplibs_check_method in
9086 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9088 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9089 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9090 $as_echo_n "(cached
) " >&6
9094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9097 lt_save_MAGIC_CMD="$MAGIC_CMD"
9098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9099 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9100 for ac_dir in $ac_dummy; do
9102 test -z "$ac_dir" && ac_dir=.
9103 if test -f $ac_dir/${ac_tool_prefix}file; then
9104 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9105 if test -n "$file_magic_test_file"; then
9106 case $deplibs_check_method in
9108 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9110 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9111 $EGREP "$file_magic_regex" > /dev/null; then
9116 *** Warning: the command libtool uses to detect shared libraries,
9117 *** $file_magic_cmd, produces output that libtool cannot recognize.
9118 *** The result is that libtool may fail to recognize shared libraries
9119 *** as such. This will affect the creation of libtool libraries that
9120 *** depend on shared libraries, but programs linked with such libtool
9121 *** libraries will work regardless of this problem. Nevertheless, you
9122 *** may want to report the problem to your system manager and/or to
9123 *** bug-libtool@gnu.org
9133 MAGIC_CMD="$lt_save_MAGIC_CMD"
9138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9139 if test -n "$MAGIC_CMD"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9141 $as_echo "$MAGIC_CMD" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9144 $as_echo "no
" >&6; }
9151 if test -z "$lt_cv_path_MAGIC_CMD"; then
9152 if test -n "$ac_tool_prefix"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9154 $as_echo_n "checking
for file...
" >&6; }
9155 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9156 $as_echo_n "(cached
) " >&6
9160 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9163 lt_save_MAGIC_CMD="$MAGIC_CMD"
9164 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9165 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9166 for ac_dir in $ac_dummy; do
9168 test -z "$ac_dir" && ac_dir=.
9169 if test -f $ac_dir/file; then
9170 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9171 if test -n "$file_magic_test_file"; then
9172 case $deplibs_check_method in
9174 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9176 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9177 $EGREP "$file_magic_regex" > /dev/null; then
9182 *** Warning: the command libtool uses to detect shared libraries,
9183 *** $file_magic_cmd, produces output that libtool cannot recognize.
9184 *** The result is that libtool may fail to recognize shared libraries
9185 *** as such. This will affect the creation of libtool libraries that
9186 *** depend on shared libraries, but programs linked with such libtool
9187 *** libraries will work regardless of this problem. Nevertheless, you
9188 *** may want to report the problem to your system manager and/or to
9189 *** bug-libtool@gnu.org
9199 MAGIC_CMD="$lt_save_MAGIC_CMD"
9204 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9205 if test -n "$MAGIC_CMD"; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9207 $as_echo "$MAGIC_CMD" >&6; }
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9210 $as_echo "no
" >&6; }
9223 # Use C for the default configuration in the libtool script
9227 ac_cpp='$CPP $CPPFLAGS'
9228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9233 # Source file extension for C test sources.
9236 # Object file extension for compiled C test sources.
9240 # Code to be used in simple compile tests
9241 lt_simple_compile_test_code="int some_variable
= 0;"
9243 # Code to be used in simple link tests
9244 lt_simple_link_test_code='int main(){return(0);}'
9252 # If no C compiler was specified, use CC.
9255 # If no C compiler flags were specified, use CFLAGS.
9256 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9258 # Allow CC to be a program name with arguments.
9261 # Save the default compiler, since it gets overwritten when the other
9262 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9263 compiler_DEFAULT=$CC
9265 # save warnings/boilerplate of simple test code
9266 ac_outfile=conftest.$ac_objext
9267 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9268 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9269 _lt_compiler_boilerplate=`cat conftest.err`
9272 ac_outfile=conftest.$ac_objext
9273 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9274 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9275 _lt_linker_boilerplate=`cat conftest.err`
9280 ## There is no encapsulation within the following macros, do not change
9281 ## the running order or otherwise move them around unless you know exactly
9282 ## what you are doing...
9283 if test -n "$compiler"; then
9285 lt_prog_compiler_no_builtin_flag=
9287 if test "$GCC" = yes; then
9288 case $cc_basename in
9290 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9292 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9296 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9297 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9298 $as_echo_n "(cached
) " >&6
9300 lt_cv_prog_compiler_rtti_exceptions=no
9301 ac_outfile=conftest.$ac_objext
9302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9303 lt_compiler_flag="-fno-rtti -fno-exceptions"
9304 # Insert the option either (1) after the last *FLAGS variable, or
9305 # (2) before a word containing "conftest.
", or (3) at the end.
9306 # Note that $ac_compile itself does not contain backslashes and begins
9307 # with a dollar sign (not a hyphen), so the echo should work correctly.
9308 # The option is referenced via a variable to avoid confusing sed.
9309 lt_compile=`echo "$ac_compile" | $SED \
9310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9312 -e 's:$: $lt_compiler_flag:'`
9313 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9314 (eval "$lt_compile" 2>conftest.err)
9316 cat conftest.err >&5
9317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9318 if (exit $ac_status) && test -s "$ac_outfile"; then
9319 # The compiler can only warn and ignore the option if not recognized
9320 # So say no if there are warnings other than the usual output.
9321 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9322 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9323 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9324 lt_cv_prog_compiler_rtti_exceptions=yes
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9331 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9333 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9334 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9346 lt_prog_compiler_wl=
9347 lt_prog_compiler_pic=
9348 lt_prog_compiler_static=
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9351 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9353 if test "$GCC" = yes; then
9354 lt_prog_compiler_wl='-Wl,'
9355 lt_prog_compiler_static='-static'
9359 # All AIX code is PIC.
9360 if test "$host_cpu" = ia64; then
9361 # AIX 5 now supports IA64 processor
9362 lt_prog_compiler_static='-Bstatic'
9364 lt_prog_compiler_pic='-fPIC'
9370 # see comment about AmigaOS4 .so support
9371 lt_prog_compiler_pic='-fPIC'
9374 # FIXME: we need at least 68020 code to build shared libraries, but
9375 # adding the `-m68020' flag to GCC prevents building anything better,
9377 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9382 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9383 # PIC is the default for these OSes.
9386 mingw* | cygwin* | pw32* | os2* | cegcc*)
9387 # This hack is so that the source file can tell whether it is being
9388 # built for inclusion in a dll (and should export symbols for example).
9389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9390 # (--disable-auto-import) libraries
9391 lt_prog_compiler_pic='-DDLL_EXPORT'
9394 darwin* | rhapsody*)
9395 # PIC is the default on this platform
9396 # Common symbols not allowed in MH_DYLIB files
9397 lt_prog_compiler_pic='-fno-common'
9401 # PIC is the default for Haiku.
9402 # The "-static" flag exists, but is broken.
9403 lt_prog_compiler_static=
9407 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9408 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9409 # sets the default TLS model and affects inlining.
9415 lt_prog_compiler_pic='-fPIC'
9421 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9422 # Instead, we relocate shared libraries at runtime.
9426 # Just because we use GCC doesn't mean we suddenly get shared libraries
9427 # on systems that don't support them.
9428 lt_prog_compiler_can_build_shared=no
9433 # QNX uses GNU C++, but need to define -shared option too, otherwise
9435 lt_prog_compiler_pic='-fPIC -shared'
9439 if test -d /usr/nec; then
9440 lt_prog_compiler_pic=-Kconform_pic
9445 lt_prog_compiler_pic='-fPIC'
9449 case $cc_basename in
9450 nvcc*) # Cuda Compiler Driver 2.2
9451 lt_prog_compiler_wl='-Xlinker '
9452 lt_prog_compiler_pic='-Xcompiler -fPIC'
9456 # PORTME Check for flag to pass linker flags through the system compiler.
9459 lt_prog_compiler_wl='-Wl,'
9460 if test "$host_cpu" = ia64; then
9461 # AIX 5 now supports IA64 processor
9462 lt_prog_compiler_static='-Bstatic'
9464 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9468 mingw* | cygwin* | pw32* | os2* | cegcc*)
9469 # This hack is so that the source file can tell whether it is being
9470 # built for inclusion in a dll (and should export symbols for example).
9471 lt_prog_compiler_pic='-DDLL_EXPORT'
9474 hpux9* | hpux10* | hpux11*)
9475 lt_prog_compiler_wl='-Wl,'
9476 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9483 lt_prog_compiler_pic='+Z'
9486 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9487 lt_prog_compiler_static='${wl}-a ${wl}archive'
9490 irix5* | irix6* | nonstopux*)
9491 lt_prog_compiler_wl='-Wl,'
9492 # PIC (with -KPIC) is the default.
9493 lt_prog_compiler_static='-non_shared'
9496 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9497 case $cc_basename in
9498 # old Intel for x86_64 which still supported -KPIC.
9500 lt_prog_compiler_wl='-Wl,'
9501 lt_prog_compiler_pic='-KPIC'
9502 lt_prog_compiler_static='-static'
9504 # icc used to be incompatible with GCC.
9505 # ICC 10 doesn't accept -KPIC any more.
9507 lt_prog_compiler_wl='-Wl,'
9508 lt_prog_compiler_pic='-fPIC'
9509 lt_prog_compiler_static='-static'
9511 # Lahey Fortran 8.1.
9513 lt_prog_compiler_wl='-Wl,'
9514 lt_prog_compiler_pic='--shared'
9515 lt_prog_compiler_static='--static'
9517 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9518 # Portland Group compilers (*not* the Pentium gcc compiler,
9519 # which looks to be a dead project)
9520 lt_prog_compiler_wl='-Wl,'
9521 lt_prog_compiler_pic='-fpic'
9522 lt_prog_compiler_static='-Bstatic'
9525 lt_prog_compiler_wl='-Wl,'
9526 # All Alpha code is PIC.
9527 lt_prog_compiler_static='-non_shared'
9529 xl* | bgxl* | bgf* | mpixl*)
9530 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9531 lt_prog_compiler_wl='-Wl,'
9532 lt_prog_compiler_pic='-qpic'
9533 lt_prog_compiler_static='-qstaticlink'
9536 case `$CC -V 2>&1 | sed 5q` in
9537 *Sun\ F* | *Sun*Fortran*)
9538 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9539 lt_prog_compiler_pic='-KPIC'
9540 lt_prog_compiler_static='-Bstatic'
9541 lt_prog_compiler_wl=''
9545 lt_prog_compiler_pic='-KPIC'
9546 lt_prog_compiler_static='-Bstatic'
9547 lt_prog_compiler_wl='-Wl,'
9555 lt_prog_compiler_pic='-KPIC'
9556 lt_prog_compiler_static='-Bstatic'
9560 # QNX uses GNU C++, but need to define -shared option too, otherwise
9562 lt_prog_compiler_pic='-fPIC -shared'
9565 osf3* | osf4* | osf5*)
9566 lt_prog_compiler_wl='-Wl,'
9567 # All OSF/1 code is PIC.
9568 lt_prog_compiler_static='-non_shared'
9572 lt_prog_compiler_static='-non_shared'
9576 lt_prog_compiler_pic='-KPIC'
9577 lt_prog_compiler_static='-Bstatic'
9578 case $cc_basename in
9580 lt_prog_compiler_wl='-Qoption ld ';;
9582 lt_prog_compiler_wl='-Wl,';;
9587 lt_prog_compiler_wl='-Qoption ld '
9588 lt_prog_compiler_pic='-PIC'
9589 lt_prog_compiler_static='-Bstatic'
9592 sysv4 | sysv4.2uw2* | sysv4.3*)
9593 lt_prog_compiler_wl='-Wl,'
9594 lt_prog_compiler_pic='-KPIC'
9595 lt_prog_compiler_static='-Bstatic'
9599 if test -d /usr/nec ;then
9600 lt_prog_compiler_pic='-Kconform_pic'
9601 lt_prog_compiler_static='-Bstatic'
9605 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9606 lt_prog_compiler_wl='-Wl,'
9607 lt_prog_compiler_pic='-KPIC'
9608 lt_prog_compiler_static='-Bstatic'
9612 lt_prog_compiler_wl='-Wl,'
9613 lt_prog_compiler_can_build_shared=no
9617 lt_prog_compiler_pic='-pic'
9618 lt_prog_compiler_static='-Bstatic'
9622 lt_prog_compiler_can_build_shared=no
9628 # For platforms which do not support PIC, -DPIC is meaningless:
9630 lt_prog_compiler_pic=
9633 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9637 $as_echo "$lt_prog_compiler_pic" >&6; }
9645 # Check to make sure the PIC flag actually works.
9647 if test -n "$lt_prog_compiler_pic"; then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9649 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9650 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9651 $as_echo_n "(cached
) " >&6
9653 lt_cv_prog_compiler_pic_works=no
9654 ac_outfile=conftest.$ac_objext
9655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9656 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9657 # Insert the option either (1) after the last *FLAGS variable, or
9658 # (2) before a word containing "conftest.
", or (3) at the end.
9659 # Note that $ac_compile itself does not contain backslashes and begins
9660 # with a dollar sign (not a hyphen), so the echo should work correctly.
9661 # The option is referenced via a variable to avoid confusing sed.
9662 lt_compile=`echo "$ac_compile" | $SED \
9663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9665 -e 's:$: $lt_compiler_flag:'`
9666 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9667 (eval "$lt_compile" 2>conftest.err)
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9671 if (exit $ac_status) && test -s "$ac_outfile"; then
9672 # The compiler can only warn and ignore the option if not recognized
9673 # So say no if there are warnings other than the usual output.
9674 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9676 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9677 lt_cv_prog_compiler_pic_works=yes
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9684 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9686 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9687 case $lt_prog_compiler_pic in
9689 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9692 lt_prog_compiler_pic=
9693 lt_prog_compiler_can_build_shared=no
9704 # Check to make sure the static flag actually works.
9706 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9708 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9709 if ${lt_cv_prog_compiler_static_works+:} false; then :
9710 $as_echo_n "(cached
) " >&6
9712 lt_cv_prog_compiler_static_works=no
9713 save_LDFLAGS="$LDFLAGS"
9714 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9715 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9716 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9717 # The linker can only warn and ignore the option if not recognized
9718 # So say no if there are warnings
9719 if test -s conftest.err; then
9720 # Append any errors to the config.log.
9721 cat conftest.err 1>&5
9722 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9723 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9724 if diff conftest.exp conftest.er2 >/dev/null; then
9725 lt_cv_prog_compiler_static_works=yes
9728 lt_cv_prog_compiler_static_works=yes
9732 LDFLAGS="$save_LDFLAGS"
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9736 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9738 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9741 lt_prog_compiler_static=
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9751 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9752 if ${lt_cv_prog_compiler_c_o+:} false; then :
9753 $as_echo_n "(cached
) " >&6
9755 lt_cv_prog_compiler_c_o=no
9756 $RM -r conftest 2>/dev/null
9760 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9762 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9763 # Insert the option either (1) after the last *FLAGS variable, or
9764 # (2) before a word containing "conftest.
", or (3) at the end.
9765 # Note that $ac_compile itself does not contain backslashes and begins
9766 # with a dollar sign (not a hyphen), so the echo should work correctly.
9767 lt_compile=`echo "$ac_compile" | $SED \
9768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9770 -e 's:$: $lt_compiler_flag:'`
9771 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9772 (eval "$lt_compile" 2>out/conftest.err)
9774 cat out/conftest.err >&5
9775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9776 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9778 # The compiler can only warn and ignore the option if not recognized
9779 # So say no if there are warnings
9780 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9781 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9782 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9783 lt_cv_prog_compiler_c_o=yes
9788 # SGI C++ compiler will create directory out/ii_files/ for
9789 # template instantiation
9790 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9791 $RM out/* && rmdir out
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9798 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9806 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9807 if ${lt_cv_prog_compiler_c_o+:} false; then :
9808 $as_echo_n "(cached
) " >&6
9810 lt_cv_prog_compiler_c_o=no
9811 $RM -r conftest 2>/dev/null
9815 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9817 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9818 # Insert the option either (1) after the last *FLAGS variable, or
9819 # (2) before a word containing "conftest.
", or (3) at the end.
9820 # Note that $ac_compile itself does not contain backslashes and begins
9821 # with a dollar sign (not a hyphen), so the echo should work correctly.
9822 lt_compile=`echo "$ac_compile" | $SED \
9823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9825 -e 's:$: $lt_compiler_flag:'`
9826 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9827 (eval "$lt_compile" 2>out/conftest.err)
9829 cat out/conftest.err >&5
9830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9831 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9833 # The compiler can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9836 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9837 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9838 lt_cv_prog_compiler_c_o=yes
9843 # SGI C++ compiler will create directory out/ii_files/ for
9844 # template instantiation
9845 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9846 $RM out/* && rmdir out
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9853 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9858 hard_links="nottested
"
9859 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9860 # do not overwrite the value of need_locks provided by the user
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9862 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9865 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9867 ln conftest.a conftest.b 2>&5 || hard_links=no
9868 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9870 $as_echo "$hard_links" >&6; }
9871 if test "$hard_links" = no; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9873 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9886 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9889 allow_undefined_flag=
9890 always_export_symbols=no
9892 archive_expsym_cmds=
9893 compiler_needs_object=no
9894 enable_shared_with_static_runtimes=no
9895 export_dynamic_flag_spec=
9896 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9897 hardcode_automatic=no
9899 hardcode_direct_absolute=no
9900 hardcode_libdir_flag_spec=
9901 hardcode_libdir_flag_spec_ld=
9902 hardcode_libdir_separator=
9904 hardcode_shlibpath_var=unsupported
9906 link_all_deplibs=unknown
9909 old_archive_from_new_cmds=
9910 old_archive_from_expsyms_cmds=
9911 thread_safe_flag_spec=
9912 whole_archive_flag_spec=
9913 # include_expsyms should be a list of space-separated symbols to be *always*
9914 # included in the symbol list
9916 # exclude_expsyms can be an extended regexp of symbols to exclude
9917 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9918 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9919 # as well as any symbol that contains `d'.
9920 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9921 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9922 # platforms (ab)use it in PIC code, but their linkers get confused if
9923 # the symbol is explicitly referenced. Since portable code cannot
9924 # rely on this symbol name, it's probably fine to never include it in
9925 # preloaded symbol tables.
9926 # Exclude shared library initialization/finalization symbols.
9927 extract_expsyms_cmds=
9930 cygwin* | mingw* | pw32* | cegcc*)
9931 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9932 # When not using gcc, we currently assume that we are using
9933 # Microsoft Visual C++.
9934 if test "$GCC" != yes; then
9939 # we just hope/assume this is gcc and not c89 (= MSVC++)
9949 # On some targets, GNU ld is compatible enough with the native linker
9950 # that we're better off using the native interface for both.
9951 lt_use_gnu_ld_interface=no
9952 if test "$with_gnu_ld" = yes; then
9955 # The AIX port of GNU ld has always aspired to compatibility
9956 # with the native linker. However, as the warning in the GNU ld
9957 # block says, versions before 2.19.5* couldn't really create working
9958 # shared libraries, regardless of the interface used.
9959 case `$LD -v 2>&1` in
9960 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9961 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9962 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9964 lt_use_gnu_ld_interface=yes
9969 lt_use_gnu_ld_interface=yes
9974 if test "$lt_use_gnu_ld_interface" = yes; then
9975 # If archive_cmds runs LD, not CC, wlarc should be empty
9978 # Set some defaults for GNU ld with shared library support. These
9979 # are reset later if shared libraries are not supported. Putting them
9980 # here allows them to be overridden if necessary.
9981 runpath_var=LD_RUN_PATH
9982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9983 export_dynamic_flag_spec='${wl}--export-dynamic'
9984 # ancient GNU ld didn't support --whole-archive et. al.
9985 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9986 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9988 whole_archive_flag_spec=
9990 supports_anon_versioning=no
9991 case `$LD -v 2>&1` in
9992 *GNU\ gold*) supports_anon_versioning=yes ;;
9993 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9994 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9995 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9996 *\ 2.11.*) ;; # other 2.11 versions
9997 *) supports_anon_versioning=yes ;;
10000 # See if GNU ld supports shared libraries.
10003 # On AIX/PPC, the GNU linker is very broken
10004 if test "$host_cpu" != ia64; then
10008 *** Warning: the GNU linker, at least up to release 2.19, is reported
10009 *** to be unable to reliably create shared libraries on AIX.
10010 *** Therefore, libtool is disabling shared libraries support. If you
10011 *** really care for shared libraries, you may want to install binutils
10012 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10013 *** You will then need to restart the configuration process.
10022 # see comment about AmigaOS4 .so support
10023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds=''
10027 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)'
10028 hardcode_libdir_flag_spec
='-L$libdir'
10029 hardcode_minus_L
=yes
10035 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10036 allow_undefined_flag
=unsupported
10037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10038 # support --undefined. This deserves some investigation. FIXME
10039 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10045 cygwin
* | mingw
* | pw32
* | cegcc
*)
10046 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10047 # as there is no search path for DLLs.
10048 hardcode_libdir_flag_spec
='-L$libdir'
10049 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10050 allow_undefined_flag
=unsupported
10051 always_export_symbols
=no
10052 enable_shared_with_static_runtimes
=yes
10053 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10055 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10057 # If the export-symbols file already is a .def file (1st line
10058 # is EXPORTS), use it as is; otherwise, prepend...
10059 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10060 cp $export_symbols $output_objdir/$soname.def;
10062 echo EXPORTS > $output_objdir/$soname.def;
10063 cat $export_symbols >> $output_objdir/$soname.def;
10065 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10072 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073 link_all_deplibs
=yes
10078 hardcode_shlibpath_var
=no
10079 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10080 export_dynamic_flag_spec
='${wl}-E'
10081 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10082 # Instead, shared libraries are loaded at an image base (0x10000000 by
10083 # default) and relocated if they conflict, which is a slow very memory
10084 # consuming and fragmenting process. To avoid this, we pick a random,
10085 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10086 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10087 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10088 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'
10091 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10093 if test "$host_os" = linux-dietlibc
; then
10094 case $cc_basename in
10095 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10098 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10099 && test "$tmp_diet" = no
10101 tmp_addflag
=' $pic_flag'
10102 tmp_sharedflag
='-shared'
10103 case $cc_basename,$host_cpu in
10104 pgcc
*) # Portland Group C compiler
10105 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'
10106 tmp_addflag
=' $pic_flag'
10108 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10109 # Portland Group f77 and f90 compilers
10110 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'
10111 tmp_addflag
=' $pic_flag -Mnomain' ;;
10112 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10113 tmp_addflag
=' -i_dynamic' ;;
10114 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10115 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10116 ifc
* | ifort
*) # Intel Fortran compiler
10117 tmp_addflag
=' -nofor_main' ;;
10118 lf95
*) # Lahey Fortran 8.1
10119 whole_archive_flag_spec
=
10120 tmp_sharedflag
='--shared' ;;
10121 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10122 tmp_sharedflag
='-qmkshrobj'
10124 nvcc
*) # Cuda Compiler Driver 2.2
10125 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'
10126 compiler_needs_object
=yes
10129 case `$CC -V 2>&1 | sed 5q` in
10130 *Sun\ C
*) # Sun C 5.9
10131 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'
10132 compiler_needs_object
=yes
10133 tmp_sharedflag
='-G' ;;
10134 *Sun\ F
*) # Sun Fortran 8.3
10135 tmp_sharedflag
='-G' ;;
10137 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10139 if test "x$supports_anon_versioning" = xyes
; then
10140 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10141 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10142 echo "local: *; };" >> $output_objdir/$libname.ver~
10143 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10146 case $cc_basename in
10147 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10148 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10149 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10150 hardcode_libdir_flag_spec
=
10151 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10152 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10153 if test "x$supports_anon_versioning" = xyes
; then
10154 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10156 echo "local: *; };" >> $output_objdir/$libname.ver~
10157 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10167 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10168 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10171 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10172 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10177 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10181 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10182 *** create shared libraries on Solaris systems. Therefore, libtool
10183 *** is disabling shared libraries support. We urge you to upgrade GNU
10184 *** binutils to release 2.9.1 or newer. Another option is to modify
10185 *** your PATH or compiler configuration so that the native linker is
10186 *** used, and then restart.
10189 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10190 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10191 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10197 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10198 case `$LD -v 2>&1` in
10199 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10203 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10204 *** reliably create shared libraries on SCO systems. Therefore, libtool
10205 *** is disabling shared libraries support. We urge you to upgrade GNU
10206 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10207 *** your PATH or compiler configuration so that the native linker is
10208 *** used, and then restart.
10213 # For security reasons, it is highly recommended that you always
10214 # use absolute paths for naming shared libraries, and exclude the
10215 # DT_RUNPATH tag from executables and libraries. But doing so
10216 # requires that you compile everything twice, which is a pain.
10217 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10229 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10231 hardcode_direct
=yes
10232 hardcode_shlibpath_var
=no
10236 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10238 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10245 if test "$ld_shlibs" = no
; then
10247 hardcode_libdir_flag_spec
=
10248 export_dynamic_flag_spec
=
10249 whole_archive_flag_spec
=
10252 # PORTME fill in a description of your system's linker (not GNU ld)
10255 allow_undefined_flag
=unsupported
10256 always_export_symbols
=yes
10257 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'
10258 # Note: this linker hardcodes the directories in LIBPATH if there
10259 # are no directories specified by -L.
10260 hardcode_minus_L
=yes
10261 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10262 # Neither direct hardcoding nor static linking is supported with a
10264 hardcode_direct
=unsupported
10269 if test "$host_cpu" = ia64
; then
10270 # On IA64, the linker does run time linking by default, so we don't
10271 # have to do anything special.
10272 aix_use_runtimelinking
=no
10273 exp_sym_flag
='-Bexport'
10276 # If we're using GNU nm, then we don't want the "-C" option.
10277 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10278 # Also, AIX nm treats weak defined symbols like other global
10279 # defined symbols, whereas GNU nm marks them as "W".
10280 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10281 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'
10283 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10285 aix_use_runtimelinking
=no
10287 # Test if we are trying to use run time linking or normal
10288 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10289 # need to do runtime linking.
10290 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10291 for ld_flag
in $LDFLAGS; do
10292 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10293 aix_use_runtimelinking
=yes
10300 exp_sym_flag
='-bexport'
10301 no_entry_flag
='-bnoentry'
10304 # When large executables or shared objects are built, AIX ld can
10305 # have problems creating the table of contents. If linking a library
10306 # or program results in "error TOC overflow" add -mminimal-toc to
10307 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10308 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10311 hardcode_direct
=yes
10312 hardcode_direct_absolute
=yes
10313 hardcode_libdir_separator
=':'
10314 link_all_deplibs
=yes
10315 file_list_spec
='${wl}-f,'
10317 if test "$GCC" = yes; then
10318 case $host_os in aix4.
[012]|aix4.
[012].
*)
10319 # We only want to do this on AIX 4.2 and lower, the check
10320 # below for broken collect2 doesn't work under 4.3+
10321 collect2name
=`${CC} -print-prog-name=collect2`
10322 if test -f "$collect2name" &&
10323 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10325 # We have reworked collect2
10328 # We have old collect2
10329 hardcode_direct
=unsupported
10330 # It fails to find uninstalled libraries when the uninstalled
10331 # path is not listed in the libpath. Setting hardcode_minus_L
10332 # to unsupported forces relinking
10333 hardcode_minus_L
=yes
10334 hardcode_libdir_flag_spec
='-L$libdir'
10335 hardcode_libdir_separator
=
10339 shared_flag
='-shared'
10340 if test "$aix_use_runtimelinking" = yes; then
10341 shared_flag
="$shared_flag "'${wl}-G'
10345 if test "$host_cpu" = ia64
; then
10346 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10347 # chokes on -Wl,-G. The following line is correct:
10350 if test "$aix_use_runtimelinking" = yes; then
10351 shared_flag
='${wl}-G'
10353 shared_flag
='${wl}-bM:SRE'
10358 export_dynamic_flag_spec
='${wl}-bexpall'
10359 # It seems that -bexpall does not export symbols beginning with
10360 # underscore (_), so it is better to generate a list of symbols to export.
10361 always_export_symbols
=yes
10362 if test "$aix_use_runtimelinking" = yes; then
10363 # Warning - without using the other runtime loading flags (-brtl),
10364 # -berok will link without error, but may produce a broken library.
10365 allow_undefined_flag
='-berok'
10366 # Determine the default libpath from the value encoded in an
10367 # empty executable.
10368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10379 if ac_fn_c_try_link
"$LINENO"; then :
10381 lt_aix_libpath_sed
='
10382 /Import File Strings/,/^$/ {
10388 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10389 # Check for a 64-bit object if we didn't find anything.
10390 if test -z "$aix_libpath"; then
10391 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10394 rm -f core conftest.err conftest.
$ac_objext \
10395 conftest
$ac_exeext conftest.
$ac_ext
10396 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10398 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10399 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"
10401 if test "$host_cpu" = ia64
; then
10402 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10403 allow_undefined_flag
="-z nodefs"
10404 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"
10406 # Determine the default libpath from the value encoded in an
10407 # empty executable.
10408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10419 if ac_fn_c_try_link
"$LINENO"; then :
10421 lt_aix_libpath_sed
='
10422 /Import File Strings/,/^$/ {
10428 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10429 # Check for a 64-bit object if we didn't find anything.
10430 if test -z "$aix_libpath"; then
10431 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10438 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10439 # Warning - without using the other run time loading flags,
10440 # -berok will link without error, but may produce a broken library.
10441 no_undefined_flag
=' ${wl}-bernotok'
10442 allow_undefined_flag
=' ${wl}-berok'
10443 if test "$with_gnu_ld" = yes; then
10444 # We only use this code for GNU lds that support --whole-archive.
10445 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10447 # Exported symbols can be pulled into shared objects from archives
10448 whole_archive_flag_spec
='$convenience'
10450 archive_cmds_need_lc
=yes
10451 # This is similar to how AIX traditionally builds its shared libraries.
10452 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'
10460 # see comment about AmigaOS4 .so support
10461 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10462 archive_expsym_cmds
=''
10465 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)'
10466 hardcode_libdir_flag_spec
='-L$libdir'
10467 hardcode_minus_L
=yes
10473 export_dynamic_flag_spec
=-rdynamic
10476 cygwin
* | mingw
* | pw32
* | cegcc
*)
10477 # When not using gcc, we currently assume that we are using
10478 # Microsoft Visual C++.
10479 # hardcode_libdir_flag_spec is actually meaningless, as there is
10480 # no search path for DLLs.
10481 hardcode_libdir_flag_spec
=' '
10482 allow_undefined_flag
=unsupported
10483 # Tell ltmain to make .lib files, not .a files.
10485 # Tell ltmain to make .dll files, not .so files.
10487 # FIXME: Setting linknames here is a bad hack.
10488 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10489 # The linker will automatically build a .lib file if we build a DLL.
10490 old_archive_from_new_cmds
='true'
10491 # FIXME: Should let the user specify the lib program.
10492 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10493 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10494 enable_shared_with_static_runtimes
=yes
10497 darwin
* | rhapsody
*)
10501 # Publish an arg to allow the user to select that Darwin host (and target)
10502 # libraries should be given install-names like @rpath/libfoo.dylib. This
10503 # requires that the user of the library then adds an 'rpath' to the DSO that
10505 # NOTE: there are defaults below, for systems that support rpaths. The person
10506 # configuring can override the defaults for any system version that supports
10507 # them - they are, however, forced off for system versions without support.
10508 # Check whether --enable-darwin-at-rpath was given.
10509 if test "${enable_darwin_at_rpath+set}" = set; then :
10510 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10511 # This is not supported before macOS 10.5 / Darwin9.
10512 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10513 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10515 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10516 enable_darwin_at_rpath
=no
10521 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10522 # As above, before 10.5 / Darwin9 this does not work.
10523 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10524 enable_darwin_at_rpath
=no
10527 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10528 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10529 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10530 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10532 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10533 enable_darwin_at_rpath
=yes
10535 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10536 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10543 archive_cmds_need_lc
=no
10545 hardcode_automatic
=yes
10546 hardcode_shlibpath_var
=unsupported
10547 if test "$lt_cv_ld_force_load" = "yes"; then
10548 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\"`'
10550 whole_archive_flag_spec
=''
10552 link_all_deplibs
=yes
10553 allow_undefined_flag
="$_lt_dar_allow_undefined"
10554 case $cc_basename in
10555 ifort
*) _lt_dar_can_shared
=yes ;;
10556 *) _lt_dar_can_shared
=$GCC ;;
10558 if test "$_lt_dar_can_shared" = "yes"; then
10559 output_verbose_link_cmd
=func_echo_all
10560 _lt_install_name
='\$rpath/\$soname'
10561 if test "x$enable_darwin_at_rpath" = "xyes"; then
10562 _lt_install_name
='@rpath/\$soname'
10564 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10565 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10566 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10567 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}"
10576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10577 hardcode_libdir_flag_spec
='-L$libdir'
10578 hardcode_shlibpath_var
=no
10581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10582 # support. Future versions do this automatically, but an explicit c++rt0.o
10583 # does not break anything, and helps significantly (at the cost of a little
10586 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10587 hardcode_libdir_flag_spec
='-R$libdir'
10588 hardcode_direct
=yes
10589 hardcode_shlibpath_var
=no
10592 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10594 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10595 hardcode_direct
=yes
10596 hardcode_minus_L
=yes
10597 hardcode_shlibpath_var
=no
10600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10601 freebsd
* | dragonfly
*)
10602 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10603 hardcode_libdir_flag_spec
='-R$libdir'
10604 hardcode_direct
=yes
10605 hardcode_shlibpath_var
=no
10609 if test "$GCC" = yes; then
10610 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'
10612 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'
10614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10615 hardcode_libdir_separator
=:
10616 hardcode_direct
=yes
10618 # hardcode_minus_L: Not really in the search PATH,
10619 # but as the default location of the library.
10620 hardcode_minus_L
=yes
10621 export_dynamic_flag_spec
='${wl}-E'
10625 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10626 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10630 if test "$with_gnu_ld" = no
; then
10631 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10632 hardcode_libdir_flag_spec_ld
='+b $libdir'
10633 hardcode_libdir_separator
=:
10634 hardcode_direct
=yes
10635 hardcode_direct_absolute
=yes
10636 export_dynamic_flag_spec
='${wl}-E'
10637 # hardcode_minus_L: Not really in the search PATH,
10638 # but as the default location of the library.
10639 hardcode_minus_L
=yes
10644 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10647 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10650 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10662 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10666 # Older versions of the 11.00 compiler do not understand -b yet
10667 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10669 $as_echo_n "checking if $CC understands -b... " >&6; }
10670 if ${lt_cv_prog_compiler__b+:} false
; then :
10671 $as_echo_n "(cached) " >&6
10673 lt_cv_prog_compiler__b
=no
10674 save_LDFLAGS
="$LDFLAGS"
10675 LDFLAGS
="$LDFLAGS -b"
10676 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10677 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10678 # The linker can only warn and ignore the option if not recognized
10679 # So say no if there are warnings
10680 if test -s conftest.err
; then
10681 # Append any errors to the config.log.
10682 cat conftest.err
1>&5
10683 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10685 if diff conftest.exp conftest.er2
>/dev
/null
; then
10686 lt_cv_prog_compiler__b
=yes
10689 lt_cv_prog_compiler__b
=yes
10693 LDFLAGS
="$save_LDFLAGS"
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10697 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10699 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10700 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10702 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10708 if test "$with_gnu_ld" = no
; then
10709 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10710 hardcode_libdir_separator
=:
10715 hardcode_shlibpath_var
=no
10718 hardcode_direct
=yes
10719 hardcode_direct_absolute
=yes
10720 export_dynamic_flag_spec
='${wl}-E'
10722 # hardcode_minus_L: Not really in the search PATH,
10723 # but as the default location of the library.
10724 hardcode_minus_L
=yes
10730 irix5
* | irix6
* | nonstopux
*)
10731 if test "$GCC" = yes; then
10732 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'
10733 # Try to use the -exported_symbol ld option, if it does not
10734 # work, assume that -exports_file does not work either and
10735 # implicitly export all symbols.
10736 save_LDFLAGS
="$LDFLAGS"
10737 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10742 if ac_fn_c_try_link
"$LINENO"; then :
10743 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'
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 LDFLAGS
="$save_LDFLAGS"
10750 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'
10751 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'
10753 archive_cmds_need_lc
='no'
10754 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10755 hardcode_libdir_separator
=:
10757 link_all_deplibs
=yes
10761 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10762 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10764 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10766 hardcode_libdir_flag_spec
='-R$libdir'
10767 hardcode_direct
=yes
10768 hardcode_shlibpath_var
=no
10772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_direct
=yes
10774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10775 hardcode_libdir_separator
=:
10776 hardcode_shlibpath_var
=no
10783 if test -f /usr
/libexec
/ld.so
; then
10784 hardcode_direct
=yes
10785 hardcode_shlibpath_var
=no
10786 hardcode_direct_absolute
=yes
10787 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10788 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10789 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10791 export_dynamic_flag_spec
='${wl}-E'
10794 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10795 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10796 hardcode_libdir_flag_spec
='-R$libdir'
10799 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10800 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10810 hardcode_libdir_flag_spec
='-L$libdir'
10811 hardcode_minus_L
=yes
10812 allow_undefined_flag
=unsupported
10813 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'
10814 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10818 if test "$GCC" = yes; then
10819 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10820 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'
10822 allow_undefined_flag
=' -expect_unresolved \*'
10823 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'
10825 archive_cmds_need_lc
='no'
10826 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10827 hardcode_libdir_separator
=:
10830 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10831 if test "$GCC" = yes; then
10832 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10833 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'
10834 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10836 allow_undefined_flag
=' -expect_unresolved \*'
10837 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'
10838 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~
10839 $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'
10841 # Both c and cxx compiler support -rpath directly
10842 hardcode_libdir_flag_spec
='-rpath $libdir'
10844 archive_cmds_need_lc
='no'
10845 hardcode_libdir_separator
=:
10849 no_undefined_flag
=' -z defs'
10850 if test "$GCC" = yes; then
10852 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10853 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10854 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10856 case `$CC -V 2>&1` in
10859 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10860 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10861 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10865 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10866 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10867 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10871 hardcode_libdir_flag_spec
='-R$libdir'
10872 hardcode_shlibpath_var
=no
10874 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10876 # The compiler driver will combine and reorder linker options,
10877 # but understands `-z linker_flag'. GCC discards it without `$wl',
10878 # but is careful enough not to reorder.
10879 # Supported since Solaris 2.6 (maybe 2.5.1?)
10880 if test "$GCC" = yes; then
10881 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10883 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10887 link_all_deplibs
=yes
10891 if test "x$host_vendor" = xsequent
; then
10892 # Use $CC to link under sequent, because it throws in some extra .o
10893 # files that make .init and .fini sections work.
10894 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10896 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_libdir_flag_spec
='-L$libdir'
10899 hardcode_direct
=yes
10900 hardcode_minus_L
=yes
10901 hardcode_shlibpath_var
=no
10905 case $host_vendor in
10907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10908 hardcode_direct
=yes # is this really true???
10911 ## LD is ld it makes a PLAMLIB
10912 ## CC just makes a GrossModule.
10913 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10914 reload_cmds
='$CC -r -o $output$reload_objs'
10918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10919 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10922 runpath_var
='LD_RUN_PATH'
10923 hardcode_shlibpath_var
=no
10927 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10928 hardcode_shlibpath_var
=no
10929 export_dynamic_flag_spec
='-Bexport'
10933 if test -d /usr
/nec
; then
10934 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10935 hardcode_shlibpath_var
=no
10936 runpath_var
=LD_RUN_PATH
10937 hardcode_runpath_var
=yes
10942 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10943 no_undefined_flag
='${wl}-z,text'
10944 archive_cmds_need_lc
=no
10945 hardcode_shlibpath_var
=no
10946 runpath_var
='LD_RUN_PATH'
10948 if test "$GCC" = yes; then
10949 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10957 sysv5
* | sco3.2v5
* | sco5v6
*)
10958 # Note: We can NOT use -z defs as we might desire, because we do not
10959 # link with -lc, and that would cause any symbols used from libc to
10960 # always be unresolved, which means just about no library would
10961 # ever link correctly. If we're not using GNU ld we use -z text
10962 # though, which does catch some bad symbols but isn't as heavy-handed
10964 no_undefined_flag
='${wl}-z,text'
10965 allow_undefined_flag
='${wl}-z,nodefs'
10966 archive_cmds_need_lc
=no
10967 hardcode_shlibpath_var
=no
10968 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10969 hardcode_libdir_separator
=':'
10970 link_all_deplibs
=yes
10971 export_dynamic_flag_spec
='${wl}-Bexport'
10972 runpath_var
='LD_RUN_PATH'
10974 if test "$GCC" = yes; then
10975 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10976 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10978 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10979 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10985 hardcode_libdir_flag_spec
='-L$libdir'
10986 hardcode_shlibpath_var
=no
10994 if test x
$host_vendor = xsni
; then
10996 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10997 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11004 $as_echo "$ld_shlibs" >&6; }
11005 test "$ld_shlibs" = no
&& can_build_shared
=no
11007 with_gnu_ld
=$with_gnu_ld
11024 # Do we need to explicitly link libc?
11026 case "x$archive_cmds_need_lc" in
11028 # Assume -lc should be added
11029 archive_cmds_need_lc
=yes
11031 if test "$enable_shared" = yes && test "$GCC" = yes; then
11032 case $archive_cmds in
11034 # FIXME: we may have to deal with multi-command sequences.
11037 # Test whether the compiler implicitly links with -lc since on some
11038 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11039 # to ld, don't add -lc before -lgcc.
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11041 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11042 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11043 $as_echo_n "(cached) " >&6
11046 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11049 (eval $ac_compile) 2>&5
11051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11052 test $ac_status = 0; } 2>conftest.err
; then
11055 libobjs
=conftest.
$ac_objext
11057 wl
=$lt_prog_compiler_wl
11058 pic_flag
=$lt_prog_compiler_pic
11064 lt_save_allow_undefined_flag
=$allow_undefined_flag
11065 allow_undefined_flag
=
11066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11067 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11070 test $ac_status = 0; }
11072 lt_cv_archive_cmds_need_lc
=no
11074 lt_cv_archive_cmds_need_lc
=yes
11076 allow_undefined_flag
=$lt_save_allow_undefined_flag
11078 cat conftest.err
1>&5
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11084 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11085 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11249 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11251 if test "$GCC" = yes; then
11253 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11254 *) lt_awk_arg
="/^libraries:/" ;;
11257 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11258 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11260 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11261 case $lt_search_path_spec in
11263 # if the path contains ";" then we assume it to be the separator
11264 # otherwise default to the standard path separator (i.e. ":") - it is
11265 # assumed that no part of a normal pathname contains ";" but that should
11266 # okay in the real world where ";" in dirpaths is itself problematic.
11267 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11270 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11273 # Ok, now we have the path, separated by spaces, we can step through it
11274 # and add multilib dir if necessary.
11275 lt_tmp_lt_search_path_spec
=
11276 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11277 for lt_sys_path
in $lt_search_path_spec; do
11278 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11279 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11281 test -d "$lt_sys_path" && \
11282 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11285 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11286 BEGIN {RS=" "; FS="/|\n";} {
11289 for (lt_i = NF; lt_i > 0; lt_i--) {
11290 if ($lt_i != "" && $lt_i != ".") {
11291 if ($lt_i == "..") {
11294 if (lt_count == 0) {
11295 lt_foo="/" $lt_i lt_foo;
11302 if (lt_foo != "") { lt_freq[lt_foo]++; }
11303 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11305 # AWK program above erroneously prepends '/' to C:/dos/paths
11308 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11309 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11311 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11313 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11315 library_names_spec
=
11316 libname_spec
='lib$name'
11320 postuninstall_cmds
=
11324 shlibpath_overrides_runpath
=unknown
11326 dynamic_linker
="$host_os ld.so"
11327 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11328 need_lib_prefix
=unknown
11329 hardcode_into_libs
=no
11331 # when you set need_version to no, make sure it does not cause -set_version
11332 # flags to be left without arguments
11333 need_version
=unknown
11338 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11339 shlibpath_var
=LIBPATH
11341 # AIX 3 has no versioning support, so we append a major version to the name.
11342 soname_spec
='${libname}${release}${shared_ext}$major'
11349 hardcode_into_libs
=yes
11350 if test "$host_cpu" = ia64
; then
11351 # AIX 5 supports IA64
11352 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11353 shlibpath_var
=LD_LIBRARY_PATH
11355 # With GCC up to 2.95.x, collect2 would create an import file
11356 # for dependence libraries. The import file would start with
11357 # the line `#! .'. This would cause the generated library to
11358 # depend on `.', always an invalid library. This was fixed in
11359 # development snapshots of GCC prior to 3.0.
11361 aix4 | aix4.
[01] | aix4.
[01].
*)
11362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11364 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11367 can_build_shared
=no
11371 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11372 # soname into executable. Probably we can add versioning support to
11373 # collect2, so additional links can be useful in future.
11374 if test "$aix_use_runtimelinking" = yes; then
11375 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11376 # instead of lib<name>.a to let people know that these are not
11377 # typical AIX shared libraries.
11378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 # We preserve .a as extension for shared libraries through AIX4.2
11381 # and later when we are not doing run time linking.
11382 library_names_spec
='${libname}${release}.a $libname.a'
11383 soname_spec
='${libname}${release}${shared_ext}$major'
11385 shlibpath_var
=LIBPATH
11392 # Since July 2007 AmigaOS4 officially supports .so libraries.
11393 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11397 library_names_spec
='$libname.ixlibrary $libname.a'
11398 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11399 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'
11405 library_names_spec
='${libname}${shared_ext}'
11406 dynamic_linker
="$host_os ld.so"
11407 shlibpath_var
=LIBRARY_PATH
11413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11414 soname_spec
='${libname}${release}${shared_ext}$major'
11415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11416 shlibpath_var
=LD_LIBRARY_PATH
11417 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11418 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11419 # the default ld.so.conf also contains /usr/contrib/lib and
11420 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11421 # libtool to hard-code these into programs
11424 cygwin
* | mingw
* | pw32
* | cegcc
*)
11425 version_type
=windows
11430 case $GCC,$host_os in
11431 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11432 library_names_spec
='$libname.dll.a'
11433 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11434 postinstall_cmds
='base_file=`basename \${file}`~
11435 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11436 dldir=$destdir/`dirname \$dlpath`~
11437 test -d \$dldir || mkdir -p \$dldir~
11438 $install_prog $dir/$dlname \$dldir/$dlname~
11439 chmod a+x \$dldir/$dlname~
11440 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11441 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11443 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11444 dlpath=$dir/\$dldll~
11446 shlibpath_overrides_runpath
=yes
11450 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11451 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11453 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11456 # MinGW DLLs use traditional 'lib' prefix
11457 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11460 # pw32 DLLs use 'pw' prefix rather than 'lib'
11461 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11467 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11470 dynamic_linker
='Win32 ld.exe'
11471 # FIXME: first we should search . and the directory the executable is in
11475 darwin
* | rhapsody
*)
11476 dynamic_linker
="$host_os dyld"
11477 version_type
=darwin
11480 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11481 soname_spec
='${libname}${release}${major}$shared_ext'
11482 shlibpath_overrides_runpath
=yes
11483 shlibpath_var
=DYLD_LIBRARY_PATH
11484 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11486 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11487 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11495 soname_spec
='${libname}${release}${shared_ext}$major'
11496 shlibpath_var
=LD_LIBRARY_PATH
11499 freebsd
* | dragonfly
*)
11500 # DragonFly does not have aout. When/if they implement a new
11501 # versioning mechanism, adjust this.
11502 if test -x /usr
/bin
/objformat
; then
11503 objformat
=`/usr/bin/objformat`
11506 freebsd
[23].
*) objformat
=aout
;;
11507 *) objformat
=elf
;;
11510 version_type
=freebsd-
$objformat
11511 case $version_type in
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11522 shlibpath_var
=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath
=yes
11527 freebsd3.
[01]* | freebsdelf3.
[01]*)
11528 shlibpath_overrides_runpath
=yes
11529 hardcode_into_libs
=yes
11531 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11532 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11533 shlibpath_overrides_runpath
=no
11534 hardcode_into_libs
=yes
11536 *) # from 4.6 on, and DragonFly
11537 shlibpath_overrides_runpath
=yes
11538 hardcode_into_libs
=yes
11547 dynamic_linker
="$host_os runtime_loader"
11548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11549 soname_spec
='${libname}${release}${shared_ext}$major'
11550 shlibpath_var
=LIBRARY_PATH
11551 shlibpath_overrides_runpath
=yes
11552 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11553 hardcode_into_libs
=yes
11556 hpux9
* | hpux10
* | hpux11
*)
11557 # Give a soname corresponding to the major version so that dld.sl refuses to
11558 # link against other versions.
11565 hardcode_into_libs
=yes
11566 dynamic_linker
="$host_os dld.so"
11567 shlibpath_var
=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec
='${libname}${release}${shared_ext}$major'
11571 if test "X$HPUX_IA64_MODE" = X32
; then
11572 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11574 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11576 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11580 hardcode_into_libs
=yes
11581 dynamic_linker
="$host_os dld.sl"
11582 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11583 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec
='${libname}${release}${shared_ext}$major'
11586 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11587 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11591 dynamic_linker
="$host_os dld.sl"
11592 shlibpath_var
=SHLIB_PATH
11593 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11595 soname_spec
='${libname}${release}${shared_ext}$major'
11598 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11599 postinstall_cmds
='chmod 555 $lib'
11600 # or fails outright, so override atomically:
11601 install_override_mode
=555
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11611 shlibpath_var
=LD_LIBRARY_PATH
11612 shlibpath_overrides_runpath
=no
11613 hardcode_into_libs
=yes
11616 irix5
* | irix6
* | nonstopux
*)
11618 nonstopux
*) version_type
=nonstopux
;;
11620 if test "$lt_cv_prog_gnu_ld" = yes; then
11628 soname_spec
='${libname}${release}${shared_ext}$major'
11629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11631 irix5
* | nonstopux
*)
11632 libsuff
= shlibsuff
=
11635 case $LD in # libtool.m4 will add one of these switches to LD
11636 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11637 libsuff
= shlibsuff
= libmagic
=32-bit;;
11638 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11639 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11640 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11641 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11642 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11646 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11647 shlibpath_overrides_runpath
=no
11648 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11649 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11650 hardcode_into_libs
=yes
11653 # No shared lib support for Linux oldld, aout, or coff.
11654 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11658 # This must be Linux ELF.
11660 # uclinux* changes (here and below) have been submitted to the libtool
11661 # project, but have not yet been accepted: they are GCC-local changes
11662 # for the time being. (See
11663 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11664 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec
='${libname}${release}${shared_ext}$major'
11670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11671 shlibpath_var
=LD_LIBRARY_PATH
11672 shlibpath_overrides_runpath
=no
11674 # Some binutils ld are patched to set DT_RUNPATH
11675 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11676 $as_echo_n "(cached) " >&6
11678 lt_cv_shlibpath_overrides_runpath
=no
11679 save_LDFLAGS
=$LDFLAGS
11680 save_libdir
=$libdir
11681 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11682 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11694 if ac_fn_c_try_link
"$LINENO"; then :
11695 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11696 lt_cv_shlibpath_overrides_runpath
=yes
11699 rm -f core conftest.err conftest.
$ac_objext \
11700 conftest
$ac_exeext conftest.
$ac_ext
11701 LDFLAGS
=$save_LDFLAGS
11702 libdir
=$save_libdir
11706 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11708 # This implies no fast_install, which is unacceptable.
11709 # Some rework will be needed to allow for fast_install
11710 # before this can be enabled.
11711 hardcode_into_libs
=yes
11713 # Append ld.so.conf contents to the search path
11714 if test -f /etc
/ld.so.conf
; then
11715 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' ' '`
11716 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11719 # We used to test for /lib/ld.so.1 and disable shared libraries on
11720 # powerpc, because MkLinux only supported shared libraries with the
11721 # GNU dynamic linker. Since this was broken with cross compilers,
11722 # most powerpc-linux boxes support dynamic linking these days and
11723 # people can always --disable-shared, the test was removed, and we
11724 # assume the GNU/Linux dynamic linker is in use.
11725 dynamic_linker
='GNU/Linux ld.so'
11732 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11734 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11735 dynamic_linker
='NetBSD (a.out) ld.so'
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11738 soname_spec
='${libname}${release}${shared_ext}$major'
11739 dynamic_linker
='NetBSD ld.elf_so'
11741 shlibpath_var
=LD_LIBRARY_PATH
11742 shlibpath_overrides_runpath
=yes
11743 hardcode_into_libs
=yes
11748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11749 shlibpath_var
=LD_LIBRARY_PATH
11750 shlibpath_overrides_runpath
=yes
11757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11758 soname_spec
='${libname}${release}${shared_ext}$major'
11759 shlibpath_var
=LD_LIBRARY_PATH
11760 shlibpath_overrides_runpath
=no
11761 hardcode_into_libs
=yes
11762 dynamic_linker
='ldqnx.so'
11767 sys_lib_dlsearch_path_spec
="/usr/lib"
11769 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11771 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11772 *) need_version
=no
;;
11774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11776 shlibpath_var
=LD_LIBRARY_PATH
11777 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11779 openbsd2.
[89] | openbsd2.
[89].
*)
11780 shlibpath_overrides_runpath
=no
11783 shlibpath_overrides_runpath
=yes
11787 shlibpath_overrides_runpath
=yes
11792 libname_spec
='$name'
11795 library_names_spec
='$libname${shared_ext} $libname.a'
11796 dynamic_linker
='OS/2 ld.exe'
11797 shlibpath_var
=LIBPATH
11800 osf3
* | osf4
* | osf5
*)
11804 soname_spec
='${libname}${release}${shared_ext}$major'
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11806 shlibpath_var
=LD_LIBRARY_PATH
11807 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11808 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 soname_spec
='${libname}${release}${shared_ext}$major'
11821 shlibpath_var
=LD_LIBRARY_PATH
11822 shlibpath_overrides_runpath
=yes
11823 hardcode_into_libs
=yes
11824 # ldd complains unless libraries are executable
11825 postinstall_cmds
='chmod +x $lib'
11830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11831 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11832 shlibpath_var
=LD_LIBRARY_PATH
11833 shlibpath_overrides_runpath
=yes
11834 if test "$with_gnu_ld" = yes; then
11842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11843 soname_spec
='${libname}${release}${shared_ext}$major'
11844 shlibpath_var
=LD_LIBRARY_PATH
11845 case $host_vendor in
11847 shlibpath_overrides_runpath
=no
11849 runpath_var
=LD_RUN_PATH
11857 shlibpath_overrides_runpath
=no
11858 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11864 if test -d /usr
/nec
;then
11866 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11867 soname_spec
='$libname${shared_ext}.$major'
11868 shlibpath_var
=LD_LIBRARY_PATH
11872 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11873 version_type
=freebsd-elf
11876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11877 soname_spec
='${libname}${release}${shared_ext}$major'
11878 shlibpath_var
=LD_LIBRARY_PATH
11879 shlibpath_overrides_runpath
=yes
11880 hardcode_into_libs
=yes
11881 if test "$with_gnu_ld" = yes; then
11882 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11884 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11887 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11891 sys_lib_dlsearch_path_spec
='/usr/lib'
11895 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11900 shlibpath_var
=LD_LIBRARY_PATH
11901 shlibpath_overrides_runpath
=no
11902 hardcode_into_libs
=yes
11907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11908 soname_spec
='${libname}${release}${shared_ext}$major'
11909 shlibpath_var
=LD_LIBRARY_PATH
11912 # Shared libraries for VwWorks, >= 7 only at this stage
11913 # and (fpic) still incompatible with "large" code models
11914 # in a few configurations. Only for RTP mode in any case,
11915 # and upon explicit request at configure time.
11918 case ${with_multisubdir}-${enable_shared} in
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11926 soname_spec
='${libname}${release}${shared_ext}$major'
11927 dynamic_linker
="$host_os module_loader"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11936 $as_echo "$dynamic_linker" >&6; }
11937 test "$dynamic_linker" = no
&& can_build_shared
=no
11939 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11940 if test "$GCC" = yes; then
11941 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11944 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11945 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11947 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11948 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12043 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12045 if test -n "$hardcode_libdir_flag_spec" ||
12046 test -n "$runpath_var" ||
12047 test "X$hardcode_automatic" = "Xyes" ; then
12049 # We can hardcode non-existent directories.
12050 if test "$hardcode_direct" != no
&&
12051 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12052 # have to relink, otherwise we might link with an installed library
12053 # when we should be linking with a yet-to-be-installed one
12054 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12055 test "$hardcode_minus_L" != no
; then
12056 # Linking always hardcodes the temporary library directory.
12057 hardcode_action
=relink
12059 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12060 hardcode_action
=immediate
12063 # We cannot hardcode anything, or else we can only hardcode existing
12065 hardcode_action
=unsupported
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12068 $as_echo "$hardcode_action" >&6; }
12070 if test "$hardcode_action" = relink ||
12071 test "$inherit_rpath" = yes; then
12072 # Fast installation is not supported
12073 enable_fast_install
=no
12074 elif test "$shlibpath_overrides_runpath" = yes ||
12075 test "$enable_shared" = no
; then
12076 # Fast installation is not necessary
12077 enable_fast_install
=needless
12085 if test "x$enable_dlopen" != xyes
; then
12086 enable_dlopen
=unknown
12087 enable_dlopen_self
=unknown
12088 enable_dlopen_self_static
=unknown
12095 lt_cv_dlopen
="load_add_on"
12097 lt_cv_dlopen_self
=yes
12100 mingw
* | pw32
* | cegcc
*)
12101 lt_cv_dlopen
="LoadLibrary"
12106 lt_cv_dlopen
="dlopen"
12111 # if libdl is installed we need to link against it
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12113 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12114 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_lib_save_LIBS
=$LIBS
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12137 if ac_fn_c_try_link
"$LINENO"; then :
12138 ac_cv_lib_dl_dlopen
=yes
12140 ac_cv_lib_dl_dlopen
=no
12142 rm -f core conftest.err conftest.
$ac_objext \
12143 conftest
$ac_exeext conftest.
$ac_ext
12144 LIBS
=$ac_check_lib_save_LIBS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12147 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12148 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12149 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12152 lt_cv_dlopen
="dyld"
12154 lt_cv_dlopen_self
=yes
12161 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12162 if test "x$ac_cv_func_shl_load" = xyes
; then :
12163 lt_cv_dlopen
="shl_load"
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12166 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12167 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12168 $as_echo_n "(cached) " >&6
12170 ac_check_lib_save_LIBS
=$LIBS
12172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12175 /* Override any GCC internal prototype to avoid an error.
12176 Use char because int might match the return type of a GCC
12177 builtin and then its argument prototype would still apply. */
12185 return shl_load ();
12190 if ac_fn_c_try_link
"$LINENO"; then :
12191 ac_cv_lib_dld_shl_load
=yes
12193 ac_cv_lib_dld_shl_load
=no
12195 rm -f core conftest.err conftest.
$ac_objext \
12196 conftest
$ac_exeext conftest.
$ac_ext
12197 LIBS
=$ac_check_lib_save_LIBS
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12200 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12201 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12202 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12204 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12205 if test "x$ac_cv_func_dlopen" = xyes
; then :
12206 lt_cv_dlopen
="dlopen"
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12209 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12210 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12211 $as_echo_n "(cached) " >&6
12213 ac_check_lib_save_LIBS
=$LIBS
12215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12218 /* Override any GCC internal prototype to avoid an error.
12219 Use char because int might match the return type of a GCC
12220 builtin and then its argument prototype would still apply. */
12233 if ac_fn_c_try_link
"$LINENO"; then :
12234 ac_cv_lib_dl_dlopen
=yes
12236 ac_cv_lib_dl_dlopen
=no
12238 rm -f core conftest.err conftest.
$ac_objext \
12239 conftest
$ac_exeext conftest.
$ac_ext
12240 LIBS
=$ac_check_lib_save_LIBS
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12243 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12244 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12245 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12248 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12249 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 ac_check_lib_save_LIBS
=$LIBS
12253 LIBS
="-lsvld $LIBS"
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12272 if ac_fn_c_try_link
"$LINENO"; then :
12273 ac_cv_lib_svld_dlopen
=yes
12275 ac_cv_lib_svld_dlopen
=no
12277 rm -f core conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 LIBS
=$ac_check_lib_save_LIBS
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12282 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12283 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12284 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12287 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12288 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 ac_check_lib_save_LIBS
=$LIBS
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12306 return dld_link ();
12311 if ac_fn_c_try_link
"$LINENO"; then :
12312 ac_cv_lib_dld_dld_link
=yes
12314 ac_cv_lib_dld_dld_link
=no
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 LIBS
=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12321 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12322 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12323 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12344 if test "x$lt_cv_dlopen" != xno
; then
12350 case $lt_cv_dlopen in
12352 save_CPPFLAGS
="$CPPFLAGS"
12353 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12355 save_LDFLAGS
="$LDFLAGS"
12356 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12359 LIBS
="$lt_cv_dlopen_libs $LIBS"
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12362 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12363 if ${lt_cv_dlopen_self+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 if test "$cross_compiling" = yes; then :
12367 lt_cv_dlopen_self
=cross
12369 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12370 lt_status
=$lt_dlunknown
12371 cat > conftest.
$ac_ext <<_LT_EOF
12372 #line 12372 "configure"
12373 #include "confdefs.h"
12382 # define LT_DLGLOBAL RTLD_GLOBAL
12385 # define LT_DLGLOBAL DL_GLOBAL
12387 # define LT_DLGLOBAL 0
12391 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12392 find out it does not work in some platform. */
12393 #ifndef LT_DLLAZY_OR_NOW
12395 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12398 # define LT_DLLAZY_OR_NOW DL_LAZY
12401 # define LT_DLLAZY_OR_NOW RTLD_NOW
12404 # define LT_DLLAZY_OR_NOW DL_NOW
12406 # define LT_DLLAZY_OR_NOW 0
12413 /* When -fvisbility=hidden is used, assume the code has been annotated
12414 correspondingly for the symbols needed. */
12415 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12416 void fnord () __attribute__((visibility("default")));
12419 void fnord () { int i=42; }
12422 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12423 int status = $lt_dlunknown;
12427 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12430 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12431 else puts (dlerror ());
12433 /* dlclose (self); */
12441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12442 (eval $ac_link) 2>&5
12444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12445 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12446 (.
/conftest
; exit; ) >&5 2>/dev
/null
12448 case x
$lt_status in
12449 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12450 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12451 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12454 # compilation failed
12455 lt_cv_dlopen_self
=no
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12463 $as_echo "$lt_cv_dlopen_self" >&6; }
12465 if test "x$lt_cv_dlopen_self" = xyes
; then
12466 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12468 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12469 if ${lt_cv_dlopen_self_static+:} false
; then :
12470 $as_echo_n "(cached) " >&6
12472 if test "$cross_compiling" = yes; then :
12473 lt_cv_dlopen_self_static
=cross
12475 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12476 lt_status
=$lt_dlunknown
12477 cat > conftest.
$ac_ext <<_LT_EOF
12478 #line 12478 "configure"
12479 #include "confdefs.h"
12488 # define LT_DLGLOBAL RTLD_GLOBAL
12491 # define LT_DLGLOBAL DL_GLOBAL
12493 # define LT_DLGLOBAL 0
12497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12498 find out it does not work in some platform. */
12499 #ifndef LT_DLLAZY_OR_NOW
12501 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12504 # define LT_DLLAZY_OR_NOW DL_LAZY
12507 # define LT_DLLAZY_OR_NOW RTLD_NOW
12510 # define LT_DLLAZY_OR_NOW DL_NOW
12512 # define LT_DLLAZY_OR_NOW 0
12519 /* When -fvisbility=hidden is used, assume the code has been annotated
12520 correspondingly for the symbols needed. */
12521 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12522 void fnord () __attribute__((visibility("default")));
12525 void fnord () { int i=42; }
12528 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12529 int status = $lt_dlunknown;
12533 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12536 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12537 else puts (dlerror ());
12539 /* dlclose (self); */
12547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12548 (eval $ac_link) 2>&5
12550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12551 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12552 (.
/conftest
; exit; ) >&5 2>/dev
/null
12554 case x
$lt_status in
12555 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12556 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12557 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12560 # compilation failed
12561 lt_cv_dlopen_self_static
=no
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12569 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12572 CPPFLAGS
="$save_CPPFLAGS"
12573 LDFLAGS
="$save_LDFLAGS"
12578 case $lt_cv_dlopen_self in
12579 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12580 *) enable_dlopen_self
=unknown
;;
12583 case $lt_cv_dlopen_self_static in
12584 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12585 *) enable_dlopen_self_static
=unknown
;;
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12608 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12609 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12610 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12611 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12613 $as_echo "yes" >&6; }
12615 # FIXME - insert some real tests, host_os isn't really good enough
12618 if test -n "$STRIP" ; then
12619 striplib
="$STRIP -x"
12620 old_striplib
="$STRIP -S"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12622 $as_echo "yes" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12646 # Report which library types will actually be built
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12648 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12650 $as_echo "$can_build_shared" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12653 $as_echo_n "checking whether to build shared libraries... " >&6; }
12654 test "$can_build_shared" = "no" && enable_shared
=no
12656 # On AIX, shared libraries and static libraries use the same namespace, and
12657 # are all built from PIC.
12660 test "$enable_shared" = yes && enable_static
=no
12661 if test -n "$RANLIB"; then
12662 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12663 postinstall_cmds
='$RANLIB $lib'
12668 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12669 test "$enable_shared" = yes && enable_static
=no
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12674 $as_echo "$enable_shared" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12677 $as_echo_n "checking whether to build static libraries... " >&6; }
12678 # Make sure either enable_shared or enable_static is yes.
12679 test "$enable_shared" = yes || enable_static
=yes
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12681 $as_echo "$enable_static" >&6; }
12688 ac_cpp
='$CPP $CPPFLAGS'
12689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12695 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12696 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12697 (test "X$CXX" != "Xg++"))) ; then
12699 ac_cpp
='$CXXCPP $CPPFLAGS'
12700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12704 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12705 if test -z "$CXXCPP"; then
12706 if ${ac_cv_prog_CXXCPP+:} false
; then :
12707 $as_echo_n "(cached) " >&6
12709 # Double quotes because CXXCPP needs to be expanded
12710 for CXXCPP
in "$CXX -E" "/lib/cpp"
12712 ac_preproc_ok
=false
12713 for ac_cxx_preproc_warn_flag
in '' yes
12715 # Use a header file that comes with gcc, so configuring glibc
12716 # with a fresh cross-compiler works.
12717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12718 # <limits.h> exists even on freestanding compilers.
12719 # On the NeXT, cc -E runs the code through the compiler's parser,
12720 # not just through cpp. "Syntax error" is here to catch this case.
12721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 # include <limits.h>
12726 # include <assert.h>
12730 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12733 # Broken: fails on valid input.
12736 rm -f conftest.err conftest.i conftest.
$ac_ext
12738 # OK, works on sane cases. Now check whether nonexistent headers
12739 # can be detected and how.
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 #include <ac_nonexistent.h>
12744 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12745 # Broken: success on invalid input.
12748 # Passes both tests.
12752 rm -f conftest.err conftest.i conftest.
$ac_ext
12755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12756 rm -f conftest.i conftest.err conftest.
$ac_ext
12757 if $ac_preproc_ok; then :
12762 ac_cv_prog_CXXCPP
=$CXXCPP
12765 CXXCPP
=$ac_cv_prog_CXXCPP
12767 ac_cv_prog_CXXCPP
=$CXXCPP
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12770 $as_echo "$CXXCPP" >&6; }
12771 ac_preproc_ok
=false
12772 for ac_cxx_preproc_warn_flag
in '' yes
12774 # Use a header file that comes with gcc, so configuring glibc
12775 # with a fresh cross-compiler works.
12776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12777 # <limits.h> exists even on freestanding compilers.
12778 # On the NeXT, cc -E runs the code through the compiler's parser,
12779 # not just through cpp. "Syntax error" is here to catch this case.
12780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 # include <limits.h>
12785 # include <assert.h>
12789 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12792 # Broken: fails on valid input.
12795 rm -f conftest.err conftest.i conftest.
$ac_ext
12797 # OK, works on sane cases. Now check whether nonexistent headers
12798 # can be detected and how.
12799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12801 #include <ac_nonexistent.h>
12803 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12804 # Broken: success on invalid input.
12807 # Passes both tests.
12811 rm -f conftest.err conftest.i conftest.
$ac_ext
12814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12815 rm -f conftest.i conftest.err conftest.
$ac_ext
12816 if $ac_preproc_ok; then :
12819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12821 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12822 See \`config.log' for more details" "$LINENO" 5; }
12826 ac_cpp
='$CPP $CPPFLAGS'
12827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12832 _lt_caught_CXX_error
=yes
12836 ac_cpp
='$CXXCPP $CPPFLAGS'
12837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12841 archive_cmds_need_lc_CXX
=no
12842 allow_undefined_flag_CXX
=
12843 always_export_symbols_CXX
=no
12844 archive_expsym_cmds_CXX
=
12845 compiler_needs_object_CXX
=no
12846 export_dynamic_flag_spec_CXX
=
12847 hardcode_direct_CXX
=no
12848 hardcode_direct_absolute_CXX
=no
12849 hardcode_libdir_flag_spec_CXX
=
12850 hardcode_libdir_flag_spec_ld_CXX
=
12851 hardcode_libdir_separator_CXX
=
12852 hardcode_minus_L_CXX
=no
12853 hardcode_shlibpath_var_CXX
=unsupported
12854 hardcode_automatic_CXX
=no
12855 inherit_rpath_CXX
=no
12857 module_expsym_cmds_CXX
=
12858 link_all_deplibs_CXX
=unknown
12859 old_archive_cmds_CXX
=$old_archive_cmds
12860 reload_flag_CXX
=$reload_flag
12861 reload_cmds_CXX
=$reload_cmds
12862 no_undefined_flag_CXX
=
12863 whole_archive_flag_spec_CXX
=
12864 enable_shared_with_static_runtimes_CXX
=no
12866 # Source file extension for C++ test sources.
12869 # Object file extension for compiled C++ test sources.
12873 # No sense in running all these tests if we already determined that
12874 # the CXX compiler isn't working. Some variables (like enable_shared)
12875 # are currently assumed to apply to all compilers on this platform,
12876 # and will be corrupted by setting them based on a non-working compiler.
12877 if test "$_lt_caught_CXX_error" != yes; then
12878 # Code to be used in simple compile tests
12879 lt_simple_compile_test_code
="int some_variable = 0;"
12881 # Code to be used in simple link tests
12882 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12884 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12891 # If no C compiler was specified, use CC.
12894 # If no C compiler flags were specified, use CFLAGS.
12895 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12897 # Allow CC to be a program name with arguments.
12901 # save warnings/boilerplate of simple test code
12902 ac_outfile
=conftest.
$ac_objext
12903 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12904 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12905 _lt_compiler_boilerplate
=`cat conftest.err`
12908 ac_outfile
=conftest.
$ac_objext
12909 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12910 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12911 _lt_linker_boilerplate
=`cat conftest.err`
12915 # Allow CC to be a program name with arguments.
12920 lt_save_with_gnu_ld
=$with_gnu_ld
12921 lt_save_path_LD
=$lt_cv_path_LD
12922 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12923 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12925 $as_unset lt_cv_prog_gnu_ld
12927 if test -n "${lt_cv_path_LDCXX+set}"; then
12928 lt_cv_path_LD
=$lt_cv_path_LDCXX
12930 $as_unset lt_cv_path_LD
12932 test -z "${LDCXX+set}" || LD
=$LDCXX
12936 for cc_temp
in $compiler""; do
12938 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12939 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12944 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12947 if test -n "$compiler"; then
12948 # We don't want -fno-exception when compiling C++ code, so set the
12949 # no_builtin_flag separately
12950 if test "$GXX" = yes; then
12951 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12953 lt_prog_compiler_no_builtin_flag_CXX
=
12956 if test "$GXX" = yes; then
12957 # Set up default GNU C++ configuration
12961 # Check whether --with-gnu-ld was given.
12962 if test "${with_gnu_ld+set}" = set; then :
12963 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12969 if test "$GCC" = yes; then
12970 # Check if gcc -print-prog-name=ld gives a path.
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12972 $as_echo_n "checking for ld used by $CC... " >&6; }
12975 # gcc leaves a trailing carriage return which upsets mingw
12976 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12978 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12981 # Accept absolute paths.
12983 re_direlt
='/[^/][^/]*/\.\./'
12984 # Canonicalize the pathname of ld
12985 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12986 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12987 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12989 test -z "$LD" && LD
="$ac_prog"
12992 # If it fails, then pretend we aren't using GCC.
12996 # If it is relative, then search for the first ld in PATH.
12997 with_gnu_ld
=unknown
13000 elif test "$with_gnu_ld" = yes; then
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13002 $as_echo_n "checking for GNU ld... " >&6; }
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13005 $as_echo_n "checking for non-GNU ld... " >&6; }
13007 if ${lt_cv_path_LD+:} false
; then :
13008 $as_echo_n "(cached) " >&6
13010 if test -z "$LD"; then
13011 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13012 for ac_dir
in $PATH; do
13014 test -z "$ac_dir" && ac_dir
=.
13015 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13016 lt_cv_path_LD
="$ac_dir/$ac_prog"
13017 # Check to see if the program is GNU ld. I'd rather use --version,
13018 # but apparently some variants of GNU ld only accept -v.
13019 # Break only if it was the GNU/non-GNU ld that we prefer.
13020 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13021 *GNU
* |
*'with BFD'*)
13022 test "$with_gnu_ld" != no
&& break
13025 test "$with_gnu_ld" != yes && break
13032 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13036 LD
="$lt_cv_path_LD"
13037 if test -n "$LD"; then
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13039 $as_echo "$LD" >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13042 $as_echo "no" >&6; }
13044 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13046 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13047 if ${lt_cv_prog_gnu_ld+:} false
; then :
13048 $as_echo_n "(cached) " >&6
13050 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13051 case `$LD -v 2>&1 </dev/null` in
13052 *GNU
* |
*'with BFD'*)
13053 lt_cv_prog_gnu_ld
=yes
13056 lt_cv_prog_gnu_ld
=no
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13061 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13062 with_gnu_ld
=$lt_cv_prog_gnu_ld
13070 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13071 # archiving commands below assume that GNU ld is being used.
13072 if test "$with_gnu_ld" = yes; then
13073 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13074 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13076 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13077 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13079 # If archive_cmds runs LD, not CC, wlarc should be empty
13080 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13081 # investigate it a little bit more. (MM)
13084 # ancient GNU ld didn't support --whole-archive et. al.
13085 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13086 $GREP 'no-whole-archive' > /dev
/null
; then
13087 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13089 whole_archive_flag_spec_CXX
=
13095 # A generic and very simple default shared library creation
13096 # command for GNU C++ for the case where it uses the native
13097 # linker, instead of GNU ld. If possible, this setting should
13098 # overridden to take advantage of the native linker features on
13099 # the platform it is being used on.
13100 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 # PORTME: fill in a description of your system's C++ link characteristics
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13120 # FIXME: insert proper C++ library support
13124 if test "$host_cpu" = ia64
; then
13125 # On IA64, the linker does run time linking by default, so we don't
13126 # have to do anything special.
13127 aix_use_runtimelinking
=no
13128 exp_sym_flag
='-Bexport'
13131 aix_use_runtimelinking
=no
13133 # Test if we are trying to use run time linking or normal
13134 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13135 # need to do runtime linking.
13136 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13137 for ld_flag
in $LDFLAGS; do
13140 aix_use_runtimelinking
=yes
13148 exp_sym_flag
='-bexport'
13149 no_entry_flag
='-bnoentry'
13152 # When large executables or shared objects are built, AIX ld can
13153 # have problems creating the table of contents. If linking a library
13154 # or program results in "error TOC overflow" add -mminimal-toc to
13155 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13156 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13158 archive_cmds_CXX
=''
13159 hardcode_direct_CXX
=yes
13160 hardcode_direct_absolute_CXX
=yes
13161 hardcode_libdir_separator_CXX
=':'
13162 link_all_deplibs_CXX
=yes
13163 file_list_spec_CXX
='${wl}-f,'
13165 if test "$GXX" = yes; then
13166 case $host_os in aix4.
[012]|aix4.
[012].
*)
13167 # We only want to do this on AIX 4.2 and lower, the check
13168 # below for broken collect2 doesn't work under 4.3+
13169 collect2name
=`${CC} -print-prog-name=collect2`
13170 if test -f "$collect2name" &&
13171 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13173 # We have reworked collect2
13176 # We have old collect2
13177 hardcode_direct_CXX
=unsupported
13178 # It fails to find uninstalled libraries when the uninstalled
13179 # path is not listed in the libpath. Setting hardcode_minus_L
13180 # to unsupported forces relinking
13181 hardcode_minus_L_CXX
=yes
13182 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13183 hardcode_libdir_separator_CXX
=
13186 shared_flag
='-shared'
13187 if test "$aix_use_runtimelinking" = yes; then
13188 shared_flag
="$shared_flag "'${wl}-G'
13192 if test "$host_cpu" = ia64
; then
13193 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13194 # chokes on -Wl,-G. The following line is correct:
13197 if test "$aix_use_runtimelinking" = yes; then
13198 shared_flag
='${wl}-G'
13200 shared_flag
='${wl}-bM:SRE'
13205 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13206 # It seems that -bexpall does not export symbols beginning with
13207 # underscore (_), so it is better to generate a list of symbols to
13209 always_export_symbols_CXX
=yes
13210 if test "$aix_use_runtimelinking" = yes; then
13211 # Warning - without using the other runtime loading flags (-brtl),
13212 # -berok will link without error, but may produce a broken library.
13213 allow_undefined_flag_CXX
='-berok'
13214 # Determine the default libpath from the value encoded in an empty
13216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13227 if ac_fn_cxx_try_link
"$LINENO"; then :
13229 lt_aix_libpath_sed
='
13230 /Import File Strings/,/^$/ {
13236 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13237 # Check for a 64-bit object if we didn't find anything.
13238 if test -z "$aix_libpath"; then
13239 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13242 rm -f core conftest.err conftest.
$ac_objext \
13243 conftest
$ac_exeext conftest.
$ac_ext
13244 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13246 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13248 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"
13250 if test "$host_cpu" = ia64
; then
13251 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13252 allow_undefined_flag_CXX
="-z nodefs"
13253 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"
13255 # Determine the default libpath from the value encoded in an
13256 # empty executable.
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13268 if ac_fn_cxx_try_link
"$LINENO"; then :
13270 lt_aix_libpath_sed
='
13271 /Import File Strings/,/^$/ {
13277 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13278 # Check for a 64-bit object if we didn't find anything.
13279 if test -z "$aix_libpath"; then
13280 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13283 rm -f core conftest.err conftest.
$ac_objext \
13284 conftest
$ac_exeext conftest.
$ac_ext
13285 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13287 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13288 # Warning - without using the other run time loading flags,
13289 # -berok will link without error, but may produce a broken library.
13290 no_undefined_flag_CXX
=' ${wl}-bernotok'
13291 allow_undefined_flag_CXX
=' ${wl}-berok'
13292 if test "$with_gnu_ld" = yes; then
13293 # We only use this code for GNU lds that support --whole-archive.
13294 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13296 # Exported symbols can be pulled into shared objects from archives
13297 whole_archive_flag_spec_CXX
='$convenience'
13299 archive_cmds_need_lc_CXX
=yes
13300 # This is similar to how AIX traditionally builds its shared
13302 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'
13308 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13309 allow_undefined_flag_CXX
=unsupported
13310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13311 # support --undefined. This deserves some investigation. FIXME
13312 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319 case $cc_basename in
13321 # FIXME: insert proper C++ library support
13327 cygwin
* | mingw
* | pw32
* | cegcc
*)
13328 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13329 # as there is no search path for DLLs.
13330 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13331 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13332 allow_undefined_flag_CXX
=unsupported
13333 always_export_symbols_CXX
=no
13334 enable_shared_with_static_runtimes_CXX
=yes
13336 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13337 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'
13338 # If the export-symbols file already is a .def file (1st line
13339 # is EXPORTS), use it as is; otherwise, prepend...
13340 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13341 cp $export_symbols $output_objdir/$soname.def;
13343 echo EXPORTS > $output_objdir/$soname.def;
13344 cat $export_symbols >> $output_objdir/$soname.def;
13346 $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'
13351 darwin
* | rhapsody
*)
13355 # Publish an arg to allow the user to select that Darwin host (and target)
13356 # libraries should be given install-names like @rpath/libfoo.dylib. This
13357 # requires that the user of the library then adds an 'rpath' to the DSO that
13359 # NOTE: there are defaults below, for systems that support rpaths. The person
13360 # configuring can override the defaults for any system version that supports
13361 # them - they are, however, forced off for system versions without support.
13362 # Check whether --enable-darwin-at-rpath was given.
13363 if test "${enable_darwin_at_rpath+set}" = set; then :
13364 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13365 # This is not supported before macOS 10.5 / Darwin9.
13366 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13367 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13369 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13370 enable_darwin_at_rpath
=no
13375 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13376 # As above, before 10.5 / Darwin9 this does not work.
13377 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13378 enable_darwin_at_rpath
=no
13381 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13382 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13383 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13384 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13386 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13387 enable_darwin_at_rpath
=yes
13389 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13390 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13397 archive_cmds_need_lc_CXX
=no
13398 hardcode_direct_CXX
=no
13399 hardcode_automatic_CXX
=yes
13400 hardcode_shlibpath_var_CXX
=unsupported
13401 if test "$lt_cv_ld_force_load" = "yes"; then
13402 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\"`'
13404 whole_archive_flag_spec_CXX
=''
13406 link_all_deplibs_CXX
=yes
13407 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13408 case $cc_basename in
13409 ifort
*) _lt_dar_can_shared
=yes ;;
13410 *) _lt_dar_can_shared
=$GCC ;;
13412 if test "$_lt_dar_can_shared" = "yes"; then
13413 output_verbose_link_cmd
=func_echo_all
13414 _lt_install_name
='\$rpath/\$soname'
13415 if test "x$enable_darwin_at_rpath" = "xyes"; then
13416 _lt_install_name
='@rpath/\$soname'
13418 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13419 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13420 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13421 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}"
13422 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13423 _lt_install_name
='\$rpath/\$soname'
13424 if test "x$enable_darwin_at_rpath" = "xyes"; then
13425 _lt_install_name
='@rpath/\$soname'
13427 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 ${_lt_install_name} \$verstring${_lt_dsymutil}"
13428 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}"
13438 case $cc_basename in
13440 # FIXME: insert proper C++ library support
13444 # Green Hills C++ Compiler
13445 # FIXME: insert proper C++ library support
13449 # FIXME: insert proper C++ library support
13456 # C++ shared libraries reported to be fairly broken before
13462 archive_cmds_need_lc_CXX
=no
13465 freebsd
* | dragonfly
*)
13466 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13475 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13476 link_all_deplibs_CXX
=yes
13480 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13481 hardcode_libdir_separator_CXX
=:
13482 export_dynamic_flag_spec_CXX
='${wl}-E'
13483 hardcode_direct_CXX
=yes
13484 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13485 # but as the default
13486 # location of the library.
13488 case $cc_basename in
13490 # FIXME: insert proper C++ library support
13494 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'
13495 # Commands to make compiler produce verbose output that lists
13496 # what "hidden" libraries, object files and flags are used when
13497 # linking a shared library.
13499 # There doesn't appear to be a way to prevent this compiler from
13500 # explicitly linking system object files so we need to strip them
13501 # from the output so that they don't get included in the library
13503 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"'
13506 if test "$GXX" = yes; then
13507 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'
13509 # FIXME: insert proper C++ library support
13517 if test $with_gnu_ld = no
; then
13518 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13519 hardcode_libdir_separator_CXX
=:
13525 export_dynamic_flag_spec_CXX
='${wl}-E'
13531 hardcode_direct_CXX
=no
13532 hardcode_shlibpath_var_CXX
=no
13535 hardcode_direct_CXX
=yes
13536 hardcode_direct_absolute_CXX
=yes
13537 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13538 # but as the default
13539 # location of the library.
13543 case $cc_basename in
13545 # FIXME: insert proper C++ library support
13551 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13557 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13560 # Commands to make compiler produce verbose output that lists
13561 # what "hidden" libraries, object files and flags are used when
13562 # linking a shared library.
13564 # There doesn't appear to be a way to prevent this compiler from
13565 # explicitly linking system object files so we need to strip them
13566 # from the output so that they don't get included in the library
13568 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"'
13571 if test "$GXX" = yes; then
13572 if test $with_gnu_ld = no
; then
13575 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13578 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13581 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'
13586 # FIXME: insert proper C++ library support
13594 hardcode_direct_CXX
=no
13595 hardcode_shlibpath_var_CXX
=no
13596 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13597 export_dynamic_flag_spec_CXX
='${wl}-E'
13598 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13599 # Instead, shared libraries are loaded at an image base (0x10000000 by
13600 # default) and relocated if they conflict, which is a slow very memory
13601 # consuming and fragmenting process. To avoid this, we pick a random,
13602 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13603 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13604 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'
13605 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'
13608 case $cc_basename in
13611 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'
13613 # Archives containing C++ object files must be created using
13614 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13615 # necessary to make sure instantiated templates are included
13617 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13620 if test "$GXX" = yes; then
13621 if test "$with_gnu_ld" = no
; then
13622 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'
13624 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'
13627 link_all_deplibs_CXX
=yes
13630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13631 hardcode_libdir_separator_CXX
=:
13632 inherit_rpath_CXX
=yes
13635 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13636 case $cc_basename in
13638 # Kuck and Associates, Inc. (KAI) C++ Compiler
13640 # KCC will only create a shared library if the output file
13641 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13642 # to its proper name (with version) after linking.
13643 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'
13644 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'
13645 # Commands to make compiler produce verbose output that lists
13646 # what "hidden" libraries, object files and flags are used when
13647 # linking a shared library.
13649 # There doesn't appear to be a way to prevent this compiler from
13650 # explicitly linking system object files so we need to strip them
13651 # from the output so that they don't get included in the library
13653 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"'
13655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13656 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13658 # Archives containing C++ object files must be created using
13659 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13660 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13665 # version 8.0 and above of icpc choke on multiply defined symbols
13666 # if we add $predep_objects and $postdep_objects, however 7.1 and
13667 # earlier do not add the objects themselves.
13668 case `$CC -V 2>&1` in
13670 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13671 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'
13673 *) # Version 8.0 or newer
13676 ia64
*) tmp_idyn
=' -i_dynamic';;
13678 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13679 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'
13682 archive_cmds_need_lc_CXX
=no
13683 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13684 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13685 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13688 # Portland Group C++ compiler
13690 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13691 prelink_cmds_CXX
='tpldir=Template.dir~
13693 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13694 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13695 old_archive_cmds_CXX
='tpldir=Template.dir~
13697 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13698 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13700 archive_cmds_CXX
='tpldir=Template.dir~
13702 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13703 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13704 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13706 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13707 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13709 *) # Version 6 and above use weak symbols
13710 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13711 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'
13715 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13716 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13717 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'
13721 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13722 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'
13724 runpath_var
=LD_RUN_PATH
13725 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13726 hardcode_libdir_separator_CXX
=:
13728 # Commands to make compiler produce verbose output that lists
13729 # what "hidden" libraries, object files and flags are used when
13730 # linking a shared library.
13732 # There doesn't appear to be a way to prevent this compiler from
13733 # explicitly linking system object files so we need to strip them
13734 # from the output so that they don't get included in the library
13736 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'
13738 xl
* | mpixl
* | bgxl
*)
13739 # IBM XL 8.0 on PPC, with GNU ld
13740 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13741 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13742 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13743 if test "x$supports_anon_versioning" = xyes
; then
13744 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13746 echo "local: *; };" >> $output_objdir/$libname.ver~
13747 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13751 case `$CC -V 2>&1 | sed 5q` in
13754 no_undefined_flag_CXX
=' -zdefs'
13755 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13756 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'
13757 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13758 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'
13759 compiler_needs_object_CXX
=yes
13761 # Not sure whether something based on
13762 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13764 output_verbose_link_cmd
='func_echo_all'
13766 # Archives containing C++ object files must be created using
13767 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13768 # necessary to make sure instantiated templates are included
13770 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13778 # FIXME: insert proper C++ library support
13783 # FIXME: insert proper C++ library support
13788 case $cc_basename in
13790 # FIXME: insert proper C++ library support
13794 # FIXME: insert proper C++ library support
13801 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13802 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13804 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13805 hardcode_direct_CXX
=yes
13806 hardcode_shlibpath_var_CXX
=no
13808 # Workaround some broken pre-1.5 toolchains
13809 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13817 # C++ shared libraries are fairly broken
13822 if test -f /usr
/libexec
/ld.so
; then
13823 hardcode_direct_CXX
=yes
13824 hardcode_shlibpath_var_CXX
=no
13825 hardcode_direct_absolute_CXX
=yes
13826 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13827 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13828 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13829 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13830 export_dynamic_flag_spec_CXX
='${wl}-E'
13831 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13833 output_verbose_link_cmd
=func_echo_all
13839 osf3
* | osf4
* | osf5
*)
13840 case $cc_basename in
13842 # Kuck and Associates, Inc. (KAI) C++ Compiler
13844 # KCC will only create a shared library if the output file
13845 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13846 # to its proper name (with version) after linking.
13847 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'
13849 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13850 hardcode_libdir_separator_CXX
=:
13852 # Archives containing C++ object files must be created using
13853 # the KAI C++ compiler.
13855 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13856 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13860 # Rational C++ 2.4.1
13861 # FIXME: insert proper C++ library support
13867 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13868 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'
13869 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13872 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13873 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'
13874 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13875 echo "-hidden">> $lib.exp~
13876 $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~
13878 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13882 hardcode_libdir_separator_CXX
=:
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13888 # There doesn't appear to be a way to prevent this compiler from
13889 # explicitly linking system object files so we need to strip them
13890 # from the output so that they don't get included in the library
13892 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"'
13895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13899 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'
13902 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'
13906 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13907 hardcode_libdir_separator_CXX
=:
13909 # Commands to make compiler produce verbose output that lists
13910 # what "hidden" libraries, object files and flags are used when
13911 # linking a shared library.
13912 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13915 # FIXME: insert proper C++ library support
13923 # FIXME: insert proper C++ library support
13928 case $cc_basename in
13931 # FIXME: insert proper C++ library support
13936 # FIXME: insert proper C++ library support
13940 # FIXME: insert proper C++ library support
13947 case $cc_basename in
13949 # Sun C++ 4.2, 5.x and Centerline C++
13950 archive_cmds_need_lc_CXX
=yes
13951 no_undefined_flag_CXX
=' -zdefs'
13952 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13953 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13954 $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'
13956 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13957 hardcode_shlibpath_var_CXX
=no
13959 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13961 # The compiler driver will combine and reorder linker options,
13962 # but understands `-z linker_flag'.
13963 # Supported since Solaris 2.6 (maybe 2.5.1?)
13964 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13967 link_all_deplibs_CXX
=yes
13969 output_verbose_link_cmd
='func_echo_all'
13971 # Archives containing C++ object files must be created using
13972 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13973 # necessary to make sure instantiated templates are included
13975 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13978 # Green Hills C++ Compiler
13979 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13981 # The C++ compiler must be used to create the archive.
13982 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13985 # GNU C++ compiler with Solaris linker
13986 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13987 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13988 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13989 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13990 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13991 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13993 # Commands to make compiler produce verbose output that lists
13994 # what "hidden" libraries, object files and flags are used when
13995 # linking a shared library.
13996 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13998 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14000 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14001 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14002 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14004 # Commands to make compiler produce verbose output that lists
14005 # what "hidden" libraries, object files and flags are used when
14006 # linking a shared library.
14007 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14010 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14012 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14014 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14022 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14023 no_undefined_flag_CXX
='${wl}-z,text'
14024 archive_cmds_need_lc_CXX
=no
14025 hardcode_shlibpath_var_CXX
=no
14026 runpath_var
='LD_RUN_PATH'
14028 case $cc_basename in
14030 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14031 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14034 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14040 sysv5
* | sco3.2v5
* | sco5v6
*)
14041 # Note: We can NOT use -z defs as we might desire, because we do not
14042 # link with -lc, and that would cause any symbols used from libc to
14043 # always be unresolved, which means just about no library would
14044 # ever link correctly. If we're not using GNU ld we use -z text
14045 # though, which does catch some bad symbols but isn't as heavy-handed
14047 no_undefined_flag_CXX
='${wl}-z,text'
14048 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14049 archive_cmds_need_lc_CXX
=no
14050 hardcode_shlibpath_var_CXX
=no
14051 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14052 hardcode_libdir_separator_CXX
=':'
14053 link_all_deplibs_CXX
=yes
14054 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14055 runpath_var
='LD_RUN_PATH'
14057 case $cc_basename in
14059 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14060 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14061 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14062 '"$old_archive_cmds_CXX"
14063 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14064 '"$reload_cmds_CXX"
14067 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14068 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14074 case $cc_basename in
14076 # NonStop-UX NCC 3.20
14077 # FIXME: insert proper C++ library support
14081 # FIXME: insert proper C++ library support
14088 # For VxWorks ports, we assume the use of a GNU linker with
14089 # standard elf conventions.
14094 # FIXME: insert proper C++ library support
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14100 $as_echo "$ld_shlibs_CXX" >&6; }
14101 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14107 ## There is no encapsulation within the following macros, do not change
14108 ## the running order or otherwise move them around unless you know exactly
14109 ## what you are doing...
14110 # Dependencies to place before and after the object being linked:
14111 predep_objects_CXX
=
14112 postdep_objects_CXX
=
14115 compiler_lib_search_path_CXX
=
14117 cat > conftest.
$ac_ext <<_LT_EOF
14121 Foo (void) { a = 0; }
14127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14128 (eval $ac_compile) 2>&5
14130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14131 test $ac_status = 0; }; then
14132 # Parse the compiler output and extract the necessary
14133 # objects, libraries and library flags.
14135 # Sentinel used to keep track of whether or not we are before
14136 # the conftest object file.
14137 pre_test_object_deps_done
=no
14139 for p
in `eval "$output_verbose_link_cmd"`; do
14143 # Some compilers place space between "-{L,R}" and the path.
14144 # Remove the space.
14145 if test $p = "-L" ||
14146 test $p = "-R"; then
14153 if test "$pre_test_object_deps_done" = no
; then
14156 # Internal compiler library paths should come after those
14157 # provided the user. The postdeps already come after the
14158 # user supplied libs so there is no need to process them.
14159 if test -z "$compiler_lib_search_path_CXX"; then
14160 compiler_lib_search_path_CXX
="${prev}${p}"
14162 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14165 # The "-l" case would never come before the object being
14166 # linked, so don't bother handling this case.
14169 if test -z "$postdeps_CXX"; then
14170 postdeps_CXX
="${prev}${p}"
14172 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14178 # This assumes that the test object file only shows up
14179 # once in the compiler output.
14180 if test "$p" = "conftest.$objext"; then
14181 pre_test_object_deps_done
=yes
14185 if test "$pre_test_object_deps_done" = no
; then
14186 if test -z "$predep_objects_CXX"; then
14187 predep_objects_CXX
="$p"
14189 predep_objects_CXX
="$predep_objects_CXX $p"
14192 if test -z "$postdep_objects_CXX"; then
14193 postdep_objects_CXX
="$p"
14195 postdep_objects_CXX
="$postdep_objects_CXX $p"
14200 *) ;; # Ignore the rest.
14208 echo "libtool.m4: error: problem compiling CXX test program"
14211 $RM -f confest.
$objext
14213 # PORTME: override above test on systems where it is broken
14216 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14217 # hack all around it, let's just trust "g++" to DTRT.
14218 predep_objects_CXX
=
14219 postdep_objects_CXX
=
14224 case `$CC -V 2>&1 | sed 5q` in
14228 # The more standards-conforming stlport4 library is
14229 # incompatible with the Cstd library. Avoid specifying
14230 # it if it's in CXXFLAGS. Ignore libCrun as
14231 # -library=stlport4 depends on it.
14232 case " $CXX $CXXFLAGS " in
14233 *" -library=stlport4 "*)
14234 solaris_use_stlport4
=yes
14238 if test "$solaris_use_stlport4" != yes; then
14239 postdeps_CXX
='-library=Cstd -library=Crun'
14246 case $cc_basename in
14248 # The more standards-conforming stlport4 library is
14249 # incompatible with the Cstd library. Avoid specifying
14250 # it if it's in CXXFLAGS. Ignore libCrun as
14251 # -library=stlport4 depends on it.
14252 case " $CXX $CXXFLAGS " in
14253 *" -library=stlport4 "*)
14254 solaris_use_stlport4
=yes
14258 # Adding this requires a known-good setup of shared libraries for
14259 # Sun compiler versions before 5.6, else PIC objects from an old
14260 # archive will be linked into the output, leading to subtle bugs.
14261 if test "$solaris_use_stlport4" != yes; then
14262 postdeps_CXX
='-library=Cstd -library=Crun'
14270 case " $postdeps_CXX " in
14271 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14273 compiler_lib_search_dirs_CXX
=
14274 if test -n "${compiler_lib_search_path_CXX}"; then
14275 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14308 lt_prog_compiler_wl_CXX
=
14309 lt_prog_compiler_pic_CXX
=
14310 lt_prog_compiler_static_CXX
=
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14313 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14315 # C++ specific cases for pic, static, wl, etc.
14316 if test "$GXX" = yes; then
14317 lt_prog_compiler_wl_CXX
='-Wl,'
14318 lt_prog_compiler_static_CXX
='-static'
14322 # All AIX code is PIC.
14323 if test "$host_cpu" = ia64
; then
14324 # AIX 5 now supports IA64 processor
14325 lt_prog_compiler_static_CXX
='-Bstatic'
14327 lt_prog_compiler_pic_CXX
='-fPIC'
14333 # see comment about AmigaOS4 .so support
14334 lt_prog_compiler_pic_CXX
='-fPIC'
14337 # FIXME: we need at least 68020 code to build shared libraries, but
14338 # adding the `-m68020' flag to GCC prevents building anything better,
14340 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14345 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14346 # PIC is the default for these OSes.
14348 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14349 # This hack is so that the source file can tell whether it is being
14350 # built for inclusion in a dll (and should export symbols for example).
14351 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14352 # (--disable-auto-import) libraries
14353 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14355 darwin
* | rhapsody
*)
14356 # PIC is the default on this platform
14357 # Common symbols not allowed in MH_DYLIB files
14358 lt_prog_compiler_pic_CXX
='-fno-common'
14361 # DJGPP does not support shared libraries at all
14362 lt_prog_compiler_pic_CXX
=
14365 # PIC is the default for Haiku.
14366 # The "-static" flag exists, but is broken.
14367 lt_prog_compiler_static_CXX
=
14370 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14371 # Instead, we relocate shared libraries at runtime.
14374 if test -d /usr
/nec
; then
14375 lt_prog_compiler_pic_CXX
=-Kconform_pic
14379 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14380 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14381 # sets the default TLS model and affects inlining.
14386 lt_prog_compiler_pic_CXX
='-fPIC'
14391 # QNX uses GNU C++, but need to define -shared option too, otherwise
14392 # it will coredump.
14393 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14396 lt_prog_compiler_pic_CXX
='-fPIC'
14402 # All AIX code is PIC.
14403 if test "$host_cpu" = ia64
; then
14404 # AIX 5 now supports IA64 processor
14405 lt_prog_compiler_static_CXX
='-Bstatic'
14407 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14411 case $cc_basename in
14413 # Green Hills C++ Compiler
14414 # _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"
14419 case $cc_basename in
14421 lt_prog_compiler_pic_CXX
='-KPIC'
14424 # Green Hills C++ Compiler
14425 lt_prog_compiler_pic_CXX
='-pic'
14431 freebsd
* | dragonfly
*)
14432 # FreeBSD uses GNU C++
14434 hpux9
* | hpux10
* | hpux11
*)
14435 case $cc_basename in
14437 lt_prog_compiler_wl_CXX
='-Wl,'
14438 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14439 if test "$host_cpu" != ia64
; then
14440 lt_prog_compiler_pic_CXX
='+Z'
14444 lt_prog_compiler_wl_CXX
='-Wl,'
14445 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14451 lt_prog_compiler_pic_CXX
='+Z'
14460 # This is c89, which is MS Visual C++ (no shared libs)
14461 # Anyone wants to do a port?
14463 irix5
* | irix6
* | nonstopux
*)
14464 case $cc_basename in
14466 lt_prog_compiler_wl_CXX
='-Wl,'
14467 lt_prog_compiler_static_CXX
='-non_shared'
14468 # CC pic flag -KPIC is the default.
14474 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14475 case $cc_basename in
14478 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14479 lt_prog_compiler_pic_CXX
='-fPIC'
14482 # old Intel C++ for x86_64 which still supported -KPIC.
14483 lt_prog_compiler_wl_CXX
='-Wl,'
14484 lt_prog_compiler_pic_CXX
='-KPIC'
14485 lt_prog_compiler_static_CXX
='-static'
14488 # Intel C++, used to be incompatible with GCC.
14489 # ICC 10 doesn't accept -KPIC any more.
14490 lt_prog_compiler_wl_CXX
='-Wl,'
14491 lt_prog_compiler_pic_CXX
='-fPIC'
14492 lt_prog_compiler_static_CXX
='-static'
14495 # Portland Group C++ compiler
14496 lt_prog_compiler_wl_CXX
='-Wl,'
14497 lt_prog_compiler_pic_CXX
='-fpic'
14498 lt_prog_compiler_static_CXX
='-Bstatic'
14502 # Make sure the PIC flag is empty. It appears that all Alpha
14503 # Linux and Compaq Tru64 Unix objects are PIC.
14504 lt_prog_compiler_pic_CXX
=
14505 lt_prog_compiler_static_CXX
='-non_shared'
14507 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14508 # IBM XL 8.0, 9.0 on PPC and BlueGene
14509 lt_prog_compiler_wl_CXX
='-Wl,'
14510 lt_prog_compiler_pic_CXX
='-qpic'
14511 lt_prog_compiler_static_CXX
='-qstaticlink'
14514 case `$CC -V 2>&1 | sed 5q` in
14517 lt_prog_compiler_pic_CXX
='-KPIC'
14518 lt_prog_compiler_static_CXX
='-Bstatic'
14519 lt_prog_compiler_wl_CXX
='-Qoption ld '
14530 case $cc_basename in
14532 lt_prog_compiler_pic_CXX
='-W c,exportall'
14541 # QNX uses GNU C++, but need to define -shared option too, otherwise
14542 # it will coredump.
14543 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14545 osf3
* | osf4
* | osf5
*)
14546 case $cc_basename in
14548 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14551 # Rational C++ 2.4.1
14552 lt_prog_compiler_pic_CXX
='-pic'
14555 # Digital/Compaq C++
14556 lt_prog_compiler_wl_CXX
='-Wl,'
14557 # Make sure the PIC flag is empty. It appears that all Alpha
14558 # Linux and Compaq Tru64 Unix objects are PIC.
14559 lt_prog_compiler_pic_CXX
=
14560 lt_prog_compiler_static_CXX
='-non_shared'
14569 case $cc_basename in
14571 # Sun C++ 4.2, 5.x and Centerline C++
14572 lt_prog_compiler_pic_CXX
='-KPIC'
14573 lt_prog_compiler_static_CXX
='-Bstatic'
14574 lt_prog_compiler_wl_CXX
='-Qoption ld '
14577 # Green Hills C++ Compiler
14578 lt_prog_compiler_pic_CXX
='-PIC'
14585 case $cc_basename in
14588 lt_prog_compiler_pic_CXX
='-pic'
14589 lt_prog_compiler_static_CXX
='-Bstatic'
14593 lt_prog_compiler_pic_CXX
='-pic'
14599 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14600 case $cc_basename in
14602 lt_prog_compiler_wl_CXX
='-Wl,'
14603 lt_prog_compiler_pic_CXX
='-KPIC'
14604 lt_prog_compiler_static_CXX
='-Bstatic'
14609 case $cc_basename in
14611 # NonStop-UX NCC 3.20
14612 lt_prog_compiler_pic_CXX
='-KPIC'
14621 lt_prog_compiler_can_build_shared_CXX
=no
14627 # For platforms which do not support PIC, -DPIC is meaningless:
14629 lt_prog_compiler_pic_CXX
=
14632 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14636 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14641 # Check to make sure the PIC flag actually works.
14643 if test -n "$lt_prog_compiler_pic_CXX"; then
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14645 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14646 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14647 $as_echo_n "(cached) " >&6
14649 lt_cv_prog_compiler_pic_works_CXX
=no
14650 ac_outfile
=conftest.
$ac_objext
14651 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14652 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14653 # Insert the option either (1) after the last *FLAGS variable, or
14654 # (2) before a word containing "conftest.", or (3) at the end.
14655 # Note that $ac_compile itself does not contain backslashes and begins
14656 # with a dollar sign (not a hyphen), so the echo should work correctly.
14657 # The option is referenced via a variable to avoid confusing sed.
14658 lt_compile
=`echo "$ac_compile" | $SED \
14659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14661 -e 's:$: $lt_compiler_flag:'`
14662 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14663 (eval "$lt_compile" 2>conftest.err
)
14665 cat conftest.err
>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 if (exit $ac_status) && test -s "$ac_outfile"; then
14668 # The compiler can only warn and ignore the option if not recognized
14669 # So say no if there are warnings other than the usual output.
14670 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14671 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14672 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14673 lt_cv_prog_compiler_pic_works_CXX
=yes
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14680 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14682 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14683 case $lt_prog_compiler_pic_CXX in
14685 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14688 lt_prog_compiler_pic_CXX
=
14689 lt_prog_compiler_can_build_shared_CXX
=no
14697 # Check to make sure the static flag actually works.
14699 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14701 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14702 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14703 $as_echo_n "(cached) " >&6
14705 lt_cv_prog_compiler_static_works_CXX
=no
14706 save_LDFLAGS
="$LDFLAGS"
14707 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14710 # The linker can only warn and ignore the option if not recognized
14711 # So say no if there are warnings
14712 if test -s conftest.err
; then
14713 # Append any errors to the config.log.
14714 cat conftest.err
1>&5
14715 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14717 if diff conftest.exp conftest.er2
>/dev
/null
; then
14718 lt_cv_prog_compiler_static_works_CXX
=yes
14721 lt_cv_prog_compiler_static_works_CXX
=yes
14725 LDFLAGS
="$save_LDFLAGS"
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14729 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14731 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14734 lt_prog_compiler_static_CXX
=
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14741 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14742 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14743 $as_echo_n "(cached) " >&6
14745 lt_cv_prog_compiler_c_o_CXX
=no
14746 $RM -r conftest
2>/dev
/null
14750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14752 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14753 # Insert the option either (1) after the last *FLAGS variable, or
14754 # (2) before a word containing "conftest.", or (3) at the end.
14755 # Note that $ac_compile itself does not contain backslashes and begins
14756 # with a dollar sign (not a hyphen), so the echo should work correctly.
14757 lt_compile
=`echo "$ac_compile" | $SED \
14758 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14759 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14760 -e 's:$: $lt_compiler_flag:'`
14761 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14762 (eval "$lt_compile" 2>out
/conftest.err
)
14764 cat out
/conftest.err
>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14768 # The compiler can only warn and ignore the option if not recognized
14769 # So say no if there are warnings
14770 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14771 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14772 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14773 lt_cv_prog_compiler_c_o_CXX
=yes
14778 # SGI C++ compiler will create directory out/ii_files/ for
14779 # template instantiation
14780 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14781 $RM out
/* && rmdir out
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14788 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14793 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14794 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14795 $as_echo_n "(cached) " >&6
14797 lt_cv_prog_compiler_c_o_CXX
=no
14798 $RM -r conftest
2>/dev
/null
14802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14804 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14805 # Insert the option either (1) after the last *FLAGS variable, or
14806 # (2) before a word containing "conftest.", or (3) at the end.
14807 # Note that $ac_compile itself does not contain backslashes and begins
14808 # with a dollar sign (not a hyphen), so the echo should work correctly.
14809 lt_compile
=`echo "$ac_compile" | $SED \
14810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14812 -e 's:$: $lt_compiler_flag:'`
14813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14814 (eval "$lt_compile" 2>out
/conftest.err
)
14816 cat out
/conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14820 # The compiler can only warn and ignore the option if not recognized
14821 # So say no if there are warnings
14822 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14823 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14824 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14825 lt_cv_prog_compiler_c_o_CXX
=yes
14830 # SGI C++ compiler will create directory out/ii_files/ for
14831 # template instantiation
14832 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14833 $RM out
/* && rmdir out
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14840 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14845 hard_links
="nottested"
14846 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14847 # do not overwrite the value of need_locks provided by the user
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14849 $as_echo_n "checking if we can lock with hard links... " >&6; }
14852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14854 ln conftest.a conftest.b
2>&5 || hard_links
=no
14855 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14857 $as_echo "$hard_links" >&6; }
14858 if test "$hard_links" = no
; then
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14860 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14872 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14875 # If we're using GNU nm, then we don't want the "-C" option.
14876 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14877 # Also, AIX nm treats weak defined symbols like other global defined
14878 # symbols, whereas GNU nm marks them as "W".
14879 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14880 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'
14882 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14886 export_symbols_cmds_CXX
="$ltdll_cmds"
14888 cygwin
* | mingw
* | cegcc
*)
14889 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'
14892 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14895 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14898 $as_echo "$ld_shlibs_CXX" >&6; }
14899 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14901 with_gnu_ld_CXX
=$with_gnu_ld
14909 # Do we need to explicitly link libc?
14911 case "x$archive_cmds_need_lc_CXX" in
14913 # Assume -lc should be added
14914 archive_cmds_need_lc_CXX
=yes
14916 if test "$enable_shared" = yes && test "$GCC" = yes; then
14917 case $archive_cmds_CXX in
14919 # FIXME: we may have to deal with multi-command sequences.
14922 # Test whether the compiler implicitly links with -lc since on some
14923 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14924 # to ld, don't add -lc before -lgcc.
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14926 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14927 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14928 $as_echo_n "(cached) " >&6
14931 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14934 (eval $ac_compile) 2>&5
14936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14937 test $ac_status = 0; } 2>conftest.err
; then
14940 libobjs
=conftest.
$ac_objext
14942 wl
=$lt_prog_compiler_wl_CXX
14943 pic_flag
=$lt_prog_compiler_pic_CXX
14949 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14950 allow_undefined_flag_CXX
=
14951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14952 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 test $ac_status = 0; }
14957 lt_cv_archive_cmds_need_lc_CXX
=no
14959 lt_cv_archive_cmds_need_lc_CXX
=yes
14961 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14963 cat conftest.err
1>&5
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14969 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14970 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15041 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15043 library_names_spec
=
15044 libname_spec
='lib$name'
15048 postuninstall_cmds
=
15052 shlibpath_overrides_runpath
=unknown
15054 dynamic_linker
="$host_os ld.so"
15055 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15056 need_lib_prefix
=unknown
15057 hardcode_into_libs
=no
15059 # when you set need_version to no, make sure it does not cause -set_version
15060 # flags to be left without arguments
15061 need_version
=unknown
15066 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15067 shlibpath_var
=LIBPATH
15069 # AIX 3 has no versioning support, so we append a major version to the name.
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15077 hardcode_into_libs
=yes
15078 if test "$host_cpu" = ia64
; then
15079 # AIX 5 supports IA64
15080 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15081 shlibpath_var
=LD_LIBRARY_PATH
15083 # With GCC up to 2.95.x, collect2 would create an import file
15084 # for dependence libraries. The import file would start with
15085 # the line `#! .'. This would cause the generated library to
15086 # depend on `.', always an invalid library. This was fixed in
15087 # development snapshots of GCC prior to 3.0.
15089 aix4 | aix4.
[01] | aix4.
[01].
*)
15090 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15092 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15095 can_build_shared
=no
15099 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15100 # soname into executable. Probably we can add versioning support to
15101 # collect2, so additional links can be useful in future.
15102 if test "$aix_use_runtimelinking" = yes; then
15103 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15104 # instead of lib<name>.a to let people know that these are not
15105 # typical AIX shared libraries.
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15108 # We preserve .a as extension for shared libraries through AIX4.2
15109 # and later when we are not doing run time linking.
15110 library_names_spec
='${libname}${release}.a $libname.a'
15111 soname_spec
='${libname}${release}${shared_ext}$major'
15113 shlibpath_var
=LIBPATH
15120 # Since July 2007 AmigaOS4 officially supports .so libraries.
15121 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15125 library_names_spec
='$libname.ixlibrary $libname.a'
15126 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15127 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'
15133 library_names_spec
='${libname}${shared_ext}'
15134 dynamic_linker
="$host_os ld.so"
15135 shlibpath_var
=LIBRARY_PATH
15141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15143 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15144 shlibpath_var
=LD_LIBRARY_PATH
15145 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15146 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15147 # the default ld.so.conf also contains /usr/contrib/lib and
15148 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15149 # libtool to hard-code these into programs
15152 cygwin
* | mingw
* | pw32
* | cegcc
*)
15153 version_type
=windows
15158 case $GCC,$host_os in
15159 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15160 library_names_spec
='$libname.dll.a'
15161 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15162 postinstall_cmds
='base_file=`basename \${file}`~
15163 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15164 dldir=$destdir/`dirname \$dlpath`~
15165 test -d \$dldir || mkdir -p \$dldir~
15166 $install_prog $dir/$dlname \$dldir/$dlname~
15167 chmod a+x \$dldir/$dlname~
15168 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15169 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15171 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15172 dlpath=$dir/\$dldll~
15174 shlibpath_overrides_runpath
=yes
15178 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15179 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15183 # MinGW DLLs use traditional 'lib' prefix
15184 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15187 # pw32 DLLs use 'pw' prefix rather than 'lib'
15188 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15194 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15197 dynamic_linker
='Win32 ld.exe'
15198 # FIXME: first we should search . and the directory the executable is in
15202 darwin
* | rhapsody
*)
15203 dynamic_linker
="$host_os dyld"
15204 version_type
=darwin
15207 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15208 soname_spec
='${libname}${release}${major}$shared_ext'
15209 shlibpath_overrides_runpath
=yes
15210 shlibpath_var
=DYLD_LIBRARY_PATH
15211 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15213 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15221 soname_spec
='${libname}${release}${shared_ext}$major'
15222 shlibpath_var
=LD_LIBRARY_PATH
15225 freebsd
* | dragonfly
*)
15226 # DragonFly does not have aout. When/if they implement a new
15227 # versioning mechanism, adjust this.
15228 if test -x /usr
/bin
/objformat
; then
15229 objformat
=`/usr/bin/objformat`
15232 freebsd
[23].
*) objformat
=aout
;;
15233 *) objformat
=elf
;;
15236 version_type
=freebsd-
$objformat
15237 case $version_type in
15239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15244 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15248 shlibpath_var
=LD_LIBRARY_PATH
15251 shlibpath_overrides_runpath
=yes
15253 freebsd3.
[01]* | freebsdelf3.
[01]*)
15254 shlibpath_overrides_runpath
=yes
15255 hardcode_into_libs
=yes
15257 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15258 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15259 shlibpath_overrides_runpath
=no
15260 hardcode_into_libs
=yes
15262 *) # from 4.6 on, and DragonFly
15263 shlibpath_overrides_runpath
=yes
15264 hardcode_into_libs
=yes
15273 dynamic_linker
="$host_os runtime_loader"
15274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15275 soname_spec
='${libname}${release}${shared_ext}$major'
15276 shlibpath_var
=LIBRARY_PATH
15277 shlibpath_overrides_runpath
=yes
15278 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15279 hardcode_into_libs
=yes
15282 hpux9
* | hpux10
* | hpux11
*)
15283 # Give a soname corresponding to the major version so that dld.sl refuses to
15284 # link against other versions.
15291 hardcode_into_libs
=yes
15292 dynamic_linker
="$host_os dld.so"
15293 shlibpath_var
=LD_LIBRARY_PATH
15294 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 soname_spec
='${libname}${release}${shared_ext}$major'
15297 if test "X$HPUX_IA64_MODE" = X32
; then
15298 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15300 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15302 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15306 hardcode_into_libs
=yes
15307 dynamic_linker
="$host_os dld.sl"
15308 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15309 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 soname_spec
='${libname}${release}${shared_ext}$major'
15312 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15313 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15317 dynamic_linker
="$host_os dld.sl"
15318 shlibpath_var
=SHLIB_PATH
15319 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15321 soname_spec
='${libname}${release}${shared_ext}$major'
15324 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15325 postinstall_cmds
='chmod 555 $lib'
15326 # or fails outright, so override atomically:
15327 install_override_mode
=555
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15336 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15337 shlibpath_var
=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath
=no
15339 hardcode_into_libs
=yes
15342 irix5
* | irix6
* | nonstopux
*)
15344 nonstopux
*) version_type
=nonstopux
;;
15346 if test "$lt_cv_prog_gnu_ld" = yes; then
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15357 irix5
* | nonstopux
*)
15358 libsuff
= shlibsuff
=
15361 case $LD in # libtool.m4 will add one of these switches to LD
15362 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15363 libsuff
= shlibsuff
= libmagic
=32-bit;;
15364 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15365 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15366 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15367 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15368 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15372 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15373 shlibpath_overrides_runpath
=no
15374 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15375 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15376 hardcode_into_libs
=yes
15379 # No shared lib support for Linux oldld, aout, or coff.
15380 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15384 # This must be Linux ELF.
15386 # uclinux* changes (here and below) have been submitted to the libtool
15387 # project, but have not yet been accepted: they are GCC-local changes
15388 # for the time being. (See
15389 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15390 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15395 soname_spec
='${libname}${release}${shared_ext}$major'
15396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15397 shlibpath_var
=LD_LIBRARY_PATH
15398 shlibpath_overrides_runpath
=no
15400 # Some binutils ld are patched to set DT_RUNPATH
15401 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15402 $as_echo_n "(cached) " >&6
15404 lt_cv_shlibpath_overrides_runpath
=no
15405 save_LDFLAGS
=$LDFLAGS
15406 save_libdir
=$libdir
15407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15420 if ac_fn_cxx_try_link
"$LINENO"; then :
15421 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15422 lt_cv_shlibpath_overrides_runpath
=yes
15425 rm -f core conftest.err conftest.
$ac_objext \
15426 conftest
$ac_exeext conftest.
$ac_ext
15427 LDFLAGS
=$save_LDFLAGS
15428 libdir
=$save_libdir
15432 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15434 # This implies no fast_install, which is unacceptable.
15435 # Some rework will be needed to allow for fast_install
15436 # before this can be enabled.
15437 hardcode_into_libs
=yes
15439 # Append ld.so.conf contents to the search path
15440 if test -f /etc
/ld.so.conf
; then
15441 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' ' '`
15442 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15445 # We used to test for /lib/ld.so.1 and disable shared libraries on
15446 # powerpc, because MkLinux only supported shared libraries with the
15447 # GNU dynamic linker. Since this was broken with cross compilers,
15448 # most powerpc-linux boxes support dynamic linking these days and
15449 # people can always --disable-shared, the test was removed, and we
15450 # assume the GNU/Linux dynamic linker is in use.
15451 dynamic_linker
='GNU/Linux ld.so'
15458 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15461 dynamic_linker
='NetBSD (a.out) ld.so'
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15464 soname_spec
='${libname}${release}${shared_ext}$major'
15465 dynamic_linker
='NetBSD ld.elf_so'
15467 shlibpath_var
=LD_LIBRARY_PATH
15468 shlibpath_overrides_runpath
=yes
15469 hardcode_into_libs
=yes
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15475 shlibpath_var
=LD_LIBRARY_PATH
15476 shlibpath_overrides_runpath
=yes
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484 soname_spec
='${libname}${release}${shared_ext}$major'
15485 shlibpath_var
=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath
=no
15487 hardcode_into_libs
=yes
15488 dynamic_linker
='ldqnx.so'
15493 sys_lib_dlsearch_path_spec
="/usr/lib"
15495 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15497 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15498 *) need_version
=no
;;
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15505 openbsd2.
[89] | openbsd2.
[89].
*)
15506 shlibpath_overrides_runpath
=no
15509 shlibpath_overrides_runpath
=yes
15513 shlibpath_overrides_runpath
=yes
15518 libname_spec
='$name'
15521 library_names_spec
='$libname${shared_ext} $libname.a'
15522 dynamic_linker
='OS/2 ld.exe'
15523 shlibpath_var
=LIBPATH
15526 osf3
* | osf4
* | osf5
*)
15530 soname_spec
='${libname}${release}${shared_ext}$major'
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 shlibpath_var
=LD_LIBRARY_PATH
15533 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15534 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546 soname_spec
='${libname}${release}${shared_ext}$major'
15547 shlibpath_var
=LD_LIBRARY_PATH
15548 shlibpath_overrides_runpath
=yes
15549 hardcode_into_libs
=yes
15550 # ldd complains unless libraries are executable
15551 postinstall_cmds
='chmod +x $lib'
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15557 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15558 shlibpath_var
=LD_LIBRARY_PATH
15559 shlibpath_overrides_runpath
=yes
15560 if test "$with_gnu_ld" = yes; then
15568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15569 soname_spec
='${libname}${release}${shared_ext}$major'
15570 shlibpath_var
=LD_LIBRARY_PATH
15571 case $host_vendor in
15573 shlibpath_overrides_runpath
=no
15575 runpath_var
=LD_RUN_PATH
15583 shlibpath_overrides_runpath
=no
15584 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15590 if test -d /usr
/nec
;then
15592 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15593 soname_spec
='$libname${shared_ext}.$major'
15594 shlibpath_var
=LD_LIBRARY_PATH
15598 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15599 version_type
=freebsd-elf
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15603 soname_spec
='${libname}${release}${shared_ext}$major'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 shlibpath_overrides_runpath
=yes
15606 hardcode_into_libs
=yes
15607 if test "$with_gnu_ld" = yes; then
15608 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15610 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15613 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15617 sys_lib_dlsearch_path_spec
='/usr/lib'
15621 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 shlibpath_var
=LD_LIBRARY_PATH
15627 shlibpath_overrides_runpath
=no
15628 hardcode_into_libs
=yes
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15634 soname_spec
='${libname}${release}${shared_ext}$major'
15635 shlibpath_var
=LD_LIBRARY_PATH
15638 # Shared libraries for VwWorks, >= 7 only at this stage
15639 # and (fpic) still incompatible with "large" code models
15640 # in a few configurations. Only for RTP mode in any case,
15641 # and upon explicit request at configure time.
15644 case ${with_multisubdir}-${enable_shared} in
15651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15652 soname_spec
='${libname}${release}${shared_ext}$major'
15653 dynamic_linker
="$host_os module_loader"
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15662 $as_echo "$dynamic_linker" >&6; }
15663 test "$dynamic_linker" = no
&& can_build_shared
=no
15665 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15666 if test "$GCC" = yes; then
15667 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15670 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15671 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15673 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15674 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15716 hardcode_action_CXX
=
15717 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15718 test -n "$runpath_var_CXX" ||
15719 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15721 # We can hardcode non-existent directories.
15722 if test "$hardcode_direct_CXX" != no
&&
15723 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15724 # have to relink, otherwise we might link with an installed library
15725 # when we should be linking with a yet-to-be-installed one
15726 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15727 test "$hardcode_minus_L_CXX" != no
; then
15728 # Linking always hardcodes the temporary library directory.
15729 hardcode_action_CXX
=relink
15731 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15732 hardcode_action_CXX
=immediate
15735 # We cannot hardcode anything, or else we can only hardcode existing
15737 hardcode_action_CXX
=unsupported
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15740 $as_echo "$hardcode_action_CXX" >&6; }
15742 if test "$hardcode_action_CXX" = relink ||
15743 test "$inherit_rpath_CXX" = yes; then
15744 # Fast installation is not supported
15745 enable_fast_install
=no
15746 elif test "$shlibpath_overrides_runpath" = yes ||
15747 test "$enable_shared" = no
; then
15748 # Fast installation is not necessary
15749 enable_fast_install
=needless
15758 fi # test -n "$compiler"
15764 with_gnu_ld
=$lt_save_with_gnu_ld
15765 lt_cv_path_LDCXX
=$lt_cv_path_LD
15766 lt_cv_path_LD
=$lt_save_path_LD
15767 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15768 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15769 fi # test "$_lt_caught_CXX_error" != yes
15772 ac_cpp
='$CPP $CPPFLAGS'
15773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15789 ac_config_commands
="$ac_config_commands libtool"
15794 # Only expand once:
15801 *-cygwin* |
*-mingw*)
15802 # 'host' will be top-level target in the case of a target lib,
15803 # we must compare to with_cross_host to decide if this is a native
15804 # or cross-compiler and select where to install dlls appropriately.
15805 if test -n "$with_cross_host" &&
15806 test x
"$with_cross_host" != x
"no"; then
15807 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15809 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15821 if test x
$enable_darwin_at_rpath = xyes
; then
15822 ENABLE_DARWIN_AT_RPATH_TRUE
=
15823 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
15825 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
15826 ENABLE_DARWIN_AT_RPATH_FALSE
=
15830 # For libtool versioning info, format is CURRENT:REVISION:AGE
15831 libtool_VERSION
=1:0:0
15834 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15836 # Add CET specific flags if Intel CET is enabled.
15837 # Check whether --enable-cet was given.
15838 if test "${enable_cet+set}" = set; then :
15839 enableval
=$enable_cet;
15840 case "$enableval" in
15842 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15851 $as_echo_n "checking for CET support... " >&6; }
15853 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
15855 i
[34567]86-*-linux* | x86_64-
*-linux*)
15856 case "$enable_cet" in
15858 # Check if target supports multi-byte NOPs
15859 # and if compiler and assembler support CET insn.
15860 cet_save_CFLAGS
="$CFLAGS"
15861 CFLAGS
="$CFLAGS -fcf-protection"
15862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15869 #if !defined(__SSE2__)
15870 #error target does not support multi-byte NOPs
15879 if ac_fn_c_try_compile
"$LINENO"; then :
15884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15885 CFLAGS
="$cet_save_CFLAGS"
15888 # Check if assembler supports CET.
15889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15900 if ac_fn_c_try_compile
"$LINENO"; then :
15903 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15913 if test x
$enable_cet = xyes
; then
15914 CET_FLAGS
="-fcf-protection -mshstk"
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15916 $as_echo "yes" >&6; }
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15919 $as_echo "no" >&6; }
15922 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15926 if test "${multilib}" = "yes"; then
15927 multilib_arg
="--enable-multilib"
15932 ac_config_files
="$ac_config_files Makefile"
15935 if test "x$VTV_SUPPORTED" = "xyes"; then
15936 ac_config_files
="$ac_config_files testsuite/Makefile"
15940 case "$target_os" in
15949 if test $vtv_cygmin = yes; then
15951 VTV_CYGMIN_FALSE
='#'
15953 VTV_CYGMIN_TRUE
='#'
15958 for ac_func
in _obstack_begin
15960 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15961 if test "x$ac_cv_func__obstack_begin" = xyes
; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE__OBSTACK_BEGIN 1
15969 if test $ac_cv_func__obstack_begin = no
; then
15970 VTV_NO_OBSTACK_TRUE
=
15971 VTV_NO_OBSTACK_FALSE
='#'
15973 VTV_NO_OBSTACK_TRUE
='#'
15974 VTV_NO_OBSTACK_FALSE
=
15978 # Determine what GCC version number to use in filesystem paths.
15980 get_gcc_base_ver
="cat"
15982 # Check whether --with-gcc-major-version-only was given.
15983 if test "${with_gcc_major_version_only+set}" = set; then :
15984 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15985 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
15993 cat >confcache
<<\_ACEOF
15994 # This file is a shell script that caches the results of configure
15995 # tests run on this system so they can be shared between configure
15996 # scripts and configure runs, see configure's option --config-cache.
15997 # It is not useful on other systems. If it contains results you don't
15998 # want to keep, you may remove or edit it.
16000 # config.status only pays attention to the cache file if you give it
16001 # the --recheck option to rerun configure.
16003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16005 # following values.
16009 # The following way of writing the cache mishandles newlines in values,
16010 # but we know of no workaround that is simple, portable, and efficient.
16011 # So, we kill variables containing newlines.
16012 # Ultrix sh set writes to stderr and can't be redirected directly,
16013 # and sets the high bit in the cache file unless we assign to the vars.
16015 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16016 eval ac_val
=\$
$ac_var
16020 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16021 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16024 _ | IFS | as_nl
) ;; #(
16025 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16026 *) { eval $ac_var=; unset $ac_var;} ;;
16032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16033 *${as_nl}ac_space
=\
*)
16034 # `set' does not quote correctly, so add quotes: double-quote
16035 # substitution turns \\\\ into \\, and sed turns \\ into \.
16038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16041 # `set' quotes correctly as required by POSIX, so do not add quotes.
16042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16055 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16056 if test -w "$cache_file"; then
16057 if test "x$cache_file" != "x/dev/null"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16059 $as_echo "$as_me: updating cache $cache_file" >&6;}
16060 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16061 cat confcache
>"$cache_file"
16063 case $cache_file in #(
16065 mv -f confcache
"$cache_file"$$
&&
16066 mv -f "$cache_file"$$
"$cache_file" ;; #(
16068 mv -f confcache
"$cache_file" ;;
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16074 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16079 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16080 # Let make expand exec_prefix.
16081 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16083 # Transform confdefs.h into DEFS.
16084 # Protect against shell expansion while executing Makefile rules.
16085 # Protect against Makefile macro expansion.
16087 # If the first sed substitution is executed (which looks for macros that
16088 # take arguments), then branch to the quote section. Otherwise,
16089 # look for a macro that doesn't take arguments.
16099 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16101 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16105 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16118 DEFS
=`sed -n "$ac_script" confdefs.h`
16124 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16125 # 1. Remove the extension, and $U if already installed.
16126 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16127 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16128 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16129 # will be set to the directory where LIBOBJS objects are built.
16130 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16131 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16133 LIBOBJS
=$ac_libobjs
16135 LTLIBOBJS
=$ac_ltlibobjs
16138 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
16139 as_fn_error $?
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
16140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16143 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16144 if test -n "$am_sleep_pid"; then
16145 # Hide warnings about reused PIDs.
16146 wait $am_sleep_pid 2>/dev
/null
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16149 $as_echo "done" >&6; }
16150 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16151 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16154 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16155 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16158 if test -n "$EXEEXT"; then
16160 am__EXEEXT_FALSE
='#'
16162 am__EXEEXT_TRUE
='#'
16166 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16167 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16170 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16171 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16174 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
16175 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
16176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16178 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
16179 as_fn_error $?
"conditional \"VTV_CYGMIN\" was never defined.
16180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16182 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
16183 as_fn_error $?
"conditional \"VTV_NO_OBSTACK\" was never defined.
16184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16187 : "${CONFIG_STATUS=./config.status}"
16189 ac_clean_files_save
=$ac_clean_files
16190 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16192 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16194 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16196 # Generated by $as_me.
16197 # Run this file to recreate the current configuration.
16198 # Compiler output produced by configure, useful for debugging
16199 # configure, is in config.log if it exists.
16202 ac_cs_recheck=false
16205 SHELL=\${CONFIG_SHELL-$SHELL}
16208 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16209 ## -------------------- ##
16210 ## M4sh Initialization. ##
16211 ## -------------------- ##
16213 # Be more Bourne compatible
16214 DUALCASE
=1; export DUALCASE
# for MKS sh
16215 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16218 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16219 # is contrary to our usage. Disable this feature.
16220 alias -g '${1+"$@"}'='"$@"'
16221 setopt NO_GLOB_SUBST
16223 case `(set -o) 2>/dev/null` in #(
16235 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16236 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16239 # Prefer a ksh shell builtin over an external printf program on Solaris,
16240 # but without wasting forks for bash or zsh.
16241 if test -z "$BASH_VERSION$ZSH_VERSION" \
16242 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16243 as_echo='print
-r --'
16244 as_echo_n='print
-rn --'
16245 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16246 as_echo='printf %s
\n'
16247 as_echo_n='printf %s
'
16249 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16250 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16251 as_echo_n='/usr
/ucb
/echo -n'
16253 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16254 as_echo_n_body='eval
16258 expr "X$arg" : "X\\(.*\\)$as_nl";
16259 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16261 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16263 export as_echo_n_body
16264 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16266 export as_echo_body
16267 as_echo='sh
-c $as_echo_body as_echo
'
16270 # The user is always right.
16271 if test "${PATH_SEPARATOR+set}" != set; then
16273 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16274 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16281 # We need space, tab and new line, in precisely that order. Quoting is
16282 # there to prevent editors from complaining about space-tab.
16283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16284 # splitting by setting IFS to empty value.)
16287 # Find who we are. Look in the path if we contain no directory separator.
16290 *[\\/]* ) as_myself=$0 ;;
16291 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16295 test -z "$as_dir" && as_dir=.
16296 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16302 # We did not find ourselves, most probably we were run as `sh COMMAND'
16303 # in which case we are not to be found in the path.
16304 if test "x$as_myself" = x
; then
16307 if test ! -f "$as_myself"; then
16308 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16312 # Unset variables that we do not need and which cause bugs (e.g. in
16313 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16314 # suppresses any "Segmentation fault" message there. '((' could
16315 # trigger a bug in pdksh 5.2.14.
16316 for as_var
in BASH_ENV ENV MAIL MAILPATH
16317 do eval test x\
${$as_var+set} = xset \
16318 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16331 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16334 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16335 # ----------------------------------------
16336 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16337 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16338 # script with STATUS, using 1 if that was 0.
16341 as_status
=$1; test $as_status -eq 0 && as_status
=1
16343 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16344 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16346 $as_echo "$as_me: error: $2" >&2
16347 as_fn_exit
$as_status
16351 # as_fn_set_status STATUS
16352 # -----------------------
16353 # Set $? to STATUS, without forking.
16354 as_fn_set_status
()
16357 } # as_fn_set_status
16359 # as_fn_exit STATUS
16360 # -----------------
16361 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16365 as_fn_set_status
$1
16371 # Portably unset VAR.
16374 { eval $1=; unset $1;}
16376 as_unset
=as_fn_unset
16377 # as_fn_append VAR VALUE
16378 # ----------------------
16379 # Append the text in VALUE to the end of the definition contained in VAR. Take
16380 # advantage of any shell optimizations that allow amortized linear growth over
16381 # repeated appends, instead of the typical quadratic growth present in naive
16383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16384 eval 'as_fn_append ()
16395 # as_fn_arith ARG...
16396 # ------------------
16397 # Perform arithmetic evaluation on the ARGs, and store the result in the
16398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16399 # must be portable across $(()) and expr.
16400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16401 eval 'as_fn_arith ()
16408 as_val
=`expr "$@" || test $? -eq 1`
16413 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16414 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16420 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16421 as_basename
=basename
16426 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16432 as_me
=`$as_basename -- "$0" ||
16433 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16434 X"$0" : 'X\(//\)$' \| \
16435 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16437 sed '/^.*\/\([^/][^/]*\)\/*$/{
16451 # Avoid depending upon Character Ranges.
16452 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16453 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16454 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16455 as_cr_digits
='0123456789'
16456 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16458 ECHO_C
= ECHO_N
= ECHO_T
=
16459 case `echo -n x` in #(((((
16461 case `echo 'xy\c'` in
16462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16471 rm -f conf$$ conf$$.exe conf$$.
file
16472 if test -d conf$$.dir
; then
16473 rm -f conf$$.dir
/conf$$.
file
16476 mkdir conf$$.dir
2>/dev
/null
16478 if (echo >conf$$.
file) 2>/dev
/null
; then
16479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16481 # ... but there are two gotchas:
16482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16484 # In both cases, we have to default to `cp -pR'.
16485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16496 rmdir conf$$.dir
2>/dev
/null
16501 # Create "$as_dir" as a directory, including parents if necessary.
16506 -*) as_dir
=.
/$as_dir;;
16508 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16512 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16513 *) as_qdir
=$as_dir;;
16515 as_dirs
="'$as_qdir' $as_dirs"
16516 as_dir
=`$as_dirname -- "$as_dir" ||
16517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16518 X"$as_dir" : 'X\(//\)[^/]' \| \
16519 X"$as_dir" : 'X\(//\)$' \| \
16520 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16521 $as_echo X"$as_dir" |
16522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16526 /^X\(\/\/\)[^/].*/{
16539 test -d "$as_dir" && break
16541 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16542 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16546 if mkdir
-p .
2>/dev
/null
; then
16547 as_mkdir_p
='mkdir -p "$as_dir"'
16549 test -d .
/-p && rmdir .
/-p
16554 # as_fn_executable_p FILE
16555 # -----------------------
16556 # Test if FILE is an executable regular file.
16557 as_fn_executable_p
()
16559 test -f "$1" && test -x "$1"
16560 } # as_fn_executable_p
16561 as_test_x
='test -x'
16562 as_executable_p
=as_fn_executable_p
16564 # Sed expression to map a string onto a valid CPP name.
16565 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16567 # Sed expression to map a string onto a valid variable name.
16568 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16572 ## ----------------------------------- ##
16573 ## Main body of $CONFIG_STATUS script. ##
16574 ## ----------------------------------- ##
16576 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16579 # Save the log message, to keep $0 and so on meaningful, and to
16580 # report actual input values of CONFIG_FILES etc. instead of their
16581 # values after options handling.
16583 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16584 generated by GNU Autoconf 2.69. Invocation command line was
16586 CONFIG_FILES = $CONFIG_FILES
16587 CONFIG_HEADERS = $CONFIG_HEADERS
16588 CONFIG_LINKS = $CONFIG_LINKS
16589 CONFIG_COMMANDS = $CONFIG_COMMANDS
16592 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16597 case $ac_config_files in *"
16598 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16604 # Files that config.status was made for.
16605 config_files="$ac_config_files"
16606 config_commands="$ac_config_commands"
16610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16612 \`$as_me' instantiates files and other configuration actions
16613 from templates according to the current configuration. Unless the files
16614 and actions are specified as TAGs, all are instantiated by default.
16616 Usage: $0 [OPTION]... [TAG]...
16618 -h, --help print this help, then exit
16619 -V, --version print version number and configuration settings, then exit
16620 --config print configuration, then exit
16621 -q, --quiet, --silent
16622 do not print progress messages
16623 -d, --debug don't remove temporary files
16624 --recheck update $as_me by reconfiguring in the same conditions
16625 --file=FILE[:TEMPLATE]
16626 instantiate the configuration file FILE
16628 Configuration files:
16631 Configuration commands:
16634 Report bugs to the package provider.
16635 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16636 General help using GNU software: <http://www.gnu.org/gethelp/>."
16639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16640 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16642 GNU Vtable Verification Runtime Library config.status 1.0
16643 configured by $0, generated by GNU Autoconf 2.69,
16644 with options \\"\$ac_cs_config\\"
16646 Copyright (C) 2012 Free Software Foundation, Inc.
16647 This config.status script is free software; the Free Software Foundation
16648 gives unlimited permission to copy, distribute and modify it."
16655 test -n "\$AWK" || AWK=awk
16658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16659 # The default lists apply if the user does not specify any file.
16665 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16666 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16670 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16682 # Handling of the options.
16683 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16685 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16686 $as_echo "$ac_cs_version"; exit ;;
16687 --config |
--confi |
--conf |
--con |
--co |
--c )
16688 $as_echo "$ac_cs_config"; exit ;;
16689 --debug |
--debu |
--deb |
--de |
--d |
-d )
16691 --file |
--fil |
--fi |
--f )
16694 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16695 '') as_fn_error $?
"missing file argument" ;;
16697 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16698 ac_need_defaults
=false
;;
16699 --he |
--h |
--help |
--hel |
-h )
16700 $as_echo "$ac_cs_usage"; exit ;;
16701 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16702 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16705 # This is an error.
16706 -*) as_fn_error $?
"unrecognized option: \`$1'
16707 Try \`$0 --help' for more information." ;;
16709 *) as_fn_append ac_config_targets
" $1"
16710 ac_need_defaults
=false
;;
16716 ac_configure_extra_args
=
16718 if $ac_cs_silent; then
16720 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16725 if \$ac_cs_recheck; then
16726 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16728 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16729 CONFIG_SHELL='$SHELL'
16730 export CONFIG_SHELL
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16739 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16740 ## Running $as_me. ##
16746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16754 with_multisubdir="$with_multisubdir"
16755 with_multisrctop="$with_multisrctop"
16756 with_target_subdir="$with_target_subdir"
16757 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16758 multi_basedir="$multi_basedir"
16759 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16762 GFORTRAN="$GFORTRAN"
16764 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16767 # The HP-UX ksh and POSIX shell print the target directory to stdout
16768 # if CDPATH is set.
16769 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16771 sed_quote_subst='$sed_quote_subst'
16772 double_quote_subst='$double_quote_subst'
16773 delay_variable_subst='$delay_variable_subst'
16774 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16775 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16776 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16777 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16778 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16779 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16780 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16781 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16782 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16783 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16784 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16785 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16786 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16787 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16788 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16789 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16790 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16791 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16792 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16793 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16794 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16795 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16796 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16797 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16798 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16799 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16800 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16801 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16802 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16803 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16804 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16805 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16806 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16807 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16808 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16809 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16810 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16811 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16812 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16813 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16814 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16815 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16816 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16817 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16818 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16819 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16820 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16821 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16822 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"`'
16823 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16824 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16825 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16826 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16827 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16828 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16829 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16830 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16831 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16832 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16833 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16834 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16835 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16836 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16837 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16838 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16839 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16840 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16841 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16842 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16843 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16844 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16845 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16846 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16847 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16848 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16849 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16850 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16851 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16852 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16853 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16854 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16855 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16856 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16857 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16858 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16859 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16860 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16861 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16862 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16863 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16864 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16865 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16866 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16867 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16868 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16869 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16870 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16871 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16872 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16873 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16874 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16875 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16876 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16877 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16878 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16879 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16880 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16881 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16882 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16883 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16884 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16885 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16886 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16887 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16888 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16889 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16890 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16891 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16892 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16893 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16894 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16895 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16896 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16897 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16898 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16899 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16900 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16901 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16902 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16903 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16904 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16905 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16906 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16907 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16908 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16909 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16910 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16911 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16912 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16913 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16914 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16915 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16916 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16917 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16918 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16919 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16920 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16921 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16922 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16923 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16924 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16925 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16926 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16927 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16928 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16929 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16930 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16931 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16932 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16933 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16934 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16935 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16936 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16937 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16938 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16939 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16940 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16941 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16942 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16943 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16944 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16945 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16946 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16947 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16948 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16951 LTCFLAGS='$LTCFLAGS'
16952 compiler='$compiler_DEFAULT'
16954 # A function that is used when there is no print builtin or printf.
16955 func_fallback_echo ()
16957 eval 'cat <<_LTECHO_EOF
16962 # Quote evaled strings.
16976 deplibs_check_method \
16985 lt_cv_sys_global_symbol_pipe \
16986 lt_cv_sys_global_symbol_to_cdecl \
16987 lt_cv_sys_global_symbol_to_c_name_address \
16988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16989 lt_prog_compiler_no_builtin_flag \
16990 lt_prog_compiler_wl \
16991 lt_prog_compiler_pic \
16992 lt_prog_compiler_static \
16993 lt_cv_prog_compiler_c_o \
17001 export_dynamic_flag_spec \
17002 whole_archive_flag_spec \
17003 compiler_needs_object \
17005 allow_undefined_flag \
17006 no_undefined_flag \
17007 hardcode_libdir_flag_spec \
17008 hardcode_libdir_flag_spec_ld \
17009 hardcode_libdir_separator \
17014 variables_saved_for_relink \
17016 library_names_spec \
17018 install_override_mode \
17022 compiler_lib_search_dirs \
17027 compiler_lib_search_path \
17031 lt_prog_compiler_no_builtin_flag_CXX \
17032 lt_prog_compiler_wl_CXX \
17033 lt_prog_compiler_pic_CXX \
17034 lt_prog_compiler_static_CXX \
17035 lt_cv_prog_compiler_c_o_CXX \
17036 export_dynamic_flag_spec_CXX \
17037 whole_archive_flag_spec_CXX \
17038 compiler_needs_object_CXX \
17040 allow_undefined_flag_CXX \
17041 no_undefined_flag_CXX \
17042 hardcode_libdir_flag_spec_CXX \
17043 hardcode_libdir_flag_spec_ld_CXX \
17044 hardcode_libdir_separator_CXX \
17045 fix_srcfile_path_CXX \
17046 exclude_expsyms_CXX \
17047 include_expsyms_CXX \
17048 file_list_spec_CXX \
17049 compiler_lib_search_dirs_CXX \
17050 predep_objects_CXX \
17051 postdep_objects_CXX \
17054 compiler_lib_search_path_CXX; do
17055 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17056 *[\\\\\\\`\\"\\\$]*)
17057 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17060 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17065 # Double-quote double-evaled strings.
17066 for var in reload_cmds \
17067 old_postinstall_cmds \
17068 old_postuninstall_cmds \
17070 extract_expsyms_cmds \
17071 old_archive_from_new_cmds \
17072 old_archive_from_expsyms_cmds \
17074 archive_expsym_cmds \
17076 module_expsym_cmds \
17077 export_symbols_cmds \
17080 postuninstall_cmds \
17082 sys_lib_search_path_spec \
17083 sys_lib_dlsearch_path_spec \
17085 old_archive_cmds_CXX \
17086 old_archive_from_new_cmds_CXX \
17087 old_archive_from_expsyms_cmds_CXX \
17089 archive_expsym_cmds_CXX \
17091 module_expsym_cmds_CXX \
17092 export_symbols_cmds_CXX \
17093 prelink_cmds_CXX; do
17094 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17095 *[\\\\\\\`\\"\\\$]*)
17096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17104 ac_aux_dir='$ac_aux_dir'
17105 xsi_shell='$xsi_shell'
17106 lt_shell_append='$lt_shell_append'
17108 # See if we are running on zsh, and set the options which allow our
17109 # commands through without removal of \ escapes INIT.
17110 if test -n "\${ZSH_VERSION+set}" ; then
17111 setopt NO_GLOB_SUBST
17117 TIMESTAMP='$TIMESTAMP'
17128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17130 # Handling of arguments.
17131 for ac_config_target
in $ac_config_targets
17133 case $ac_config_target in
17134 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17135 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17136 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17137 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17138 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17140 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17145 # If the user did not use the arguments to specify the items to instantiate,
17146 # then the envvar interface is used. Set only those that are not.
17147 # We use the long form for the default assignment because of an extremely
17148 # bizarre bug on SunOS 4.1.3.
17149 if $ac_need_defaults; then
17150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17154 # Have a temporary directory for convenience. Make it in the build tree
17155 # simply because there is no reason against having it here, and in addition,
17156 # creating and moving files from /tmp can sometimes cause problems.
17157 # Hook for its removal unless debugging.
17158 # Note that there is a small window in which the directory will not be cleaned:
17159 # after its creation but before its name has been assigned to `$tmp'.
17163 trap 'exit_status=$?
17164 : "${ac_tmp:=$tmp}"
17165 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17167 trap 'as_fn_exit 1' 1 2 13 15
17169 # Create a (secure) tmp directory for tmp files.
17172 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17176 tmp
=.
/conf$$
-$RANDOM
17177 (umask 077 && mkdir
"$tmp")
17178 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17181 # Set up the scripts for CONFIG_FILES section.
17182 # No need to generate them if there are no CONFIG_FILES.
17183 # This happens for instance with `./config.status config.h'.
17184 if test -n "$CONFIG_FILES"; then
17187 ac_cr
=`echo X | tr X '\015'`
17188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17189 # But we know of no other shell where ac_cr would be empty at this
17190 # point, so we can use a bashism as a fallback.
17191 if test "x$ac_cr" = x
; then
17192 eval ac_cr
=\$
\'\\r
\'
17194 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17198 ac_cs_awk_cr
=$ac_cr
17201 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17206 echo "cat >conf$$subs.awk <<_ACEOF" &&
17207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17209 } >conf$$subs.sh ||
17210 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17213 for ac_last_try in false false false false false :; do
17214 . ./conf$$subs.sh ||
17215 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17217 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17218 if test $ac_delim_n = $ac_delim_num; then
17220 elif $ac_last_try; then
17221 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17223 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17226 rm -f conf$$subs.sh
17228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17229 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17233 s/^/S["/; s
/!.
*/"]=/
17243 s/\(.\{148\}\)..*/\1/
17245 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17250 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17257 s/\(.\{148\}\)..*/\1/
17259 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17263 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17268 ' <conf$$subs.awk | sed '
17273 ' >>$CONFIG_STATUS || ac_write_fail=1
17274 rm -f conf$$subs.awk
17275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17277 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17278 for (key in S) S_is_set[key] = 1
17284 nfields = split(line, field, "@
")
17286 len = length(field[1])
17287 for (i = 2; i < nfields; i++) {
17289 keylen = length(key)
17290 if (S_is_set[key]) {
17292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17293 len += length(value) + length(field[++i])
17304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17305 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17306 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17309 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17310 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17313 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17314 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17315 # trailing colons and then remove the whole line if VPATH becomes empty
17316 # (actually we leave an empty line to preserve line numbers).
17317 if test "x
$srcdir" = x.; then
17318 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17337 fi # test -n "$CONFIG_FILES"
17340 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17345 :[FHLC]) ac_mode=$ac_tag; continue;;
17347 case $ac_mode$ac_tag in
17349 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17350 :[FH]-) ac_tag=-:-;;
17351 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17368 -) ac_f="$ac_tmp/stdin";;
17369 *) # Look for the file first in the build tree, then in the source tree
17370 # (if the path is not absolute). The absolute path cannot be DOS-style,
17371 # because $ac_f cannot contain `:'.
17375 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17377 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17379 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17380 as_fn_append ac_file_inputs " '$ac_f'"
17383 # Let's still pretend it is `configure' which instantiates (i.e., don't
17384 # use $as_me), people would be surprised to read:
17385 # /* config.h. Generated by config.status. */
17386 configure_input='Generated from '`
17387 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17389 if test x"$ac_file" != x-; then
17390 configure_input="$ac_file.
$configure_input"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17392 $as_echo "$as_me: creating
$ac_file" >&6;}
17394 # Neutralize special characters interpreted by sed in replacement strings.
17395 case $configure_input in #(
17396 *\&* | *\|* | *\\* )
17397 ac_sed_conf_input=`$as_echo "$configure_input" |
17398 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17399 *) ac_sed_conf_input=$configure_input;;
17403 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17404 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17409 ac_dir=`$as_dirname -- "$ac_file" ||
17410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17411 X"$ac_file" : 'X\(//\)[^/]' \| \
17412 X"$ac_file" : 'X\(//\)$' \| \
17413 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17414 $as_echo X"$ac_file" |
17415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17419 /^X\(\/\/\)[^/].*/{
17432 as_dir="$ac_dir"; as_fn_mkdir_p
17436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17439 # A "..
" for each directory in $ac_dir_suffix.
17440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17441 case $ac_top_builddir_sub in
17442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17446 ac_abs_top_builddir=$ac_pwd
17447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17448 # for backward compatibility:
17449 ac_top_builddir=$ac_top_build_prefix
17452 .) # We are building in place.
17454 ac_top_srcdir=$ac_top_builddir_sub
17455 ac_abs_top_srcdir=$ac_pwd ;;
17456 [\\/]* | ?:[\\/]* ) # Absolute name.
17457 ac_srcdir=$srcdir$ac_dir_suffix;
17458 ac_top_srcdir=$srcdir
17459 ac_abs_top_srcdir=$srcdir ;;
17460 *) # Relative name.
17461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17462 ac_top_srcdir=$ac_top_build_prefix$srcdir
17463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17475 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17476 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17478 ac_MKDIR_P=$MKDIR_P
17480 [\\/$]* | ?:[\\/]* ) ;;
17481 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17486 # If the template does not know about datarootdir, expand it.
17487 # FIXME: This hack should be removed a few years after 2.60.
17488 ac_datarootdir_hack=; ac_datarootdir_seen=
17499 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17500 *datarootdir*) ac_datarootdir_seen=yes;;
17501 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17503 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17506 ac_datarootdir_hack='
17507 s&@datadir@&$datadir&g
17508 s&@docdir@&$docdir&g
17509 s&@infodir@&$infodir&g
17510 s&@localedir@&$localedir&g
17511 s&@mandir@&$mandir&g
17512 s&\\\${datarootdir}&$datarootdir&g' ;;
17516 # Neutralize VPATH when `$srcdir' = `.'.
17517 # Shell code in configure.ac might set extrasub.
17518 # FIXME: do we really want to maintain this feature?
17519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17520 ac_sed_extra="$ac_vpsub
17523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17525 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17526 s|@configure_input@|
$ac_sed_conf_input|
;t t
17527 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17528 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17529 s
&@srcdir@
&$ac_srcdir&;t t
17530 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17531 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17532 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17533 s
&@builddir@
&$ac_builddir&;t t
17534 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17535 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17536 s
&@INSTALL@
&$ac_INSTALL&;t t
17537 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17538 $ac_datarootdir_hack
17540 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17541 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17544 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17546 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17548 which seems to be undefined. Please make sure it is defined" >&5
17549 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17550 which seems to be undefined. Please make sure it is defined" >&2;}
17552 rm -f "$ac_tmp/stdin"
17554 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17555 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17561 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17562 $as_echo "$as_me: executing $ac_file commands" >&6;}
17567 case $ac_file$ac_mode in
17569 # Only add multilib support code if we just rebuilt the top-level
17571 case " $CONFIG_FILES " in
17573 ac_file=Makefile . ${multi_basedir}/config-ml.in
17576 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17577 # Older Autoconf quotes --file arguments for eval, but not when files
17578 # are listed without --file. Let's play safe and only
enable the
eval
17579 # if we detect the quoting.
17580 case $CONFIG_FILES in
17581 *\'*) eval set x
"$CONFIG_FILES" ;;
17582 *) set x
$CONFIG_FILES ;;
17587 # Strip MF so we end up with the name of the file.
17588 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17589 # Check whether this is an Automake generated Makefile or not.
17590 # We used to match only the files named 'Makefile.in', but
17591 # some people rename them; so instead we look at the file content.
17592 # Grep'ing the first line is not enough: some people post-process
17593 # each Makefile.in and add a new line on top of each file to say so.
17594 # Grep'ing the whole file is not good either: AIX grep has a line
17595 # limit of 2048, but all sed's we know have understand at least 4000.
17596 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17597 dirpart
=`$as_dirname -- "$mf" ||
17598 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17599 X"$mf" : 'X\(//\)[^/]' \| \
17600 X"$mf" : 'X\(//\)$' \| \
17601 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17607 /^X\(\/\/\)[^/].*/{
17623 # Extract the definition of DEPDIR, am__include, and am__quote
17624 # from the Makefile without running 'make'.
17625 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17626 test -z "$DEPDIR" && continue
17627 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17628 test -z "$am__include" && continue
17629 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17630 # Find all dependency output files, they are included files with
17631 # $(DEPDIR) in their names. We invoke sed twice because it is the
17632 # simplest approach to changing $(DEPDIR) to its actual value in the
17634 for file in `sed -n "
17635 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17636 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17637 # Make sure the directory exists.
17638 test -f "$dirpart/$file" && continue
17639 fdir
=`$as_dirname -- "$file" ||
17640 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17641 X"$file" : 'X\(//\)[^/]' \| \
17642 X"$file" : 'X\(//\)$' \| \
17643 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17644 $as_echo X"$file" |
17645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17649 /^X\(\/\/\)[^/].*/{
17662 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17663 # echo "creating $dirpart/$file"
17664 echo '# dummy' > "$dirpart/$file"
17671 # See if we are running on zsh, and set the options which allow our
17672 # commands through without removal of \ escapes.
17673 if test -n "${ZSH_VERSION+set}" ; then
17674 setopt NO_GLOB_SUBST
17677 cfgfile
="${ofile}T"
17678 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17681 cat <<_LT_EOF >> "$cfgfile"
17684 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17685 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17686 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17687 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17689 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17690 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17691 # Written by Gordon Matzigkeit, 1996
17693 # This file is part of GNU Libtool.
17695 # GNU Libtool is free software; you can redistribute it and/or
17696 # modify it under the terms of the GNU General Public License as
17697 # published by the Free Software Foundation; either version 2 of
17698 # the License, or (at your option) any later version.
17700 # As a special exception to the GNU General Public License,
17701 # if you distribute this file as part of a program or library that
17702 # is built using GNU Libtool, you may include this file under the
17703 # same distribution terms that you use for the rest of that program.
17705 # GNU Libtool is distributed in the hope that it will be useful,
17706 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17707 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17708 # GNU General Public License for more details.
17710 # You should have received a copy of the GNU General Public License
17711 # along with GNU Libtool; see the file COPYING. If not, a copy
17712 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17713 # obtained by writing to the Free Software Foundation, Inc.,
17714 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17717 # The names of the tagged configurations supported by this script.
17718 available_tags="CXX "
17720 # ### BEGIN LIBTOOL CONFIG
17722 # Which release of libtool.m4 was used?
17723 macro_version=$macro_version
17724 macro_revision=$macro_revision
17726 # Whether or not to build shared libraries.
17727 build_libtool_libs=$enable_shared
17729 # Whether or not to build static libraries.
17730 build_old_libs=$enable_static
17732 # What type of objects to build.
17735 # Whether or not to optimize for fast installation.
17736 fast_install=$enable_fast_install
17738 # Shell to use when invoking shell scripts.
17741 # An echo program that protects backslashes.
17745 host_alias=$host_alias
17749 # The build system.
17750 build_alias=$build_alias
17754 # A sed program that does not truncate output.
17757 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17758 Xsed="\$SED -e 1s/^X//"
17760 # A grep program that handles long lines.
17766 # A literal string matcher.
17769 # A BSD- or MS-compatible name lister.
17772 # Whether we need soft or hard links.
17775 # What is the maximum length of a command?
17776 max_cmd_len=$max_cmd_len
17778 # Object file suffix (normally "o").
17781 # Executable file suffix (normally "").
17784 # whether the shell understands "unset".
17787 # turn spaces into newlines.
17790 # turn newlines into spaces.
17793 # An object symbol dumper.
17794 OBJDUMP=$lt_OBJDUMP
17796 # Method to check whether dependent libraries are shared objects.
17797 deplibs_check_method=$lt_deplibs_check_method
17799 # Command to use when deplibs_check_method == "file_magic".
17800 file_magic_cmd=$lt_file_magic_cmd
17804 AR_FLAGS=$lt_AR_FLAGS
17806 # A symbol stripping program.
17809 # Commands used to install an old-style archive.
17811 old_postinstall_cmds=$lt_old_postinstall_cmds
17812 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17814 # Whether to use a lock for old archive extraction.
17815 lock_old_archive_extraction=$lock_old_archive_extraction
17820 # LTCC compiler flags.
17821 LTCFLAGS=$lt_CFLAGS
17823 # Take the output of nm and produce a listing of raw symbols and C names.
17824 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17826 # Transform the output of nm in a proper C declaration.
17827 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17829 # Transform the output of nm in a C name address pair.
17830 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17832 # Transform the output of nm in a C name address pair when lib prefix is needed.
17833 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17835 # The name of the directory that contains temporary libtool files.
17838 # Used to examine libraries when file_magic_cmd begins with "file".
17839 MAGIC_CMD=$MAGIC_CMD
17841 # Must we lock files when doing compilation?
17842 need_locks=$lt_need_locks
17844 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17845 DSYMUTIL=$lt_DSYMUTIL
17847 # Tool to change global to local symbols on Mac OS X.
17850 # Tool to manipulate fat objects and archives on Mac OS X.
17853 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17856 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17857 OTOOL64=$lt_OTOOL64
17859 # Old archive suffix (normally "a").
17862 # Shared library suffix (normally ".so").
17863 shrext_cmds=$lt_shrext_cmds
17865 # The commands to extract the exported symbol list from a shared archive.
17866 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17868 # Variables whose values should be saved in libtool wrapper scripts and
17869 # restored at link time.
17870 variables_saved_for_relink=$lt_variables_saved_for_relink
17872 # Do we need the "lib" prefix for modules?
17873 need_lib_prefix=$need_lib_prefix
17875 # Do we need a version for libraries?
17876 need_version=$need_version
17878 # Library versioning type.
17879 version_type=$version_type
17881 # Shared library runtime path variable.
17882 runpath_var=$runpath_var
17884 # Shared library path variable.
17885 shlibpath_var=$shlibpath_var
17887 # Is shlibpath searched before the hard-coded library search path?
17888 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17890 # Format of library name prefix.
17891 libname_spec=$lt_libname_spec
17893 # List of archive names. First name is the real one, the rest are links.
17894 # The last name is the one that the linker finds with -lNAME
17895 library_names_spec=$lt_library_names_spec
17897 # The coded name of the library, if different from the real name.
17898 soname_spec=$lt_soname_spec
17900 # Permission mode override for installation of shared libraries.
17901 install_override_mode=$lt_install_override_mode
17903 # Command to use after installation of a shared archive.
17904 postinstall_cmds=$lt_postinstall_cmds
17906 # Command to use after uninstallation of a shared archive.
17907 postuninstall_cmds=$lt_postuninstall_cmds
17909 # Commands used to finish a libtool library installation in a directory.
17910 finish_cmds=$lt_finish_cmds
17912 # As "finish_cmds", except a single script fragment to be evaled but
17914 finish_eval=$lt_finish_eval
17916 # Whether we should hardcode library paths into libraries.
17917 hardcode_into_libs=$hardcode_into_libs
17919 # Compile-time system search path for libraries.
17920 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17922 # Run-time system search path for libraries.
17923 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17925 # Whether dlopen is supported.
17926 dlopen_support=$enable_dlopen
17928 # Whether dlopen of programs is supported.
17929 dlopen_self=$enable_dlopen_self
17931 # Whether dlopen of statically linked programs is supported.
17932 dlopen_self_static=$enable_dlopen_self_static
17934 # Commands to strip libraries.
17935 old_striplib=$lt_old_striplib
17936 striplib=$lt_striplib
17939 # The linker used to build libraries.
17942 # How to create reloadable object files.
17943 reload_flag=$lt_reload_flag
17944 reload_cmds=$lt_reload_cmds
17946 # Commands used to build an old-style archive.
17947 old_archive_cmds=$lt_old_archive_cmds
17949 # A language specific compiler.
17952 # Is the compiler the GNU compiler?
17955 # Compiler flag to turn off builtin functions.
17956 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17958 # How to pass a linker flag through the compiler.
17959 wl=$lt_lt_prog_compiler_wl
17961 # Additional compiler flags for building library objects.
17962 pic_flag=$lt_lt_prog_compiler_pic
17964 # Compiler flag to prevent dynamic linking.
17965 link_static_flag=$lt_lt_prog_compiler_static
17967 # Does compiler simultaneously support -c and -o options?
17968 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17970 # Whether or not to add -lc for building shared libraries.
17971 build_libtool_need_lc=$archive_cmds_need_lc
17973 # Whether or not to disallow shared libs when runtime libs are static.
17974 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17976 # Compiler flag to allow reflexive dlopens.
17977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17979 # Compiler flag to generate shared objects directly from archives.
17980 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17982 # Whether the compiler copes with passing no objects directly.
17983 compiler_needs_object=$lt_compiler_needs_object
17985 # Create an old-style archive from a shared archive.
17986 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17988 # Create a temporary old-style archive to link instead of a shared archive.
17989 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17991 # Commands used to build a shared archive.
17992 archive_cmds=$lt_archive_cmds
17993 archive_expsym_cmds=$lt_archive_expsym_cmds
17995 # Commands used to build a loadable module if different from building
17996 # a shared archive.
17997 module_cmds=$lt_module_cmds
17998 module_expsym_cmds=$lt_module_expsym_cmds
18000 # Whether we are building with GNU ld or not.
18001 with_gnu_ld=$lt_with_gnu_ld
18003 # Flag that allows shared libraries with undefined symbols to be built.
18004 allow_undefined_flag=$lt_allow_undefined_flag
18006 # Flag that enforces no undefined symbols.
18007 no_undefined_flag=$lt_no_undefined_flag
18009 # Flag to hardcode \$libdir into a binary during linking.
18010 # This must work even if \$libdir does not exist
18011 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18013 # If ld is used when linking, flag to hardcode \$libdir into a binary
18014 # during linking. This must work even if \$libdir does not exist.
18015 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18017 # Whether we need a single "-rpath" flag with a separated argument.
18018 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18020 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18021 # DIR into the resulting binary.
18022 hardcode_direct=$hardcode_direct
18024 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18025 # DIR into the resulting binary and the resulting library dependency is
18026 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18027 # library is relocated.
18028 hardcode_direct_absolute=$hardcode_direct_absolute
18030 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18031 # into the resulting binary.
18032 hardcode_minus_L=$hardcode_minus_L
18034 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18035 # into the resulting binary.
18036 hardcode_shlibpath_var=$hardcode_shlibpath_var
18038 # Set to "yes" if building a shared library automatically hardcodes DIR
18039 # into the library and all subsequent libraries and executables linked
18041 hardcode_automatic=$hardcode_automatic
18043 # Set to yes if linker adds runtime paths of dependent libraries
18044 # to runtime path list.
18045 inherit_rpath=$inherit_rpath
18047 # Whether libtool must link a program against all its dependency libraries.
18048 link_all_deplibs=$link_all_deplibs
18050 # Fix the shell variable \$srcfile for the compiler.
18051 fix_srcfile_path=$lt_fix_srcfile_path
18053 # Set to "yes" if exported symbols are required.
18054 always_export_symbols=$always_export_symbols
18056 # The commands to list exported symbols.
18057 export_symbols_cmds=$lt_export_symbols_cmds
18059 # Symbols that should not be listed in the preloaded symbols.
18060 exclude_expsyms=$lt_exclude_expsyms
18062 # Symbols that must always be exported.
18063 include_expsyms=$lt_include_expsyms
18065 # Commands necessary for linking programs (against libraries) with templates.
18066 prelink_cmds=$lt_prelink_cmds
18068 # Specify filename containing input files.
18069 file_list_spec=$lt_file_list_spec
18071 # How to hardcode a shared library path into an executable.
18072 hardcode_action=$hardcode_action
18074 # The directories searched by this compiler when creating a shared library.
18075 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18077 # Dependencies to place before and after the objects being linked to
18078 # create a shared library.
18079 predep_objects=$lt_predep_objects
18080 postdep_objects=$lt_postdep_objects
18081 predeps=$lt_predeps
18082 postdeps=$lt_postdeps
18084 # The library search path used internally by the compiler when linking
18085 # a shared library.
18086 compiler_lib_search_path=$lt_compiler_lib_search_path
18088 # ### END LIBTOOL CONFIG
18094 cat <<\_LT_EOF
>> "$cfgfile"
18095 # AIX sometimes has problems with the GCC collect2 program. For some
18096 # reason, if we set the COLLECT_NAMES environment variable, the problems
18097 # vanish in a puff of smoke.
18098 if test "X${COLLECT_NAMES+set}" != Xset
; then
18100 export COLLECT_NAMES
18107 ltmain
="$ac_aux_dir/ltmain.sh"
18110 # We use sed instead of cat because bash on DJGPP gets confused if
18111 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18112 # text mode, it properly converts lines to CR/LF. This bash problem
18113 # is reportedly fixed, but why not run on old versions too?
18114 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18115 ||
(rm -f "$cfgfile"; exit 1)
18119 cat << \_LT_EOF
>> "$cfgfile"
18121 # func_dirname file append nondir_replacement
18122 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18123 # otherwise set result to NONDIR_REPLACEMENT.
18127 */*) func_dirname_result
="${1%/*}${2}" ;;
18128 * ) func_dirname_result
="${3}" ;;
18132 # func_basename file
18135 func_basename_result
="${1##*/}"
18138 # func_dirname_and_basename file append nondir_replacement
18139 # perform func_basename and func_dirname in a single function
18141 # dirname: Compute the dirname of FILE. If nonempty,
18142 # add APPEND to the result, otherwise set result
18143 # to NONDIR_REPLACEMENT.
18144 # value returned in "$func_dirname_result"
18145 # basename: Compute filename of FILE.
18146 # value retuned in "$func_basename_result"
18147 # Implementation must be kept synchronized with func_dirname
18148 # and func_basename. For efficiency, we do not delegate to
18149 # those functions but instead duplicate the functionality here.
18150 func_dirname_and_basename
()
18153 */*) func_dirname_result
="${1%/*}${2}" ;;
18154 * ) func_dirname_result
="${3}" ;;
18156 func_basename_result
="${1##*/}"
18159 # func_stripname prefix suffix name
18160 # strip PREFIX and SUFFIX off of NAME.
18161 # PREFIX and SUFFIX must not contain globbing or regex special
18162 # characters, hashes, percent signs, but SUFFIX may contain a leading
18163 # dot (in which case that matches only a dot).
18166 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18167 # positional parameters, so assign one to ordinary parameter first.
18168 func_stripname_result
=${3}
18169 func_stripname_result
=${func_stripname_result#"${1}"}
18170 func_stripname_result
=${func_stripname_result%"${2}"}
18176 func_opt_split_opt
=${1%%=*}
18177 func_opt_split_arg
=${1#*=}
18184 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18185 *) func_lo2o_result
=${1} ;;
18189 # func_xform libobj-or-source
18192 func_xform_result
=${1%.*}.lo
18195 # func_arith arithmetic-term...
18198 func_arith_result
=$
(( $
* ))
18202 # STRING may not start with a hyphen.
18205 func_len_result
=${#1}
18210 *) # Bourne compatible functions.
18211 cat << \_LT_EOF
>> "$cfgfile"
18213 # func_dirname file append nondir_replacement
18214 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18215 # otherwise set result to NONDIR_REPLACEMENT.
18218 # Extract subdirectory from the argument.
18219 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18220 if test "X$func_dirname_result" = "X${1}"; then
18221 func_dirname_result
="${3}"
18223 func_dirname_result
="$func_dirname_result${2}"
18227 # func_basename file
18230 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18234 # func_stripname prefix suffix name
18235 # strip PREFIX and SUFFIX off of NAME.
18236 # PREFIX and SUFFIX must not contain globbing or regex special
18237 # characters, hashes, percent signs, but SUFFIX may contain a leading
18238 # dot (in which case that matches only a dot).
18239 # func_strip_suffix prefix name
18243 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18244 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18249 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18250 my_sed_long_arg
='1s/^-[^=]*=//'
18255 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18256 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18262 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18265 # func_xform libobj-or-source
18268 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18271 # func_arith arithmetic-term...
18274 func_arith_result
=`expr "$@"`
18278 # STRING may not start with a hyphen.
18281 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18287 case $lt_shell_append in
18289 cat << \_LT_EOF
>> "$cfgfile"
18291 # func_append var value
18292 # Append VALUE to the end of shell variable VAR.
18300 cat << \_LT_EOF
>> "$cfgfile"
18302 # func_append var value
18303 # Append VALUE to the end of shell variable VAR.
18314 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18315 ||
(rm -f "$cfgfile"; exit 1)
18317 mv -f "$cfgfile" "$ofile" ||
18318 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18322 cat <<_LT_EOF >> "$ofile"
18324 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18326 # The linker used to build libraries.
18329 # How to create reloadable object files.
18330 reload_flag=$lt_reload_flag_CXX
18331 reload_cmds=$lt_reload_cmds_CXX
18333 # Commands used to build an old-style archive.
18334 old_archive_cmds=$lt_old_archive_cmds_CXX
18336 # A language specific compiler.
18337 CC=$lt_compiler_CXX
18339 # Is the compiler the GNU compiler?
18342 # Compiler flag to turn off builtin functions.
18343 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18345 # How to pass a linker flag through the compiler.
18346 wl=$lt_lt_prog_compiler_wl_CXX
18348 # Additional compiler flags for building library objects.
18349 pic_flag=$lt_lt_prog_compiler_pic_CXX
18351 # Compiler flag to prevent dynamic linking.
18352 link_static_flag=$lt_lt_prog_compiler_static_CXX
18354 # Does compiler simultaneously support -c and -o options?
18355 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18357 # Whether or not to add -lc for building shared libraries.
18358 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18360 # Whether or not to disallow shared libs when runtime libs are static.
18361 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18363 # Compiler flag to allow reflexive dlopens.
18364 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18366 # Compiler flag to generate shared objects directly from archives.
18367 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18369 # Whether the compiler copes with passing no objects directly.
18370 compiler_needs_object=$lt_compiler_needs_object_CXX
18372 # Create an old-style archive from a shared archive.
18373 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18375 # Create a temporary old-style archive to link instead of a shared archive.
18376 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18378 # Commands used to build a shared archive.
18379 archive_cmds=$lt_archive_cmds_CXX
18380 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18382 # Commands used to build a loadable module if different from building
18383 # a shared archive.
18384 module_cmds=$lt_module_cmds_CXX
18385 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18387 # Whether we are building with GNU ld or not.
18388 with_gnu_ld=$lt_with_gnu_ld_CXX
18390 # Flag that allows shared libraries with undefined symbols to be built.
18391 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18393 # Flag that enforces no undefined symbols.
18394 no_undefined_flag=$lt_no_undefined_flag_CXX
18396 # Flag to hardcode \$libdir into a binary during linking.
18397 # This must work even if \$libdir does not exist
18398 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18400 # If ld is used when linking, flag to hardcode \$libdir into a binary
18401 # during linking. This must work even if \$libdir does not exist.
18402 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18404 # Whether we need a single "-rpath" flag with a separated argument.
18405 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18408 # DIR into the resulting binary.
18409 hardcode_direct=$hardcode_direct_CXX
18411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18412 # DIR into the resulting binary and the resulting library dependency is
18413 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18414 # library is relocated.
18415 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18417 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18418 # into the resulting binary.
18419 hardcode_minus_L=$hardcode_minus_L_CXX
18421 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18422 # into the resulting binary.
18423 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18425 # Set to "yes" if building a shared library automatically hardcodes DIR
18426 # into the library and all subsequent libraries and executables linked
18428 hardcode_automatic=$hardcode_automatic_CXX
18430 # Set to yes if linker adds runtime paths of dependent libraries
18431 # to runtime path list.
18432 inherit_rpath=$inherit_rpath_CXX
18434 # Whether libtool must link a program against all its dependency libraries.
18435 link_all_deplibs=$link_all_deplibs_CXX
18437 # Fix the shell variable \$srcfile for the compiler.
18438 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18440 # Set to "yes" if exported symbols are required.
18441 always_export_symbols=$always_export_symbols_CXX
18443 # The commands to list exported symbols.
18444 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18446 # Symbols that should not be listed in the preloaded symbols.
18447 exclude_expsyms=$lt_exclude_expsyms_CXX
18449 # Symbols that must always be exported.
18450 include_expsyms=$lt_include_expsyms_CXX
18452 # Commands necessary for linking programs (against libraries) with templates.
18453 prelink_cmds=$lt_prelink_cmds_CXX
18455 # Specify filename containing input files.
18456 file_list_spec=$lt_file_list_spec_CXX
18458 # How to hardcode a shared library path into an executable.
18459 hardcode_action=$hardcode_action_CXX
18461 # The directories searched by this compiler when creating a shared library.
18462 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18464 # Dependencies to place before and after the objects being linked to
18465 # create a shared library.
18466 predep_objects=$lt_predep_objects_CXX
18467 postdep_objects=$lt_postdep_objects_CXX
18468 predeps=$lt_predeps_CXX
18469 postdeps=$lt_postdeps_CXX
18471 # The library search path used internally by the compiler when linking
18472 # a shared library.
18473 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18475 # ### END LIBTOOL TAG CONFIG: CXX
18479 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18480 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18482 sed -f vpsed$$
$ac_file > tmp$$
18485 echo 'MULTISUBDIR =' >> $ac_file
18487 .
${multi_basedir}/config-ml.
in
18488 { ml_norecursion
=; unset ml_norecursion
;}
18497 ac_clean_files
=$ac_clean_files_save
18499 test $ac_write_fail = 0 ||
18500 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18503 # configure is writing to config.log, and then calls config.status.
18504 # config.status does its own redirection, appending to config.log.
18505 # Unfortunately, on DOS this fails, as config.log is still kept open
18506 # by configure, so config.status won't be able to write to it; its
18507 # output is simply discarded. So we exec the FD to /dev/null,
18508 # effectively closing config.log, so it can be properly (re)opened and
18509 # appended to by config.status. When coming back to configure, we
18510 # need to make the FD available again.
18511 if test "$no_create" != yes; then
18513 ac_config_status_args
=
18514 test "$silent" = yes &&
18515 ac_config_status_args
="$ac_config_status_args --quiet"
18517 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18519 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18520 # would make configure fail if this is the last instruction.
18521 $ac_cs_success || as_fn_exit
1
18523 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18525 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}