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
679 MAINTAINER_MODE_FALSE
703 INSTALL_STRIP_PROGRAM
718 ENABLE_VTABLE_VERIFY_FALSE
719 ENABLE_VTABLE_VERIFY_TRUE
730 LIBSTDCXX_RAW_CXX_LDFLAGS
731 LIBSTDCXX_RAW_CXX_CXXFLAGS
773 program_transform_name
786 enable_option_checking
788 enable_version_specific_runtime_libs
790 enable_dependency_tracking
792 enable_maintainer_mode
801 with_gcc_major_version_only
803 ac_precious_vars
='build_alias
815 # Initialize some variables set by options.
817 ac_init_version
=false
818 ac_unrecognized_opts
=
820 # The variables have the same names as the options, with
821 # dashes changed to underlines.
829 program_transform_name
=s
,x
,x
,
837 # Installation directory options.
838 # These are left unexpanded so users can "make install exec_prefix=/foo"
839 # and all the variables that are supposed to be based on exec_prefix
840 # by default will actually change.
841 # Use braces instead of parens because sh, perl, etc. also accept them.
842 # (The list follows the same order as the GNU Coding Standards.)
843 bindir
='${exec_prefix}/bin'
844 sbindir
='${exec_prefix}/sbin'
845 libexecdir
='${exec_prefix}/libexec'
846 datarootdir
='${prefix}/share'
847 datadir
='${datarootdir}'
848 sysconfdir
='${prefix}/etc'
849 sharedstatedir
='${prefix}/com'
850 localstatedir
='${prefix}/var'
851 includedir
='${prefix}/include'
852 oldincludedir
='/usr/include'
853 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
854 infodir
='${datarootdir}/info'
859 libdir
='${exec_prefix}/lib'
860 localedir
='${datarootdir}/locale'
861 mandir
='${datarootdir}/man'
867 # If the previous option needs an argument, assign it.
868 if test -n "$ac_prev"; then
869 eval $ac_prev=\
$ac_option
875 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
888 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
891 -build |
--build |
--buil |
--bui |
--bu)
892 ac_prev
=build_alias
;;
893 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
894 build_alias
=$ac_optarg ;;
896 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
897 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
898 ac_prev
=cache_file
;;
899 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
900 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
901 cache_file
=$ac_optarg ;;
904 cache_file
=config.cache
;;
906 -datadir |
--datadir |
--datadi |
--datad)
908 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
909 datadir
=$ac_optarg ;;
911 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
912 |
--dataroo |
--dataro |
--datar)
913 ac_prev
=datarootdir
;;
914 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
915 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
916 datarootdir
=$ac_optarg ;;
918 -disable-* |
--disable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error $?
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=no
;;
934 -docdir |
--docdir |
--docdi |
--doc |
--do)
936 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
939 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
941 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
944 -enable-* |
--enable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=\
$ac_optarg ;;
960 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
961 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
962 |
--exec |
--exe |
--ex)
963 ac_prev
=exec_prefix
;;
964 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
965 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
966 |
--exec=* |
--exe=* |
--ex=*)
967 exec_prefix
=$ac_optarg ;;
969 -gas |
--gas |
--ga |
--g)
970 # Obsolete; use --with-gas.
973 -help |
--help |
--hel |
--he |
-h)
975 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
976 ac_init_help
=recursive
;;
977 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
978 ac_init_help
=short
;;
980 -host |
--host |
--hos |
--ho)
981 ac_prev
=host_alias
;;
982 -host=* |
--host=* |
--hos=* |
--ho=*)
983 host_alias
=$ac_optarg ;;
985 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
987 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
989 htmldir
=$ac_optarg ;;
991 -includedir |
--includedir |
--includedi |
--included |
--include \
992 |
--includ |
--inclu |
--incl |
--inc)
993 ac_prev
=includedir
;;
994 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
995 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
996 includedir
=$ac_optarg ;;
998 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1000 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1001 infodir
=$ac_optarg ;;
1003 -libdir |
--libdir |
--libdi |
--libd)
1005 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1006 libdir
=$ac_optarg ;;
1008 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1009 |
--libexe |
--libex |
--libe)
1010 ac_prev
=libexecdir
;;
1011 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1012 |
--libexe=* |
--libex=* |
--libe=*)
1013 libexecdir
=$ac_optarg ;;
1015 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1016 ac_prev
=localedir
;;
1017 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1018 localedir
=$ac_optarg ;;
1020 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1021 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1022 ac_prev
=localstatedir
;;
1023 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1024 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1025 localstatedir
=$ac_optarg ;;
1027 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1029 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1030 mandir
=$ac_optarg ;;
1032 -nfp |
--nfp |
--nf)
1033 # Obsolete; use --without-fp.
1036 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1037 |
--no-cr |
--no-c |
-n)
1040 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1041 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1044 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1045 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1046 |
--oldin |
--oldi |
--old |
--ol |
--o)
1047 ac_prev
=oldincludedir
;;
1048 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1049 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1050 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1051 oldincludedir
=$ac_optarg ;;
1053 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1055 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1056 prefix
=$ac_optarg ;;
1058 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1059 |
--program-pre |
--program-pr |
--program-p)
1060 ac_prev
=program_prefix
;;
1061 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1062 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1063 program_prefix
=$ac_optarg ;;
1065 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1066 |
--program-suf |
--program-su |
--program-s)
1067 ac_prev
=program_suffix
;;
1068 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1069 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1070 program_suffix
=$ac_optarg ;;
1072 -program-transform-name |
--program-transform-name \
1073 |
--program-transform-nam |
--program-transform-na \
1074 |
--program-transform-n |
--program-transform- \
1075 |
--program-transform |
--program-transfor \
1076 |
--program-transfo |
--program-transf \
1077 |
--program-trans |
--program-tran \
1078 |
--progr-tra |
--program-tr |
--program-t)
1079 ac_prev
=program_transform_name
;;
1080 -program-transform-name=* |
--program-transform-name=* \
1081 |
--program-transform-nam=* |
--program-transform-na=* \
1082 |
--program-transform-n=* |
--program-transform-=* \
1083 |
--program-transform=* |
--program-transfor=* \
1084 |
--program-transfo=* |
--program-transf=* \
1085 |
--program-trans=* |
--program-tran=* \
1086 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1087 program_transform_name
=$ac_optarg ;;
1089 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1091 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1092 pdfdir
=$ac_optarg ;;
1094 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1096 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1100 |
-silent |
--silent |
--silen |
--sile |
--sil)
1103 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1105 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1107 sbindir
=$ac_optarg ;;
1109 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1110 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1111 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1113 ac_prev
=sharedstatedir
;;
1114 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1115 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1116 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1118 sharedstatedir
=$ac_optarg ;;
1120 -site |
--site |
--sit)
1122 -site=* |
--site=* |
--sit=*)
1125 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1127 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1128 srcdir
=$ac_optarg ;;
1130 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1131 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1132 ac_prev
=sysconfdir
;;
1133 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1134 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1135 sysconfdir
=$ac_optarg ;;
1137 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1138 ac_prev
=target_alias
;;
1139 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1140 target_alias
=$ac_optarg ;;
1142 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1145 -version |
--version |
--versio |
--versi |
--vers |
-V)
1146 ac_init_version
=: ;;
1149 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1152 as_fn_error $?
"invalid package name: $ac_useropt"
1153 ac_useropt_orig
=$ac_useropt
1154 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1159 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 ac_unrecognized_sep
=', ';;
1162 eval with_
$ac_useropt=\
$ac_optarg ;;
1164 -without-* |
--without-*)
1165 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error $?
"invalid package name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval with_
$ac_useropt=no
;;
1181 # Obsolete; use --with-x.
1184 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1185 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1186 ac_prev
=x_includes
;;
1187 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1188 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1189 x_includes
=$ac_optarg ;;
1191 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1192 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1193 ac_prev
=x_libraries
;;
1194 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1195 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1196 x_libraries
=$ac_optarg ;;
1198 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1199 Try \`$0 --help' for more information"
1203 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 case $ac_envvar in #(
1206 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1207 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1209 eval $ac_envvar=\
$ac_optarg
1210 export $ac_envvar ;;
1213 # FIXME: should be removed in autoconf 3.0.
1214 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223 if test -n "$ac_prev"; then
1224 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1225 as_fn_error $?
"missing argument to $ac_option"
1228 if test -n "$ac_unrecognized_opts"; then
1229 case $enable_option_checking in
1231 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1232 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236 # Check all directory arguments for consistency.
1237 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238 datadir sysconfdir sharedstatedir localstatedir includedir \
1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240 libdir localedir mandir
1242 eval ac_val
=\$
$ac_var
1243 # Remove trailing slashes.
1246 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247 eval $ac_var=\
$ac_val;;
1249 # Be sure to have absolute directory names.
1251 [\\/$
]* | ?
:[\\/]* ) continue;;
1252 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1254 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1257 # There might be people who depend on the old broken behavior: `$host'
1258 # used to hold the argument of --host etc.
1259 # FIXME: To remove some day.
1262 target
=$target_alias
1264 # FIXME: To remove some day.
1265 if test "x$host_alias" != x
; then
1266 if test "x$build_alias" = x
; then
1267 cross_compiling
=maybe
1268 elif test "x$build_alias" != "x$host_alias"; then
1274 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1276 test "$silent" = yes && exec 6>/dev
/null
1279 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1280 ac_ls_di
=`ls -di .` &&
1281 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error $?
"working directory cannot be determined"
1283 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_error $?
"pwd does not report name of working directory"
1287 # Find the source files, if location was not specified.
1288 if test -z "$srcdir"; then
1289 ac_srcdir_defaulted
=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir
=`$as_dirname -- "$as_myself" ||
1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1296 $as_echo X"$as_myself" |
1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1319 ac_srcdir_defaulted
=no
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1322 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1323 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1325 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1329 # When building in place, set srcdir=.
1330 if test "$ac_abs_confdir" = "$ac_pwd"; then
1333 # Remove unnecessary trailing slashes from srcdir.
1334 # Double slashes in file names in object file debugging info
1335 # mess up M-x gdb in Emacs.
1337 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1339 for ac_var
in $ac_precious_vars; do
1340 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1341 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1342 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1343 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1347 # Report the --help message.
1349 if test "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1353 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1355 Usage: $0 [OPTION]... [VAR=VALUE]...
1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358 VAR=VALUE. See below for descriptions of some of the useful variables.
1360 Defaults for the options are specified in brackets.
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking ...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1373 Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1379 By default, \`make install' will install all the files in
1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382 for instance \`--prefix=\$HOME'.
1384 For better control, use the options below.
1386 Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1416 --build=BUILD configure
for building on BUILD
[guessed
]
1417 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1418 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1429 --disable-option-checking ignore unrecognized
--enable/--with options
1430 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1431 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1432 --enable-multilib build many library versions
(default
)
1433 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1434 --enable-vtable-verify Enable vtable verification feature
1435 --enable-dependency-tracking
1436 do not reject slow dependency extractors
1437 --disable-dependency-tracking
1438 speeds up one-time build
1439 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1440 --disable-silent-rules verbose build output
(undo
: "make V=0")
1441 --enable-maintainer-mode
1442 enable make rules and dependencies not useful
(and
1443 sometimes confusing
) to the casual installer
1444 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1445 --enable-static[=PKGS
] build static libraries
[default
=yes]
1446 --enable-fast-install[=PKGS
]
1447 optimize
for fast installation
[default
=yes]
1448 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1449 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1452 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1453 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1454 --with-toolexeclibdir=DIR
1455 install libraries built with a cross compiler within
1457 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1459 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1460 --with-gcc-major-version-only
1461 use only GCC major number
in filesystem paths
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1469 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1470 you have headers
in a nonstandard directory
<include dir
>
1472 CXX C
++ compiler
command
1473 CXXFLAGS C
++ compiler flags
1474 CXXCPP C
++ preprocessor
1476 Use these variables to override the choices made by
`configure' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to the package provider.
1480 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1481 General help using GNU software: <http://www.gnu.org/gethelp/>.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1497 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505 ac_abs_top_builddir=$ac_pwd
1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir=$ac_top_build_prefix
1511 .) # We are building in place.
1513 ac_top_srcdir=$ac_top_builddir_sub
1514 ac_abs_top_srcdir=$ac_pwd ;;
1515 [\\/]* | ?:[\\/]* ) # Absolute name.
1516 ac_srcdir=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir=$srcdir
1518 ac_abs_top_srcdir=$srcdir ;;
1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1526 cd "$ac_dir" || { ac_status=$?; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 cd "$ac_pwd" || { ac_status=$?; break; }
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1544 GNU Vtable Verification Runtime Library configure 1.0
1545 generated by GNU Autoconf 2.69
1547 Copyright (C) 2012 Free Software Foundation, Inc.
1548 This configure script is free software; the Free Software Foundation
1549 gives unlimited permission to copy, distribute and modify it.
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile ()
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 rm -f conftest.$ac_objext
1565 if { { ac_try="$ac_compile"
1567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1568 *) ac_try_echo
=$ac_try;;
1570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err
; then
1575 grep -v '^ *+' conftest.err
>conftest.er1
1576 cat conftest.er1
>&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.
$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.
$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status
$ac_retval
1594 } # ac_fn_c_try_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1602 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } > conftest.i && {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1633 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1636 # the include files in INCLUDES and setting the cache variable VAR
1638 ac_fn_c_check_header_mongrel ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 if eval \${$3+:} false; then :
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 # Is the header compilable?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1653 $as_echo_n "checking $2 usability... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile "$LINENO"; then :
1660 ac_header_compiler=yes
1662 ac_header_compiler=no
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1666 $as_echo "$ac_header_compiler" >&6; }
1668 # Is the header present?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1670 $as_echo_n "checking $2 presence... " >&6; }
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1675 if ac_fn_c_try_cpp "$LINENO"; then :
1676 ac_header_preproc=yes
1678 ac_header_preproc=no
1680 rm -f conftest.err conftest.i conftest.$ac_ext
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1682 $as_echo "$ac_header_preproc" >&6; }
1684 # So? What about this header?
1685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1688 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1690 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1694 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1696 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1698 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1700 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1710 eval "$3=\$ac_header_compiler"
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 } # ac_fn_c_check_header_mongrel
1720 # ac_fn_c_try_run LINENO
1721 # ----------------------
1722 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1723 # that executables *can* be run.
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 if { { ac_try="$ac_link"
1729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_link") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1738 { { case "(($ac_try" in
1739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_try") 2>&5
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; }; }; then :
1750 $as_echo "$as_me: program exited with status $ac_status" >&5
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 ac_retval=$ac_status
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists and can be compiled using the include files in
1765 # INCLUDES, setting the cache variable VAR accordingly.
1766 ac_fn_c_check_header_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1779 if ac_fn_c_try_compile "$LINENO"; then :
1784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_header_compile
1793 # ac_fn_c_try_link LINENO
1794 # -----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 rm -f conftest.$ac_objext conftest$ac_exeext
1800 if { { ac_try="$ac_link"
1802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1803 *) ac_try_echo
=$ac_try;;
1805 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_link") 2>conftest.err
1809 if test -s conftest.err
; then
1810 grep -v '^ *+' conftest.err
>conftest.er1
1811 cat conftest.er1
>&5
1812 mv -f conftest.er1 conftest.err
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && {
1816 test -z "$ac_c_werror_flag" ||
1817 test ! -s conftest.err
1818 } && test -s conftest
$ac_exeext && {
1819 test "$cross_compiling" = yes ||
1820 test -x conftest
$ac_exeext
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1830 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1831 # interfere with the next link command; also delete a directory that is
1832 # left behind by Apple's compiler. We do this before executing the actions.
1833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1837 } # ac_fn_c_try_link
1839 # ac_fn_c_check_func LINENO FUNC VAR
1840 # ----------------------------------
1841 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1842 ac_fn_c_check_func
()
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval \
${$3+:} false
; then :
1848 $as_echo_n "(cached) " >&6
1850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1854 #define $2 innocuous_$2
1856 /* System header to define __stub macros and hopefully few prototypes,
1857 which can conflict with char $2 (); below.
1858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1859 <limits.h> exists even on freestanding compilers. */
1862 # include <limits.h>
1864 # include <assert.h>
1869 /* Override any GCC internal prototype to avoid an error.
1870 Use char because int might match the return type of a GCC
1871 builtin and then its argument prototype would still apply. */
1876 /* The GNU C library defines this for functions which it implements
1877 to always fail with ENOSYS. Some functions are actually named
1878 something starting with __ and the normal name is an alias. */
1879 #if defined __stub_$2 || defined __stub___$2
1891 if ac_fn_c_try_link
"$LINENO"; then :
1896 rm -f core conftest.err conftest.
$ac_objext \
1897 conftest
$ac_exeext conftest.
$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_check_func
1906 # ac_fn_cxx_try_compile LINENO
1907 # ----------------------------
1908 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1909 ac_fn_cxx_try_compile
()
1911 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1912 rm -f conftest.
$ac_objext
1913 if { { ac_try
="$ac_compile"
1915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1916 *) ac_try_echo=$ac_try;;
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_compile") 2>conftest.err
1922 if test -s conftest.err; then
1923 grep -v '^ *+' conftest.err >conftest.er1
1924 cat conftest.er1 >&5
1925 mv -f conftest.er1 conftest.err
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; } && {
1929 test -z "$ac_cxx_werror_flag" ||
1930 test ! -s conftest.err
1931 } && test -s conftest.$ac_objext; then :
1934 $as_echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.$ac_ext >&5
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1942 } # ac_fn_cxx_try_compile
1944 # ac_fn_cxx_try_cpp LINENO
1945 # ------------------------
1946 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1947 ac_fn_cxx_try_cpp ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_cpp conftest.$ac_ext"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1959 if test -s conftest.err
; then
1960 grep -v '^ *+' conftest.err
>conftest.er1
1961 cat conftest.er1
>&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } > conftest.i
&& {
1966 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1967 test ! -s conftest.err
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.
$ac_ext >&5
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status
$ac_retval
1979 } # ac_fn_cxx_try_cpp
1981 # ac_fn_cxx_try_link LINENO
1982 # -------------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
1984 ac_fn_cxx_try_link
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 rm -f conftest.
$ac_objext conftest
$ac_exeext
1988 if { { ac_try
="$ac_link"
1990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>conftest.err
1997 if test -s conftest.err; then
1998 grep -v '^ *+' conftest.err >conftest.er1
1999 cat conftest.er1 >&5
2000 mv -f conftest.er1 conftest.err
2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2003 test $ac_status = 0; } && {
2004 test -z "$ac_cxx_werror_flag" ||
2005 test ! -s conftest.err
2006 } && test -s conftest$ac_exeext && {
2007 test "$cross_compiling" = yes ||
2008 test -x conftest$ac_exeext
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2018 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2019 # interfere with the next link command; also delete a directory that is
2020 # left behind by Apple's compiler. We do this before executing the actions.
2021 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 as_fn_set_status $ac_retval
2025 } # ac_fn_cxx_try_link
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
2031 generated by GNU Autoconf 2.69. Invocation command line was
2043 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2044 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2045 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2046 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2047 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2049 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2050 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2052 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2053 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2054 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2055 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2056 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2057 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2058 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 $as_echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next=false
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2102 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2107 as_fn_append ac_configure_args1 " '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next=true ;;
2123 as_fn_append ac_configure_args " '$ac_arg'"
2128 { ac_configure_args0=; unset ac_configure_args0;}
2129 { ac_configure_args1=; unset ac_configure_args1;}
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2141 $as_echo "## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##"
2145 # The following way of writing the cache mishandles newlines in values,
2147 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2148 eval ac_val=\$$ac_var
2152 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2156 _ | IFS | as_nl) ;; #(
2157 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2158 *) { eval $ac_var=; unset $ac_var;} ;;
2163 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 $as_echo "## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##"
2181 for ac_var in $ac_subst_vars
2183 eval ac_val=\$$ac_var
2185 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 $as_echo "$ac_var='\''$ac_val'\''"
2191 if test -n "$ac_subst_files"; then
2192 $as_echo "## ------------------- ##
2193 ## File substitutions. ##
2194 ## ------------------- ##"
2196 for ac_var in $ac_subst_files
2198 eval ac_val=\$$ac_var
2200 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -s confdefs.h; then
2208 $as_echo "## ----------- ##
2215 test "$ac_signal" != 0 &&
2216 $as_echo "$as_me: caught signal $ac_signal"
2217 $as_echo "$as_me: exit $exit_status"
2219 rm -f core *.core core.conftest.* &&
2220 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223 for ac_signal in 1 2 13 15; do
2224 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2228 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2229 rm -f -r conftest* confdefs.h
2231 $as_echo "/* confdefs.h */" > confdefs.h
2233 # Predefined preprocessor variables.
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_STRING "$PACKAGE_STRING"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_URL "$PACKAGE_URL"
2260 # Let the site file select an alternate cache file if it wants to.
2261 # Prefer an explicitly selected file to automatically selected ones.
2264 if test -n "$CONFIG_SITE"; then
2265 # We do not want a PATH search for config.site.
2266 case $CONFIG_SITE in #((
2267 -*) ac_site_file1=./$CONFIG_SITE;;
2268 */*) ac_site_file1=$CONFIG_SITE;;
2269 *) ac_site_file1=./$CONFIG_SITE;;
2271 elif test "x$prefix" != xNONE; then
2272 ac_site_file1=$prefix/share/config.site
2273 ac_site_file2=$prefix/etc/config.site
2275 ac_site_file1=$ac_default_prefix/share/config.site
2276 ac_site_file2=$ac_default_prefix/etc/config.site
2278 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2280 test "x$ac_site_file" = xNONE && continue
2281 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2283 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2286 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 as_fn_error $? "failed to load site
script $ac_site_file
2289 See \
`config.log' for more details" "$LINENO" 5; }
2293 if test -r "$cache_file"; then
2294 # Some versions of bash will fail to source /dev/null (special files
2295 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2296 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2298 $as_echo "$as_me: loading cache $cache_file" >&6;}
2300 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2301 *) . "./$cache_file";;
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2306 $as_echo "$as_me: creating cache $cache_file" >&6;}
2310 # Check that the precious variables saved in the cache have kept the same
2312 ac_cache_corrupted=false
2313 for ac_var in $ac_precious_vars; do
2314 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2315 eval ac_new_set=\$ac_env_${ac_var}_set
2316 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2317 eval ac_new_val=\$ac_env_${ac_var}_value
2318 case $ac_old_set,$ac_new_set in
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2321 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2325 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2329 if test "x$ac_old_val" != "x$ac_new_val"; then
2330 # differences in whitespace do not lead to failure.
2331 ac_old_val_w=`echo x
$ac_old_val`
2332 ac_new_val_w=`echo x
$ac_new_val`
2333 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2335 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2336 ac_cache_corrupted=:
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2339 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2340 eval $ac_var=\$ac_old_val
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2343 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2345 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2348 # Pass precious variables to config.status.
2349 if test "$ac_new_set" = set; then
2351 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2352 *) ac_arg=$ac_var=$ac_new_val ;;
2354 case " $ac_configure_args " in
2355 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2356 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2360 if $ac_cache_corrupted; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2364 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2365 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2367 ## -------------------- ##
2368 ## Main body of script. ##
2369 ## -------------------- ##
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381 #AC_INIT(package-unused, version-unused, libvtv)
2384 # Default to --enable-multilib
2385 # Check whether --enable-multilib was given.
2386 if test "${enable_multilib+set}" = set; then :
2387 enableval=$enable_multilib; case "$enableval" in
2388 yes) multilib=yes ;;
2390 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2397 # We may get other options which we leave undocumented:
2398 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2399 # See config-ml.in if you want the gory details.
2401 if test "$srcdir" = "."; then
2402 if test "$with_target_subdir" != "."; then
2403 multi_basedir="$srcdir/$with_multisrctop../.."
2405 multi_basedir="$srcdir/$with_multisrctop.."
2408 multi_basedir="$srcdir/.."
2412 # Even if the default multilib is not a cross compilation,
2413 # it may be that some of the other multilibs are.
2414 if test $cross_compiling = no && test $multilib = yes \
2415 && test "x${with_multisubdir}" != x ; then
2416 cross_compiling=maybe
2419 ac_config_commands="$ac_config_commands default-1"
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2426 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2427 # Check whether --enable-version-specific-runtime-libs was given.
2428 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2429 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2430 yes) version_specific_libs=yes ;;
2431 no) version_specific_libs=no ;;
2432 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2435 version_specific_libs=no
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2439 $as_echo "$version_specific_libs" >&6; }
2441 # Do not delete or change the following two lines. For why, see
2442 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2444 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2445 if test -f "$ac_dir/install-sh"; then
2447 ac_install_sh="$ac_aux_dir/install-sh -c"
2449 elif test -f "$ac_dir/install.sh"; then
2451 ac_install_sh="$ac_aux_dir/install.sh -c"
2453 elif test -f "$ac_dir/shtool"; then
2455 ac_install_sh="$ac_aux_dir/shtool install -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2472 # Make sure we can run config.sub.
2473 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2474 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2477 $as_echo_n "checking build system type... " >&6; }
2478 if ${ac_cv_build+:} false; then :
2479 $as_echo_n "(cached) " >&6
2481 ac_build_alias=$build_alias
2482 test "x$ac_build_alias" = x &&
2483 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2484 test "x$ac_build_alias" = x &&
2485 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2486 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2487 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2491 $as_echo "$ac_cv_build" >&6; }
2492 case $ac_cv_build in
2494 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2497 ac_save_IFS=$IFS; IFS='-'
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2507 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2511 $as_echo_n "checking host system type... " >&6; }
2512 if ${ac_cv_host+:} false; then :
2513 $as_echo_n "(cached) " >&6
2515 if test "x$host_alias" = x; then
2516 ac_cv_host=$ac_cv_build
2518 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2519 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2524 $as_echo "$ac_cv_host" >&6; }
2527 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2530 ac_save_IFS=$IFS; IFS='-'
2536 # Remember, the first character of IFS is used to create $*,
2537 # except with old shells:
2540 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2544 $as_echo_n "checking target system type... " >&6; }
2545 if ${ac_cv_target+:} false; then :
2546 $as_echo_n "(cached) " >&6
2548 if test "x$target_alias" = x; then
2549 ac_cv_target=$ac_cv_host
2551 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2552 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2557 $as_echo "$ac_cv_target" >&6; }
2558 case $ac_cv_target in
2560 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2562 target=$ac_cv_target
2563 ac_save_IFS=$IFS; IFS='-'
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2573 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2576 # The aliases save the names the user supplied, while $host etc.
2577 # will get canonicalized.
2578 test -n "$target_alias" &&
2579 test "$program_prefix$program_suffix$program_transform_name" = \
2581 program_prefix=${target_alias}-
2583 target_alias=${target_alias-$host_alias}
2585 case ${build_alias} in
2586 "") build_noncanonical=${build} ;;
2587 *) build_noncanonical=${build_alias} ;;
2590 case ${host_alias} in
2591 "") host_noncanonical=${build_noncanonical} ;;
2592 *) host_noncanonical=${host_alias} ;;
2595 case ${target_alias} in
2596 "") target_noncanonical=${host_noncanonical} ;;
2597 *) target_noncanonical=${target_alias} ;;
2604 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2605 -I\$(top_builddir)/../libstdc++-v3/include \
2606 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2607 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2608 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2609 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2614 # Expand $ac_aux_dir to an absolute path.
2615 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2622 if test -n "$ac_tool_prefix"; then
2623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2624 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 $as_echo_n "checking for $ac_word... " >&6; }
2627 if ${ac_cv_prog_CC+:} false; then :
2628 $as_echo_n "(cached) " >&6
2630 if test -n "$CC"; then
2631 ac_cv_prog_CC="$CC" # Let the user override the test.
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir=.
2638 for ac_exec_ext in '' $ac_executable_extensions; do
2639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2640 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 if test -n "$CC"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2653 $as_echo "$CC" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2661 if test -z "$ac_cv_prog_CC"; then
2663 # Extract the first word of "gcc", so it can be a program name with args.
2664 set dummy gcc; ac_word=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2680 ac_cv_prog_ac_ct_CC="gcc"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2693 $as_echo "$ac_ct_CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2699 if test "x$ac_ct_CC" = x; then
2702 case $cross_compiling:$ac_tool_warned in
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706 ac_tool_warned=yes ;;
2714 if test -z "$CC"; then
2715 if test -n "$ac_tool_prefix"; then
2716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2717 set dummy ${ac_tool_prefix}cc; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_CC+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC="$CC" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_CC="${ac_tool_prefix}cc"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2746 $as_echo "$CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2755 if test -z "$CC"; then
2756 # Extract the first word of "cc", so it can be a program name with args.
2757 set dummy cc; ac_word=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_CC+:} false; then :
2761 $as_echo_n "(cached) " >&6
2763 if test -n "$CC"; then
2764 ac_cv_prog_CC="$CC" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2775 ac_prog_rejected=yes
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 if test $ac_prog_rejected = yes; then
2787 # We found a bogon in the path, so make sure we never use it.
2788 set dummy $ac_cv_prog_CC
2790 if test $# != 0; then
2791 # We chose a different compiler from the bogus one.
2792 # However, it has the same basename, so the bogon will be chosen
2793 # first if we set CC to just the basename; use the full file name.
2795 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2811 if test -z "$CC"; then
2812 if test -n "$ac_tool_prefix"; then
2813 for ac_prog in cl.exe
2815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_CC+:} false; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC="$CC" # Let the user override the test.
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir=.
2830 for ac_exec_ext in '' $ac_executable_extensions; do
2831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2832 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845 $as_echo "$CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2852 test -n "$CC" && break
2855 if test -z "$CC"; then
2857 for ac_prog in cl.exe
2859 # Extract the first word of "$ac_prog", so it can be a program name with args.
2860 set dummy $ac_prog; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$ac_ct_CC"; then
2867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir=.
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2876 ac_cv_prog_ac_ct_CC="$ac_prog"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2887 if test -n "$ac_ct_CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2889 $as_echo "$ac_ct_CC" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2896 test -n "$ac_ct_CC" && break
2899 if test "x$ac_ct_CC" = x; then
2902 case $cross_compiling:$ac_tool_warned in
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2906 ac_tool_warned=yes ;;
2915 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2918 See \
`config.log' for more details" "$LINENO" 5; }
2920 # Provide some information about the compiler.
2921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2924 for ac_option in --version -v -V -qversion; do
2925 { { ac_try="$ac_compiler $ac_option >&5"
2927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2928 *) ac_try_echo
=$ac_try;;
2930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2934 if test -s conftest.err
; then
2936 ... rest of stderr output deleted ...
2937 10q' conftest.err
>conftest.er1
2938 cat conftest.er1
>&5
2940 rm -f conftest.er1 conftest.err
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; }
2945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2956 ac_clean_files_save
=$ac_clean_files
2957 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2958 # Try to create an executable without -o first, disregard a.out.
2959 # It will help us diagnose broken compilers, and finding out an intuition
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2962 $as_echo_n "checking whether the C compiler works... " >&6; }
2963 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2965 # The possible output files:
2966 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2969 for ac_file
in $ac_files
2972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2973 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2978 if { { ac_try
="$ac_link_default"
2980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_link_default") 2>&5
2987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988 test $ac_status = 0; }; then :
2989 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2990 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2991 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2992 # so that the user can short-circuit this test for compilers unknown to
2994 for ac_file in $ac_files ''
2996 test -f "$ac_file" || continue
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3001 # We found the default executable, but exeext='' is most
3005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3007 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3009 # We set ac_cv_exeext here because the later test for it is not
3010 # safe: cross compilers may not add the suffix if given an `-o'
3011 # argument, so we may need to know it at that point already.
3012 # Even if this section looks crufty: it has the advantage of
3019 test "$ac_cv_exeext" = no && ac_cv_exeext=
3024 if test -z "$ac_file"; then :
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3027 $as_echo "$as_me: failed program was:" >&5
3028 sed 's
/^
/|
/' conftest.$ac_ext >&5
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3032 as_fn_error 77 "C compiler cannot create executables
3033 See \`config.log
' for more details" "$LINENO" 5; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3036 $as_echo "yes" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3039 $as_echo_n "checking for C compiler default output file name... " >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3041 $as_echo "$ac_file" >&6; }
3042 ac_exeext=$ac_cv_exeext
3044 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3045 ac_clean_files=$ac_clean_files_save
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3047 $as_echo_n "checking for suffix of executables... " >&6; }
3048 if { { ac_try="$ac_link"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_link") 2>&5
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }; then :
3059 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3060 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3061 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3063 for ac_file
in conftest.exe conftest conftest.
*; do
3064 test -f "$ac_file" ||
continue
3066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3076 See \`config.log' for more details" "$LINENO" 5; }
3078 rm -f conftest conftest
$ac_cv_exeext
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3080 $as_echo "$ac_cv_exeext" >&6; }
3082 rm -f conftest.
$ac_ext
3083 EXEEXT
=$ac_cv_exeext
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3091 FILE *f = fopen ("conftest.out", "w");
3092 return ferror (f) || fclose (f) != 0;
3098 ac_clean_files
="$ac_clean_files conftest.out"
3099 # Check that the compiler produces executables we can run. If not, either
3100 # the compiler is broken, or we cross compile.
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3102 $as_echo_n "checking whether we are cross compiling... " >&6; }
3103 if test "$cross_compiling" != yes; then
3104 { { ac_try
="$ac_link"
3106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }
3115 if { ac_try='./conftest$ac_cv_exeext'
3116 { { case "(($ac_try" in
3117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3118 *) ac_try_echo
=$ac_try;;
3120 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_try") 2>&5
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; }; }; then
3128 if test "$cross_compiling" = maybe
; then
3131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 as_fn_error $?
"cannot run C compiled programs.
3134 If you meant to cross compile, use \`--host'.
3135 See \`config.log' for more details" "$LINENO" 5; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3140 $as_echo "$cross_compiling" >&6; }
3142 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3143 ac_clean_files
=$ac_clean_files_save
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3145 $as_echo_n "checking for suffix of object files... " >&6; }
3146 if ${ac_cv_objext+:} false
; then :
3147 $as_echo_n "(cached) " >&6
3149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 rm -f conftest.o conftest.obj
3161 if { { ac_try
="$ac_compile"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_compile") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 for ac_file in conftest.o conftest.obj conftest.*; do
3173 test -f "$ac_file" || continue;
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3187 See \
`config.log' for more details" "$LINENO" 5; }
3189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3192 $as_echo "$ac_cv_objext" >&6; }
3193 OBJEXT=$ac_cv_objext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3197 if ${ac_cv_c_compiler_gnu+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3225 if test $ac_compiler_gnu = yes; then
3230 ac_test_CFLAGS=${CFLAGS+set}
3231 ac_save_CFLAGS=$CFLAGS
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3234 if ${ac_cv_prog_cc_g+:} false; then :
3235 $as_echo_n "(cached) " >&6
3237 ac_save_c_werror_flag=$ac_c_werror_flag
3238 ac_c_werror_flag=yes
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3294 $as_echo "$ac_cv_prog_cc_g" >&6; }
3295 if test "$ac_test_CFLAGS" = set; then
3296 CFLAGS=$ac_save_CFLAGS
3297 elif test $ac_cv_prog_cc_g = yes; then
3298 if test "$GCC" = yes; then
3304 if test "$GCC" = yes; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3312 if ${ac_cv_prog_cc_c89+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 ac_cv_prog_cc_c89=no
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3323 struct buf { int x; };
3324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3325 static char *e (p, i)
3331 static char *f (char * (*g) (char **, int), char **p, ...)
3336 s = g (p, va_arg (v,int));
3341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3342 function prototypes and stuff, but not '\xHH' hex character constants.
3343 These don't provoke an error unfortunately, instead are silently treated
3344 as 'x'. The following induces an error, until -std is added to get
3345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3346 array size at least. It's necessary to write '\x00'==0 to get something
3347 that's true only with -std. */
3348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3351 inside strings and character constants. */
3353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3355 int test (int i, double x);
3356 struct s1 {int (*f) (int a);};
3357 struct s2 {int (*f) (double a);};
3358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3372 CC="$ac_save_CC $ac_arg"
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 ac_cv_prog_cc_c89=$ac_arg
3376 rm -f core conftest.err conftest.$ac_objext
3377 test "x$ac_cv_prog_cc_c89" != "xno" && break
3379 rm -f conftest.$ac_ext
3384 case "x$ac_cv_prog_cc_c89" in
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3387 $as_echo "none needed" >&6; } ;;
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3390 $as_echo "unsupported" >&6; } ;;
3392 CC="$CC $ac_cv_prog_cc_c89"
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3394 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3396 if test "x$ac_cv_prog_cc_c89" != xno; then :
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3412 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3413 if ${am_cv_prog_cc_c_o+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 # Make sure it works both with $CC and with simple cc.
3428 # Following AC_PROG_CC_C_O, we do the test twice because some
3429 # compilers refuse to overwrite an existing .o file with -o,
3430 # though they will create one.
3431 am_cv_prog_cc_c_o=yes
3433 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3434 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } \
3438 && test -f conftest2.$ac_objext; then
3441 am_cv_prog_cc_c_o=no
3445 rm -f core conftest*
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3449 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3450 if test "$am_cv_prog_cc_c_o" != yes; then
3451 # Losing compiler, so override with the script.
3452 # FIXME: It is wrong to rewrite CC.
3453 # But if we don't then we get into trouble of one sort or another.
3454 # A longer-term fix would be to have automake use am__CC in this case,
3455 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3456 CC="$am_aux_dir/compile $CC"
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3472 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3473 # On Suns, sometimes $CPP names a directory.
3474 if test -n "$CPP" && test -d "$CPP"; then
3477 if test -z "$CPP"; then
3478 if ${ac_cv_prog_CPP+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 # Double quotes because CPP needs to be expanded
3482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3485 for ac_c_preproc_warn_flag in '' yes
3487 # Use a header file that comes with gcc, so configuring glibc
3488 # with a fresh cross-compiler works.
3489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3490 # <limits.h> exists even on freestanding compilers.
3491 # On the NeXT, cc -E runs the code through the compiler's parser,
3492 # not just through cpp. "Syntax error" is here to catch this case.
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3496 # include <limits.h>
3498 # include <assert.h>
3502 if ac_fn_c_try_cpp "$LINENO"; then :
3505 # Broken: fails on valid input.
3508 rm -f conftest.err conftest.i conftest.$ac_ext
3510 # OK, works on sane cases. Now check whether nonexistent headers
3511 # can be detected and how.
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3516 if ac_fn_c_try_cpp "$LINENO"; then :
3517 # Broken: success on invalid input.
3520 # Passes both tests.
3524 rm -f conftest.err conftest.i conftest.$ac_ext
3527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3528 rm -f conftest.i conftest.err conftest.
$ac_ext
3529 if $ac_preproc_ok; then :
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3542 $as_echo "$CPP" >&6; }
3544 for ac_c_preproc_warn_flag
in '' yes
3546 # Use a header file that comes with gcc, so configuring glibc
3547 # with a fresh cross-compiler works.
3548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3549 # <limits.h> exists even on freestanding compilers.
3550 # On the NeXT, cc -E runs the code through the compiler's parser,
3551 # not just through cpp. "Syntax error" is here to catch this case.
3552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3555 # include <limits.h>
3557 # include <assert.h>
3561 if ac_fn_c_try_cpp
"$LINENO"; then :
3564 # Broken: fails on valid input.
3567 rm -f conftest.err conftest.i conftest.
$ac_ext
3569 # OK, works on sane cases. Now check whether nonexistent headers
3570 # can be detected and how.
3571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3573 #include <ac_nonexistent.h>
3575 if ac_fn_c_try_cpp
"$LINENO"; then :
3576 # Broken: success on invalid input.
3579 # Passes both tests.
3583 rm -f conftest.err conftest.i conftest.
$ac_ext
3586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3587 rm -f conftest.i conftest.err conftest.
$ac_ext
3588 if $ac_preproc_ok; then :
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3594 See \`config.log' for more details" "$LINENO" 5; }
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3606 if ${ac_cv_path_GREP+:} false
; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -z "$GREP"; then
3610 ac_path_GREP_found
=false
3611 # Loop through the user's path and test for each of PROGNAME-LIST
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_prog
in grep ggrep
; do
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3620 as_fn_executable_p
"$ac_path_GREP" ||
continue
3621 # Check for GNU ac_path_GREP and select it if it is found.
3622 # Check for GNU $ac_path_GREP
3623 case `"$ac_path_GREP" --version 2>&1` in
3625 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3628 $as_echo_n 0123456789 >"conftest.in"
3631 cat "conftest.in" "conftest.in" >"conftest.tmp"
3632 mv "conftest.tmp" "conftest.in"
3633 cp "conftest.in" "conftest.nl"
3634 $as_echo 'GREP' >> "conftest.nl"
3635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3637 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3639 # Best one so far, save it but keep looking for a better one
3640 ac_cv_path_GREP
="$ac_path_GREP"
3641 ac_path_GREP_max
=$ac_count
3643 # 10*(2^10) chars as input seems more than enough
3644 test $ac_count -gt 10 && break
3646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3649 $ac_path_GREP_found && break 3
3654 if test -z "$ac_cv_path_GREP"; then
3655 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3658 ac_cv_path_GREP
=$GREP
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3663 $as_echo "$ac_cv_path_GREP" >&6; }
3664 GREP
="$ac_cv_path_GREP"
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3668 $as_echo_n "checking for egrep... " >&6; }
3669 if ${ac_cv_path_EGREP+:} false
; then :
3670 $as_echo_n "(cached) " >&6
3672 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3673 then ac_cv_path_EGREP
="$GREP -E"
3675 if test -z "$EGREP"; then
3676 ac_path_EGREP_found
=false
3677 # Loop through the user's path and test for each of PROGNAME-LIST
3678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3679 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3682 test -z "$as_dir" && as_dir
=.
3683 for ac_prog
in egrep; do
3684 for ac_exec_ext
in '' $ac_executable_extensions; do
3685 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3686 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3687 # Check for GNU ac_path_EGREP and select it if it is found.
3688 # Check for GNU $ac_path_EGREP
3689 case `"$ac_path_EGREP" --version 2>&1` in
3691 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3694 $as_echo_n 0123456789 >"conftest.in"
3697 cat "conftest.in" "conftest.in" >"conftest.tmp"
3698 mv "conftest.tmp" "conftest.in"
3699 cp "conftest.in" "conftest.nl"
3700 $as_echo 'EGREP' >> "conftest.nl"
3701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3705 # Best one so far, save it but keep looking for a better one
3706 ac_cv_path_EGREP
="$ac_path_EGREP"
3707 ac_path_EGREP_max
=$ac_count
3709 # 10*(2^10) chars as input seems more than enough
3710 test $ac_count -gt 10 && break
3712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3715 $ac_path_EGREP_found && break 3
3720 if test -z "$ac_cv_path_EGREP"; then
3721 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3724 ac_cv_path_EGREP
=$EGREP
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3730 $as_echo "$ac_cv_path_EGREP" >&6; }
3731 EGREP
="$ac_cv_path_EGREP"
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3735 $as_echo_n "checking for ANSI C header files... " >&6; }
3736 if ${ac_cv_header_stdc+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3754 if ac_fn_c_try_compile
"$LINENO"; then :
3755 ac_cv_header_stdc
=yes
3757 ac_cv_header_stdc
=no
3759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3761 if test $ac_cv_header_stdc = yes; then
3762 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3769 $EGREP "memchr" >/dev
/null
2>&1; then :
3772 ac_cv_header_stdc
=no
3778 if test $ac_cv_header_stdc = yes; then
3779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3786 $EGREP "free" >/dev
/null
2>&1; then :
3789 ac_cv_header_stdc
=no
3795 if test $ac_cv_header_stdc = yes; then
3796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3797 if test "$cross_compiling" = yes; then :
3800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3804 #if ((' ' & 0x0FF) == 0x020)
3805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3806 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3808 # define ISLOWER(c) \
3809 (('a' <= (c) && (c) <= 'i') \
3810 || ('j' <= (c) && (c) <= 'r') \
3811 || ('s' <= (c) && (c) <= 'z'))
3812 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3815 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3820 for (i = 0; i < 256; i++)
3821 if (XOR (islower (i), ISLOWER (i))
3822 || toupper (i) != TOUPPER (i))
3827 if ac_fn_c_try_run
"$LINENO"; then :
3830 ac_cv_header_stdc
=no
3832 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3833 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3839 $as_echo "$ac_cv_header_stdc" >&6; }
3840 if test $ac_cv_header_stdc = yes; then
3842 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3847 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3848 inttypes.h stdint.h unistd.h
3850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3853 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3854 cat >>confdefs.h
<<_ACEOF
3855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3864 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3865 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3872 if test "$MINIX" = yes; then
3874 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3877 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3880 $as_echo "#define _MINIX 1" >>confdefs.h
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3886 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3887 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3888 $as_echo_n "(cached) " >&6
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3893 # define __EXTENSIONS__ 1
3894 $ac_includes_default
3903 if ac_fn_c_try_compile
"$LINENO"; then :
3904 ac_cv_safe_to_define___extensions__
=yes
3906 ac_cv_safe_to_define___extensions__
=no
3908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3911 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3912 test $ac_cv_safe_to_define___extensions__ = yes &&
3913 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3915 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3917 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3919 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3921 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3925 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3927 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3928 # Check whether --enable-vtable-verify was given.
3929 if test "${enable_vtable_verify+set}" = set; then :
3930 enableval
=$enable_vtable_verify; case "$enableval" in
3931 yes) enable_vtable_verify
=yes ;;
3932 no
) enable_vtable_verify
=no
;;
3933 *) enable_vtable_verify
=no
;;
3936 enable_vtable_verify
=no
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3940 $as_echo "$enable_vtable_verify" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3945 $as_echo_n "checking for host support for vtable verification... " >&6; }
3946 .
${srcdir}/configure.tgt
3949 # libvtv requires init priority support, which depends on the linker
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3952 $as_echo_n "checking for init priority support... " >&6; }
3953 if ${libvtv_cv_init_priority+:} false
; then :
3954 $as_echo_n "(cached) " >&6
3957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3963 void ip (void) __attribute__ ((constructor (1)));
3968 if ac_fn_c_try_compile
"$LINENO"; then :
3969 libgcc_cv_init_priority
=yes
3971 libgcc_cv_init_priority
=no
3973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3976 $as_echo "$libvtv_cv_init_priority" >&6; }
3977 if test x
$libvtv_cv_init_priority = xno
; then
3980 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3981 # configure.tgt restricting to libvtv to Solaris 11+.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3985 $as_echo "$VTV_SUPPORTED" >&6; }
3987 # Decide if it's usable.
3988 use_vtable_verify
=no
3989 if test "x$VTV_SUPPORTED" = "xyes"; then
3990 if test "x$enable_vtable_verify" = "xyes"; then
3991 use_vtable_verify
=yes
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3993 $as_echo "$as_me: using vtable verification" >&6;}
3996 if test $use_vtable_verify = yes; then
3997 ENABLE_VTABLE_VERIFY_TRUE
=
3998 ENABLE_VTABLE_VERIFY_FALSE
='#'
4000 ENABLE_VTABLE_VERIFY_TRUE
='#'
4001 ENABLE_VTABLE_VERIFY_FALSE
=
4005 am__api_version
='1.15'
4007 # Find a good install program. We prefer a C program (faster),
4008 # so one script is as good as another. But avoid the broken or
4009 # incompatible versions:
4010 # SysV /etc/install, /usr/sbin/install
4011 # SunOS /usr/etc/install
4012 # IRIX /sbin/install
4014 # AmigaOS /C/install, which installs bootblocks on floppy discs
4015 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4016 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4017 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4018 # OS/2's system install, which has a completely different semantic
4019 # ./install, which can be erroneously created by make from ./install.sh.
4020 # Reject install programs that cannot install multiple files.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4022 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4023 if test -z "$INSTALL"; then
4024 if ${ac_cv_path_install+:} false
; then :
4025 $as_echo_n "(cached) " >&6
4027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir
=.
4032 # Account for people who put trailing slashes in PATH elements.
4033 case $as_dir/ in #((
4034 .
/ | .
// |
/[cC
]/* | \
4035 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4036 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4039 # OSF1 and SCO ODT 3.0 have their own names for install.
4040 # Don't use installbsd from OSF since it installs stuff as root
4042 for ac_prog
in ginstall scoinst
install; do
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4045 if test $ac_prog = install &&
4046 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4047 # AIX install. It has an incompatible calling convention.
4049 elif test $ac_prog = install &&
4050 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4051 # program-specific install script used by HP pwplus--don't use.
4054 rm -rf conftest.one conftest.two conftest.dir
4055 echo one
> conftest.one
4056 echo two
> conftest.two
4058 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4059 test -s conftest.one
&& test -s conftest.two
&&
4060 test -s conftest.dir
/conftest.one
&&
4061 test -s conftest.dir
/conftest.two
4063 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4076 rm -rf conftest.one conftest.two conftest.dir
4079 if test "${ac_cv_path_install+set}" = set; then
4080 INSTALL
=$ac_cv_path_install
4082 # As a last resort, use the slow shell script. Don't cache a
4083 # value for INSTALL within a source directory, because that will
4084 # break other packages using the cache if that directory is
4085 # removed, or if the value is a relative name.
4086 INSTALL
=$ac_install_sh
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4090 $as_echo "$INSTALL" >&6; }
4092 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4093 # It thinks the first close brace ends the variable substitution.
4094 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4096 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4098 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4101 $as_echo_n "checking whether build environment is sane... " >&6; }
4102 # Reject unsafe characters in $srcdir or the absolute working directory
4103 # name. Accept space and tab only in the latter.
4107 *[\\\"\
#\$\&\'\`$am_lf]*)
4108 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4111 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4112 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4115 # Do 'set' in a subshell so we don't clobber the current shell's
4116 # arguments. Must try -L first in case configure is actually a
4117 # symlink; some systems play weird games with the mod time of symlinks
4118 # (eg FreeBSD returns the mod time of the symlink's containing
4122 for am_try
in 1 2; do
4123 echo "timestamp, slept: $am_has_slept" > conftest.
file
4124 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4125 if test "$*" = "X"; then
4127 set X
`ls -t "$srcdir/configure" conftest.file`
4129 if test "$*" != "X $srcdir/configure conftest.file" \
4130 && test "$*" != "X conftest.file $srcdir/configure"; then
4132 # If neither matched, then we have a broken ls. This can happen
4133 # if, for instance, CONFIG_SHELL is bash and it inherits a
4134 # broken ls alias from the environment. This has actually
4135 # happened. Such a system could not be considered "sane".
4136 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4137 alias in your environment" "$LINENO" 5
4139 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4146 test "$2" = conftest.
file
4152 as_fn_error $?
"newly created file is older than distributed files!
4153 Check your system clock" "$LINENO" 5
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4157 # If we didn't sleep, we still need to ensure time stamps of config.status and
4158 # generated files are strictly newer.
4160 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4167 test "$program_prefix" != NONE
&&
4168 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4169 # Use a double $ so make ignores it.
4170 test "$program_suffix" != NONE
&&
4171 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4172 # Double any \ or $.
4173 # By default was `s,x,x', remove it if useless.
4174 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4175 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4177 if test x
"${MISSING+set}" != xset
; then
4180 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4182 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4185 # Use eval to expand $SHELL
4186 if eval "$MISSING --is-lightweight"; then
4187 am_missing_run
="$MISSING "
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4191 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4194 if test x
"${install_sh+set}" != xset
; then
4197 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4199 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4203 # Installed binaries are usually stripped using 'strip' when the user
4204 # run "make install-strip". However 'strip' might not be the right
4205 # tool to use in cross-compilation environments, therefore Automake
4206 # will honor the 'STRIP' environment variable to overrule this program.
4207 if test "$cross_compiling" != no
; then
4208 if test -n "$ac_tool_prefix"; then
4209 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4210 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if ${ac_cv_prog_STRIP+:} false
; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -n "$STRIP"; then
4217 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4226 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 STRIP
=$ac_cv_prog_STRIP
4237 if test -n "$STRIP"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4239 $as_echo "$STRIP" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4247 if test -z "$ac_cv_prog_STRIP"; then
4249 # Extract the first word of "strip", so it can be a program name with args.
4250 set dummy strip
; ac_word
=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4254 $as_echo_n "(cached) " >&6
4256 if test -n "$ac_ct_STRIP"; then
4257 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir
=.
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_ac_ct_STRIP
="strip"
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4277 if test -n "$ac_ct_STRIP"; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4279 $as_echo "$ac_ct_STRIP" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4285 if test "x$ac_ct_STRIP" = x
; then
4288 case $cross_compiling:$ac_tool_warned in
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4292 ac_tool_warned
=yes ;;
4297 STRIP
="$ac_cv_prog_STRIP"
4301 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4304 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4305 if test -z "$MKDIR_P"; then
4306 if ${ac_cv_path_mkdir+:} false
; then :
4307 $as_echo_n "(cached) " >&6
4309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4313 test -z "$as_dir" && as_dir
=.
4314 for ac_prog
in mkdir gmkdir
; do
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4317 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4318 'mkdir (GNU coreutils) '* | \
4319 'mkdir (coreutils) '* | \
4320 'mkdir (fileutils) '4.1*)
4321 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4331 test -d .
/--version && rmdir .
/--version
4332 if test "${ac_cv_path_mkdir+set}" = set; then
4333 MKDIR_P
="$ac_cv_path_mkdir -p"
4335 # As a last resort, use the slow shell script. Don't cache a
4336 # value for MKDIR_P within a source directory, because that will
4337 # break other packages using the cache if that directory is
4338 # removed, or if the value is a relative name.
4339 MKDIR_P
="$ac_install_sh -d"
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4343 $as_echo "$MKDIR_P" >&6; }
4345 for ac_prog
in gawk mawk nawk
awk
4347 # Extract the first word of "$ac_prog", so it can be a program name with args.
4348 set dummy
$ac_prog; ac_word
=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_prog_AWK+:} false
; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$AWK"; then
4355 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir
=.
4362 for ac_exec_ext
in '' $ac_executable_extensions; do
4363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4364 ac_cv_prog_AWK
="$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 if test -n "$AWK"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4377 $as_echo "$AWK" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$AWK" && break
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4388 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4390 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4391 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4392 $as_echo_n "(cached) " >&6
4394 cat >conftest.
make <<\_ACEOF
4397 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4399 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4400 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4402 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4404 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4408 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4410 $as_echo "yes" >&6; }
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4415 SET_MAKE
="MAKE=${MAKE-make}"
4418 rm -rf .tst
2>/dev
/null
4419 mkdir .tst
2>/dev
/null
4420 if test -d .tst
; then
4425 rmdir .tst
2>/dev
/null
4427 DEPDIR
="${am__leading_dot}deps"
4429 ac_config_commands
="$ac_config_commands depfiles"
4432 am_make
=${MAKE-make}
4433 cat > confinc
<< 'END'
4435 @
echo this is the am__doit target
4438 # If we don't find an include directive, just comment out the code.
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4440 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4444 # First try GNU make style include.
4445 echo "include confinc" > confmf
4446 # Ignore all kinds of additional output from 'make'.
4447 case `$am_make -s -f confmf 2> /dev/null` in #(
4448 *the\ am__doit\ target
*)
4454 # Now try BSD make style include.
4455 if test "$am__include" = "#"; then
4456 echo '.include "confinc"' > confmf
4457 case `$am_make -s -f confmf 2> /dev/null` in #(
4458 *the\ am__doit\ target
*)
4459 am__include
=.include
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4468 $as_echo "$_am_result" >&6; }
4469 rm -f confinc confmf
4471 # Check whether --enable-dependency-tracking was given.
4472 if test "${enable_dependency_tracking+set}" = set; then :
4473 enableval
=$enable_dependency_tracking;
4476 if test "x$enable_dependency_tracking" != xno
; then
4477 am_depcomp
="$ac_aux_dir/depcomp"
4481 if test "x$enable_dependency_tracking" != xno; then
4490 # Check whether --enable-silent-rules was given.
4491 if test "${enable_silent_rules+set}" = set; then :
4492 enableval
=$enable_silent_rules;
4495 case $enable_silent_rules in # (((
4496 yes) AM_DEFAULT_VERBOSITY
=0;;
4497 no
) AM_DEFAULT_VERBOSITY
=1;;
4498 *) AM_DEFAULT_VERBOSITY
=1;;
4500 am_make
=${MAKE-make}
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4502 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4503 if ${am_cv_make_support_nested_variables+:} false
; then :
4504 $as_echo_n "(cached) " >&6
4506 if $as_echo 'TRUE=$(BAR$(V))
4512 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4513 am_cv_make_support_nested_variables
=yes
4515 am_cv_make_support_nested_variables
=no
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4519 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4520 if test $am_cv_make_support_nested_variables = yes; then
4522 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4524 AM_V
=$AM_DEFAULT_VERBOSITY
4525 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4529 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4530 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4531 # is not polluted with repeated "-I."
4532 am__isrc
=' -I$(srcdir)'
4533 # test to see if srcdir already configured
4534 if test -f $srcdir/config.status
; then
4535 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4539 # test whether we have cygpath
4540 if test -z "$CYGPATH_W"; then
4541 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4542 CYGPATH_W
='cygpath -w'
4549 # Define the identity of the package.
4554 cat >>confdefs.h
<<_ACEOF
4555 #define PACKAGE "$PACKAGE"
4559 cat >>confdefs.h
<<_ACEOF
4560 #define VERSION "$VERSION"
4563 # Some tools Automake needs.
4565 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4568 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4571 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4574 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4577 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4579 # For better backward compatibility. To be removed once Automake 1.9.x
4580 # dies out for good. For more background, see:
4581 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4582 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4583 mkdir_p
='$(MKDIR_P)'
4585 # We need awk for the "check" target (and possibly the TAP driver). The
4586 # system "awk" is bad on some platforms.
4587 # Always define AMTAR for backward compatibility. Yes, it's still used
4588 # in the wild :-( We should find a proper way to deprecate it ...
4592 # We'll loop over all known methods to create a tar archive until one works.
4593 _am_tools
='gnutar pax cpio none'
4595 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4601 depcc
="$CC" am_compiler_list
=
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4604 $as_echo_n "checking dependency style of $depcc... " >&6; }
4605 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4609 # We make a subdir and do the tests there. Otherwise we can end up
4610 # making bogus files that we don't know about and never remove. For
4611 # instance it was reported that on HP-UX the gcc test will end up
4612 # making a dummy file named 'D' -- because '-MD' means "put the output
4616 # Copy depcomp to subdir because otherwise we won't find it if we're
4617 # using a relative directory.
4618 cp "$am_depcomp" conftest.dir
4620 # We will build objects and dependencies in a subdirectory because
4621 # it helps to detect inapplicable dependency modes. For instance
4622 # both Tru64's cc and ICC support -MD to output dependencies as a
4623 # side effect of compilation, but ICC will put the dependencies in
4624 # the current directory while Tru64 will put them in the object
4628 am_cv_CC_dependencies_compiler_type
=none
4629 if test "$am_compiler_list" = ""; then
4630 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4633 case " $depcc " in #(
4634 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4637 for depmode
in $am_compiler_list; do
4638 # Setup a source with many dependencies, because some compilers
4639 # like to wrap large dependency lists on column 80 (with \), and
4640 # we should not choose a depcomp mode which is confused by this.
4642 # We need to recreate these files for each test, as the compiler may
4643 # overwrite some of them when testing with obscure command lines.
4644 # This happens at least with the AIX C compiler.
4646 for i
in 1 2 3 4 5 6; do
4647 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4648 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4649 # Solaris 10 /bin/sh.
4650 echo '/* dummy */' > sub
/conftst
$i.h
4652 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4654 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4655 # mode. It turns out that the SunPro C++ compiler does not properly
4656 # handle '-M -o', and we need to detect this. Also, some Intel
4657 # versions had trouble with output in subdirs.
4658 am__obj
=sub
/conftest.
${OBJEXT-o}
4659 am__minus_obj
="-o $am__obj"
4662 # This depmode causes a compiler race in universal mode.
4663 test "$am__universal" = false ||
continue
4666 # After this tag, mechanisms are not by side-effect, so they'll
4667 # only be used when explicitly requested.
4668 if test "x$enable_dependency_tracking" = xyes
; then
4674 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4675 # This compiler won't grok '-c -o', but also, the minuso test has
4676 # not run yet. These depmodes are late enough in the game, and
4677 # so weak that their functioning should not be impacted.
4678 am__obj
=conftest.
${OBJEXT-o}
4683 if depmode
=$depmode \
4684 source=sub
/conftest.c object
=$am__obj \
4685 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4686 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4687 >/dev
/null
2>conftest.err
&&
4688 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4689 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4690 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4691 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4692 # icc doesn't choke on unknown options, it will just issue warnings
4693 # or remarks (even with -Werror). So we grep stderr for any message
4694 # that says an option was ignored or not supported.
4695 # When given -MP, icc 7.0 and 7.1 complain thusly:
4696 # icc: Command line warning: ignoring option '-M'; no argument required
4697 # The diagnosis changed in icc 8.0:
4698 # icc: Command line remark: option '-MP' not supported
4699 if (grep 'ignoring option' conftest.err ||
4700 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4701 am_cv_CC_dependencies_compiler_type
=$depmode
4710 am_cv_CC_dependencies_compiler_type
=none
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4715 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4716 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4719 test "x$enable_dependency_tracking" != xno \
4720 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4722 am__fastdepCC_FALSE
='#'
4724 am__fastdepCC_TRUE
='#'
4725 am__fastdepCC_FALSE
=
4730 # POSIX will say in a future version that running "rm -f" with no argument
4731 # is OK; and we want to be able to make that assumption in our Makefile
4732 # recipes. So use an aggressive probe to check that the usage we want is
4733 # actually supported "in the wild" to an acceptable degree.
4734 # See automake bug#10828.
4735 # To make any issue more visible, cause the running configure to be aborted
4736 # by default if the 'rm' program in use doesn't match our expectations; the
4737 # user can still override this though.
4738 if rm -f && rm -fr && rm -rf; then : OK
; else
4742 Your 'rm' program seems unable to run without file operands specified
4743 on the command line, even when the '-f' option is present. This is contrary
4744 to the behaviour of most rm programs out there, and not conforming with
4745 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4747 Please tell bug-automake@gnu.org about your system, including the value
4748 of your $PATH and any error possibly output before this message. This
4749 can help us improve future automake versions.
4752 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4753 echo 'Configuration will proceed anyway, since you have set the' >&2
4754 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4758 Aborting the configuration process, to ensure you take notice of the issue.
4760 You can download and install GNU coreutils to get an 'rm' implementation
4761 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4763 If you want to complete the configuration process using your problematic
4764 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4765 to "yes", and re-run configure.
4768 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4774 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4775 # Check whether --enable-maintainer-mode was given.
4776 if test "${enable_maintainer_mode+set}" = set; then :
4777 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4779 USE_MAINTAINER_MODE
=no
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4783 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4784 if test $USE_MAINTAINER_MODE = yes; then
4785 MAINTAINER_MODE_TRUE
=
4786 MAINTAINER_MODE_FALSE
='#'
4788 MAINTAINER_MODE_TRUE
='#'
4789 MAINTAINER_MODE_FALSE
=
4792 MAINT
=$MAINTAINER_MODE_TRUE
4798 # These need to be absolute paths, yet at the same time need to
4799 # canonicalize only relative paths, because then amd will not unmount
4800 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4801 libvtv_builddir
=`${PWDCMD-pwd}`
4803 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4804 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4806 toplevel_builddir
=${libvtv_builddir}/..
4807 toplevel_srcdir
=${libvtv_srcdir}/..
4815 # Check whether --with-toolexeclibdir was given.
4816 if test "${with_toolexeclibdir+set}" = set; then :
4817 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
4821 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
4825 with_toolexeclibdir
=no
4830 # Calculate toolexeclibdir
4831 # Also toolexecdir, though it's only used in toolexeclibdir
4832 case ${version_specific_libs} in
4834 # Need the gcc compiler version to know where to install libraries
4835 # and header files if --enable-version-specific-runtime-libs option
4837 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4838 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4841 if test -n "$with_cross_host" &&
4842 test x
"$with_cross_host" != x
"no"; then
4843 # Install a library built with a cross compiler in tooldir, not libdir.
4844 toolexecdir
='$(exec_prefix)/$(target_alias)'
4845 case ${with_toolexeclibdir} in
4847 toolexeclibdir
='$(toolexecdir)/lib'
4850 toolexeclibdir
=${with_toolexeclibdir}
4854 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4855 toolexeclibdir
='$(libdir)'
4857 multi_os_directory
=`$CC -print-multi-os-directory`
4858 case $multi_os_directory in
4859 .
) ;; # Avoid trailing /.
4860 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4868 for ac_func
in __secure_getenv
4870 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4871 if test "x$ac_cv_func___secure_getenv" = xyes
; then :
4872 cat >>confdefs.h
<<_ACEOF
4873 #define HAVE___SECURE_GETENV 1
4881 for ac_func
in secure_getenv
4883 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4884 if test "x$ac_cv_func_secure_getenv" = xyes
; then :
4885 cat >>confdefs.h
<<_ACEOF
4886 #define HAVE_SECURE_GETENV 1
4893 for ac_func
in getexecname __fortify_fail
4895 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4896 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4897 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4898 cat >>confdefs.h
<<_ACEOF
4899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4906 # Check for programs.
4910 ac_cpp
='$CPP $CPPFLAGS'
4911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4914 if test -n "$ac_tool_prefix"; then
4915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4916 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_CC+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$CC"; then
4923 ac_cv_prog_CC
="$CC" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 if test -n "$CC"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4945 $as_echo "$CC" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4953 if test -z "$ac_cv_prog_CC"; then
4955 # Extract the first word of "gcc", so it can be a program name with args.
4956 set dummy gcc
; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$ac_ct_CC"; then
4963 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4972 ac_cv_prog_ac_ct_CC
="gcc"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4983 if test -n "$ac_ct_CC"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4985 $as_echo "$ac_ct_CC" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4991 if test "x$ac_ct_CC" = x
; then
4994 case $cross_compiling:$ac_tool_warned in
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned
=yes ;;
5006 if test -z "$CC"; then
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5009 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_CC+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC
="$CC" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 if test -n "$CC"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5038 $as_echo "$CC" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5047 if test -z "$CC"; then
5048 # Extract the first word of "cc", so it can be a program name with args.
5049 set dummy cc
; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_CC+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$CC"; then
5056 ac_cv_prog_CC
="$CC" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5067 ac_prog_rejected
=yes
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 if test $ac_prog_rejected = yes; then
5079 # We found a bogon in the path, so make sure we never use it.
5080 set dummy
$ac_cv_prog_CC
5082 if test $# != 0; then
5083 # We chose a different compiler from the bogus one.
5084 # However, it has the same basename, so the bogon will be chosen
5085 # first if we set CC to just the basename; use the full file name.
5087 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5093 if test -n "$CC"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5095 $as_echo "$CC" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5103 if test -z "$CC"; then
5104 if test -n "$ac_tool_prefix"; then
5105 for ac_prog
in cl.exe
5107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5108 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_CC+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$CC"; then
5115 ac_cv_prog_CC
="$CC" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 if test -n "$CC"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5137 $as_echo "$CC" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5144 test -n "$CC" && break
5147 if test -z "$CC"; then
5149 for ac_prog
in cl.exe
5151 # Extract the first word of "$ac_prog", so it can be a program name with args.
5152 set dummy
$ac_prog; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$ac_ct_CC"; then
5159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_ac_ct_CC
="$ac_prog"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5179 if test -n "$ac_ct_CC"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5181 $as_echo "$ac_ct_CC" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 test -n "$ac_ct_CC" && break
5191 if test "x$ac_ct_CC" = x
; then
5194 case $cross_compiling:$ac_tool_warned in
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned
=yes ;;
5207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5209 as_fn_error $?
"no acceptable C compiler found in \$PATH
5210 See \`config.log' for more details" "$LINENO" 5; }
5212 # Provide some information about the compiler.
5213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5216 for ac_option
in --version -v -V -qversion; do
5217 { { ac_try
="$ac_compiler $ac_option >&5"
5219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 $as_echo "$ac_try_echo"; } >&5
5224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5226 if test -s conftest.err; then
5228 ... rest of stderr output deleted ...
5229 10q' conftest.err >conftest.er1
5230 cat conftest.er1 >&5
5232 rm -f conftest.er1 conftest.err
5233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5239 if ${ac_cv_c_compiler_gnu+:} false; then :
5240 $as_echo_n "(cached) " >&6
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5256 if ac_fn_c_try_compile "$LINENO"; then :
5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5267 if test $ac_compiler_gnu = yes; then
5272 ac_test_CFLAGS=${CFLAGS+set}
5273 ac_save_CFLAGS=$CFLAGS
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5276 if ${ac_cv_prog_cc_g+:} false; then :
5277 $as_echo_n "(cached) " >&6
5279 ac_save_c_werror_flag=$ac_c_werror_flag
5280 ac_c_werror_flag=yes
5283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5294 if ac_fn_c_try_compile "$LINENO"; then :
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5309 if ac_fn_c_try_compile "$LINENO"; then :
5312 ac_c_werror_flag=$ac_save_c_werror_flag
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5325 if ac_fn_c_try_compile "$LINENO"; then :
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333 ac_c_werror_flag=$ac_save_c_werror_flag
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5336 $as_echo "$ac_cv_prog_cc_g" >&6; }
5337 if test "$ac_test_CFLAGS" = set; then
5338 CFLAGS=$ac_save_CFLAGS
5339 elif test $ac_cv_prog_cc_g = yes; then
5340 if test "$GCC" = yes; then
5346 if test "$GCC" = yes; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5354 if ${ac_cv_prog_cc_c89+:} false; then :
5355 $as_echo_n "(cached) " >&6
5357 ac_cv_prog_cc_c89=no
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5365 struct buf { int x; };
5366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5367 static char *e (p, i)
5373 static char *f (char * (*g) (char **, int), char **p, ...)
5378 s = g (p, va_arg (v,int));
5383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5384 function prototypes and stuff, but not '\xHH' hex character constants.
5385 These don't provoke an error unfortunately, instead are silently treated
5386 as 'x'. The following induces an error, until -std is added to get
5387 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5388 array size at least. It's necessary to write '\x00'==0 to get something
5389 that's true only with -std. */
5390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5393 inside strings and character constants. */
5395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5397 int test (int i, double x);
5398 struct s1 {int (*f) (int a);};
5399 struct s2 {int (*f) (double a);};
5400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5406 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5412 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5414 CC="$ac_save_CC $ac_arg"
5415 if ac_fn_c_try_compile "$LINENO"; then :
5416 ac_cv_prog_cc_c89=$ac_arg
5418 rm -f core conftest.err conftest.$ac_objext
5419 test "x$ac_cv_prog_cc_c89" != "xno" && break
5421 rm -f conftest.$ac_ext
5426 case "x$ac_cv_prog_cc_c89" in
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5429 $as_echo "none needed" >&6; } ;;
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5432 $as_echo "unsupported" >&6; } ;;
5434 CC="$CC $ac_cv_prog_cc_c89"
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5436 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5438 if test "x$ac_cv_prog_cc_c89" != xno; then :
5443 ac_cpp='$CPP $CPPFLAGS'
5444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5454 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5455 if ${am_cv_prog_cc_c_o+:} false; then :
5456 $as_echo_n "(cached) " >&6
5458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5469 # Make sure it works both with $CC and with simple cc.
5470 # Following AC_PROG_CC_C_O, we do the test twice because some
5471 # compilers refuse to overwrite an existing .o file with -o,
5472 # though they will create one.
5473 am_cv_prog_cc_c_o=yes
5475 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5476 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } \
5480 && test -f conftest2.$ac_objext; then
5483 am_cv_prog_cc_c_o=no
5487 rm -f core conftest*
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5491 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5492 if test "$am_cv_prog_cc_c_o" != yes; then
5493 # Losing compiler, so override with the script.
5494 # FIXME: It is wrong to rewrite CC.
5495 # But if we don't then we get into trouble of one sort or another.
5496 # A longer-term fix would be to have automake use am__CC in this case,
5497 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5498 CC="$am_aux_dir/compile $CC"
5501 ac_cpp='$CPP $CPPFLAGS'
5502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5508 ac_cpp='$CXXCPP $CPPFLAGS'
5509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5512 if test -z "$CXX"; then
5513 if test -n "$CCC"; then
5516 if test -n "$ac_tool_prefix"; then
5517 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_CXX+:} false; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$CXX"; then
5527 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 if test -n "$CXX"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5549 $as_echo "$CXX" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5556 test -n "$CXX" && break
5559 if test -z "$CXX"; then
5561 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$ac_ct_CXX"; then
5571 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_CXX="$ac_prog"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5591 if test -n "$ac_ct_CXX"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5593 $as_echo "$ac_ct_CXX" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5600 test -n "$ac_ct_CXX" && break
5603 if test "x$ac_ct_CXX" = x; then
5606 case $cross_compiling:$ac_tool_warned in
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610 ac_tool_warned=yes ;;
5618 # Provide some information about the compiler.
5619 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5622 for ac_option in --version -v -V -qversion; do
5623 { { ac_try="$ac_compiler $ac_option >&5"
5625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5626 *) ac_try_echo
=$ac_try;;
5628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5629 $as_echo "$ac_try_echo"; } >&5
5630 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5632 if test -s conftest.err
; then
5634 ... rest of stderr output deleted ...
5635 10q' conftest.err
>conftest.er1
5636 cat conftest.er1
>&5
5638 rm -f conftest.er1 conftest.err
5639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5640 test $ac_status = 0; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5644 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5645 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5662 if ac_fn_cxx_try_compile
"$LINENO"; then :
5667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5668 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5672 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5673 if test $ac_compiler_gnu = yes; then
5678 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5679 ac_save_CXXFLAGS
=$CXXFLAGS
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5681 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5682 if ${ac_cv_prog_cxx_g+:} false
; then :
5683 $as_echo_n "(cached) " >&6
5685 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5686 ac_cxx_werror_flag
=yes
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5700 if ac_fn_cxx_try_compile
"$LINENO"; then :
5701 ac_cv_prog_cxx_g
=yes
5704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5715 if ac_fn_cxx_try_compile
"$LINENO"; then :
5718 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5731 if ac_fn_cxx_try_compile
"$LINENO"; then :
5732 ac_cv_prog_cxx_g
=yes
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5739 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5742 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5743 if test "$ac_test_CXXFLAGS" = set; then
5744 CXXFLAGS
=$ac_save_CXXFLAGS
5745 elif test $ac_cv_prog_cxx_g = yes; then
5746 if test "$GXX" = yes; then
5752 if test "$GXX" = yes; then
5759 ac_cpp
='$CPP $CPPFLAGS'
5760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5764 depcc
="$CXX" am_compiler_list
=
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5767 $as_echo_n "checking dependency style of $depcc... " >&6; }
5768 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5772 # We make a subdir and do the tests there. Otherwise we can end up
5773 # making bogus files that we don't know about and never remove. For
5774 # instance it was reported that on HP-UX the gcc test will end up
5775 # making a dummy file named 'D' -- because '-MD' means "put the output
5779 # Copy depcomp to subdir because otherwise we won't find it if we're
5780 # using a relative directory.
5781 cp "$am_depcomp" conftest.dir
5783 # We will build objects and dependencies in a subdirectory because
5784 # it helps to detect inapplicable dependency modes. For instance
5785 # both Tru64's cc and ICC support -MD to output dependencies as a
5786 # side effect of compilation, but ICC will put the dependencies in
5787 # the current directory while Tru64 will put them in the object
5791 am_cv_CXX_dependencies_compiler_type
=none
5792 if test "$am_compiler_list" = ""; then
5793 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5796 case " $depcc " in #(
5797 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5800 for depmode
in $am_compiler_list; do
5801 # Setup a source with many dependencies, because some compilers
5802 # like to wrap large dependency lists on column 80 (with \), and
5803 # we should not choose a depcomp mode which is confused by this.
5805 # We need to recreate these files for each test, as the compiler may
5806 # overwrite some of them when testing with obscure command lines.
5807 # This happens at least with the AIX C compiler.
5809 for i
in 1 2 3 4 5 6; do
5810 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5811 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5812 # Solaris 10 /bin/sh.
5813 echo '/* dummy */' > sub
/conftst
$i.h
5815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5817 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5818 # mode. It turns out that the SunPro C++ compiler does not properly
5819 # handle '-M -o', and we need to detect this. Also, some Intel
5820 # versions had trouble with output in subdirs.
5821 am__obj
=sub
/conftest.
${OBJEXT-o}
5822 am__minus_obj
="-o $am__obj"
5825 # This depmode causes a compiler race in universal mode.
5826 test "$am__universal" = false ||
continue
5829 # After this tag, mechanisms are not by side-effect, so they'll
5830 # only be used when explicitly requested.
5831 if test "x$enable_dependency_tracking" = xyes
; then
5837 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5838 # This compiler won't grok '-c -o', but also, the minuso test has
5839 # not run yet. These depmodes are late enough in the game, and
5840 # so weak that their functioning should not be impacted.
5841 am__obj
=conftest.
${OBJEXT-o}
5846 if depmode
=$depmode \
5847 source=sub
/conftest.c object
=$am__obj \
5848 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5849 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5850 >/dev
/null
2>conftest.err
&&
5851 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5852 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5853 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5854 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5855 # icc doesn't choke on unknown options, it will just issue warnings
5856 # or remarks (even with -Werror). So we grep stderr for any message
5857 # that says an option was ignored or not supported.
5858 # When given -MP, icc 7.0 and 7.1 complain thusly:
5859 # icc: Command line warning: ignoring option '-M'; no argument required
5860 # The diagnosis changed in icc 8.0:
5861 # icc: Command line remark: option '-MP' not supported
5862 if (grep 'ignoring option' conftest.err ||
5863 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5864 am_cv_CXX_dependencies_compiler_type
=$depmode
5873 am_cv_CXX_dependencies_compiler_type
=none
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5878 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5879 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5882 test "x$enable_dependency_tracking" != xno \
5883 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5884 am__fastdepCXX_TRUE
=
5885 am__fastdepCXX_FALSE
='#'
5887 am__fastdepCXX_TRUE
='#'
5888 am__fastdepCXX_FALSE
=
5899 # Newer automakes demand CCAS and CCASFLAGS.
5901 : ${CCASFLAGS='$(CFLAGS)'}
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5907 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_AS+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$AS"; then
5914 ac_cv_prog_AS
="$AS" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_AS
="${ac_tool_prefix}as"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 if test -n "$AS"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5936 $as_echo "$AS" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if test -z "$ac_cv_prog_AS"; then
5946 # Extract the first word of "as", so it can be a program name with args.
5947 set dummy as
; ac_word
=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$ac_ct_AS"; then
5954 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir
=.
5961 for ac_exec_ext
in '' $ac_executable_extensions; do
5962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_AS
="as"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5974 if test -n "$ac_ct_AS"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5976 $as_echo "$ac_ct_AS" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5982 if test "x$ac_ct_AS" = x
; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned
=yes ;;
5997 if test -n "$ac_tool_prefix"; then
5998 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5999 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_AR+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6005 if test -n "$AR"; then
6006 ac_cv_prog_AR
="$AR" # Let the user override the test.
6008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir
=.
6013 for ac_exec_ext
in '' $ac_executable_extensions; do
6014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026 if test -n "$AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6028 $as_echo "$AR" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6036 if test -z "$ac_cv_prog_AR"; then
6038 # Extract the first word of "ar", so it can be a program name with args.
6039 set dummy
ar; ac_word
=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$ac_ct_AR"; then
6046 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_ac_ct_AR
="ar"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6066 if test -n "$ac_ct_AR"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6068 $as_echo "$ac_ct_AR" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6074 if test "x$ac_ct_AR" = x
; then
6077 case $cross_compiling:$ac_tool_warned in
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081 ac_tool_warned
=yes ;;
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6091 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_RANLIB+:} false
; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$RANLIB"; then
6098 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir
=.
6105 for ac_exec_ext
in '' $ac_executable_extensions; do
6106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6107 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 RANLIB
=$ac_cv_prog_RANLIB
6118 if test -n "$RANLIB"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6120 $as_echo "$RANLIB" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6128 if test -z "$ac_cv_prog_RANLIB"; then
6129 ac_ct_RANLIB
=$RANLIB
6130 # Extract the first word of "ranlib", so it can be a program name with args.
6131 set dummy ranlib
; ac_word
=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$ac_ct_RANLIB"; then
6138 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir
=.
6145 for ac_exec_ext
in '' $ac_executable_extensions; do
6146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6158 if test -n "$ac_ct_RANLIB"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6160 $as_echo "$ac_ct_RANLIB" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6166 if test "x$ac_ct_RANLIB" = x
; then
6169 case $cross_compiling:$ac_tool_warned in
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6173 ac_tool_warned
=yes ;;
6175 RANLIB
=$ac_ct_RANLIB
6178 RANLIB
="$ac_cv_prog_RANLIB"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6190 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6195 macro_version
='2.2.7a'
6196 macro_revision
='1.3134'
6210 ltmain
="$ac_aux_dir/ltmain.sh"
6212 # Backslashify metacharacters that are still active within
6213 # double-quoted strings.
6214 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6216 # Same as above, but do not quote variable references.
6217 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6219 # Sed substitution to delay expansion of an escaped shell variable in a
6220 # double_quote_subst'ed string.
6221 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6223 # Sed substitution to delay expansion of an escaped single quote.
6224 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6226 # Sed substitution to avoid accidental globbing in evaled expressions
6227 no_glob_subst
='s/\*/\\\*/g'
6229 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6230 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6231 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6234 $as_echo_n "checking how to print strings... " >&6; }
6235 # Test print first, because it will be a builtin if present.
6236 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6237 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6239 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6242 # Use this function as a fallback that always works.
6243 func_fallback_echo ()
6245 eval 'cat <<_LTECHO_EOF
6249 ECHO='func_fallback_echo
'
6252 # func_echo_all arg...
6253 # Invoke $ECHO with all args, space-separated.
6260 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6261 $as_echo "printf" >&6; } ;;
6262 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6263 $as_echo "print -r" >&6; } ;;
6264 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6265 $as_echo "cat" >&6; } ;;
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6282 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6283 if ${ac_cv_path_SED+:} false; then :
6284 $as_echo_n "(cached) " >&6
6286 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6287 for ac_i in 1 2 3 4 5 6 7; do
6288 ac_script="$ac_script$as_nl$ac_script"
6290 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6291 { ac_script=; unset ac_script;}
6292 if test -z "$SED"; then
6293 ac_path_SED_found=false
6294 # Loop through the user's path and
test for each of PROGNAME-LIST
6295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir
=.
6300 for ac_prog
in sed gsed
; do
6301 for ac_exec_ext
in '' $ac_executable_extensions; do
6302 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6303 as_fn_executable_p
"$ac_path_SED" ||
continue
6304 # Check for GNU ac_path_SED and select it if it is found.
6305 # Check for GNU $ac_path_SED
6306 case `"$ac_path_SED" --version 2>&1` in
6308 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6311 $as_echo_n 0123456789 >"conftest.in"
6314 cat "conftest.in" "conftest.in" >"conftest.tmp"
6315 mv "conftest.tmp" "conftest.in"
6316 cp "conftest.in" "conftest.nl"
6317 $as_echo '' >> "conftest.nl"
6318 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6319 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6320 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6321 if test $ac_count -gt ${ac_path_SED_max-0}; then
6322 # Best one so far, save it but keep looking for a better one
6323 ac_cv_path_SED
="$ac_path_SED"
6324 ac_path_SED_max
=$ac_count
6326 # 10*(2^10) chars as input seems more than enough
6327 test $ac_count -gt 10 && break
6329 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6332 $ac_path_SED_found && break 3
6337 if test -z "$ac_cv_path_SED"; then
6338 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6346 $as_echo "$ac_cv_path_SED" >&6; }
6347 SED
="$ac_cv_path_SED"
6350 test -z "$SED" && SED
=sed
6351 Xsed
="$SED -e 1s/^X//"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6364 $as_echo_n "checking for fgrep... " >&6; }
6365 if ${ac_cv_path_FGREP+:} false
; then :
6366 $as_echo_n "(cached) " >&6
6368 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6369 then ac_cv_path_FGREP
="$GREP -F"
6371 if test -z "$FGREP"; then
6372 ac_path_FGREP_found
=false
6373 # Loop through the user's path and test for each of PROGNAME-LIST
6374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6375 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6378 test -z "$as_dir" && as_dir
=.
6379 for ac_prog
in fgrep
; do
6380 for ac_exec_ext
in '' $ac_executable_extensions; do
6381 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6382 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6383 # Check for GNU ac_path_FGREP and select it if it is found.
6384 # Check for GNU $ac_path_FGREP
6385 case `"$ac_path_FGREP" --version 2>&1` in
6387 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6390 $as_echo_n 0123456789 >"conftest.in"
6393 cat "conftest.in" "conftest.in" >"conftest.tmp"
6394 mv "conftest.tmp" "conftest.in"
6395 cp "conftest.in" "conftest.nl"
6396 $as_echo 'FGREP' >> "conftest.nl"
6397 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6399 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6400 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6401 # Best one so far, save it but keep looking for a better one
6402 ac_cv_path_FGREP
="$ac_path_FGREP"
6403 ac_path_FGREP_max
=$ac_count
6405 # 10*(2^10) chars as input seems more than enough
6406 test $ac_count -gt 10 && break
6408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6411 $ac_path_FGREP_found && break 3
6416 if test -z "$ac_cv_path_FGREP"; then
6417 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6420 ac_cv_path_FGREP
=$FGREP
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6426 $as_echo "$ac_cv_path_FGREP" >&6; }
6427 FGREP
="$ac_cv_path_FGREP"
6430 test -z "$GREP" && GREP
=grep
6450 # Check whether --with-gnu-ld was given.
6451 if test "${with_gnu_ld+set}" = set; then :
6452 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6458 if test "$GCC" = yes; then
6459 # Check if gcc -print-prog-name=ld gives a path.
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6461 $as_echo_n "checking for ld used by $CC... " >&6; }
6464 # gcc leaves a trailing carriage return which upsets mingw
6465 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6467 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6470 # Accept absolute paths.
6472 re_direlt
='/[^/][^/]*/\.\./'
6473 # Canonicalize the pathname of ld
6474 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6475 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6476 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6478 test -z "$LD" && LD
="$ac_prog"
6481 # If it fails, then pretend we aren't using GCC.
6485 # If it is relative, then search for the first ld in PATH.
6489 elif test "$with_gnu_ld" = yes; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6491 $as_echo_n "checking for GNU ld... " >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6494 $as_echo_n "checking for non-GNU ld... " >&6; }
6496 if ${lt_cv_path_LD+:} false
; then :
6497 $as_echo_n "(cached) " >&6
6499 if test -z "$LD"; then
6500 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6501 for ac_dir
in $PATH; do
6503 test -z "$ac_dir" && ac_dir
=.
6504 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6505 lt_cv_path_LD
="$ac_dir/$ac_prog"
6506 # Check to see if the program is GNU ld. I'd rather use --version,
6507 # but apparently some variants of GNU ld only accept -v.
6508 # Break only if it was the GNU/non-GNU ld that we prefer.
6509 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6510 *GNU
* |
*'with BFD'*)
6511 test "$with_gnu_ld" != no
&& break
6514 test "$with_gnu_ld" != yes && break
6521 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6526 if test -n "$LD"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6528 $as_echo "$LD" >&6; }
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6533 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6535 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6536 if ${lt_cv_prog_gnu_ld+:} false
; then :
6537 $as_echo_n "(cached) " >&6
6539 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6540 case `$LD -v 2>&1 </dev/null` in
6541 *GNU
* |
*'with BFD'*)
6542 lt_cv_prog_gnu_ld
=yes
6545 lt_cv_prog_gnu_ld
=no
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6550 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6551 with_gnu_ld
=$lt_cv_prog_gnu_ld
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6562 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6563 if ${lt_cv_path_NM+:} false
; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$NM"; then
6567 # Let the user override the test.
6570 lt_nm_to_check
="${ac_tool_prefix}nm"
6571 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6572 lt_nm_to_check
="$lt_nm_to_check nm"
6574 for lt_tmp_nm
in $lt_nm_to_check; do
6575 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6576 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6578 test -z "$ac_dir" && ac_dir
=.
6579 tmp_nm
="$ac_dir/$lt_tmp_nm"
6580 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6581 # Check to see if the nm accepts a BSD-compat flag.
6582 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6583 # nm: unknown option "B" ignored
6584 # Tru64's nm complains that /dev/null is an invalid object file
6585 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6586 */dev
/null
* |
*'Invalid file or object type'*)
6587 lt_cv_path_NM
="$tmp_nm -B"
6591 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6593 lt_cv_path_NM
="$tmp_nm -p"
6597 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6598 continue # so that we can try to find one that supports BSD flags
6607 : ${lt_cv_path_NM=no}
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6611 $as_echo "$lt_cv_path_NM" >&6; }
6612 if test "$lt_cv_path_NM" != "no"; then
6615 # Didn't find any BSD compatible name lister, look for dumpbin.
6616 if test -n "$DUMPBIN"; then :
6617 # Let the user override the test.
6619 if test -n "$ac_tool_prefix"; then
6620 for ac_prog
in dumpbin
"link -dump"
6622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6623 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6627 $as_echo_n "(cached) " >&6
6629 if test -n "$DUMPBIN"; then
6630 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir
=.
6637 for ac_exec_ext
in '' $ac_executable_extensions; do
6638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6639 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 DUMPBIN
=$ac_cv_prog_DUMPBIN
6650 if test -n "$DUMPBIN"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6652 $as_echo "$DUMPBIN" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6659 test -n "$DUMPBIN" && break
6662 if test -z "$DUMPBIN"; then
6663 ac_ct_DUMPBIN
=$DUMPBIN
6664 for ac_prog
in dumpbin
"link -dump"
6666 # Extract the first word of "$ac_prog", so it can be a program name with args.
6667 set dummy
$ac_prog; ac_word
=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6671 $as_echo_n "(cached) " >&6
6673 if test -n "$ac_ct_DUMPBIN"; then
6674 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir
=.
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6694 if test -n "$ac_ct_DUMPBIN"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6696 $as_echo "$ac_ct_DUMPBIN" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6703 test -n "$ac_ct_DUMPBIN" && break
6706 if test "x$ac_ct_DUMPBIN" = x
; then
6709 case $cross_compiling:$ac_tool_warned in
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned
=yes ;;
6715 DUMPBIN
=$ac_ct_DUMPBIN
6719 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6721 DUMPBIN
="$DUMPBIN -symbols"
6729 if test "$DUMPBIN" != ":"; then
6733 test -z "$NM" && NM
=nm
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6741 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6742 if ${lt_cv_nm_interface+:} false
; then :
6743 $as_echo_n "(cached) " >&6
6745 lt_cv_nm_interface
="BSD nm"
6746 echo "int some_variable = 0;" > conftest.
$ac_ext
6747 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6748 (eval "$ac_compile" 2>conftest.err
)
6749 cat conftest.err
>&5
6750 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6751 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6752 cat conftest.err
>&5
6753 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6754 cat conftest.out
>&5
6755 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6756 lt_cv_nm_interface
="MS dumpbin"
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6761 $as_echo "$lt_cv_nm_interface" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6764 $as_echo_n "checking whether ln -s works... " >&6; }
6766 if test "$LN_S" = "ln -s"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6768 $as_echo "yes" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6771 $as_echo "no, using $LN_S" >&6; }
6774 # find the maximum length of command line arguments
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6776 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6777 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6778 $as_echo_n "(cached) " >&6
6785 # On DJGPP, this test can blow up pretty badly due to problems in libc
6786 # (any single argument exceeding 2000 bytes causes a buffer overrun
6787 # during glob expansion). Even if it were fixed, the result of this
6788 # check would be larger than it should be.
6789 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6793 # Under GNU Hurd, this test is not required because there is
6794 # no limit to the length of command line arguments.
6795 # Libtool will interpret -1 as no limit whatsoever
6796 lt_cv_sys_max_cmd_len
=-1;
6799 cygwin
* | mingw
* | cegcc
*)
6800 # On Win9x/ME, this test blows up -- it succeeds, but takes
6801 # about 5 minutes as the teststring grows exponentially.
6802 # Worse, since 9x/ME are not pre-emptively multitasking,
6803 # you end up with a "frozen" computer, even though with patience
6804 # the test eventually succeeds (with a max line length of 256k).
6805 # Instead, let's just punt: use the minimum linelength reported by
6806 # all of the supported platforms: 8192 (on NT/2K/XP).
6807 lt_cv_sys_max_cmd_len
=8192;
6811 # On MiNT this can take a long time and run out of memory.
6812 lt_cv_sys_max_cmd_len
=8192;
6816 # On AmigaOS with pdksh, this test takes hours, literally.
6817 # So we just punt and use a minimum line length of 8192.
6818 lt_cv_sys_max_cmd_len
=8192;
6821 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6822 # This has been around since 386BSD, at least. Likely further.
6823 if test -x /sbin
/sysctl
; then
6824 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6825 elif test -x /usr
/sbin
/sysctl
; then
6826 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6828 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6830 # And add a safety zone
6831 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6832 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6836 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6837 lt_cv_sys_max_cmd_len
=196608
6841 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6842 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6843 # nice to cause kernel panics so lets avoid the loop below.
6844 # First set a reasonable default.
6845 lt_cv_sys_max_cmd_len
=16384
6847 if test -x /sbin
/sysconfig
; then
6848 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6849 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6854 lt_cv_sys_max_cmd_len
=102400
6856 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6857 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6858 if test -n "$kargmax"; then
6859 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6861 lt_cv_sys_max_cmd_len
=32768
6865 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6866 if test -n "$lt_cv_sys_max_cmd_len"; then
6867 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6868 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6870 # Make teststring a little bigger before we do anything with it.
6871 # a 1K string should be a reasonable start.
6872 for i
in 1 2 3 4 5 6 7 8 ; do
6873 teststring
=$teststring$teststring
6875 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6876 # If test is not a shell built-in, we'll probably end up computing a
6877 # maximum length that is only half of the actual maximum length, but
6879 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6880 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6881 test $i != 17 # 1/2 MB should be enough
6884 teststring
=$teststring$teststring
6886 # Only check the string length outside the loop.
6887 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6889 # Add a significant safety factor because C++ compilers can tack on
6890 # massive amounts of additional arguments before passing them to the
6891 # linker. It appears as though 1/2 is a usable value.
6892 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6899 if test -n $lt_cv_sys_max_cmd_len ; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6901 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6904 $as_echo "none" >&6; }
6906 max_cmd_len
=$lt_cv_sys_max_cmd_len
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6918 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6919 # Try some XSI features
6922 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6924 && eval 'test $(( 1 + 1 )) -eq 2 \
6925 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6928 $as_echo "$xsi_shell" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6932 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6934 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6936 && lt_shell_append=yes
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6938 $as_echo "$lt_shell_append" >&6; }
6941 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6951 # test EBCDIC or ASCII
6952 case `echo X|tr X '\101'` in
6953 A) # ASCII based system
6954 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6955 lt_SP2NL='tr \040 \012'
6956 lt_NL2SP='tr \015\012 \040\040'
6958 *) # EBCDIC based system
6959 lt_SP2NL='tr \100 \n'
6960 lt_NL2SP='tr \r\n \100\100'
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6973 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6974 if ${lt_cv_ld_reload_flag+:} false; then :
6975 $as_echo_n "(cached
) " >&6
6977 lt_cv_ld_reload_flag='-r'
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6980 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6981 reload_flag=$lt_cv_ld_reload_flag
6982 case $reload_flag in
6984 *) reload_flag=" $reload_flag" ;;
6986 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6989 if test "$GCC" = yes; then
6990 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6992 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7005 if test -n "$ac_tool_prefix"; then
7006 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7007 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7009 $as_echo_n "checking
for $ac_word...
" >&6; }
7010 if ${ac_cv_prog_OBJDUMP+:} false; then :
7011 $as_echo_n "(cached
) " >&6
7013 if test -n "$OBJDUMP"; then
7014 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7033 OBJDUMP=$ac_cv_prog_OBJDUMP
7034 if test -n "$OBJDUMP"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7036 $as_echo "$OBJDUMP" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7039 $as_echo "no
" >&6; }
7044 if test -z "$ac_cv_prog_OBJDUMP"; then
7045 ac_ct_OBJDUMP=$OBJDUMP
7046 # Extract the first word of "objdump
", so it can be a program name with args.
7047 set dummy objdump; ac_word=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7049 $as_echo_n "checking
for $ac_word...
" >&6; }
7050 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7051 $as_echo_n "(cached
) " >&6
7053 if test -n "$ac_ct_OBJDUMP"; then
7054 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7063 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7073 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7074 if test -n "$ac_ct_OBJDUMP"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7076 $as_echo "$ac_ct_OBJDUMP" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7079 $as_echo "no
" >&6; }
7082 if test "x
$ac_ct_OBJDUMP" = x; then
7085 case $cross_compiling:$ac_tool_warned in
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7088 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7089 ac_tool_warned=yes ;;
7091 OBJDUMP=$ac_ct_OBJDUMP
7094 OBJDUMP="$ac_cv_prog_OBJDUMP"
7097 test -z "$OBJDUMP" && OBJDUMP=objdump
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7108 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7109 if ${lt_cv_deplibs_check_method+:} false; then :
7110 $as_echo_n "(cached
) " >&6
7112 lt_cv_file_magic_cmd='$MAGIC_CMD'
7113 lt_cv_file_magic_test_file=
7114 lt_cv_deplibs_check_method='unknown'
7115 # Need to set the preceding variable on all platforms that support
7116 # interlibrary dependencies.
7117 # 'none' -- dependencies not supported.
7118 # `unknown' -- same as none, but documents that we really don't know.
7119 # 'pass_all' -- all dependencies passed with no checks.
7120 # 'test_compile' -- check by making test program.
7121 # 'file_magic [[regex]]' -- check by looking for files in library path
7122 # which responds to the $file_magic_cmd with a given extended regex.
7123 # If you have `file' or equivalent on your system and you're not sure
7124 # whether `pass_all' will *always* work, you probably want this one.
7128 lt_cv_deplibs_check_method=pass_all
7132 lt_cv_deplibs_check_method=pass_all
7136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7137 lt_cv_file_magic_cmd='/usr/bin/file -L'
7138 lt_cv_file_magic_test_file=/shlib/libc.so
7142 # func_win32_libid is a shell function defined in ltmain.sh
7143 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7144 lt_cv_file_magic_cmd='func_win32_libid'
7148 # Base MSYS/MinGW do not provide the 'file' command needed by
7149 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7150 # unless we find 'file', for example because we are cross-compiling.
7151 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7152 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7153 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7154 lt_cv_file_magic_cmd='func_win32_libid'
7156 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7157 lt_cv_file_magic_cmd='$OBJDUMP -f'
7162 # use the weaker test based on 'objdump'. See mingw*.
7163 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7164 lt_cv_file_magic_cmd='$OBJDUMP -f'
7167 darwin* | rhapsody*)
7168 lt_cv_deplibs_check_method=pass_all
7171 freebsd* | dragonfly*)
7172 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7175 # Not sure whether the presence of OpenBSD here was a mistake.
7176 # Let's accept both of them until this is cleared up.
7177 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7178 lt_cv_file_magic_cmd=/usr/bin/file
7179 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7183 lt_cv_deplibs_check_method=pass_all
7188 lt_cv_deplibs_check_method=pass_all
7192 lt_cv_deplibs_check_method=pass_all
7195 hpux10.20* | hpux11*)
7196 lt_cv_file_magic_cmd=/usr/bin/file
7199 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7200 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7203 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]'
7204 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7207 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7208 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7214 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7218 irix5* | irix6* | nonstopux*)
7220 *-32|*"-32 ") libmagic=32-bit;;
7221 *-n32|*"-n32 ") libmagic=N32;;
7222 *-64|*"-64 ") libmagic=64-bit;;
7223 *) libmagic=never-match;;
7225 lt_cv_deplibs_check_method=pass_all
7228 # This must be Linux ELF.
7229 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7230 lt_cv_deplibs_check_method=pass_all
7234 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7235 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7243 lt_cv_file_magic_cmd=/usr/bin/file
7244 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7248 lt_cv_deplibs_check_method=pass_all
7252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7253 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7259 osf3* | osf4* | osf5*)
7260 lt_cv_deplibs_check_method=pass_all
7264 lt_cv_deplibs_check_method=pass_all
7268 lt_cv_deplibs_check_method=pass_all
7271 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7272 lt_cv_deplibs_check_method=pass_all
7276 case $host_vendor in
7278 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]'
7279 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7282 lt_cv_deplibs_check_method=pass_all
7285 lt_cv_file_magic_cmd='/bin/file'
7286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7289 lt_cv_file_magic_cmd='/bin/file'
7290 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7291 lt_cv_file_magic_test_file=/lib/libc.so
7294 lt_cv_deplibs_check_method=pass_all
7297 lt_cv_deplibs_check_method=pass_all
7303 lt_cv_deplibs_check_method=pass_all
7306 # Assume VxWorks cross toolchains are built on Linux, possibly
7307 # as canadian for Windows hosts.
7308 lt_cv_deplibs_check_method=pass_all
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7314 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7315 file_magic_cmd=$lt_cv_file_magic_cmd
7316 deplibs_check_method=$lt_cv_deplibs_check_method
7317 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7330 if test -n "$ac_tool_prefix"; then
7331 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7332 set dummy ${ac_tool_prefix}ar; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7334 $as_echo_n "checking
for $ac_word...
" >&6; }
7335 if ${ac_cv_prog_AR+:} false; then :
7336 $as_echo_n "(cached
) " >&6
7338 if test -n "$AR"; then
7339 ac_cv_prog_AR="$AR" # Let the user override the test.
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 test -z "$as_dir" && as_dir=.
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7348 ac_cv_prog_AR="${ac_tool_prefix}ar"
7349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7359 if test -n "$AR"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7361 $as_echo "$AR" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7364 $as_echo "no
" >&6; }
7369 if test -z "$ac_cv_prog_AR"; then
7371 # Extract the first word of "ar", so it can be a program name with args.
7372 set dummy ar; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7374 $as_echo_n "checking
for $ac_word...
" >&6; }
7375 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7376 $as_echo_n "(cached
) " >&6
7378 if test -n "$ac_ct_AR"; then
7379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_ac_ct_AR="ar"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7399 if test -n "$ac_ct_AR"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7401 $as_echo "$ac_ct_AR" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7404 $as_echo "no
" >&6; }
7407 if test "x
$ac_ct_AR" = x; then
7410 case $cross_compiling:$ac_tool_warned in
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7413 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7414 ac_tool_warned=yes ;;
7422 test -z "$AR" && AR=ar
7423 test -z "$AR_FLAGS" && AR_FLAGS=cru
7435 if test -n "$ac_tool_prefix"; then
7436 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7437 set dummy ${ac_tool_prefix}strip; ac_word=$2
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7439 $as_echo_n "checking
for $ac_word...
" >&6; }
7440 if ${ac_cv_prog_STRIP+:} false; then :
7441 $as_echo_n "(cached
) " >&6
7443 if test -n "$STRIP"; then
7444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 test -z "$as_dir" && as_dir=.
7451 for ac_exec_ext in '' $ac_executable_extensions; do
7452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7453 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7463 STRIP=$ac_cv_prog_STRIP
7464 if test -n "$STRIP"; then
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7466 $as_echo "$STRIP" >&6; }
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7469 $as_echo "no
" >&6; }
7474 if test -z "$ac_cv_prog_STRIP"; then
7476 # Extract the first word of "strip
", so it can be a program name with args.
7477 set dummy strip; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7479 $as_echo_n "checking
for $ac_word...
" >&6; }
7480 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7481 $as_echo_n "(cached
) " >&6
7483 if test -n "$ac_ct_STRIP"; then
7484 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_ac_ct_STRIP="strip
"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7503 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7504 if test -n "$ac_ct_STRIP"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7506 $as_echo "$ac_ct_STRIP" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7509 $as_echo "no
" >&6; }
7512 if test "x
$ac_ct_STRIP" = x; then
7515 case $cross_compiling:$ac_tool_warned in
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7518 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7519 ac_tool_warned=yes ;;
7524 STRIP="$ac_cv_prog_STRIP"
7527 test -z "$STRIP" && STRIP=:
7534 if test -n "$ac_tool_prefix"; then
7535 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7538 $as_echo_n "checking
for $ac_word...
" >&6; }
7539 if ${ac_cv_prog_RANLIB+:} false; then :
7540 $as_echo_n "(cached
) " >&6
7542 if test -n "$RANLIB"; then
7543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir=.
7550 for ac_exec_ext in '' $ac_executable_extensions; do
7551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7562 RANLIB=$ac_cv_prog_RANLIB
7563 if test -n "$RANLIB"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7565 $as_echo "$RANLIB" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7568 $as_echo "no
" >&6; }
7573 if test -z "$ac_cv_prog_RANLIB"; then
7574 ac_ct_RANLIB=$RANLIB
7575 # Extract the first word of "ranlib
", so it can be a program name with args.
7576 set dummy ranlib; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7578 $as_echo_n "checking
for $ac_word...
" >&6; }
7579 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7580 $as_echo_n "(cached
) " >&6
7582 if test -n "$ac_ct_RANLIB"; then
7583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7592 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7603 if test -n "$ac_ct_RANLIB"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7605 $as_echo "$ac_ct_RANLIB" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7608 $as_echo "no
" >&6; }
7611 if test "x
$ac_ct_RANLIB" = x; then
7614 case $cross_compiling:$ac_tool_warned in
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7617 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7618 ac_tool_warned=yes ;;
7620 RANLIB=$ac_ct_RANLIB
7623 RANLIB="$ac_cv_prog_RANLIB"
7626 test -z "$RANLIB" && RANLIB=:
7633 # Determine commands to create old-style static archives.
7634 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7635 old_postinstall_cmds='chmod 644 $oldlib'
7636 old_postuninstall_cmds=
7638 if test -n "$RANLIB"; then
7641 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7644 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7647 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7652 lock_old_archive_extraction=yes ;;
7654 lock_old_archive_extraction=no ;;
7695 # If no C compiler was specified, use CC.
7698 # If no C compiler flags were specified, use CFLAGS.
7699 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7701 # Allow CC to be a program name with arguments.
7705 # Check for command to grab the raw symbol name followed by C symbol from nm.
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7707 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7708 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7712 # These are sane defaults that work on at least a few old systems.
7713 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7715 # Character class describing NM global symbol codes.
7716 symcode='[BCDEGRST]'
7718 # Regexp to match symbols that can be accessed directly from C.
7719 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7721 # Define system-specific variables.
7726 cygwin* | mingw* | pw32* | cegcc*)
7727 symcode='[ABCDGISTW]'
7730 if test "$host_cpu" = ia64; then
7731 symcode='[ABCDEGRST]'
7735 symcode='[BCDEGRST]'
7738 symcode='[BCDEGQRST]'
7749 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7757 # If we're using GNU nm, then use its standard symbol codes.
7758 case `$NM -V 2>&1` in
7759 *GNU* | *'with BFD'*)
7760 symcode='[ABCDGIRSTW]' ;;
7763 # Transform an extracted symbol line into a proper C declaration.
7764 # Some systems (esp. on ia64) link data and code symbols differently,
7765 # so use this general approach.
7766 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7768 # Transform an extracted symbol line into symbol name and symbol address
7769 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7770 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'"
7772 # Handle CRLF in mingw tool chain
7776 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7780 # Try without a prefix underscore, then with it.
7781 for ac_symprfx in "" "_
"; do
7783 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7784 symxfrm="\\1 $ac_symprfx\\2 \\2"
7786 # Write the raw and C identifiers.
7787 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7788 # Fake it for dumpbin and say T for any non-static function
7789 # and D for any global variable.
7790 # Also find C++ and __fastcall symbols from MSVC++,
7791 # which start with @ or ?.
7792 lt_cv_sys_global_symbol_pipe="$AWK '"\
7793 " {last_section=section; section=\$ 3};"\
7794 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7795 " \$ 0!~/External *\|/{next};"\
7796 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7797 " {if(hide[section]) next};"\
7798 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7799 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7800 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7801 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7802 " ' prfx
=^
$ac_symprfx"
7804 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7807 # Check to see that the pipe works correctly.
7811 cat > conftest.$ac_ext <<_LT_EOF
7816 void nm_test_func(void);
7817 void nm_test_func(void){}
7821 int main(){nm_test_var='a';nm_test_func();return(0);}
7824 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7825 (eval $ac_compile) 2>&5
7827 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7828 test $ac_status = 0; }; then
7829 # Now try to grab the symbols.
7831 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7832 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7835 test $ac_status = 0; } && test -s "$nlist"; then
7836 # Try sorting and uniquifying the output.
7837 if sort "$nlist" | uniq > "$nlist"T; then
7838 mv -f "$nlist"T "$nlist"
7843 # Make sure that we snagged all the symbols we need.
7844 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7845 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7846 cat <<_LT_EOF > conftest.$ac_ext
7852 # Now generate the symbol file.
7853 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7855 cat <<_LT_EOF >> conftest.$ac_ext
7857 /* The mapping between symbol names and symbols. */
7862 lt__PROGRAM__LTX_preloaded_symbols[] =
7864 { "@PROGRAM@
", (void *) 0 },
7866 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7867 cat <<\_LT_EOF >> conftest.$ac_ext
7871 /* This works around a problem in FreeBSD linker */
7872 #ifdef FREEBSD_WORKAROUND
7873 static const void *lt_preloaded_setup() {
7874 return lt__PROGRAM__LTX_preloaded_symbols;
7882 # Now try linking the two files.
7883 mv conftest.$ac_objext conftstm.$ac_objext
7884 lt_save_LIBS="$LIBS"
7885 lt_save_CFLAGS="$CFLAGS"
7886 LIBS="conftstm.
$ac_objext"
7887 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7888 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7889 (eval $ac_link) 2>&5
7891 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7892 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7895 LIBS="$lt_save_LIBS"
7896 CFLAGS="$lt_save_CFLAGS"
7898 echo "cannot
find nm_test_func
in $nlist" >&5
7901 echo "cannot
find nm_test_var
in $nlist" >&5
7904 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7907 echo "$progname: failed program was
:" >&5
7908 cat conftest.$ac_ext >&5
7910 rm -rf conftest* conftst*
7912 # Do not use the global_symbol_pipe unless it works.
7913 if test "$pipe_works" = yes; then
7916 lt_cv_sys_global_symbol_pipe=
7922 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7923 lt_cv_sys_global_symbol_to_cdecl=
7925 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7927 $as_echo "failed
" >&6; }
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7930 $as_echo "ok
" >&6; }
7954 # Check whether --enable-libtool-lock was given.
7955 if test "${enable_libtool_lock+set}" = set; then :
7956 enableval=$enable_libtool_lock;
7959 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7961 # Some flags need to be propagated to the compiler or linker for good
7965 # Find out which ABI we are using.
7966 echo 'int i;' > conftest.$ac_ext
7967 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7968 (eval $ac_compile) 2>&5
7970 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7971 test $ac_status = 0; }; then
7972 case `/usr/bin/file conftest.$ac_objext` in
7984 # Find out which ABI we are using.
7985 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7986 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7987 (eval $ac_compile) 2>&5
7989 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7990 test $ac_status = 0; }; then
7991 if test "$lt_cv_prog_gnu_ld" = yes; then
7992 case `/usr/bin/file conftest.$ac_objext` in
7994 LD="${LD-ld} -melf32bsmip"
7997 LD="${LD-ld} -melf32bmipn32"
8000 LD="${LD-ld} -melf64bmip"
8004 case `/usr/bin/file conftest.$ac_objext` in
8020 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8021 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8022 # Find out which ABI we are using.
8023 echo 'int i;' > conftest.$ac_ext
8024 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8025 (eval $ac_compile) 2>&5
8027 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8028 test $ac_status = 0; }; then
8029 case `/usr/bin/file conftest.o` in
8032 x86_64-*kfreebsd*-gnu)
8033 LD="${LD-ld} -m elf_i386_fbsd
"
8036 case `/usr/bin/file conftest.o` in
8038 LD="${LD-ld} -m elf32_x86_64
"
8041 LD="${LD-ld} -m elf_i386
"
8045 powerpc64le-*linux*)
8046 LD="${LD-ld} -m elf32lppclinux
"
8049 LD="${LD-ld} -m elf32ppclinux
"
8052 LD="${LD-ld} -m elf_s390
"
8055 LD="${LD-ld} -m elf32_sparc
"
8061 x86_64-*kfreebsd*-gnu)
8062 LD="${LD-ld} -m elf_x86_64_fbsd
"
8065 LD="${LD-ld} -m elf_x86_64
"
8068 LD="${LD-ld} -m elf64lppc
"
8071 LD="${LD-ld} -m elf64ppc
"
8073 s390*-*linux*|s390*-*tpf*)
8074 LD="${LD-ld} -m elf64_s390
"
8077 LD="${LD-ld} -m elf64_sparc
"
8087 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8088 SAVE_CFLAGS="$CFLAGS"
8089 CFLAGS="$CFLAGS -belf"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8091 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8092 if ${lt_cv_cc_needs_belf+:} false; then :
8093 $as_echo_n "(cached
) " >&6
8096 ac_cpp='$CPP $CPPFLAGS'
8097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8112 if ac_fn_c_try_link "$LINENO"; then :
8113 lt_cv_cc_needs_belf=yes
8115 lt_cv_cc_needs_belf=no
8117 rm -f core conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8120 ac_cpp='$CPP $CPPFLAGS'
8121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8127 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8128 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8129 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8130 CFLAGS="$SAVE_CFLAGS"
8134 # Find out which ABI we are using.
8135 echo 'int i;' > conftest.$ac_ext
8136 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8137 (eval $ac_compile) 2>&5
8139 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8140 test $ac_status = 0; }; then
8141 case `/usr/bin/file conftest.o` in
8143 case $lt_cv_prog_gnu_ld in
8144 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8146 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8158 need_locks="$enable_libtool_lock"
8162 rhapsody* | darwin*)
8163 if test -n "$ac_tool_prefix"; then
8164 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8165 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8167 $as_echo_n "checking
for $ac_word...
" >&6; }
8168 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8169 $as_echo_n "(cached
) " >&6
8171 if test -n "$DSYMUTIL"; then
8172 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 test -z "$as_dir" && as_dir=.
8179 for ac_exec_ext in '' $ac_executable_extensions; do
8180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8181 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8191 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8192 if test -n "$DSYMUTIL"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8194 $as_echo "$DSYMUTIL" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8197 $as_echo "no
" >&6; }
8202 if test -z "$ac_cv_prog_DSYMUTIL"; then
8203 ac_ct_DSYMUTIL=$DSYMUTIL
8204 # Extract the first word of "dsymutil
", so it can be a program name with args.
8205 set dummy dsymutil; ac_word=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8207 $as_echo_n "checking
for $ac_word...
" >&6; }
8208 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8209 $as_echo_n "(cached
) " >&6
8211 if test -n "$ac_ct_DSYMUTIL"; then
8212 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8218 test -z "$as_dir" && as_dir=.
8219 for ac_exec_ext in '' $ac_executable_extensions; do
8220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8231 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8232 if test -n "$ac_ct_DSYMUTIL"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8234 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8237 $as_echo "no
" >&6; }
8240 if test "x
$ac_ct_DSYMUTIL" = x; then
8243 case $cross_compiling:$ac_tool_warned in
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8246 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8247 ac_tool_warned=yes ;;
8249 DSYMUTIL=$ac_ct_DSYMUTIL
8252 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8255 if test -n "$ac_tool_prefix"; then
8256 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8257 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8259 $as_echo_n "checking
for $ac_word...
" >&6; }
8260 if ${ac_cv_prog_NMEDIT+:} false; then :
8261 $as_echo_n "(cached
) " >&6
8263 if test -n "$NMEDIT"; then
8264 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8273 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8283 NMEDIT=$ac_cv_prog_NMEDIT
8284 if test -n "$NMEDIT"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8286 $as_echo "$NMEDIT" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8289 $as_echo "no
" >&6; }
8294 if test -z "$ac_cv_prog_NMEDIT"; then
8295 ac_ct_NMEDIT=$NMEDIT
8296 # Extract the first word of "nmedit
", so it can be a program name with args.
8297 set dummy nmedit; ac_word=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8299 $as_echo_n "checking
for $ac_word...
" >&6; }
8300 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8301 $as_echo_n "(cached
) " >&6
8303 if test -n "$ac_ct_NMEDIT"; then
8304 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8310 test -z "$as_dir" && as_dir=.
8311 for ac_exec_ext in '' $ac_executable_extensions; do
8312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8313 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8323 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8324 if test -n "$ac_ct_NMEDIT"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8326 $as_echo "$ac_ct_NMEDIT" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8329 $as_echo "no
" >&6; }
8332 if test "x
$ac_ct_NMEDIT" = x; then
8335 case $cross_compiling:$ac_tool_warned in
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8338 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8339 ac_tool_warned=yes ;;
8341 NMEDIT=$ac_ct_NMEDIT
8344 NMEDIT="$ac_cv_prog_NMEDIT"
8347 if test -n "$ac_tool_prefix"; then
8348 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8349 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8351 $as_echo_n "checking
for $ac_word...
" >&6; }
8352 if ${ac_cv_prog_LIPO+:} false; then :
8353 $as_echo_n "(cached
) " >&6
8355 if test -n "$LIPO"; then
8356 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8375 LIPO=$ac_cv_prog_LIPO
8376 if test -n "$LIPO"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8378 $as_echo "$LIPO" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8381 $as_echo "no
" >&6; }
8386 if test -z "$ac_cv_prog_LIPO"; then
8388 # Extract the first word of "lipo
", so it can be a program name with args.
8389 set dummy lipo; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8391 $as_echo_n "checking
for $ac_word...
" >&6; }
8392 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8393 $as_echo_n "(cached
) " >&6
8395 if test -n "$ac_ct_LIPO"; then
8396 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405 ac_cv_prog_ac_ct_LIPO="lipo
"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8415 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8416 if test -n "$ac_ct_LIPO"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8418 $as_echo "$ac_ct_LIPO" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8421 $as_echo "no
" >&6; }
8424 if test "x
$ac_ct_LIPO" = x; then
8427 case $cross_compiling:$ac_tool_warned in
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8430 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8431 ac_tool_warned=yes ;;
8436 LIPO="$ac_cv_prog_LIPO"
8439 if test -n "$ac_tool_prefix"; then
8440 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8441 set dummy ${ac_tool_prefix}otool; ac_word=$2
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8443 $as_echo_n "checking
for $ac_word...
" >&6; }
8444 if ${ac_cv_prog_OTOOL+:} false; then :
8445 $as_echo_n "(cached
) " >&6
8447 if test -n "$OTOOL"; then
8448 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8454 test -z "$as_dir" && as_dir=.
8455 for ac_exec_ext in '' $ac_executable_extensions; do
8456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8457 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8467 OTOOL=$ac_cv_prog_OTOOL
8468 if test -n "$OTOOL"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8470 $as_echo "$OTOOL" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8473 $as_echo "no
" >&6; }
8478 if test -z "$ac_cv_prog_OTOOL"; then
8480 # Extract the first word of "otool
", so it can be a program name with args.
8481 set dummy otool; ac_word=$2
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8483 $as_echo_n "checking
for $ac_word...
" >&6; }
8484 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8485 $as_echo_n "(cached
) " >&6
8487 if test -n "$ac_ct_OTOOL"; then
8488 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8494 test -z "$as_dir" && as_dir=.
8495 for ac_exec_ext in '' $ac_executable_extensions; do
8496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8497 ac_cv_prog_ac_ct_OTOOL="otool
"
8498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8507 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8508 if test -n "$ac_ct_OTOOL"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8510 $as_echo "$ac_ct_OTOOL" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8513 $as_echo "no
" >&6; }
8516 if test "x
$ac_ct_OTOOL" = x; then
8519 case $cross_compiling:$ac_tool_warned in
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8522 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8523 ac_tool_warned=yes ;;
8528 OTOOL="$ac_cv_prog_OTOOL"
8531 if test -n "$ac_tool_prefix"; then
8532 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8533 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8535 $as_echo_n "checking
for $ac_word...
" >&6; }
8536 if ${ac_cv_prog_OTOOL64+:} false; then :
8537 $as_echo_n "(cached
) " >&6
8539 if test -n "$OTOOL64"; then
8540 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8546 test -z "$as_dir" && as_dir=.
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8549 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8559 OTOOL64=$ac_cv_prog_OTOOL64
8560 if test -n "$OTOOL64"; then
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8562 $as_echo "$OTOOL64" >&6; }
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8565 $as_echo "no
" >&6; }
8570 if test -z "$ac_cv_prog_OTOOL64"; then
8571 ac_ct_OTOOL64=$OTOOL64
8572 # Extract the first word of "otool64
", so it can be a program name with args.
8573 set dummy otool64; ac_word=$2
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8575 $as_echo_n "checking
for $ac_word...
" >&6; }
8576 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8577 $as_echo_n "(cached
) " >&6
8579 if test -n "$ac_ct_OTOOL64"; then
8580 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir=.
8587 for ac_exec_ext in '' $ac_executable_extensions; do
8588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8589 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8599 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8600 if test -n "$ac_ct_OTOOL64"; then
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8602 $as_echo "$ac_ct_OTOOL64" >&6; }
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8605 $as_echo "no
" >&6; }
8608 if test "x
$ac_ct_OTOOL64" = x; then
8611 case $cross_compiling:$ac_tool_warned in
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8614 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8615 ac_tool_warned=yes ;;
8617 OTOOL64=$ac_ct_OTOOL64
8620 OTOOL64="$ac_cv_prog_OTOOL64"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8650 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8651 if ${lt_cv_apple_cc_single_mod+:} false; then :
8652 $as_echo_n "(cached
) " >&6
8654 lt_cv_apple_cc_single_mod=no
8655 if test -z "${LT_MULTI_MODULE}"; then
8656 # By default we will add the -single_module flag. You can override
8657 # by either setting the environment variable LT_MULTI_MODULE
8658 # non-empty at configure time, or by adding -multi_module to the
8660 rm -rf libconftest.dylib*
8661 echo "int foo
(void
){return 1;}" > conftest.c
8662 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8663 -dynamiclib -Wl,-single_module conftest.c
" >&5
8664 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8665 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8667 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8668 lt_cv_apple_cc_single_mod=yes
8670 cat conftest.err >&5
8672 rm -rf libconftest.dylib*
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8677 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8679 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8680 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8681 $as_echo_n "(cached
) " >&6
8683 lt_cv_ld_exported_symbols_list=no
8684 save_LDFLAGS=$LDFLAGS
8685 echo "_main
" > conftest.sym
8686 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 lt_cv_ld_exported_symbols_list=yes
8701 lt_cv_ld_exported_symbols_list=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 LDFLAGS="$save_LDFLAGS"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8709 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8711 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8712 if ${lt_cv_ld_force_load+:} false; then :
8713 $as_echo_n "(cached
) " >&6
8715 lt_cv_ld_force_load=no
8716 cat > conftest.c << _LT_EOF
8717 int forced_loaded() { return 2;}
8719 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8720 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8721 echo "$AR cru libconftest.a conftest.o
" >&5
8722 $AR cru libconftest.a conftest.o 2>&5
8723 cat > conftest.c << _LT_EOF
8724 int main() { return 0;}
8726 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8727 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8729 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8730 lt_cv_ld_force_load=yes
8732 cat conftest.err >&5
8734 rm -f conftest.err libconftest.a conftest conftest.c
8735 rm -rf conftest.dSYM
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8739 $as_echo "$lt_cv_ld_force_load" >&6; }
8740 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8741 # build without first building modern cctools / linker.
8742 case $host_cpu-$host_os in
8743 *-rhapsody* | *-darwin1.[012])
8744 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8746 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8748 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8749 # deployment target is forced to an earlier version.
8750 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8751 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8754 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8761 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8762 _lt_dar_single_mod='$single_module'
8764 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8765 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8767 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8769 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8770 _lt_dsymutil='~$DSYMUTIL $lib || :'
8777 for ac_header in dlfcn.h
8779 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8781 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8782 cat >>confdefs.h <<_ACEOF
8783 #define HAVE_DLFCN_H 1
8803 # Check whether --enable-shared was given.
8804 if test "${enable_shared+set}" = set; then :
8805 enableval=$enable_shared; p=${PACKAGE-default}
8807 yes) enable_shared=yes ;;
8808 no) enable_shared=no ;;
8811 # Look at the argument we got. We use all the common list separators.
8812 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8813 for pkg in $enableval; do
8815 if test "X
$pkg" = "X
$p"; then
8834 # Check whether --enable-static was given.
8835 if test "${enable_static+set}" = set; then :
8836 enableval=$enable_static; p=${PACKAGE-default}
8838 yes) enable_static=yes ;;
8839 no) enable_static=no ;;
8842 # Look at the argument we got. We use all the common list separators.
8843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8844 for pkg in $enableval; do
8846 if test "X
$pkg" = "X
$p"; then
8866 # Check whether --with-pic was given.
8867 if test "${with_pic+set}" = set; then :
8868 withval=$with_pic; pic_mode="$withval"
8874 test -z "$pic_mode" && pic_mode=default
8882 # Check whether --enable-fast-install was given.
8883 if test "${enable_fast_install+set}" = set; then :
8884 enableval=$enable_fast_install; p=${PACKAGE-default}
8886 yes) enable_fast_install=yes ;;
8887 no) enable_fast_install=no ;;
8889 enable_fast_install=no
8890 # Look at the argument we got. We use all the common list separators.
8891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8892 for pkg in $enableval; do
8894 if test "X
$pkg" = "X
$p"; then
8895 enable_fast_install=yes
8902 enable_fast_install=yes
8915 # This can be used to rebuild libtool when needed
8916 LIBTOOL_DEPS="$ltmain"
8918 # Always use our own libtool.
8919 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8946 test -z "$LN_S" && LN_S="ln -s"
8961 if test -n "${ZSH_VERSION+set}" ; then
8962 setopt NO_GLOB_SUBST
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8966 $as_echo_n "checking
for objdir...
" >&6; }
8967 if ${lt_cv_objdir+:} false; then :
8968 $as_echo_n "(cached
) " >&6
8970 rm -f .libs 2>/dev/null
8971 mkdir .libs 2>/dev/null
8972 if test -d .libs; then
8975 # MS-DOS does not allow filenames that begin with a dot.
8978 rmdir .libs 2>/dev/null
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8981 $as_echo "$lt_cv_objdir" >&6; }
8982 objdir=$lt_cv_objdir
8988 cat >>confdefs.h <<_ACEOF
8989 #define LT_OBJDIR "$lt_cv_objdir/"
8997 # AIX sometimes has problems with the GCC collect2 program. For some
8998 # reason, if we set the COLLECT_NAMES environment variable, the problems
8999 # vanish in a puff of smoke.
9000 if test "X
${COLLECT_NAMES+set}" != Xset; then
9002 export COLLECT_NAMES
9009 can_build_shared=yes
9011 # All known linkers require a `.a' archive for static linking (except MSVC,
9012 # which needs '.lib').
9015 with_gnu_ld="$lt_cv_prog_gnu_ld"
9018 old_CFLAGS="$CFLAGS"
9020 # Set sane defaults for various variables
9021 test -z "$CC" && CC=cc
9022 test -z "$LTCC" && LTCC=$CC
9023 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9024 test -z "$LD" && LD=ld
9025 test -z "$ac_objext" && ac_objext=o
9027 for cc_temp in $compiler""; do
9029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9035 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9038 # Only perform the check for file, if the check method requires it
9039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9040 case $deplibs_check_method in
9042 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9044 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9046 $as_echo_n "(cached
) " >&6
9050 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9053 lt_save_MAGIC_CMD="$MAGIC_CMD"
9054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9055 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9056 for ac_dir in $ac_dummy; do
9058 test -z "$ac_dir" && ac_dir=.
9059 if test -f $ac_dir/${ac_tool_prefix}file; then
9060 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9061 if test -n "$file_magic_test_file"; then
9062 case $deplibs_check_method in
9064 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9066 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9067 $EGREP "$file_magic_regex" > /dev/null; then
9072 *** Warning: the command libtool uses to detect shared libraries,
9073 *** $file_magic_cmd, produces output that libtool cannot recognize.
9074 *** The result is that libtool may fail to recognize shared libraries
9075 *** as such. This will affect the creation of libtool libraries that
9076 *** depend on shared libraries, but programs linked with such libtool
9077 *** libraries will work regardless of this problem. Nevertheless, you
9078 *** may want to report the problem to your system manager and/or to
9079 *** bug-libtool@gnu.org
9089 MAGIC_CMD="$lt_save_MAGIC_CMD"
9094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9095 if test -n "$MAGIC_CMD"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9097 $as_echo "$MAGIC_CMD" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9100 $as_echo "no
" >&6; }
9107 if test -z "$lt_cv_path_MAGIC_CMD"; then
9108 if test -n "$ac_tool_prefix"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9110 $as_echo_n "checking
for file...
" >&6; }
9111 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9112 $as_echo_n "(cached
) " >&6
9116 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9119 lt_save_MAGIC_CMD="$MAGIC_CMD"
9120 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9121 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9122 for ac_dir in $ac_dummy; do
9124 test -z "$ac_dir" && ac_dir=.
9125 if test -f $ac_dir/file; then
9126 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9127 if test -n "$file_magic_test_file"; then
9128 case $deplibs_check_method in
9130 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9132 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9133 $EGREP "$file_magic_regex" > /dev/null; then
9138 *** Warning: the command libtool uses to detect shared libraries,
9139 *** $file_magic_cmd, produces output that libtool cannot recognize.
9140 *** The result is that libtool may fail to recognize shared libraries
9141 *** as such. This will affect the creation of libtool libraries that
9142 *** depend on shared libraries, but programs linked with such libtool
9143 *** libraries will work regardless of this problem. Nevertheless, you
9144 *** may want to report the problem to your system manager and/or to
9145 *** bug-libtool@gnu.org
9155 MAGIC_CMD="$lt_save_MAGIC_CMD"
9160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9161 if test -n "$MAGIC_CMD"; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9163 $as_echo "$MAGIC_CMD" >&6; }
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9166 $as_echo "no
" >&6; }
9179 # Use C for the default configuration in the libtool script
9183 ac_cpp='$CPP $CPPFLAGS'
9184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9189 # Source file extension for C test sources.
9192 # Object file extension for compiled C test sources.
9196 # Code to be used in simple compile tests
9197 lt_simple_compile_test_code="int some_variable
= 0;"
9199 # Code to be used in simple link tests
9200 lt_simple_link_test_code='int main(){return(0);}'
9208 # If no C compiler was specified, use CC.
9211 # If no C compiler flags were specified, use CFLAGS.
9212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9214 # Allow CC to be a program name with arguments.
9217 # Save the default compiler, since it gets overwritten when the other
9218 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9219 compiler_DEFAULT=$CC
9221 # save warnings/boilerplate of simple test code
9222 ac_outfile=conftest.$ac_objext
9223 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9224 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9225 _lt_compiler_boilerplate=`cat conftest.err`
9228 ac_outfile=conftest.$ac_objext
9229 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9230 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9231 _lt_linker_boilerplate=`cat conftest.err`
9236 ## There is no encapsulation within the following macros, do not change
9237 ## the running order or otherwise move them around unless you know exactly
9238 ## what you are doing...
9239 if test -n "$compiler"; then
9241 lt_prog_compiler_no_builtin_flag=
9243 if test "$GCC" = yes; then
9244 case $cc_basename in
9246 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9248 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9252 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9253 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9254 $as_echo_n "(cached
) " >&6
9256 lt_cv_prog_compiler_rtti_exceptions=no
9257 ac_outfile=conftest.$ac_objext
9258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9259 lt_compiler_flag="-fno-rtti -fno-exceptions"
9260 # Insert the option either (1) after the last *FLAGS variable, or
9261 # (2) before a word containing "conftest.
", or (3) at the end.
9262 # Note that $ac_compile itself does not contain backslashes and begins
9263 # with a dollar sign (not a hyphen), so the echo should work correctly.
9264 # The option is referenced via a variable to avoid confusing sed.
9265 lt_compile=`echo "$ac_compile" | $SED \
9266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9268 -e 's:$: $lt_compiler_flag:'`
9269 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9270 (eval "$lt_compile" 2>conftest.err)
9272 cat conftest.err >&5
9273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9274 if (exit $ac_status) && test -s "$ac_outfile"; then
9275 # The compiler can only warn and ignore the option if not recognized
9276 # So say no if there are warnings other than the usual output.
9277 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9278 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9279 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9280 lt_cv_prog_compiler_rtti_exceptions=yes
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9287 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9289 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9290 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9302 lt_prog_compiler_wl=
9303 lt_prog_compiler_pic=
9304 lt_prog_compiler_static=
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9307 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9309 if test "$GCC" = yes; then
9310 lt_prog_compiler_wl='-Wl,'
9311 lt_prog_compiler_static='-static'
9315 # All AIX code is PIC.
9316 if test "$host_cpu" = ia64; then
9317 # AIX 5 now supports IA64 processor
9318 lt_prog_compiler_static='-Bstatic'
9320 lt_prog_compiler_pic='-fPIC'
9326 # see comment about AmigaOS4 .so support
9327 lt_prog_compiler_pic='-fPIC'
9330 # FIXME: we need at least 68020 code to build shared libraries, but
9331 # adding the `-m68020' flag to GCC prevents building anything better,
9333 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9338 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9339 # PIC is the default for these OSes.
9342 mingw* | cygwin* | pw32* | os2* | cegcc*)
9343 # This hack is so that the source file can tell whether it is being
9344 # built for inclusion in a dll (and should export symbols for example).
9345 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9346 # (--disable-auto-import) libraries
9347 lt_prog_compiler_pic='-DDLL_EXPORT'
9350 darwin* | rhapsody*)
9351 # PIC is the default on this platform
9352 # Common symbols not allowed in MH_DYLIB files
9353 lt_prog_compiler_pic='-fno-common'
9357 # PIC is the default for Haiku.
9358 # The "-static" flag exists, but is broken.
9359 lt_prog_compiler_static=
9363 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9364 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9365 # sets the default TLS model and affects inlining.
9371 lt_prog_compiler_pic='-fPIC'
9377 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9378 # Instead, we relocate shared libraries at runtime.
9382 # Just because we use GCC doesn't mean we suddenly get shared libraries
9383 # on systems that don't support them.
9384 lt_prog_compiler_can_build_shared=no
9389 # QNX uses GNU C++, but need to define -shared option too, otherwise
9391 lt_prog_compiler_pic='-fPIC -shared'
9395 if test -d /usr/nec; then
9396 lt_prog_compiler_pic=-Kconform_pic
9401 lt_prog_compiler_pic='-fPIC'
9405 case $cc_basename in
9406 nvcc*) # Cuda Compiler Driver 2.2
9407 lt_prog_compiler_wl='-Xlinker '
9408 lt_prog_compiler_pic='-Xcompiler -fPIC'
9412 # PORTME Check for flag to pass linker flags through the system compiler.
9415 lt_prog_compiler_wl='-Wl,'
9416 if test "$host_cpu" = ia64; then
9417 # AIX 5 now supports IA64 processor
9418 lt_prog_compiler_static='-Bstatic'
9420 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9424 mingw* | cygwin* | pw32* | os2* | cegcc*)
9425 # This hack is so that the source file can tell whether it is being
9426 # built for inclusion in a dll (and should export symbols for example).
9427 lt_prog_compiler_pic='-DDLL_EXPORT'
9430 hpux9* | hpux10* | hpux11*)
9431 lt_prog_compiler_wl='-Wl,'
9432 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9439 lt_prog_compiler_pic='+Z'
9442 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9443 lt_prog_compiler_static='${wl}-a ${wl}archive'
9446 irix5* | irix6* | nonstopux*)
9447 lt_prog_compiler_wl='-Wl,'
9448 # PIC (with -KPIC) is the default.
9449 lt_prog_compiler_static='-non_shared'
9452 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9453 case $cc_basename in
9454 # old Intel for x86_64 which still supported -KPIC.
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-KPIC'
9458 lt_prog_compiler_static='-static'
9460 # icc used to be incompatible with GCC.
9461 # ICC 10 doesn't accept -KPIC any more.
9463 lt_prog_compiler_wl='-Wl,'
9464 lt_prog_compiler_pic='-fPIC'
9465 lt_prog_compiler_static='-static'
9467 # Lahey Fortran 8.1.
9469 lt_prog_compiler_wl='-Wl,'
9470 lt_prog_compiler_pic='--shared'
9471 lt_prog_compiler_static='--static'
9473 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9474 # Portland Group compilers (*not* the Pentium gcc compiler,
9475 # which looks to be a dead project)
9476 lt_prog_compiler_wl='-Wl,'
9477 lt_prog_compiler_pic='-fpic'
9478 lt_prog_compiler_static='-Bstatic'
9481 lt_prog_compiler_wl='-Wl,'
9482 # All Alpha code is PIC.
9483 lt_prog_compiler_static='-non_shared'
9485 xl* | bgxl* | bgf* | mpixl*)
9486 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9487 lt_prog_compiler_wl='-Wl,'
9488 lt_prog_compiler_pic='-qpic'
9489 lt_prog_compiler_static='-qstaticlink'
9492 case `$CC -V 2>&1 | sed 5q` in
9493 *Sun\ F* | *Sun*Fortran*)
9494 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9495 lt_prog_compiler_pic='-KPIC'
9496 lt_prog_compiler_static='-Bstatic'
9497 lt_prog_compiler_wl=''
9501 lt_prog_compiler_pic='-KPIC'
9502 lt_prog_compiler_static='-Bstatic'
9503 lt_prog_compiler_wl='-Wl,'
9511 lt_prog_compiler_pic='-KPIC'
9512 lt_prog_compiler_static='-Bstatic'
9516 # QNX uses GNU C++, but need to define -shared option too, otherwise
9518 lt_prog_compiler_pic='-fPIC -shared'
9521 osf3* | osf4* | osf5*)
9522 lt_prog_compiler_wl='-Wl,'
9523 # All OSF/1 code is PIC.
9524 lt_prog_compiler_static='-non_shared'
9528 lt_prog_compiler_static='-non_shared'
9532 lt_prog_compiler_pic='-KPIC'
9533 lt_prog_compiler_static='-Bstatic'
9534 case $cc_basename in
9536 lt_prog_compiler_wl='-Qoption ld ';;
9538 lt_prog_compiler_wl='-Wl,';;
9543 lt_prog_compiler_wl='-Qoption ld '
9544 lt_prog_compiler_pic='-PIC'
9545 lt_prog_compiler_static='-Bstatic'
9548 sysv4 | sysv4.2uw2* | sysv4.3*)
9549 lt_prog_compiler_wl='-Wl,'
9550 lt_prog_compiler_pic='-KPIC'
9551 lt_prog_compiler_static='-Bstatic'
9555 if test -d /usr/nec ;then
9556 lt_prog_compiler_pic='-Kconform_pic'
9557 lt_prog_compiler_static='-Bstatic'
9561 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9562 lt_prog_compiler_wl='-Wl,'
9563 lt_prog_compiler_pic='-KPIC'
9564 lt_prog_compiler_static='-Bstatic'
9568 lt_prog_compiler_wl='-Wl,'
9569 lt_prog_compiler_can_build_shared=no
9573 lt_prog_compiler_pic='-pic'
9574 lt_prog_compiler_static='-Bstatic'
9578 lt_prog_compiler_can_build_shared=no
9584 # For platforms which do not support PIC, -DPIC is meaningless:
9586 lt_prog_compiler_pic=
9589 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9593 $as_echo "$lt_prog_compiler_pic" >&6; }
9601 # Check to make sure the PIC flag actually works.
9603 if test -n "$lt_prog_compiler_pic"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9605 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9606 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9607 $as_echo_n "(cached
) " >&6
9609 lt_cv_prog_compiler_pic_works=no
9610 ac_outfile=conftest.$ac_objext
9611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9612 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9613 # Insert the option either (1) after the last *FLAGS variable, or
9614 # (2) before a word containing "conftest.
", or (3) at the end.
9615 # Note that $ac_compile itself does not contain backslashes and begins
9616 # with a dollar sign (not a hyphen), so the echo should work correctly.
9617 # The option is referenced via a variable to avoid confusing sed.
9618 lt_compile=`echo "$ac_compile" | $SED \
9619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9621 -e 's:$: $lt_compiler_flag:'`
9622 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9623 (eval "$lt_compile" 2>conftest.err)
9625 cat conftest.err >&5
9626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9627 if (exit $ac_status) && test -s "$ac_outfile"; then
9628 # The compiler can only warn and ignore the option if not recognized
9629 # So say no if there are warnings other than the usual output.
9630 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9631 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9632 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9633 lt_cv_prog_compiler_pic_works=yes
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9640 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9642 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9643 case $lt_prog_compiler_pic in
9645 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9648 lt_prog_compiler_pic=
9649 lt_prog_compiler_can_build_shared=no
9660 # Check to make sure the static flag actually works.
9662 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9664 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9665 if ${lt_cv_prog_compiler_static_works+:} false; then :
9666 $as_echo_n "(cached
) " >&6
9668 lt_cv_prog_compiler_static_works=no
9669 save_LDFLAGS="$LDFLAGS"
9670 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9671 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9672 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9673 # The linker can only warn and ignore the option if not recognized
9674 # So say no if there are warnings
9675 if test -s conftest.err; then
9676 # Append any errors to the config.log.
9677 cat conftest.err 1>&5
9678 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9680 if diff conftest.exp conftest.er2 >/dev/null; then
9681 lt_cv_prog_compiler_static_works=yes
9684 lt_cv_prog_compiler_static_works=yes
9688 LDFLAGS="$save_LDFLAGS"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9692 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9694 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9697 lt_prog_compiler_static=
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9707 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9708 if ${lt_cv_prog_compiler_c_o+:} false; then :
9709 $as_echo_n "(cached
) " >&6
9711 lt_cv_prog_compiler_c_o=no
9712 $RM -r conftest 2>/dev/null
9716 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9718 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9719 # Insert the option either (1) after the last *FLAGS variable, or
9720 # (2) before a word containing "conftest.
", or (3) at the end.
9721 # Note that $ac_compile itself does not contain backslashes and begins
9722 # with a dollar sign (not a hyphen), so the echo should work correctly.
9723 lt_compile=`echo "$ac_compile" | $SED \
9724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9726 -e 's:$: $lt_compiler_flag:'`
9727 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9728 (eval "$lt_compile" 2>out/conftest.err)
9730 cat out/conftest.err >&5
9731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9732 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9734 # The compiler can only warn and ignore the option if not recognized
9735 # So say no if there are warnings
9736 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9737 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9738 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9739 lt_cv_prog_compiler_c_o=yes
9744 # SGI C++ compiler will create directory out/ii_files/ for
9745 # template instantiation
9746 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9747 $RM out/* && rmdir out
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9754 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9762 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9763 if ${lt_cv_prog_compiler_c_o+:} false; then :
9764 $as_echo_n "(cached
) " >&6
9766 lt_cv_prog_compiler_c_o=no
9767 $RM -r conftest 2>/dev/null
9771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9773 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9774 # Insert the option either (1) after the last *FLAGS variable, or
9775 # (2) before a word containing "conftest.
", or (3) at the end.
9776 # Note that $ac_compile itself does not contain backslashes and begins
9777 # with a dollar sign (not a hyphen), so the echo should work correctly.
9778 lt_compile=`echo "$ac_compile" | $SED \
9779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9781 -e 's:$: $lt_compiler_flag:'`
9782 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9783 (eval "$lt_compile" 2>out/conftest.err)
9785 cat out/conftest.err >&5
9786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9787 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9789 # The compiler can only warn and ignore the option if not recognized
9790 # So say no if there are warnings
9791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9792 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9793 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9794 lt_cv_prog_compiler_c_o=yes
9799 # SGI C++ compiler will create directory out/ii_files/ for
9800 # template instantiation
9801 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9802 $RM out/* && rmdir out
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9809 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9814 hard_links="nottested
"
9815 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9816 # do not overwrite the value of need_locks provided by the user
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9818 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9821 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9823 ln conftest.a conftest.b 2>&5 || hard_links=no
9824 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9826 $as_echo "$hard_links" >&6; }
9827 if test "$hard_links" = no; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9829 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9842 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9845 allow_undefined_flag=
9846 always_export_symbols=no
9848 archive_expsym_cmds=
9849 compiler_needs_object=no
9850 enable_shared_with_static_runtimes=no
9851 export_dynamic_flag_spec=
9852 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9853 hardcode_automatic=no
9855 hardcode_direct_absolute=no
9856 hardcode_libdir_flag_spec=
9857 hardcode_libdir_flag_spec_ld=
9858 hardcode_libdir_separator=
9860 hardcode_shlibpath_var=unsupported
9862 link_all_deplibs=unknown
9865 old_archive_from_new_cmds=
9866 old_archive_from_expsyms_cmds=
9867 thread_safe_flag_spec=
9868 whole_archive_flag_spec=
9869 # include_expsyms should be a list of space-separated symbols to be *always*
9870 # included in the symbol list
9872 # exclude_expsyms can be an extended regexp of symbols to exclude
9873 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9874 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9875 # as well as any symbol that contains `d'.
9876 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9877 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9878 # platforms (ab)use it in PIC code, but their linkers get confused if
9879 # the symbol is explicitly referenced. Since portable code cannot
9880 # rely on this symbol name, it's probably fine to never include it in
9881 # preloaded symbol tables.
9882 # Exclude shared library initialization/finalization symbols.
9883 extract_expsyms_cmds=
9886 cygwin* | mingw* | pw32* | cegcc*)
9887 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9888 # When not using gcc, we currently assume that we are using
9889 # Microsoft Visual C++.
9890 if test "$GCC" != yes; then
9895 # we just hope/assume this is gcc and not c89 (= MSVC++)
9905 # On some targets, GNU ld is compatible enough with the native linker
9906 # that we're better off using the native interface for both.
9907 lt_use_gnu_ld_interface=no
9908 if test "$with_gnu_ld" = yes; then
9911 # The AIX port of GNU ld has always aspired to compatibility
9912 # with the native linker. However, as the warning in the GNU ld
9913 # block says, versions before 2.19.5* couldn't really create working
9914 # shared libraries, regardless of the interface used.
9915 case `$LD -v 2>&1` in
9916 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9917 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9918 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9920 lt_use_gnu_ld_interface=yes
9925 lt_use_gnu_ld_interface=yes
9930 if test "$lt_use_gnu_ld_interface" = yes; then
9931 # If archive_cmds runs LD, not CC, wlarc should be empty
9934 # Set some defaults for GNU ld with shared library support. These
9935 # are reset later if shared libraries are not supported. Putting them
9936 # here allows them to be overridden if necessary.
9937 runpath_var=LD_RUN_PATH
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 export_dynamic_flag_spec='${wl}--export-dynamic'
9940 # ancient GNU ld didn't support --whole-archive et. al.
9941 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9942 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9944 whole_archive_flag_spec=
9946 supports_anon_versioning=no
9947 case `$LD -v 2>&1` in
9948 *GNU\ gold*) supports_anon_versioning=yes ;;
9949 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9950 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9951 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9952 *\ 2.11.*) ;; # other 2.11 versions
9953 *) supports_anon_versioning=yes ;;
9956 # See if GNU ld supports shared libraries.
9959 # On AIX/PPC, the GNU linker is very broken
9960 if test "$host_cpu" != ia64; then
9964 *** Warning: the GNU linker, at least up to release 2.19, is reported
9965 *** to be unable to reliably create shared libraries on AIX.
9966 *** Therefore, libtool is disabling shared libraries support. If you
9967 *** really care for shared libraries, you may want to install binutils
9968 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9969 *** You will then need to restart the configuration process.
9978 # see comment about AmigaOS4 .so support
9979 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 archive_expsym_cmds=''
9983 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)'
9984 hardcode_libdir_flag_spec
='-L$libdir'
9985 hardcode_minus_L
=yes
9991 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9992 allow_undefined_flag
=unsupported
9993 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9994 # support --undefined. This deserves some investigation. FIXME
9995 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10001 cygwin
* | mingw
* | pw32
* | cegcc
*)
10002 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10003 # as there is no search path for DLLs.
10004 hardcode_libdir_flag_spec
='-L$libdir'
10005 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10006 allow_undefined_flag
=unsupported
10007 always_export_symbols
=no
10008 enable_shared_with_static_runtimes
=yes
10009 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10011 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10012 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10013 # If the export-symbols file already is a .def file (1st line
10014 # is EXPORTS), use it as is; otherwise, prepend...
10015 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10016 cp $export_symbols $output_objdir/$soname.def;
10018 echo EXPORTS > $output_objdir/$soname.def;
10019 cat $export_symbols >> $output_objdir/$soname.def;
10021 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 link_all_deplibs
=yes
10034 hardcode_shlibpath_var
=no
10035 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10036 export_dynamic_flag_spec
='${wl}-E'
10037 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10038 # Instead, shared libraries are loaded at an image base (0x10000000 by
10039 # default) and relocated if they conflict, which is a slow very memory
10040 # consuming and fragmenting process. To avoid this, we pick a random,
10041 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10042 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10043 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10044 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'
10047 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10049 if test "$host_os" = linux-dietlibc
; then
10050 case $cc_basename in
10051 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10054 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10055 && test "$tmp_diet" = no
10057 tmp_addflag
=' $pic_flag'
10058 tmp_sharedflag
='-shared'
10059 case $cc_basename,$host_cpu in
10060 pgcc
*) # Portland Group C compiler
10061 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'
10062 tmp_addflag
=' $pic_flag'
10064 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10065 # Portland Group f77 and f90 compilers
10066 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'
10067 tmp_addflag
=' $pic_flag -Mnomain' ;;
10068 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10069 tmp_addflag
=' -i_dynamic' ;;
10070 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10071 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10072 ifc
* | ifort
*) # Intel Fortran compiler
10073 tmp_addflag
=' -nofor_main' ;;
10074 lf95
*) # Lahey Fortran 8.1
10075 whole_archive_flag_spec
=
10076 tmp_sharedflag
='--shared' ;;
10077 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10078 tmp_sharedflag
='-qmkshrobj'
10080 nvcc
*) # Cuda Compiler Driver 2.2
10081 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'
10082 compiler_needs_object
=yes
10085 case `$CC -V 2>&1 | sed 5q` in
10086 *Sun\ C
*) # Sun C 5.9
10087 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'
10088 compiler_needs_object
=yes
10089 tmp_sharedflag
='-G' ;;
10090 *Sun\ F
*) # Sun Fortran 8.3
10091 tmp_sharedflag
='-G' ;;
10093 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10095 if test "x$supports_anon_versioning" = xyes
; then
10096 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10097 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10098 echo "local: *; };" >> $output_objdir/$libname.ver~
10099 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10102 case $cc_basename in
10103 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10104 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10105 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10106 hardcode_libdir_flag_spec
=
10107 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10108 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10109 if test "x$supports_anon_versioning" = xyes
; then
10110 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10111 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10112 echo "local: *; };" >> $output_objdir/$libname.ver~
10113 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10123 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10124 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10127 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10133 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10137 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10138 *** create shared libraries on Solaris systems. Therefore, libtool
10139 *** is disabling shared libraries support. We urge you to upgrade GNU
10140 *** binutils to release 2.9.1 or newer. Another option is to modify
10141 *** your PATH or compiler configuration so that the native linker is
10142 *** used, and then restart.
10145 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10146 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10147 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10153 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10154 case `$LD -v 2>&1` in
10155 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10159 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10160 *** reliably create shared libraries on SCO systems. Therefore, libtool
10161 *** is disabling shared libraries support. We urge you to upgrade GNU
10162 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10163 *** your PATH or compiler configuration so that the native linker is
10164 *** used, and then restart.
10169 # For security reasons, it is highly recommended that you always
10170 # use absolute paths for naming shared libraries, and exclude the
10171 # DT_RUNPATH tag from executables and libraries. But doing so
10172 # requires that you compile everything twice, which is a pain.
10173 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10174 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10175 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10176 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10185 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_direct
=yes
10188 hardcode_shlibpath_var
=no
10192 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10193 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10194 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10201 if test "$ld_shlibs" = no
; then
10203 hardcode_libdir_flag_spec
=
10204 export_dynamic_flag_spec
=
10205 whole_archive_flag_spec
=
10208 # PORTME fill in a description of your system's linker (not GNU ld)
10211 allow_undefined_flag
=unsupported
10212 always_export_symbols
=yes
10213 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'
10214 # Note: this linker hardcodes the directories in LIBPATH if there
10215 # are no directories specified by -L.
10216 hardcode_minus_L
=yes
10217 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10218 # Neither direct hardcoding nor static linking is supported with a
10220 hardcode_direct
=unsupported
10225 if test "$host_cpu" = ia64
; then
10226 # On IA64, the linker does run time linking by default, so we don't
10227 # have to do anything special.
10228 aix_use_runtimelinking
=no
10229 exp_sym_flag
='-Bexport'
10232 # If we're using GNU nm, then we don't want the "-C" option.
10233 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10234 # Also, AIX nm treats weak defined symbols like other global
10235 # defined symbols, whereas GNU nm marks them as "W".
10236 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10237 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'
10239 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'
10241 aix_use_runtimelinking
=no
10243 # Test if we are trying to use run time linking or normal
10244 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10245 # need to do runtime linking.
10246 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10247 for ld_flag
in $LDFLAGS; do
10248 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10249 aix_use_runtimelinking
=yes
10256 exp_sym_flag
='-bexport'
10257 no_entry_flag
='-bnoentry'
10260 # When large executables or shared objects are built, AIX ld can
10261 # have problems creating the table of contents. If linking a library
10262 # or program results in "error TOC overflow" add -mminimal-toc to
10263 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10264 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10267 hardcode_direct
=yes
10268 hardcode_direct_absolute
=yes
10269 hardcode_libdir_separator
=':'
10270 link_all_deplibs
=yes
10271 file_list_spec
='${wl}-f,'
10273 if test "$GCC" = yes; then
10274 case $host_os in aix4.
[012]|aix4.
[012].
*)
10275 # We only want to do this on AIX 4.2 and lower, the check
10276 # below for broken collect2 doesn't work under 4.3+
10277 collect2name
=`${CC} -print-prog-name=collect2`
10278 if test -f "$collect2name" &&
10279 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10281 # We have reworked collect2
10284 # We have old collect2
10285 hardcode_direct
=unsupported
10286 # It fails to find uninstalled libraries when the uninstalled
10287 # path is not listed in the libpath. Setting hardcode_minus_L
10288 # to unsupported forces relinking
10289 hardcode_minus_L
=yes
10290 hardcode_libdir_flag_spec
='-L$libdir'
10291 hardcode_libdir_separator
=
10295 shared_flag
='-shared'
10296 if test "$aix_use_runtimelinking" = yes; then
10297 shared_flag
="$shared_flag "'${wl}-G'
10301 if test "$host_cpu" = ia64
; then
10302 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10303 # chokes on -Wl,-G. The following line is correct:
10306 if test "$aix_use_runtimelinking" = yes; then
10307 shared_flag
='${wl}-G'
10309 shared_flag
='${wl}-bM:SRE'
10314 export_dynamic_flag_spec
='${wl}-bexpall'
10315 # It seems that -bexpall does not export symbols beginning with
10316 # underscore (_), so it is better to generate a list of symbols to export.
10317 always_export_symbols
=yes
10318 if test "$aix_use_runtimelinking" = yes; then
10319 # Warning - without using the other runtime loading flags (-brtl),
10320 # -berok will link without error, but may produce a broken library.
10321 allow_undefined_flag
='-berok'
10322 # Determine the default libpath from the value encoded in an
10323 # empty executable.
10324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10335 if ac_fn_c_try_link
"$LINENO"; then :
10337 lt_aix_libpath_sed
='
10338 /Import File Strings/,/^$/ {
10344 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10345 # Check for a 64-bit object if we didn't find anything.
10346 if test -z "$aix_libpath"; then
10347 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10350 rm -f core conftest.err conftest.
$ac_objext \
10351 conftest
$ac_exeext conftest.
$ac_ext
10352 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10354 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10355 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"
10357 if test "$host_cpu" = ia64
; then
10358 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10359 allow_undefined_flag
="-z nodefs"
10360 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"
10362 # Determine the default libpath from the value encoded in an
10363 # empty executable.
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10375 if ac_fn_c_try_link
"$LINENO"; then :
10377 lt_aix_libpath_sed
='
10378 /Import File Strings/,/^$/ {
10384 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385 # Check for a 64-bit object if we didn't find anything.
10386 if test -z "$aix_libpath"; then
10387 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10394 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10395 # Warning - without using the other run time loading flags,
10396 # -berok will link without error, but may produce a broken library.
10397 no_undefined_flag
=' ${wl}-bernotok'
10398 allow_undefined_flag
=' ${wl}-berok'
10399 if test "$with_gnu_ld" = yes; then
10400 # We only use this code for GNU lds that support --whole-archive.
10401 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10403 # Exported symbols can be pulled into shared objects from archives
10404 whole_archive_flag_spec
='$convenience'
10406 archive_cmds_need_lc
=yes
10407 # This is similar to how AIX traditionally builds its shared libraries.
10408 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'
10416 # see comment about AmigaOS4 .so support
10417 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10418 archive_expsym_cmds
=''
10421 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)'
10422 hardcode_libdir_flag_spec
='-L$libdir'
10423 hardcode_minus_L
=yes
10429 export_dynamic_flag_spec
=-rdynamic
10432 cygwin
* | mingw
* | pw32
* | cegcc
*)
10433 # When not using gcc, we currently assume that we are using
10434 # Microsoft Visual C++.
10435 # hardcode_libdir_flag_spec is actually meaningless, as there is
10436 # no search path for DLLs.
10437 hardcode_libdir_flag_spec
=' '
10438 allow_undefined_flag
=unsupported
10439 # Tell ltmain to make .lib files, not .a files.
10441 # Tell ltmain to make .dll files, not .so files.
10443 # FIXME: Setting linknames here is a bad hack.
10444 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10445 # The linker will automatically build a .lib file if we build a DLL.
10446 old_archive_from_new_cmds
='true'
10447 # FIXME: Should let the user specify the lib program.
10448 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10449 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10450 enable_shared_with_static_runtimes
=yes
10453 darwin
* | rhapsody
*)
10456 archive_cmds_need_lc
=no
10458 hardcode_automatic
=yes
10459 hardcode_shlibpath_var
=unsupported
10460 if test "$lt_cv_ld_force_load" = "yes"; then
10461 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\"`'
10463 whole_archive_flag_spec
=''
10465 link_all_deplibs
=yes
10466 allow_undefined_flag
="$_lt_dar_allow_undefined"
10467 case $cc_basename in
10468 ifort
*) _lt_dar_can_shared
=yes ;;
10469 *) _lt_dar_can_shared
=$GCC ;;
10471 if test "$_lt_dar_can_shared" = "yes"; then
10472 output_verbose_link_cmd
=func_echo_all
10473 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10474 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10475 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10476 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}"
10485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10486 hardcode_libdir_flag_spec
='-L$libdir'
10487 hardcode_shlibpath_var
=no
10490 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10491 # support. Future versions do this automatically, but an explicit c++rt0.o
10492 # does not break anything, and helps significantly (at the cost of a little
10495 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10496 hardcode_libdir_flag_spec
='-R$libdir'
10497 hardcode_direct
=yes
10498 hardcode_shlibpath_var
=no
10501 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10504 hardcode_direct
=yes
10505 hardcode_minus_L
=yes
10506 hardcode_shlibpath_var
=no
10509 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10510 freebsd
* | dragonfly
*)
10511 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10512 hardcode_libdir_flag_spec
='-R$libdir'
10513 hardcode_direct
=yes
10514 hardcode_shlibpath_var
=no
10518 if test "$GCC" = yes; then
10519 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'
10521 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'
10523 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10524 hardcode_libdir_separator
=:
10525 hardcode_direct
=yes
10527 # hardcode_minus_L: Not really in the search PATH,
10528 # but as the default location of the library.
10529 hardcode_minus_L
=yes
10530 export_dynamic_flag_spec
='${wl}-E'
10534 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10535 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10537 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10539 if test "$with_gnu_ld" = no
; then
10540 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10541 hardcode_libdir_flag_spec_ld
='+b $libdir'
10542 hardcode_libdir_separator
=:
10543 hardcode_direct
=yes
10544 hardcode_direct_absolute
=yes
10545 export_dynamic_flag_spec
='${wl}-E'
10546 # hardcode_minus_L: Not really in the search PATH,
10547 # but as the default location of the library.
10548 hardcode_minus_L
=yes
10553 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10556 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10568 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10571 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10575 # Older versions of the 11.00 compiler do not understand -b yet
10576 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10578 $as_echo_n "checking if $CC understands -b... " >&6; }
10579 if ${lt_cv_prog_compiler__b+:} false
; then :
10580 $as_echo_n "(cached) " >&6
10582 lt_cv_prog_compiler__b
=no
10583 save_LDFLAGS
="$LDFLAGS"
10584 LDFLAGS
="$LDFLAGS -b"
10585 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10586 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10587 # The linker can only warn and ignore the option if not recognized
10588 # So say no if there are warnings
10589 if test -s conftest.err
; then
10590 # Append any errors to the config.log.
10591 cat conftest.err
1>&5
10592 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10593 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10594 if diff conftest.exp conftest.er2
>/dev
/null
; then
10595 lt_cv_prog_compiler__b
=yes
10598 lt_cv_prog_compiler__b
=yes
10602 LDFLAGS
="$save_LDFLAGS"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10606 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10608 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10609 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10617 if test "$with_gnu_ld" = no
; then
10618 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10619 hardcode_libdir_separator
=:
10624 hardcode_shlibpath_var
=no
10627 hardcode_direct
=yes
10628 hardcode_direct_absolute
=yes
10629 export_dynamic_flag_spec
='${wl}-E'
10631 # hardcode_minus_L: Not really in the search PATH,
10632 # but as the default location of the library.
10633 hardcode_minus_L
=yes
10639 irix5
* | irix6
* | nonstopux
*)
10640 if test "$GCC" = yes; then
10641 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'
10642 # Try to use the -exported_symbol ld option, if it does not
10643 # work, assume that -exports_file does not work either and
10644 # implicitly export all symbols.
10645 save_LDFLAGS
="$LDFLAGS"
10646 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10651 if ac_fn_c_try_link
"$LINENO"; then :
10652 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'
10655 rm -f core conftest.err conftest.
$ac_objext \
10656 conftest
$ac_exeext conftest.
$ac_ext
10657 LDFLAGS
="$save_LDFLAGS"
10659 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'
10660 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'
10662 archive_cmds_need_lc
='no'
10663 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10664 hardcode_libdir_separator
=:
10666 link_all_deplibs
=yes
10670 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10671 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10673 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10675 hardcode_libdir_flag_spec
='-R$libdir'
10676 hardcode_direct
=yes
10677 hardcode_shlibpath_var
=no
10681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10682 hardcode_direct
=yes
10683 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10684 hardcode_libdir_separator
=:
10685 hardcode_shlibpath_var
=no
10692 if test -f /usr
/libexec
/ld.so
; then
10693 hardcode_direct
=yes
10694 hardcode_shlibpath_var
=no
10695 hardcode_direct_absolute
=yes
10696 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10697 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10698 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10699 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10700 export_dynamic_flag_spec
='${wl}-E'
10703 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10704 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10705 hardcode_libdir_flag_spec
='-R$libdir'
10708 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10709 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10719 hardcode_libdir_flag_spec
='-L$libdir'
10720 hardcode_minus_L
=yes
10721 allow_undefined_flag
=unsupported
10722 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'
10723 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10727 if test "$GCC" = yes; then
10728 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10729 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'
10731 allow_undefined_flag
=' -expect_unresolved \*'
10732 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'
10734 archive_cmds_need_lc
='no'
10735 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10736 hardcode_libdir_separator
=:
10739 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10740 if test "$GCC" = yes; then
10741 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10742 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'
10743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10745 allow_undefined_flag
=' -expect_unresolved \*'
10746 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'
10747 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~
10748 $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'
10750 # Both c and cxx compiler support -rpath directly
10751 hardcode_libdir_flag_spec
='-rpath $libdir'
10753 archive_cmds_need_lc
='no'
10754 hardcode_libdir_separator
=:
10758 no_undefined_flag
=' -z defs'
10759 if test "$GCC" = yes; then
10761 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10762 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10763 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10765 case `$CC -V 2>&1` in
10768 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10769 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10770 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10774 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10775 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10776 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10780 hardcode_libdir_flag_spec
='-R$libdir'
10781 hardcode_shlibpath_var
=no
10783 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10785 # The compiler driver will combine and reorder linker options,
10786 # but understands `-z linker_flag'. GCC discards it without `$wl',
10787 # but is careful enough not to reorder.
10788 # Supported since Solaris 2.6 (maybe 2.5.1?)
10789 if test "$GCC" = yes; then
10790 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10792 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10796 link_all_deplibs
=yes
10800 if test "x$host_vendor" = xsequent
; then
10801 # Use $CC to link under sequent, because it throws in some extra .o
10802 # files that make .init and .fini sections work.
10803 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10807 hardcode_libdir_flag_spec
='-L$libdir'
10808 hardcode_direct
=yes
10809 hardcode_minus_L
=yes
10810 hardcode_shlibpath_var
=no
10814 case $host_vendor in
10816 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10817 hardcode_direct
=yes # is this really true???
10820 ## LD is ld it makes a PLAMLIB
10821 ## CC just makes a GrossModule.
10822 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10823 reload_cmds
='$CC -r -o $output$reload_objs'
10827 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10828 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10831 runpath_var
='LD_RUN_PATH'
10832 hardcode_shlibpath_var
=no
10836 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_shlibpath_var
=no
10838 export_dynamic_flag_spec
='-Bexport'
10842 if test -d /usr
/nec
; then
10843 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10844 hardcode_shlibpath_var
=no
10845 runpath_var
=LD_RUN_PATH
10846 hardcode_runpath_var
=yes
10851 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10852 no_undefined_flag
='${wl}-z,text'
10853 archive_cmds_need_lc
=no
10854 hardcode_shlibpath_var
=no
10855 runpath_var
='LD_RUN_PATH'
10857 if test "$GCC" = yes; then
10858 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10859 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10861 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10866 sysv5
* | sco3.2v5
* | sco5v6
*)
10867 # Note: We can NOT use -z defs as we might desire, because we do not
10868 # link with -lc, and that would cause any symbols used from libc to
10869 # always be unresolved, which means just about no library would
10870 # ever link correctly. If we're not using GNU ld we use -z text
10871 # though, which does catch some bad symbols but isn't as heavy-handed
10873 no_undefined_flag
='${wl}-z,text'
10874 allow_undefined_flag
='${wl}-z,nodefs'
10875 archive_cmds_need_lc
=no
10876 hardcode_shlibpath_var
=no
10877 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10878 hardcode_libdir_separator
=':'
10879 link_all_deplibs
=yes
10880 export_dynamic_flag_spec
='${wl}-Bexport'
10881 runpath_var
='LD_RUN_PATH'
10883 if test "$GCC" = yes; then
10884 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10885 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10888 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10893 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10894 hardcode_libdir_flag_spec
='-L$libdir'
10895 hardcode_shlibpath_var
=no
10903 if test x
$host_vendor = xsni
; then
10905 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10906 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10913 $as_echo "$ld_shlibs" >&6; }
10914 test "$ld_shlibs" = no
&& can_build_shared
=no
10916 with_gnu_ld
=$with_gnu_ld
10933 # Do we need to explicitly link libc?
10935 case "x$archive_cmds_need_lc" in
10937 # Assume -lc should be added
10938 archive_cmds_need_lc
=yes
10940 if test "$enable_shared" = yes && test "$GCC" = yes; then
10941 case $archive_cmds in
10943 # FIXME: we may have to deal with multi-command sequences.
10946 # Test whether the compiler implicitly links with -lc since on some
10947 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10948 # to ld, don't add -lc before -lgcc.
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10950 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10951 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10952 $as_echo_n "(cached) " >&6
10955 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10958 (eval $ac_compile) 2>&5
10960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10961 test $ac_status = 0; } 2>conftest.err
; then
10964 libobjs
=conftest.
$ac_objext
10966 wl
=$lt_prog_compiler_wl
10967 pic_flag
=$lt_prog_compiler_pic
10973 lt_save_allow_undefined_flag
=$allow_undefined_flag
10974 allow_undefined_flag
=
10975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10976 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10979 test $ac_status = 0; }
10981 lt_cv_archive_cmds_need_lc
=no
10983 lt_cv_archive_cmds_need_lc
=yes
10985 allow_undefined_flag
=$lt_save_allow_undefined_flag
10987 cat conftest.err
1>&5
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10993 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10994 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11158 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11160 if test "$GCC" = yes; then
11162 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11163 *) lt_awk_arg
="/^libraries:/" ;;
11166 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11167 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11169 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11170 case $lt_search_path_spec in
11172 # if the path contains ";" then we assume it to be the separator
11173 # otherwise default to the standard path separator (i.e. ":") - it is
11174 # assumed that no part of a normal pathname contains ";" but that should
11175 # okay in the real world where ";" in dirpaths is itself problematic.
11176 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11179 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11182 # Ok, now we have the path, separated by spaces, we can step through it
11183 # and add multilib dir if necessary.
11184 lt_tmp_lt_search_path_spec
=
11185 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11186 for lt_sys_path
in $lt_search_path_spec; do
11187 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11188 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11190 test -d "$lt_sys_path" && \
11191 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11194 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11195 BEGIN {RS=" "; FS="/|\n";} {
11198 for (lt_i = NF; lt_i > 0; lt_i--) {
11199 if ($lt_i != "" && $lt_i != ".") {
11200 if ($lt_i == "..") {
11203 if (lt_count == 0) {
11204 lt_foo="/" $lt_i lt_foo;
11211 if (lt_foo != "") { lt_freq[lt_foo]++; }
11212 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11214 # AWK program above erroneously prepends '/' to C:/dos/paths
11217 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11218 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11220 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11222 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11224 library_names_spec
=
11225 libname_spec
='lib$name'
11229 postuninstall_cmds
=
11233 shlibpath_overrides_runpath
=unknown
11235 dynamic_linker
="$host_os ld.so"
11236 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11237 need_lib_prefix
=unknown
11238 hardcode_into_libs
=no
11240 # when you set need_version to no, make sure it does not cause -set_version
11241 # flags to be left without arguments
11242 need_version
=unknown
11247 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11248 shlibpath_var
=LIBPATH
11250 # AIX 3 has no versioning support, so we append a major version to the name.
11251 soname_spec
='${libname}${release}${shared_ext}$major'
11258 hardcode_into_libs
=yes
11259 if test "$host_cpu" = ia64
; then
11260 # AIX 5 supports IA64
11261 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11262 shlibpath_var
=LD_LIBRARY_PATH
11264 # With GCC up to 2.95.x, collect2 would create an import file
11265 # for dependence libraries. The import file would start with
11266 # the line `#! .'. This would cause the generated library to
11267 # depend on `.', always an invalid library. This was fixed in
11268 # development snapshots of GCC prior to 3.0.
11270 aix4 | aix4.
[01] | aix4.
[01].
*)
11271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11273 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11276 can_build_shared
=no
11280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11281 # soname into executable. Probably we can add versioning support to
11282 # collect2, so additional links can be useful in future.
11283 if test "$aix_use_runtimelinking" = yes; then
11284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11285 # instead of lib<name>.a to let people know that these are not
11286 # typical AIX shared libraries.
11287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289 # We preserve .a as extension for shared libraries through AIX4.2
11290 # and later when we are not doing run time linking.
11291 library_names_spec
='${libname}${release}.a $libname.a'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11294 shlibpath_var
=LIBPATH
11301 # Since July 2007 AmigaOS4 officially supports .so libraries.
11302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306 library_names_spec
='$libname.ixlibrary $libname.a'
11307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11308 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'
11314 library_names_spec
='${libname}${shared_ext}'
11315 dynamic_linker
="$host_os ld.so"
11316 shlibpath_var
=LIBRARY_PATH
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 soname_spec
='${libname}${release}${shared_ext}$major'
11324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11325 shlibpath_var
=LD_LIBRARY_PATH
11326 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11327 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11328 # the default ld.so.conf also contains /usr/contrib/lib and
11329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11330 # libtool to hard-code these into programs
11333 cygwin
* | mingw
* | pw32
* | cegcc
*)
11334 version_type
=windows
11339 case $GCC,$host_os in
11340 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11341 library_names_spec
='$libname.dll.a'
11342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11343 postinstall_cmds
='base_file=`basename \${file}`~
11344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11345 dldir=$destdir/`dirname \$dlpath`~
11346 test -d \$dldir || mkdir -p \$dldir~
11347 $install_prog $dir/$dlname \$dldir/$dlname~
11348 chmod a+x \$dldir/$dlname~
11349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11352 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11353 dlpath=$dir/\$dldll~
11355 shlibpath_overrides_runpath
=yes
11359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11360 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11365 # MinGW DLLs use traditional 'lib' prefix
11366 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11369 # pw32 DLLs use 'pw' prefix rather than 'lib'
11370 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11376 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11379 dynamic_linker
='Win32 ld.exe'
11380 # FIXME: first we should search . and the directory the executable is in
11384 darwin
* | rhapsody
*)
11385 dynamic_linker
="$host_os dyld"
11386 version_type
=darwin
11389 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11390 soname_spec
='${libname}${release}${major}$shared_ext'
11391 shlibpath_overrides_runpath
=yes
11392 shlibpath_var
=DYLD_LIBRARY_PATH
11393 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11395 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11396 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11404 soname_spec
='${libname}${release}${shared_ext}$major'
11405 shlibpath_var
=LD_LIBRARY_PATH
11408 freebsd
* | dragonfly
*)
11409 # DragonFly does not have aout. When/if they implement a new
11410 # versioning mechanism, adjust this.
11411 if test -x /usr
/bin
/objformat
; then
11412 objformat
=`/usr/bin/objformat`
11415 freebsd
[23].
*) objformat
=aout
;;
11416 *) objformat
=elf
;;
11419 version_type
=freebsd-
$objformat
11420 case $version_type in
11422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11427 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11431 shlibpath_var
=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath
=yes
11436 freebsd3.
[01]* | freebsdelf3.
[01]*)
11437 shlibpath_overrides_runpath
=yes
11438 hardcode_into_libs
=yes
11440 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11441 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11442 shlibpath_overrides_runpath
=no
11443 hardcode_into_libs
=yes
11445 *) # from 4.6 on, and DragonFly
11446 shlibpath_overrides_runpath
=yes
11447 hardcode_into_libs
=yes
11456 dynamic_linker
="$host_os runtime_loader"
11457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11458 soname_spec
='${libname}${release}${shared_ext}$major'
11459 shlibpath_var
=LIBRARY_PATH
11460 shlibpath_overrides_runpath
=yes
11461 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11462 hardcode_into_libs
=yes
11465 hpux9
* | hpux10
* | hpux11
*)
11466 # Give a soname corresponding to the major version so that dld.sl refuses to
11467 # link against other versions.
11474 hardcode_into_libs
=yes
11475 dynamic_linker
="$host_os dld.so"
11476 shlibpath_var
=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479 soname_spec
='${libname}${release}${shared_ext}$major'
11480 if test "X$HPUX_IA64_MODE" = X32
; then
11481 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11483 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11485 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11489 hardcode_into_libs
=yes
11490 dynamic_linker
="$host_os dld.sl"
11491 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11492 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 soname_spec
='${libname}${release}${shared_ext}$major'
11495 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11496 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11500 dynamic_linker
="$host_os dld.sl"
11501 shlibpath_var
=SHLIB_PATH
11502 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11507 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11508 postinstall_cmds
='chmod 555 $lib'
11509 # or fails outright, so override atomically:
11510 install_override_mode
=555
11517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11518 soname_spec
='${libname}${release}${shared_ext}$major'
11519 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath
=no
11522 hardcode_into_libs
=yes
11525 irix5
* | irix6
* | nonstopux
*)
11527 nonstopux
*) version_type
=nonstopux
;;
11529 if test "$lt_cv_prog_gnu_ld" = yes; then
11537 soname_spec
='${libname}${release}${shared_ext}$major'
11538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11540 irix5
* | nonstopux
*)
11541 libsuff
= shlibsuff
=
11544 case $LD in # libtool.m4 will add one of these switches to LD
11545 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11546 libsuff
= shlibsuff
= libmagic
=32-bit;;
11547 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11548 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11549 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11550 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11551 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11555 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11556 shlibpath_overrides_runpath
=no
11557 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11558 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11559 hardcode_into_libs
=yes
11562 # No shared lib support for Linux oldld, aout, or coff.
11563 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11567 # This must be Linux ELF.
11569 # uclinux* changes (here and below) have been submitted to the libtool
11570 # project, but have not yet been accepted: they are GCC-local changes
11571 # for the time being. (See
11572 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11573 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 soname_spec
='${libname}${release}${shared_ext}$major'
11579 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11580 shlibpath_var
=LD_LIBRARY_PATH
11581 shlibpath_overrides_runpath
=no
11583 # Some binutils ld are patched to set DT_RUNPATH
11584 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11585 $as_echo_n "(cached) " >&6
11587 lt_cv_shlibpath_overrides_runpath
=no
11588 save_LDFLAGS
=$LDFLAGS
11589 save_libdir
=$libdir
11590 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11591 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11603 if ac_fn_c_try_link
"$LINENO"; then :
11604 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11605 lt_cv_shlibpath_overrides_runpath
=yes
11608 rm -f core conftest.err conftest.
$ac_objext \
11609 conftest
$ac_exeext conftest.
$ac_ext
11610 LDFLAGS
=$save_LDFLAGS
11611 libdir
=$save_libdir
11615 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11617 # This implies no fast_install, which is unacceptable.
11618 # Some rework will be needed to allow for fast_install
11619 # before this can be enabled.
11620 hardcode_into_libs
=yes
11622 # Append ld.so.conf contents to the search path
11623 if test -f /etc
/ld.so.conf
; then
11624 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' ' '`
11625 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11628 # We used to test for /lib/ld.so.1 and disable shared libraries on
11629 # powerpc, because MkLinux only supported shared libraries with the
11630 # GNU dynamic linker. Since this was broken with cross compilers,
11631 # most powerpc-linux boxes support dynamic linking these days and
11632 # people can always --disable-shared, the test was removed, and we
11633 # assume the GNU/Linux dynamic linker is in use.
11634 dynamic_linker
='GNU/Linux ld.so'
11641 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11644 dynamic_linker
='NetBSD (a.out) ld.so'
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 dynamic_linker
='NetBSD ld.elf_so'
11650 shlibpath_var
=LD_LIBRARY_PATH
11651 shlibpath_overrides_runpath
=yes
11652 hardcode_into_libs
=yes
11657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 shlibpath_var
=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath
=yes
11666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11667 soname_spec
='${libname}${release}${shared_ext}$major'
11668 shlibpath_var
=LD_LIBRARY_PATH
11669 shlibpath_overrides_runpath
=no
11670 hardcode_into_libs
=yes
11671 dynamic_linker
='ldqnx.so'
11676 sys_lib_dlsearch_path_spec
="/usr/lib"
11678 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11680 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11681 *) need_version
=no
;;
11683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11685 shlibpath_var
=LD_LIBRARY_PATH
11686 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11688 openbsd2.
[89] | openbsd2.
[89].
*)
11689 shlibpath_overrides_runpath
=no
11692 shlibpath_overrides_runpath
=yes
11696 shlibpath_overrides_runpath
=yes
11701 libname_spec
='$name'
11704 library_names_spec
='$libname${shared_ext} $libname.a'
11705 dynamic_linker
='OS/2 ld.exe'
11706 shlibpath_var
=LIBPATH
11709 osf3
* | osf4
* | osf5
*)
11713 soname_spec
='${libname}${release}${shared_ext}$major'
11714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11715 shlibpath_var
=LD_LIBRARY_PATH
11716 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11717 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec
='${libname}${release}${shared_ext}$major'
11730 shlibpath_var
=LD_LIBRARY_PATH
11731 shlibpath_overrides_runpath
=yes
11732 hardcode_into_libs
=yes
11733 # ldd complains unless libraries are executable
11734 postinstall_cmds
='chmod +x $lib'
11739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11740 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11741 shlibpath_var
=LD_LIBRARY_PATH
11742 shlibpath_overrides_runpath
=yes
11743 if test "$with_gnu_ld" = yes; then
11751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11752 soname_spec
='${libname}${release}${shared_ext}$major'
11753 shlibpath_var
=LD_LIBRARY_PATH
11754 case $host_vendor in
11756 shlibpath_overrides_runpath
=no
11758 runpath_var
=LD_RUN_PATH
11766 shlibpath_overrides_runpath
=no
11767 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11773 if test -d /usr
/nec
;then
11775 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11776 soname_spec
='$libname${shared_ext}.$major'
11777 shlibpath_var
=LD_LIBRARY_PATH
11781 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11782 version_type
=freebsd-elf
11785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11786 soname_spec
='${libname}${release}${shared_ext}$major'
11787 shlibpath_var
=LD_LIBRARY_PATH
11788 shlibpath_overrides_runpath
=yes
11789 hardcode_into_libs
=yes
11790 if test "$with_gnu_ld" = yes; then
11791 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11793 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11796 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11800 sys_lib_dlsearch_path_spec
='/usr/lib'
11804 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809 shlibpath_var
=LD_LIBRARY_PATH
11810 shlibpath_overrides_runpath
=no
11811 hardcode_into_libs
=yes
11816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817 soname_spec
='${libname}${release}${shared_ext}$major'
11818 shlibpath_var
=LD_LIBRARY_PATH
11821 # Shared libraries for VwWorks, >= 7 only at this stage
11822 # and (fpic) still incompatible with "large" code models
11823 # in a few configurations. Only for RTP mode in any case,
11824 # and upon explicit request at configure time.
11827 case ${with_multisubdir}-${enable_shared} in
11834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11835 soname_spec
='${libname}${release}${shared_ext}$major'
11836 dynamic_linker
="$host_os module_loader"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11845 $as_echo "$dynamic_linker" >&6; }
11846 test "$dynamic_linker" = no
&& can_build_shared
=no
11848 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11849 if test "$GCC" = yes; then
11850 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11853 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11854 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11856 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11857 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11952 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11954 if test -n "$hardcode_libdir_flag_spec" ||
11955 test -n "$runpath_var" ||
11956 test "X$hardcode_automatic" = "Xyes" ; then
11958 # We can hardcode non-existent directories.
11959 if test "$hardcode_direct" != no
&&
11960 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11961 # have to relink, otherwise we might link with an installed library
11962 # when we should be linking with a yet-to-be-installed one
11963 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11964 test "$hardcode_minus_L" != no
; then
11965 # Linking always hardcodes the temporary library directory.
11966 hardcode_action
=relink
11968 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11969 hardcode_action
=immediate
11972 # We cannot hardcode anything, or else we can only hardcode existing
11974 hardcode_action
=unsupported
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11977 $as_echo "$hardcode_action" >&6; }
11979 if test "$hardcode_action" = relink ||
11980 test "$inherit_rpath" = yes; then
11981 # Fast installation is not supported
11982 enable_fast_install
=no
11983 elif test "$shlibpath_overrides_runpath" = yes ||
11984 test "$enable_shared" = no
; then
11985 # Fast installation is not necessary
11986 enable_fast_install
=needless
11994 if test "x$enable_dlopen" != xyes
; then
11995 enable_dlopen
=unknown
11996 enable_dlopen_self
=unknown
11997 enable_dlopen_self_static
=unknown
12004 lt_cv_dlopen
="load_add_on"
12006 lt_cv_dlopen_self
=yes
12009 mingw
* | pw32
* | cegcc
*)
12010 lt_cv_dlopen
="LoadLibrary"
12015 lt_cv_dlopen
="dlopen"
12020 # if libdl is installed we need to link against it
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12023 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12024 $as_echo_n "(cached) " >&6
12026 ac_check_lib_save_LIBS
=$LIBS
12028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12046 if ac_fn_c_try_link
"$LINENO"; then :
12047 ac_cv_lib_dl_dlopen
=yes
12049 ac_cv_lib_dl_dlopen
=no
12051 rm -f core conftest.err conftest.
$ac_objext \
12052 conftest
$ac_exeext conftest.
$ac_ext
12053 LIBS
=$ac_check_lib_save_LIBS
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12056 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12057 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12058 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12061 lt_cv_dlopen
="dyld"
12063 lt_cv_dlopen_self
=yes
12070 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12071 if test "x$ac_cv_func_shl_load" = xyes
; then :
12072 lt_cv_dlopen
="shl_load"
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12075 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12076 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12077 $as_echo_n "(cached) " >&6
12079 ac_check_lib_save_LIBS
=$LIBS
12081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12094 return shl_load ();
12099 if ac_fn_c_try_link
"$LINENO"; then :
12100 ac_cv_lib_dld_shl_load
=yes
12102 ac_cv_lib_dld_shl_load
=no
12104 rm -f core conftest.err conftest.
$ac_objext \
12105 conftest
$ac_exeext conftest.
$ac_ext
12106 LIBS
=$ac_check_lib_save_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12109 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12110 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12111 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12113 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12114 if test "x$ac_cv_func_dlopen" = xyes
; then :
12115 lt_cv_dlopen
="dlopen"
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12118 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12119 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 ac_check_lib_save_LIBS
=$LIBS
12124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12142 if ac_fn_c_try_link
"$LINENO"; then :
12143 ac_cv_lib_dl_dlopen
=yes
12145 ac_cv_lib_dl_dlopen
=no
12147 rm -f core conftest.err conftest.
$ac_objext \
12148 conftest
$ac_exeext conftest.
$ac_ext
12149 LIBS
=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12152 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12153 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12154 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12157 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12158 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12159 $as_echo_n "(cached) " >&6
12161 ac_check_lib_save_LIBS
=$LIBS
12162 LIBS
="-lsvld $LIBS"
12163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12181 if ac_fn_c_try_link
"$LINENO"; then :
12182 ac_cv_lib_svld_dlopen
=yes
12184 ac_cv_lib_svld_dlopen
=no
12186 rm -f core conftest.err conftest.
$ac_objext \
12187 conftest
$ac_exeext conftest.
$ac_ext
12188 LIBS
=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12191 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12192 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12193 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12196 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12197 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12198 $as_echo_n "(cached) " >&6
12200 ac_check_lib_save_LIBS
=$LIBS
12202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12215 return dld_link ();
12220 if ac_fn_c_try_link
"$LINENO"; then :
12221 ac_cv_lib_dld_dld_link
=yes
12223 ac_cv_lib_dld_dld_link
=no
12225 rm -f core conftest.err conftest.
$ac_objext \
12226 conftest
$ac_exeext conftest.
$ac_ext
12227 LIBS
=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12230 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12231 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12232 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12253 if test "x$lt_cv_dlopen" != xno
; then
12259 case $lt_cv_dlopen in
12261 save_CPPFLAGS
="$CPPFLAGS"
12262 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12264 save_LDFLAGS
="$LDFLAGS"
12265 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12268 LIBS
="$lt_cv_dlopen_libs $LIBS"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12271 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12272 if ${lt_cv_dlopen_self+:} false
; then :
12273 $as_echo_n "(cached) " >&6
12275 if test "$cross_compiling" = yes; then :
12276 lt_cv_dlopen_self
=cross
12278 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12279 lt_status
=$lt_dlunknown
12280 cat > conftest.
$ac_ext <<_LT_EOF
12281 #line 12281 "configure"
12282 #include "confdefs.h"
12291 # define LT_DLGLOBAL RTLD_GLOBAL
12294 # define LT_DLGLOBAL DL_GLOBAL
12296 # define LT_DLGLOBAL 0
12300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12301 find out it does not work in some platform. */
12302 #ifndef LT_DLLAZY_OR_NOW
12304 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12307 # define LT_DLLAZY_OR_NOW DL_LAZY
12310 # define LT_DLLAZY_OR_NOW RTLD_NOW
12313 # define LT_DLLAZY_OR_NOW DL_NOW
12315 # define LT_DLLAZY_OR_NOW 0
12322 /* When -fvisbility=hidden is used, assume the code has been annotated
12323 correspondingly for the symbols needed. */
12324 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12325 void fnord () __attribute__((visibility("default")));
12328 void fnord () { int i=42; }
12331 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12332 int status = $lt_dlunknown;
12336 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12339 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12340 else puts (dlerror ());
12342 /* dlclose (self); */
12350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12351 (eval $ac_link) 2>&5
12353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12354 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12355 (.
/conftest
; exit; ) >&5 2>/dev
/null
12357 case x
$lt_status in
12358 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12359 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12360 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12363 # compilation failed
12364 lt_cv_dlopen_self
=no
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12372 $as_echo "$lt_cv_dlopen_self" >&6; }
12374 if test "x$lt_cv_dlopen_self" = xyes
; then
12375 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12377 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12378 if ${lt_cv_dlopen_self_static+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 if test "$cross_compiling" = yes; then :
12382 lt_cv_dlopen_self_static
=cross
12384 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12385 lt_status
=$lt_dlunknown
12386 cat > conftest.
$ac_ext <<_LT_EOF
12387 #line 12387 "configure"
12388 #include "confdefs.h"
12397 # define LT_DLGLOBAL RTLD_GLOBAL
12400 # define LT_DLGLOBAL DL_GLOBAL
12402 # define LT_DLGLOBAL 0
12406 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12407 find out it does not work in some platform. */
12408 #ifndef LT_DLLAZY_OR_NOW
12410 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12413 # define LT_DLLAZY_OR_NOW DL_LAZY
12416 # define LT_DLLAZY_OR_NOW RTLD_NOW
12419 # define LT_DLLAZY_OR_NOW DL_NOW
12421 # define LT_DLLAZY_OR_NOW 0
12428 /* When -fvisbility=hidden is used, assume the code has been annotated
12429 correspondingly for the symbols needed. */
12430 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12431 void fnord () __attribute__((visibility("default")));
12434 void fnord () { int i=42; }
12437 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12438 int status = $lt_dlunknown;
12442 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12445 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12446 else puts (dlerror ());
12448 /* dlclose (self); */
12456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12457 (eval $ac_link) 2>&5
12459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12460 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12461 (.
/conftest
; exit; ) >&5 2>/dev
/null
12463 case x
$lt_status in
12464 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12465 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12466 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12469 # compilation failed
12470 lt_cv_dlopen_self_static
=no
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12478 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12481 CPPFLAGS
="$save_CPPFLAGS"
12482 LDFLAGS
="$save_LDFLAGS"
12487 case $lt_cv_dlopen_self in
12488 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12489 *) enable_dlopen_self
=unknown
;;
12492 case $lt_cv_dlopen_self_static in
12493 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12494 *) enable_dlopen_self_static
=unknown
;;
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12517 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12518 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12519 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12520 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12522 $as_echo "yes" >&6; }
12524 # FIXME - insert some real tests, host_os isn't really good enough
12527 if test -n "$STRIP" ; then
12528 striplib
="$STRIP -x"
12529 old_striplib
="$STRIP -S"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12531 $as_echo "yes" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539 $as_echo "no" >&6; }
12555 # Report which library types will actually be built
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12557 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12559 $as_echo "$can_build_shared" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12562 $as_echo_n "checking whether to build shared libraries... " >&6; }
12563 test "$can_build_shared" = "no" && enable_shared
=no
12565 # On AIX, shared libraries and static libraries use the same namespace, and
12566 # are all built from PIC.
12569 test "$enable_shared" = yes && enable_static
=no
12570 if test -n "$RANLIB"; then
12571 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12572 postinstall_cmds
='$RANLIB $lib'
12577 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12578 test "$enable_shared" = yes && enable_static
=no
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12583 $as_echo "$enable_shared" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12586 $as_echo_n "checking whether to build static libraries... " >&6; }
12587 # Make sure either enable_shared or enable_static is yes.
12588 test "$enable_shared" = yes || enable_static
=yes
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12590 $as_echo "$enable_static" >&6; }
12597 ac_cpp
='$CPP $CPPFLAGS'
12598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12604 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12605 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12606 (test "X$CXX" != "Xg++"))) ; then
12608 ac_cpp
='$CXXCPP $CPPFLAGS'
12609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12613 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12614 if test -z "$CXXCPP"; then
12615 if ${ac_cv_prog_CXXCPP+:} false
; then :
12616 $as_echo_n "(cached) " >&6
12618 # Double quotes because CXXCPP needs to be expanded
12619 for CXXCPP
in "$CXX -E" "/lib/cpp"
12621 ac_preproc_ok
=false
12622 for ac_cxx_preproc_warn_flag
in '' yes
12624 # Use a header file that comes with gcc, so configuring glibc
12625 # with a fresh cross-compiler works.
12626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12627 # <limits.h> exists even on freestanding compilers.
12628 # On the NeXT, cc -E runs the code through the compiler's parser,
12629 # not just through cpp. "Syntax error" is here to catch this case.
12630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 # include <limits.h>
12635 # include <assert.h>
12639 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12642 # Broken: fails on valid input.
12645 rm -f conftest.err conftest.i conftest.
$ac_ext
12647 # OK, works on sane cases. Now check whether nonexistent headers
12648 # can be detected and how.
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #include <ac_nonexistent.h>
12653 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12654 # Broken: success on invalid input.
12657 # Passes both tests.
12661 rm -f conftest.err conftest.i conftest.
$ac_ext
12664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12665 rm -f conftest.i conftest.err conftest.
$ac_ext
12666 if $ac_preproc_ok; then :
12671 ac_cv_prog_CXXCPP
=$CXXCPP
12674 CXXCPP
=$ac_cv_prog_CXXCPP
12676 ac_cv_prog_CXXCPP
=$CXXCPP
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12679 $as_echo "$CXXCPP" >&6; }
12680 ac_preproc_ok
=false
12681 for ac_cxx_preproc_warn_flag
in '' yes
12683 # Use a header file that comes with gcc, so configuring glibc
12684 # with a fresh cross-compiler works.
12685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12686 # <limits.h> exists even on freestanding compilers.
12687 # On the NeXT, cc -E runs the code through the compiler's parser,
12688 # not just through cpp. "Syntax error" is here to catch this case.
12689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 # include <limits.h>
12694 # include <assert.h>
12698 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12701 # Broken: fails on valid input.
12704 rm -f conftest.err conftest.i conftest.
$ac_ext
12706 # OK, works on sane cases. Now check whether nonexistent headers
12707 # can be detected and how.
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <ac_nonexistent.h>
12712 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12713 # Broken: success on invalid input.
12716 # Passes both tests.
12720 rm -f conftest.err conftest.i conftest.
$ac_ext
12723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12724 rm -f conftest.i conftest.err conftest.
$ac_ext
12725 if $ac_preproc_ok; then :
12728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12730 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12731 See \`config.log' for more details" "$LINENO" 5; }
12735 ac_cpp
='$CPP $CPPFLAGS'
12736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12741 _lt_caught_CXX_error
=yes
12745 ac_cpp
='$CXXCPP $CPPFLAGS'
12746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12750 archive_cmds_need_lc_CXX
=no
12751 allow_undefined_flag_CXX
=
12752 always_export_symbols_CXX
=no
12753 archive_expsym_cmds_CXX
=
12754 compiler_needs_object_CXX
=no
12755 export_dynamic_flag_spec_CXX
=
12756 hardcode_direct_CXX
=no
12757 hardcode_direct_absolute_CXX
=no
12758 hardcode_libdir_flag_spec_CXX
=
12759 hardcode_libdir_flag_spec_ld_CXX
=
12760 hardcode_libdir_separator_CXX
=
12761 hardcode_minus_L_CXX
=no
12762 hardcode_shlibpath_var_CXX
=unsupported
12763 hardcode_automatic_CXX
=no
12764 inherit_rpath_CXX
=no
12766 module_expsym_cmds_CXX
=
12767 link_all_deplibs_CXX
=unknown
12768 old_archive_cmds_CXX
=$old_archive_cmds
12769 reload_flag_CXX
=$reload_flag
12770 reload_cmds_CXX
=$reload_cmds
12771 no_undefined_flag_CXX
=
12772 whole_archive_flag_spec_CXX
=
12773 enable_shared_with_static_runtimes_CXX
=no
12775 # Source file extension for C++ test sources.
12778 # Object file extension for compiled C++ test sources.
12782 # No sense in running all these tests if we already determined that
12783 # the CXX compiler isn't working. Some variables (like enable_shared)
12784 # are currently assumed to apply to all compilers on this platform,
12785 # and will be corrupted by setting them based on a non-working compiler.
12786 if test "$_lt_caught_CXX_error" != yes; then
12787 # Code to be used in simple compile tests
12788 lt_simple_compile_test_code
="int some_variable = 0;"
12790 # Code to be used in simple link tests
12791 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12793 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12800 # If no C compiler was specified, use CC.
12803 # If no C compiler flags were specified, use CFLAGS.
12804 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12806 # Allow CC to be a program name with arguments.
12810 # save warnings/boilerplate of simple test code
12811 ac_outfile
=conftest.
$ac_objext
12812 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12813 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12814 _lt_compiler_boilerplate
=`cat conftest.err`
12817 ac_outfile
=conftest.
$ac_objext
12818 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12819 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12820 _lt_linker_boilerplate
=`cat conftest.err`
12824 # Allow CC to be a program name with arguments.
12829 lt_save_with_gnu_ld
=$with_gnu_ld
12830 lt_save_path_LD
=$lt_cv_path_LD
12831 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12832 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12834 $as_unset lt_cv_prog_gnu_ld
12836 if test -n "${lt_cv_path_LDCXX+set}"; then
12837 lt_cv_path_LD
=$lt_cv_path_LDCXX
12839 $as_unset lt_cv_path_LD
12841 test -z "${LDCXX+set}" || LD
=$LDCXX
12845 for cc_temp
in $compiler""; do
12847 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12848 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12853 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12856 if test -n "$compiler"; then
12857 # We don't want -fno-exception when compiling C++ code, so set the
12858 # no_builtin_flag separately
12859 if test "$GXX" = yes; then
12860 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12862 lt_prog_compiler_no_builtin_flag_CXX
=
12865 if test "$GXX" = yes; then
12866 # Set up default GNU C++ configuration
12870 # Check whether --with-gnu-ld was given.
12871 if test "${with_gnu_ld+set}" = set; then :
12872 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12878 if test "$GCC" = yes; then
12879 # Check if gcc -print-prog-name=ld gives a path.
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12881 $as_echo_n "checking for ld used by $CC... " >&6; }
12884 # gcc leaves a trailing carriage return which upsets mingw
12885 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12887 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12890 # Accept absolute paths.
12892 re_direlt
='/[^/][^/]*/\.\./'
12893 # Canonicalize the pathname of ld
12894 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12895 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12896 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12898 test -z "$LD" && LD
="$ac_prog"
12901 # If it fails, then pretend we aren't using GCC.
12905 # If it is relative, then search for the first ld in PATH.
12906 with_gnu_ld
=unknown
12909 elif test "$with_gnu_ld" = yes; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12911 $as_echo_n "checking for GNU ld... " >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12914 $as_echo_n "checking for non-GNU ld... " >&6; }
12916 if ${lt_cv_path_LD+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 if test -z "$LD"; then
12920 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12921 for ac_dir
in $PATH; do
12923 test -z "$ac_dir" && ac_dir
=.
12924 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12925 lt_cv_path_LD
="$ac_dir/$ac_prog"
12926 # Check to see if the program is GNU ld. I'd rather use --version,
12927 # but apparently some variants of GNU ld only accept -v.
12928 # Break only if it was the GNU/non-GNU ld that we prefer.
12929 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12930 *GNU
* |
*'with BFD'*)
12931 test "$with_gnu_ld" != no
&& break
12934 test "$with_gnu_ld" != yes && break
12941 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12945 LD
="$lt_cv_path_LD"
12946 if test -n "$LD"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12948 $as_echo "$LD" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12953 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12955 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12956 if ${lt_cv_prog_gnu_ld+:} false
; then :
12957 $as_echo_n "(cached) " >&6
12959 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12960 case `$LD -v 2>&1 </dev/null` in
12961 *GNU
* |
*'with BFD'*)
12962 lt_cv_prog_gnu_ld
=yes
12965 lt_cv_prog_gnu_ld
=no
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12970 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12971 with_gnu_ld
=$lt_cv_prog_gnu_ld
12979 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12980 # archiving commands below assume that GNU ld is being used.
12981 if test "$with_gnu_ld" = yes; then
12982 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12983 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'
12985 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12986 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12988 # If archive_cmds runs LD, not CC, wlarc should be empty
12989 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12990 # investigate it a little bit more. (MM)
12993 # ancient GNU ld didn't support --whole-archive et. al.
12994 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12995 $GREP 'no-whole-archive' > /dev
/null
; then
12996 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12998 whole_archive_flag_spec_CXX
=
13004 # A generic and very simple default shared library creation
13005 # command for GNU C++ for the case where it uses the native
13006 # linker, instead of GNU ld. If possible, this setting should
13007 # overridden to take advantage of the native linker features on
13008 # the platform it is being used on.
13009 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13012 # Commands to make compiler produce verbose output that lists
13013 # what "hidden" libraries, object files and flags are used when
13014 # linking a shared library.
13015 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13023 # PORTME: fill in a description of your system's C++ link characteristics
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13025 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13029 # FIXME: insert proper C++ library support
13033 if test "$host_cpu" = ia64
; then
13034 # On IA64, the linker does run time linking by default, so we don't
13035 # have to do anything special.
13036 aix_use_runtimelinking
=no
13037 exp_sym_flag
='-Bexport'
13040 aix_use_runtimelinking
=no
13042 # Test if we are trying to use run time linking or normal
13043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13044 # need to do runtime linking.
13045 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13046 for ld_flag
in $LDFLAGS; do
13049 aix_use_runtimelinking
=yes
13057 exp_sym_flag
='-bexport'
13058 no_entry_flag
='-bnoentry'
13061 # When large executables or shared objects are built, AIX ld can
13062 # have problems creating the table of contents. If linking a library
13063 # or program results in "error TOC overflow" add -mminimal-toc to
13064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13067 archive_cmds_CXX
=''
13068 hardcode_direct_CXX
=yes
13069 hardcode_direct_absolute_CXX
=yes
13070 hardcode_libdir_separator_CXX
=':'
13071 link_all_deplibs_CXX
=yes
13072 file_list_spec_CXX
='${wl}-f,'
13074 if test "$GXX" = yes; then
13075 case $host_os in aix4.
[012]|aix4.
[012].
*)
13076 # We only want to do this on AIX 4.2 and lower, the check
13077 # below for broken collect2 doesn't work under 4.3+
13078 collect2name
=`${CC} -print-prog-name=collect2`
13079 if test -f "$collect2name" &&
13080 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13082 # We have reworked collect2
13085 # We have old collect2
13086 hardcode_direct_CXX
=unsupported
13087 # It fails to find uninstalled libraries when the uninstalled
13088 # path is not listed in the libpath. Setting hardcode_minus_L
13089 # to unsupported forces relinking
13090 hardcode_minus_L_CXX
=yes
13091 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13092 hardcode_libdir_separator_CXX
=
13095 shared_flag
='-shared'
13096 if test "$aix_use_runtimelinking" = yes; then
13097 shared_flag
="$shared_flag "'${wl}-G'
13101 if test "$host_cpu" = ia64
; then
13102 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13103 # chokes on -Wl,-G. The following line is correct:
13106 if test "$aix_use_runtimelinking" = yes; then
13107 shared_flag
='${wl}-G'
13109 shared_flag
='${wl}-bM:SRE'
13114 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13115 # It seems that -bexpall does not export symbols beginning with
13116 # underscore (_), so it is better to generate a list of symbols to
13118 always_export_symbols_CXX
=yes
13119 if test "$aix_use_runtimelinking" = yes; then
13120 # Warning - without using the other runtime loading flags (-brtl),
13121 # -berok will link without error, but may produce a broken library.
13122 allow_undefined_flag_CXX
='-berok'
13123 # Determine the default libpath from the value encoded in an empty
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13136 if ac_fn_cxx_try_link
"$LINENO"; then :
13138 lt_aix_libpath_sed
='
13139 /Import File Strings/,/^$/ {
13145 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13146 # Check for a 64-bit object if we didn't find anything.
13147 if test -z "$aix_libpath"; then
13148 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13151 rm -f core conftest.err conftest.
$ac_objext \
13152 conftest
$ac_exeext conftest.
$ac_ext
13153 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13155 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13157 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"
13159 if test "$host_cpu" = ia64
; then
13160 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13161 allow_undefined_flag_CXX
="-z nodefs"
13162 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"
13164 # Determine the default libpath from the value encoded in an
13165 # empty executable.
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13177 if ac_fn_cxx_try_link
"$LINENO"; then :
13179 lt_aix_libpath_sed
='
13180 /Import File Strings/,/^$/ {
13186 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13187 # Check for a 64-bit object if we didn't find anything.
13188 if test -z "$aix_libpath"; then
13189 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13192 rm -f core conftest.err conftest.
$ac_objext \
13193 conftest
$ac_exeext conftest.
$ac_ext
13194 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13196 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13197 # Warning - without using the other run time loading flags,
13198 # -berok will link without error, but may produce a broken library.
13199 no_undefined_flag_CXX
=' ${wl}-bernotok'
13200 allow_undefined_flag_CXX
=' ${wl}-berok'
13201 if test "$with_gnu_ld" = yes; then
13202 # We only use this code for GNU lds that support --whole-archive.
13203 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13205 # Exported symbols can be pulled into shared objects from archives
13206 whole_archive_flag_spec_CXX
='$convenience'
13208 archive_cmds_need_lc_CXX
=yes
13209 # This is similar to how AIX traditionally builds its shared
13211 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'
13217 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13218 allow_undefined_flag_CXX
=unsupported
13219 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13220 # support --undefined. This deserves some investigation. FIXME
13221 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13228 case $cc_basename in
13230 # FIXME: insert proper C++ library support
13236 cygwin
* | mingw
* | pw32
* | cegcc
*)
13237 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13238 # as there is no search path for DLLs.
13239 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13240 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13241 allow_undefined_flag_CXX
=unsupported
13242 always_export_symbols_CXX
=no
13243 enable_shared_with_static_runtimes_CXX
=yes
13245 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13246 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'
13247 # If the export-symbols file already is a .def file (1st line
13248 # is EXPORTS), use it as is; otherwise, prepend...
13249 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13250 cp $export_symbols $output_objdir/$soname.def;
13252 echo EXPORTS > $output_objdir/$soname.def;
13253 cat $export_symbols >> $output_objdir/$soname.def;
13255 $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'
13260 darwin
* | rhapsody
*)
13263 archive_cmds_need_lc_CXX
=no
13264 hardcode_direct_CXX
=no
13265 hardcode_automatic_CXX
=yes
13266 hardcode_shlibpath_var_CXX
=unsupported
13267 if test "$lt_cv_ld_force_load" = "yes"; then
13268 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\"`'
13270 whole_archive_flag_spec_CXX
=''
13272 link_all_deplibs_CXX
=yes
13273 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13274 case $cc_basename in
13275 ifort
*) _lt_dar_can_shared
=yes ;;
13276 *) _lt_dar_can_shared
=$GCC ;;
13278 if test "$_lt_dar_can_shared" = "yes"; then
13279 output_verbose_link_cmd
=func_echo_all
13280 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13281 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13282 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13283 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}"
13284 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13285 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13286 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}"
13296 case $cc_basename in
13298 # FIXME: insert proper C++ library support
13302 # Green Hills C++ Compiler
13303 # FIXME: insert proper C++ library support
13307 # FIXME: insert proper C++ library support
13314 # C++ shared libraries reported to be fairly broken before
13320 archive_cmds_need_lc_CXX
=no
13323 freebsd
* | dragonfly
*)
13324 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13333 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13334 link_all_deplibs_CXX
=yes
13338 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13339 hardcode_libdir_separator_CXX
=:
13340 export_dynamic_flag_spec_CXX
='${wl}-E'
13341 hardcode_direct_CXX
=yes
13342 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13343 # but as the default
13344 # location of the library.
13346 case $cc_basename in
13348 # FIXME: insert proper C++ library support
13352 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'
13353 # Commands to make compiler produce verbose output that lists
13354 # what "hidden" libraries, object files and flags are used when
13355 # linking a shared library.
13357 # There doesn't appear to be a way to prevent this compiler from
13358 # explicitly linking system object files so we need to strip them
13359 # from the output so that they don't get included in the library
13361 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"'
13364 if test "$GXX" = yes; then
13365 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'
13367 # FIXME: insert proper C++ library support
13375 if test $with_gnu_ld = no
; then
13376 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13377 hardcode_libdir_separator_CXX
=:
13383 export_dynamic_flag_spec_CXX
='${wl}-E'
13389 hardcode_direct_CXX
=no
13390 hardcode_shlibpath_var_CXX
=no
13393 hardcode_direct_CXX
=yes
13394 hardcode_direct_absolute_CXX
=yes
13395 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13396 # but as the default
13397 # location of the library.
13401 case $cc_basename in
13403 # FIXME: insert proper C++ library support
13409 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13412 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13415 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13426 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"'
13429 if test "$GXX" = yes; then
13430 if test $with_gnu_ld = no
; then
13433 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13436 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13439 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'
13444 # FIXME: insert proper C++ library support
13452 hardcode_direct_CXX
=no
13453 hardcode_shlibpath_var_CXX
=no
13454 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13455 export_dynamic_flag_spec_CXX
='${wl}-E'
13456 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13457 # Instead, shared libraries are loaded at an image base (0x10000000 by
13458 # default) and relocated if they conflict, which is a slow very memory
13459 # consuming and fragmenting process. To avoid this, we pick a random,
13460 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13461 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13462 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'
13463 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'
13466 case $cc_basename in
13469 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'
13471 # Archives containing C++ object files must be created using
13472 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13473 # necessary to make sure instantiated templates are included
13475 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13478 if test "$GXX" = yes; then
13479 if test "$with_gnu_ld" = no
; then
13480 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'
13482 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'
13485 link_all_deplibs_CXX
=yes
13488 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13489 hardcode_libdir_separator_CXX
=:
13490 inherit_rpath_CXX
=yes
13493 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13494 case $cc_basename in
13496 # Kuck and Associates, Inc. (KAI) C++ Compiler
13498 # KCC will only create a shared library if the output file
13499 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13500 # to its proper name (with version) after linking.
13501 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'
13502 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'
13503 # Commands to make compiler produce verbose output that lists
13504 # what "hidden" libraries, object files and flags are used when
13505 # linking a shared library.
13507 # There doesn't appear to be a way to prevent this compiler from
13508 # explicitly linking system object files so we need to strip them
13509 # from the output so that they don't get included in the library
13511 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"'
13513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13514 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13516 # Archives containing C++ object files must be created using
13517 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13518 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13523 # version 8.0 and above of icpc choke on multiply defined symbols
13524 # if we add $predep_objects and $postdep_objects, however 7.1 and
13525 # earlier do not add the objects themselves.
13526 case `$CC -V 2>&1` in
13528 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13529 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'
13531 *) # Version 8.0 or newer
13534 ia64
*) tmp_idyn
=' -i_dynamic';;
13536 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13537 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'
13540 archive_cmds_need_lc_CXX
=no
13541 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13542 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13543 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13546 # Portland Group C++ compiler
13548 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13549 prelink_cmds_CXX
='tpldir=Template.dir~
13551 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13552 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13553 old_archive_cmds_CXX
='tpldir=Template.dir~
13555 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13556 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13558 archive_cmds_CXX
='tpldir=Template.dir~
13560 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13561 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13562 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13564 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13565 $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'
13567 *) # Version 6 and above use weak symbols
13568 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13569 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'
13573 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13574 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13575 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'
13579 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13580 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'
13582 runpath_var
=LD_RUN_PATH
13583 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13584 hardcode_libdir_separator_CXX
=:
13586 # Commands to make compiler produce verbose output that lists
13587 # what "hidden" libraries, object files and flags are used when
13588 # linking a shared library.
13590 # There doesn't appear to be a way to prevent this compiler from
13591 # explicitly linking system object files so we need to strip them
13592 # from the output so that they don't get included in the library
13594 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'
13596 xl
* | mpixl
* | bgxl
*)
13597 # IBM XL 8.0 on PPC, with GNU ld
13598 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13599 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13600 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13601 if test "x$supports_anon_versioning" = xyes
; then
13602 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13603 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13604 echo "local: *; };" >> $output_objdir/$libname.ver~
13605 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13609 case `$CC -V 2>&1 | sed 5q` in
13612 no_undefined_flag_CXX
=' -zdefs'
13613 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13614 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'
13615 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13616 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'
13617 compiler_needs_object_CXX
=yes
13619 # Not sure whether something based on
13620 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13622 output_verbose_link_cmd
='func_echo_all'
13624 # Archives containing C++ object files must be created using
13625 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13626 # necessary to make sure instantiated templates are included
13628 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13636 # FIXME: insert proper C++ library support
13641 # FIXME: insert proper C++ library support
13646 case $cc_basename in
13648 # FIXME: insert proper C++ library support
13652 # FIXME: insert proper C++ library support
13659 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13660 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13662 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13663 hardcode_direct_CXX
=yes
13664 hardcode_shlibpath_var_CXX
=no
13666 # Workaround some broken pre-1.5 toolchains
13667 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13675 # C++ shared libraries are fairly broken
13680 if test -f /usr
/libexec
/ld.so
; then
13681 hardcode_direct_CXX
=yes
13682 hardcode_shlibpath_var_CXX
=no
13683 hardcode_direct_absolute_CXX
=yes
13684 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13685 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13686 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13687 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13688 export_dynamic_flag_spec_CXX
='${wl}-E'
13689 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13691 output_verbose_link_cmd
=func_echo_all
13697 osf3
* | osf4
* | osf5
*)
13698 case $cc_basename in
13700 # Kuck and Associates, Inc. (KAI) C++ Compiler
13702 # KCC will only create a shared library if the output file
13703 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13704 # to its proper name (with version) after linking.
13705 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'
13707 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13708 hardcode_libdir_separator_CXX
=:
13710 # Archives containing C++ object files must be created using
13711 # the KAI C++ compiler.
13713 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13714 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13718 # Rational C++ 2.4.1
13719 # FIXME: insert proper C++ library support
13725 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13726 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'
13727 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13730 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13731 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'
13732 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13733 echo "-hidden">> $lib.exp~
13734 $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~
13736 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13740 hardcode_libdir_separator_CXX
=:
13742 # Commands to make compiler produce verbose output that lists
13743 # what "hidden" libraries, object files and flags are used when
13744 # linking a shared library.
13746 # There doesn't appear to be a way to prevent this compiler from
13747 # explicitly linking system object files so we need to strip them
13748 # from the output so that they don't get included in the library
13750 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"'
13753 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13754 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13757 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'
13760 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'
13764 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13765 hardcode_libdir_separator_CXX
=:
13767 # Commands to make compiler produce verbose output that lists
13768 # what "hidden" libraries, object files and flags are used when
13769 # linking a shared library.
13770 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13773 # FIXME: insert proper C++ library support
13781 # FIXME: insert proper C++ library support
13786 case $cc_basename in
13789 # FIXME: insert proper C++ library support
13794 # FIXME: insert proper C++ library support
13798 # FIXME: insert proper C++ library support
13805 case $cc_basename in
13807 # Sun C++ 4.2, 5.x and Centerline C++
13808 archive_cmds_need_lc_CXX
=yes
13809 no_undefined_flag_CXX
=' -zdefs'
13810 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13811 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13812 $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'
13814 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13815 hardcode_shlibpath_var_CXX
=no
13817 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13819 # The compiler driver will combine and reorder linker options,
13820 # but understands `-z linker_flag'.
13821 # Supported since Solaris 2.6 (maybe 2.5.1?)
13822 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13825 link_all_deplibs_CXX
=yes
13827 output_verbose_link_cmd
='func_echo_all'
13829 # Archives containing C++ object files must be created using
13830 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13831 # necessary to make sure instantiated templates are included
13833 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13836 # Green Hills C++ Compiler
13837 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13839 # The C++ compiler must be used to create the archive.
13840 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13843 # GNU C++ compiler with Solaris linker
13844 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13845 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13846 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13847 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13848 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13849 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13851 # Commands to make compiler produce verbose output that lists
13852 # what "hidden" libraries, object files and flags are used when
13853 # linking a shared library.
13854 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13856 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13858 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13859 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13860 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13862 # Commands to make compiler produce verbose output that lists
13863 # what "hidden" libraries, object files and flags are used when
13864 # linking a shared library.
13865 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13868 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13872 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13880 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13881 no_undefined_flag_CXX
='${wl}-z,text'
13882 archive_cmds_need_lc_CXX
=no
13883 hardcode_shlibpath_var_CXX
=no
13884 runpath_var
='LD_RUN_PATH'
13886 case $cc_basename in
13888 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13889 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13892 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13893 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13898 sysv5
* | sco3.2v5
* | sco5v6
*)
13899 # Note: We can NOT use -z defs as we might desire, because we do not
13900 # link with -lc, and that would cause any symbols used from libc to
13901 # always be unresolved, which means just about no library would
13902 # ever link correctly. If we're not using GNU ld we use -z text
13903 # though, which does catch some bad symbols but isn't as heavy-handed
13905 no_undefined_flag_CXX
='${wl}-z,text'
13906 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13907 archive_cmds_need_lc_CXX
=no
13908 hardcode_shlibpath_var_CXX
=no
13909 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13910 hardcode_libdir_separator_CXX
=':'
13911 link_all_deplibs_CXX
=yes
13912 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13913 runpath_var
='LD_RUN_PATH'
13915 case $cc_basename in
13917 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13918 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13919 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13920 '"$old_archive_cmds_CXX"
13921 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13922 '"$reload_cmds_CXX"
13925 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13926 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13932 case $cc_basename in
13934 # NonStop-UX NCC 3.20
13935 # FIXME: insert proper C++ library support
13939 # FIXME: insert proper C++ library support
13946 # For VxWorks ports, we assume the use of a GNU linker with
13947 # standard elf conventions.
13952 # FIXME: insert proper C++ library support
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13958 $as_echo "$ld_shlibs_CXX" >&6; }
13959 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13965 ## There is no encapsulation within the following macros, do not change
13966 ## the running order or otherwise move them around unless you know exactly
13967 ## what you are doing...
13968 # Dependencies to place before and after the object being linked:
13969 predep_objects_CXX
=
13970 postdep_objects_CXX
=
13973 compiler_lib_search_path_CXX
=
13975 cat > conftest.
$ac_ext <<_LT_EOF
13979 Foo (void) { a = 0; }
13985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13986 (eval $ac_compile) 2>&5
13988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13989 test $ac_status = 0; }; then
13990 # Parse the compiler output and extract the necessary
13991 # objects, libraries and library flags.
13993 # Sentinel used to keep track of whether or not we are before
13994 # the conftest object file.
13995 pre_test_object_deps_done
=no
13997 for p
in `eval "$output_verbose_link_cmd"`; do
14001 # Some compilers place space between "-{L,R}" and the path.
14002 # Remove the space.
14003 if test $p = "-L" ||
14004 test $p = "-R"; then
14011 if test "$pre_test_object_deps_done" = no
; then
14014 # Internal compiler library paths should come after those
14015 # provided the user. The postdeps already come after the
14016 # user supplied libs so there is no need to process them.
14017 if test -z "$compiler_lib_search_path_CXX"; then
14018 compiler_lib_search_path_CXX
="${prev}${p}"
14020 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14023 # The "-l" case would never come before the object being
14024 # linked, so don't bother handling this case.
14027 if test -z "$postdeps_CXX"; then
14028 postdeps_CXX
="${prev}${p}"
14030 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14036 # This assumes that the test object file only shows up
14037 # once in the compiler output.
14038 if test "$p" = "conftest.$objext"; then
14039 pre_test_object_deps_done
=yes
14043 if test "$pre_test_object_deps_done" = no
; then
14044 if test -z "$predep_objects_CXX"; then
14045 predep_objects_CXX
="$p"
14047 predep_objects_CXX
="$predep_objects_CXX $p"
14050 if test -z "$postdep_objects_CXX"; then
14051 postdep_objects_CXX
="$p"
14053 postdep_objects_CXX
="$postdep_objects_CXX $p"
14058 *) ;; # Ignore the rest.
14066 echo "libtool.m4: error: problem compiling CXX test program"
14069 $RM -f confest.
$objext
14071 # PORTME: override above test on systems where it is broken
14074 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14075 # hack all around it, let's just trust "g++" to DTRT.
14076 predep_objects_CXX
=
14077 postdep_objects_CXX
=
14082 case `$CC -V 2>&1 | sed 5q` in
14086 # The more standards-conforming stlport4 library is
14087 # incompatible with the Cstd library. Avoid specifying
14088 # it if it's in CXXFLAGS. Ignore libCrun as
14089 # -library=stlport4 depends on it.
14090 case " $CXX $CXXFLAGS " in
14091 *" -library=stlport4 "*)
14092 solaris_use_stlport4
=yes
14096 if test "$solaris_use_stlport4" != yes; then
14097 postdeps_CXX
='-library=Cstd -library=Crun'
14104 case $cc_basename in
14106 # The more standards-conforming stlport4 library is
14107 # incompatible with the Cstd library. Avoid specifying
14108 # it if it's in CXXFLAGS. Ignore libCrun as
14109 # -library=stlport4 depends on it.
14110 case " $CXX $CXXFLAGS " in
14111 *" -library=stlport4 "*)
14112 solaris_use_stlport4
=yes
14116 # Adding this requires a known-good setup of shared libraries for
14117 # Sun compiler versions before 5.6, else PIC objects from an old
14118 # archive will be linked into the output, leading to subtle bugs.
14119 if test "$solaris_use_stlport4" != yes; then
14120 postdeps_CXX
='-library=Cstd -library=Crun'
14128 case " $postdeps_CXX " in
14129 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14131 compiler_lib_search_dirs_CXX
=
14132 if test -n "${compiler_lib_search_path_CXX}"; then
14133 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14166 lt_prog_compiler_wl_CXX
=
14167 lt_prog_compiler_pic_CXX
=
14168 lt_prog_compiler_static_CXX
=
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14171 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14173 # C++ specific cases for pic, static, wl, etc.
14174 if test "$GXX" = yes; then
14175 lt_prog_compiler_wl_CXX
='-Wl,'
14176 lt_prog_compiler_static_CXX
='-static'
14180 # All AIX code is PIC.
14181 if test "$host_cpu" = ia64
; then
14182 # AIX 5 now supports IA64 processor
14183 lt_prog_compiler_static_CXX
='-Bstatic'
14185 lt_prog_compiler_pic_CXX
='-fPIC'
14191 # see comment about AmigaOS4 .so support
14192 lt_prog_compiler_pic_CXX
='-fPIC'
14195 # FIXME: we need at least 68020 code to build shared libraries, but
14196 # adding the `-m68020' flag to GCC prevents building anything better,
14198 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14203 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14204 # PIC is the default for these OSes.
14206 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14207 # This hack is so that the source file can tell whether it is being
14208 # built for inclusion in a dll (and should export symbols for example).
14209 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14210 # (--disable-auto-import) libraries
14211 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14213 darwin
* | rhapsody
*)
14214 # PIC is the default on this platform
14215 # Common symbols not allowed in MH_DYLIB files
14216 lt_prog_compiler_pic_CXX
='-fno-common'
14219 # DJGPP does not support shared libraries at all
14220 lt_prog_compiler_pic_CXX
=
14223 # PIC is the default for Haiku.
14224 # The "-static" flag exists, but is broken.
14225 lt_prog_compiler_static_CXX
=
14228 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14229 # Instead, we relocate shared libraries at runtime.
14232 if test -d /usr
/nec
; then
14233 lt_prog_compiler_pic_CXX
=-Kconform_pic
14237 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14238 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14239 # sets the default TLS model and affects inlining.
14244 lt_prog_compiler_pic_CXX
='-fPIC'
14249 # QNX uses GNU C++, but need to define -shared option too, otherwise
14250 # it will coredump.
14251 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14254 lt_prog_compiler_pic_CXX
='-fPIC'
14260 # All AIX code is PIC.
14261 if test "$host_cpu" = ia64
; then
14262 # AIX 5 now supports IA64 processor
14263 lt_prog_compiler_static_CXX
='-Bstatic'
14265 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14269 case $cc_basename in
14271 # Green Hills C++ Compiler
14272 # _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"
14277 case $cc_basename in
14279 lt_prog_compiler_pic_CXX
='-KPIC'
14282 # Green Hills C++ Compiler
14283 lt_prog_compiler_pic_CXX
='-pic'
14289 freebsd
* | dragonfly
*)
14290 # FreeBSD uses GNU C++
14292 hpux9
* | hpux10
* | hpux11
*)
14293 case $cc_basename in
14295 lt_prog_compiler_wl_CXX
='-Wl,'
14296 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14297 if test "$host_cpu" != ia64
; then
14298 lt_prog_compiler_pic_CXX
='+Z'
14302 lt_prog_compiler_wl_CXX
='-Wl,'
14303 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14309 lt_prog_compiler_pic_CXX
='+Z'
14318 # This is c89, which is MS Visual C++ (no shared libs)
14319 # Anyone wants to do a port?
14321 irix5
* | irix6
* | nonstopux
*)
14322 case $cc_basename in
14324 lt_prog_compiler_wl_CXX
='-Wl,'
14325 lt_prog_compiler_static_CXX
='-non_shared'
14326 # CC pic flag -KPIC is the default.
14332 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14333 case $cc_basename in
14336 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14337 lt_prog_compiler_pic_CXX
='-fPIC'
14340 # old Intel C++ for x86_64 which still supported -KPIC.
14341 lt_prog_compiler_wl_CXX
='-Wl,'
14342 lt_prog_compiler_pic_CXX
='-KPIC'
14343 lt_prog_compiler_static_CXX
='-static'
14346 # Intel C++, used to be incompatible with GCC.
14347 # ICC 10 doesn't accept -KPIC any more.
14348 lt_prog_compiler_wl_CXX
='-Wl,'
14349 lt_prog_compiler_pic_CXX
='-fPIC'
14350 lt_prog_compiler_static_CXX
='-static'
14353 # Portland Group C++ compiler
14354 lt_prog_compiler_wl_CXX
='-Wl,'
14355 lt_prog_compiler_pic_CXX
='-fpic'
14356 lt_prog_compiler_static_CXX
='-Bstatic'
14360 # Make sure the PIC flag is empty. It appears that all Alpha
14361 # Linux and Compaq Tru64 Unix objects are PIC.
14362 lt_prog_compiler_pic_CXX
=
14363 lt_prog_compiler_static_CXX
='-non_shared'
14365 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14366 # IBM XL 8.0, 9.0 on PPC and BlueGene
14367 lt_prog_compiler_wl_CXX
='-Wl,'
14368 lt_prog_compiler_pic_CXX
='-qpic'
14369 lt_prog_compiler_static_CXX
='-qstaticlink'
14372 case `$CC -V 2>&1 | sed 5q` in
14375 lt_prog_compiler_pic_CXX
='-KPIC'
14376 lt_prog_compiler_static_CXX
='-Bstatic'
14377 lt_prog_compiler_wl_CXX
='-Qoption ld '
14388 case $cc_basename in
14390 lt_prog_compiler_pic_CXX
='-W c,exportall'
14399 # QNX uses GNU C++, but need to define -shared option too, otherwise
14400 # it will coredump.
14401 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14403 osf3
* | osf4
* | osf5
*)
14404 case $cc_basename in
14406 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14409 # Rational C++ 2.4.1
14410 lt_prog_compiler_pic_CXX
='-pic'
14413 # Digital/Compaq C++
14414 lt_prog_compiler_wl_CXX
='-Wl,'
14415 # Make sure the PIC flag is empty. It appears that all Alpha
14416 # Linux and Compaq Tru64 Unix objects are PIC.
14417 lt_prog_compiler_pic_CXX
=
14418 lt_prog_compiler_static_CXX
='-non_shared'
14427 case $cc_basename in
14429 # Sun C++ 4.2, 5.x and Centerline C++
14430 lt_prog_compiler_pic_CXX
='-KPIC'
14431 lt_prog_compiler_static_CXX
='-Bstatic'
14432 lt_prog_compiler_wl_CXX
='-Qoption ld '
14435 # Green Hills C++ Compiler
14436 lt_prog_compiler_pic_CXX
='-PIC'
14443 case $cc_basename in
14446 lt_prog_compiler_pic_CXX
='-pic'
14447 lt_prog_compiler_static_CXX
='-Bstatic'
14451 lt_prog_compiler_pic_CXX
='-pic'
14457 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14458 case $cc_basename in
14460 lt_prog_compiler_wl_CXX
='-Wl,'
14461 lt_prog_compiler_pic_CXX
='-KPIC'
14462 lt_prog_compiler_static_CXX
='-Bstatic'
14467 case $cc_basename in
14469 # NonStop-UX NCC 3.20
14470 lt_prog_compiler_pic_CXX
='-KPIC'
14479 lt_prog_compiler_can_build_shared_CXX
=no
14485 # For platforms which do not support PIC, -DPIC is meaningless:
14487 lt_prog_compiler_pic_CXX
=
14490 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14494 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14499 # Check to make sure the PIC flag actually works.
14501 if test -n "$lt_prog_compiler_pic_CXX"; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14503 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14504 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 lt_cv_prog_compiler_pic_works_CXX
=no
14508 ac_outfile
=conftest.
$ac_objext
14509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14510 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14511 # Insert the option either (1) after the last *FLAGS variable, or
14512 # (2) before a word containing "conftest.", or (3) at the end.
14513 # Note that $ac_compile itself does not contain backslashes and begins
14514 # with a dollar sign (not a hyphen), so the echo should work correctly.
14515 # The option is referenced via a variable to avoid confusing sed.
14516 lt_compile
=`echo "$ac_compile" | $SED \
14517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14519 -e 's:$: $lt_compiler_flag:'`
14520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14521 (eval "$lt_compile" 2>conftest.err
)
14523 cat conftest.err
>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 if (exit $ac_status) && test -s "$ac_outfile"; then
14526 # The compiler can only warn and ignore the option if not recognized
14527 # So say no if there are warnings other than the usual output.
14528 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14529 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14530 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14531 lt_cv_prog_compiler_pic_works_CXX
=yes
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14538 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14540 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14541 case $lt_prog_compiler_pic_CXX in
14543 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14546 lt_prog_compiler_pic_CXX
=
14547 lt_prog_compiler_can_build_shared_CXX
=no
14555 # Check to make sure the static flag actually works.
14557 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14559 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14560 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14561 $as_echo_n "(cached) " >&6
14563 lt_cv_prog_compiler_static_works_CXX
=no
14564 save_LDFLAGS
="$LDFLAGS"
14565 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14566 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14567 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14568 # The linker can only warn and ignore the option if not recognized
14569 # So say no if there are warnings
14570 if test -s conftest.err
; then
14571 # Append any errors to the config.log.
14572 cat conftest.err
1>&5
14573 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14575 if diff conftest.exp conftest.er2
>/dev
/null
; then
14576 lt_cv_prog_compiler_static_works_CXX
=yes
14579 lt_cv_prog_compiler_static_works_CXX
=yes
14583 LDFLAGS
="$save_LDFLAGS"
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14587 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14589 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14592 lt_prog_compiler_static_CXX
=
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14600 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14601 $as_echo_n "(cached) " >&6
14603 lt_cv_prog_compiler_c_o_CXX
=no
14604 $RM -r conftest
2>/dev
/null
14608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14610 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14611 # Insert the option either (1) after the last *FLAGS variable, or
14612 # (2) before a word containing "conftest.", or (3) at the end.
14613 # Note that $ac_compile itself does not contain backslashes and begins
14614 # with a dollar sign (not a hyphen), so the echo should work correctly.
14615 lt_compile
=`echo "$ac_compile" | $SED \
14616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14618 -e 's:$: $lt_compiler_flag:'`
14619 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14620 (eval "$lt_compile" 2>out
/conftest.err
)
14622 cat out
/conftest.err
>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14626 # The compiler can only warn and ignore the option if not recognized
14627 # So say no if there are warnings
14628 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14629 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14630 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14631 lt_cv_prog_compiler_c_o_CXX
=yes
14636 # SGI C++ compiler will create directory out/ii_files/ for
14637 # template instantiation
14638 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14639 $RM out
/* && rmdir out
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14646 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14651 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14652 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14655 lt_cv_prog_compiler_c_o_CXX
=no
14656 $RM -r conftest
2>/dev
/null
14660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14662 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14663 # Insert the option either (1) after the last *FLAGS variable, or
14664 # (2) before a word containing "conftest.", or (3) at the end.
14665 # Note that $ac_compile itself does not contain backslashes and begins
14666 # with a dollar sign (not a hyphen), so the echo should work correctly.
14667 lt_compile
=`echo "$ac_compile" | $SED \
14668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14670 -e 's:$: $lt_compiler_flag:'`
14671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14672 (eval "$lt_compile" 2>out
/conftest.err
)
14674 cat out
/conftest.err
>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14678 # The compiler can only warn and ignore the option if not recognized
14679 # So say no if there are warnings
14680 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14681 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14682 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14683 lt_cv_prog_compiler_c_o_CXX
=yes
14688 # SGI C++ compiler will create directory out/ii_files/ for
14689 # template instantiation
14690 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14691 $RM out
/* && rmdir out
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14698 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14703 hard_links
="nottested"
14704 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14705 # do not overwrite the value of need_locks provided by the user
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14707 $as_echo_n "checking if we can lock with hard links... " >&6; }
14710 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14712 ln conftest.a conftest.b
2>&5 || hard_links
=no
14713 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14715 $as_echo "$hard_links" >&6; }
14716 if test "$hard_links" = no
; then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14718 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14728 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14730 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14733 # If we're using GNU nm, then we don't want the "-C" option.
14734 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14735 # Also, AIX nm treats weak defined symbols like other global defined
14736 # symbols, whereas GNU nm marks them as "W".
14737 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14738 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'
14740 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'
14744 export_symbols_cmds_CXX
="$ltdll_cmds"
14746 cygwin
* | mingw
* | cegcc
*)
14747 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'
14750 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14753 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14756 $as_echo "$ld_shlibs_CXX" >&6; }
14757 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14759 with_gnu_ld_CXX
=$with_gnu_ld
14767 # Do we need to explicitly link libc?
14769 case "x$archive_cmds_need_lc_CXX" in
14771 # Assume -lc should be added
14772 archive_cmds_need_lc_CXX
=yes
14774 if test "$enable_shared" = yes && test "$GCC" = yes; then
14775 case $archive_cmds_CXX in
14777 # FIXME: we may have to deal with multi-command sequences.
14780 # Test whether the compiler implicitly links with -lc since on some
14781 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14782 # to ld, don't add -lc before -lgcc.
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14784 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14785 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14786 $as_echo_n "(cached) " >&6
14789 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14792 (eval $ac_compile) 2>&5
14794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14795 test $ac_status = 0; } 2>conftest.err
; then
14798 libobjs
=conftest.
$ac_objext
14800 wl
=$lt_prog_compiler_wl_CXX
14801 pic_flag
=$lt_prog_compiler_pic_CXX
14807 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14808 allow_undefined_flag_CXX
=
14809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14810 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14813 test $ac_status = 0; }
14815 lt_cv_archive_cmds_need_lc_CXX
=no
14817 lt_cv_archive_cmds_need_lc_CXX
=yes
14819 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14821 cat conftest.err
1>&5
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14827 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14828 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14899 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14901 library_names_spec
=
14902 libname_spec
='lib$name'
14906 postuninstall_cmds
=
14910 shlibpath_overrides_runpath
=unknown
14912 dynamic_linker
="$host_os ld.so"
14913 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14914 need_lib_prefix
=unknown
14915 hardcode_into_libs
=no
14917 # when you set need_version to no, make sure it does not cause -set_version
14918 # flags to be left without arguments
14919 need_version
=unknown
14924 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14925 shlibpath_var
=LIBPATH
14927 # AIX 3 has no versioning support, so we append a major version to the name.
14928 soname_spec
='${libname}${release}${shared_ext}$major'
14935 hardcode_into_libs
=yes
14936 if test "$host_cpu" = ia64
; then
14937 # AIX 5 supports IA64
14938 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14939 shlibpath_var
=LD_LIBRARY_PATH
14941 # With GCC up to 2.95.x, collect2 would create an import file
14942 # for dependence libraries. The import file would start with
14943 # the line `#! .'. This would cause the generated library to
14944 # depend on `.', always an invalid library. This was fixed in
14945 # development snapshots of GCC prior to 3.0.
14947 aix4 | aix4.
[01] | aix4.
[01].
*)
14948 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14950 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14953 can_build_shared
=no
14957 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14958 # soname into executable. Probably we can add versioning support to
14959 # collect2, so additional links can be useful in future.
14960 if test "$aix_use_runtimelinking" = yes; then
14961 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14962 # instead of lib<name>.a to let people know that these are not
14963 # typical AIX shared libraries.
14964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14966 # We preserve .a as extension for shared libraries through AIX4.2
14967 # and later when we are not doing run time linking.
14968 library_names_spec
='${libname}${release}.a $libname.a'
14969 soname_spec
='${libname}${release}${shared_ext}$major'
14971 shlibpath_var
=LIBPATH
14978 # Since July 2007 AmigaOS4 officially supports .so libraries.
14979 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14983 library_names_spec
='$libname.ixlibrary $libname.a'
14984 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14985 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'
14991 library_names_spec
='${libname}${shared_ext}'
14992 dynamic_linker
="$host_os ld.so"
14993 shlibpath_var
=LIBRARY_PATH
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 soname_spec
='${libname}${release}${shared_ext}$major'
15001 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15002 shlibpath_var
=LD_LIBRARY_PATH
15003 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15004 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15005 # the default ld.so.conf also contains /usr/contrib/lib and
15006 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15007 # libtool to hard-code these into programs
15010 cygwin
* | mingw
* | pw32
* | cegcc
*)
15011 version_type
=windows
15016 case $GCC,$host_os in
15017 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15018 library_names_spec
='$libname.dll.a'
15019 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15020 postinstall_cmds
='base_file=`basename \${file}`~
15021 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15022 dldir=$destdir/`dirname \$dlpath`~
15023 test -d \$dldir || mkdir -p \$dldir~
15024 $install_prog $dir/$dlname \$dldir/$dlname~
15025 chmod a+x \$dldir/$dlname~
15026 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15027 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15029 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15030 dlpath=$dir/\$dldll~
15032 shlibpath_overrides_runpath
=yes
15036 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15037 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15041 # MinGW DLLs use traditional 'lib' prefix
15042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15045 # pw32 DLLs use 'pw' prefix rather than 'lib'
15046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15052 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15055 dynamic_linker
='Win32 ld.exe'
15056 # FIXME: first we should search . and the directory the executable is in
15060 darwin
* | rhapsody
*)
15061 dynamic_linker
="$host_os dyld"
15062 version_type
=darwin
15065 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15066 soname_spec
='${libname}${release}${major}$shared_ext'
15067 shlibpath_overrides_runpath
=yes
15068 shlibpath_var
=DYLD_LIBRARY_PATH
15069 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15071 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15079 soname_spec
='${libname}${release}${shared_ext}$major'
15080 shlibpath_var
=LD_LIBRARY_PATH
15083 freebsd
* | dragonfly
*)
15084 # DragonFly does not have aout. When/if they implement a new
15085 # versioning mechanism, adjust this.
15086 if test -x /usr
/bin
/objformat
; then
15087 objformat
=`/usr/bin/objformat`
15090 freebsd
[23].
*) objformat
=aout
;;
15091 *) objformat
=elf
;;
15094 version_type
=freebsd-
$objformat
15095 case $version_type in
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15102 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15106 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=yes
15111 freebsd3.
[01]* | freebsdelf3.
[01]*)
15112 shlibpath_overrides_runpath
=yes
15113 hardcode_into_libs
=yes
15115 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15116 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15117 shlibpath_overrides_runpath
=no
15118 hardcode_into_libs
=yes
15120 *) # from 4.6 on, and DragonFly
15121 shlibpath_overrides_runpath
=yes
15122 hardcode_into_libs
=yes
15131 dynamic_linker
="$host_os runtime_loader"
15132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15133 soname_spec
='${libname}${release}${shared_ext}$major'
15134 shlibpath_var
=LIBRARY_PATH
15135 shlibpath_overrides_runpath
=yes
15136 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15137 hardcode_into_libs
=yes
15140 hpux9
* | hpux10
* | hpux11
*)
15141 # Give a soname corresponding to the major version so that dld.sl refuses to
15142 # link against other versions.
15149 hardcode_into_libs
=yes
15150 dynamic_linker
="$host_os dld.so"
15151 shlibpath_var
=LD_LIBRARY_PATH
15152 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154 soname_spec
='${libname}${release}${shared_ext}$major'
15155 if test "X$HPUX_IA64_MODE" = X32
; then
15156 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15158 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15160 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15164 hardcode_into_libs
=yes
15165 dynamic_linker
="$host_os dld.sl"
15166 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15167 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15169 soname_spec
='${libname}${release}${shared_ext}$major'
15170 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15171 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15175 dynamic_linker
="$host_os dld.sl"
15176 shlibpath_var
=SHLIB_PATH
15177 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15182 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15183 postinstall_cmds
='chmod 555 $lib'
15184 # or fails outright, so override atomically:
15185 install_override_mode
=555
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15194 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15195 shlibpath_var
=LD_LIBRARY_PATH
15196 shlibpath_overrides_runpath
=no
15197 hardcode_into_libs
=yes
15200 irix5
* | irix6
* | nonstopux
*)
15202 nonstopux
*) version_type
=nonstopux
;;
15204 if test "$lt_cv_prog_gnu_ld" = yes; then
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15215 irix5
* | nonstopux
*)
15216 libsuff
= shlibsuff
=
15219 case $LD in # libtool.m4 will add one of these switches to LD
15220 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15221 libsuff
= shlibsuff
= libmagic
=32-bit;;
15222 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15223 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15224 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15225 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15226 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15230 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15231 shlibpath_overrides_runpath
=no
15232 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15233 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15234 hardcode_into_libs
=yes
15237 # No shared lib support for Linux oldld, aout, or coff.
15238 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15242 # This must be Linux ELF.
15244 # uclinux* changes (here and below) have been submitted to the libtool
15245 # project, but have not yet been accepted: they are GCC-local changes
15246 # for the time being. (See
15247 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15248 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15253 soname_spec
='${libname}${release}${shared_ext}$major'
15254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15255 shlibpath_var
=LD_LIBRARY_PATH
15256 shlibpath_overrides_runpath
=no
15258 # Some binutils ld are patched to set DT_RUNPATH
15259 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15260 $as_echo_n "(cached) " >&6
15262 lt_cv_shlibpath_overrides_runpath
=no
15263 save_LDFLAGS
=$LDFLAGS
15264 save_libdir
=$libdir
15265 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15266 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15278 if ac_fn_cxx_try_link
"$LINENO"; then :
15279 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15280 lt_cv_shlibpath_overrides_runpath
=yes
15283 rm -f core conftest.err conftest.
$ac_objext \
15284 conftest
$ac_exeext conftest.
$ac_ext
15285 LDFLAGS
=$save_LDFLAGS
15286 libdir
=$save_libdir
15290 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15292 # This implies no fast_install, which is unacceptable.
15293 # Some rework will be needed to allow for fast_install
15294 # before this can be enabled.
15295 hardcode_into_libs
=yes
15297 # Append ld.so.conf contents to the search path
15298 if test -f /etc
/ld.so.conf
; then
15299 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' ' '`
15300 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15303 # We used to test for /lib/ld.so.1 and disable shared libraries on
15304 # powerpc, because MkLinux only supported shared libraries with the
15305 # GNU dynamic linker. Since this was broken with cross compilers,
15306 # most powerpc-linux boxes support dynamic linking these days and
15307 # people can always --disable-shared, the test was removed, and we
15308 # assume the GNU/Linux dynamic linker is in use.
15309 dynamic_linker
='GNU/Linux ld.so'
15316 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15319 dynamic_linker
='NetBSD (a.out) ld.so'
15321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15322 soname_spec
='${libname}${release}${shared_ext}$major'
15323 dynamic_linker
='NetBSD ld.elf_so'
15325 shlibpath_var
=LD_LIBRARY_PATH
15326 shlibpath_overrides_runpath
=yes
15327 hardcode_into_libs
=yes
15332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333 shlibpath_var
=LD_LIBRARY_PATH
15334 shlibpath_overrides_runpath
=yes
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15342 soname_spec
='${libname}${release}${shared_ext}$major'
15343 shlibpath_var
=LD_LIBRARY_PATH
15344 shlibpath_overrides_runpath
=no
15345 hardcode_into_libs
=yes
15346 dynamic_linker
='ldqnx.so'
15351 sys_lib_dlsearch_path_spec
="/usr/lib"
15353 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15355 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15356 *) need_version
=no
;;
15358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15359 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15360 shlibpath_var
=LD_LIBRARY_PATH
15361 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15363 openbsd2.
[89] | openbsd2.
[89].
*)
15364 shlibpath_overrides_runpath
=no
15367 shlibpath_overrides_runpath
=yes
15371 shlibpath_overrides_runpath
=yes
15376 libname_spec
='$name'
15379 library_names_spec
='$libname${shared_ext} $libname.a'
15380 dynamic_linker
='OS/2 ld.exe'
15381 shlibpath_var
=LIBPATH
15384 osf3
* | osf4
* | osf5
*)
15388 soname_spec
='${libname}${release}${shared_ext}$major'
15389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390 shlibpath_var
=LD_LIBRARY_PATH
15391 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15392 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15404 soname_spec
='${libname}${release}${shared_ext}$major'
15405 shlibpath_var
=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath
=yes
15407 hardcode_into_libs
=yes
15408 # ldd complains unless libraries are executable
15409 postinstall_cmds
='chmod +x $lib'
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15415 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15416 shlibpath_var
=LD_LIBRARY_PATH
15417 shlibpath_overrides_runpath
=yes
15418 if test "$with_gnu_ld" = yes; then
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 case $host_vendor in
15431 shlibpath_overrides_runpath
=no
15433 runpath_var
=LD_RUN_PATH
15441 shlibpath_overrides_runpath
=no
15442 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15448 if test -d /usr
/nec
;then
15450 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15451 soname_spec
='$libname${shared_ext}.$major'
15452 shlibpath_var
=LD_LIBRARY_PATH
15456 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15457 version_type
=freebsd-elf
15460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15461 soname_spec
='${libname}${release}${shared_ext}$major'
15462 shlibpath_var
=LD_LIBRARY_PATH
15463 shlibpath_overrides_runpath
=yes
15464 hardcode_into_libs
=yes
15465 if test "$with_gnu_ld" = yes; then
15466 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15468 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15471 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15475 sys_lib_dlsearch_path_spec
='/usr/lib'
15479 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484 shlibpath_var
=LD_LIBRARY_PATH
15485 shlibpath_overrides_runpath
=no
15486 hardcode_into_libs
=yes
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15492 soname_spec
='${libname}${release}${shared_ext}$major'
15493 shlibpath_var
=LD_LIBRARY_PATH
15496 # Shared libraries for VwWorks, >= 7 only at this stage
15497 # and (fpic) still incompatible with "large" code models
15498 # in a few configurations. Only for RTP mode in any case,
15499 # and upon explicit request at configure time.
15502 case ${with_multisubdir}-${enable_shared} in
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15511 dynamic_linker
="$host_os module_loader"
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15520 $as_echo "$dynamic_linker" >&6; }
15521 test "$dynamic_linker" = no
&& can_build_shared
=no
15523 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15524 if test "$GCC" = yes; then
15525 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15528 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15529 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15531 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15532 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15573 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15574 hardcode_action_CXX
=
15575 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15576 test -n "$runpath_var_CXX" ||
15577 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15579 # We can hardcode non-existent directories.
15580 if test "$hardcode_direct_CXX" != no
&&
15581 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15582 # have to relink, otherwise we might link with an installed library
15583 # when we should be linking with a yet-to-be-installed one
15584 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15585 test "$hardcode_minus_L_CXX" != no
; then
15586 # Linking always hardcodes the temporary library directory.
15587 hardcode_action_CXX
=relink
15589 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15590 hardcode_action_CXX
=immediate
15593 # We cannot hardcode anything, or else we can only hardcode existing
15595 hardcode_action_CXX
=unsupported
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15598 $as_echo "$hardcode_action_CXX" >&6; }
15600 if test "$hardcode_action_CXX" = relink ||
15601 test "$inherit_rpath_CXX" = yes; then
15602 # Fast installation is not supported
15603 enable_fast_install
=no
15604 elif test "$shlibpath_overrides_runpath" = yes ||
15605 test "$enable_shared" = no
; then
15606 # Fast installation is not necessary
15607 enable_fast_install
=needless
15616 fi # test -n "$compiler"
15622 with_gnu_ld
=$lt_save_with_gnu_ld
15623 lt_cv_path_LDCXX
=$lt_cv_path_LD
15624 lt_cv_path_LD
=$lt_save_path_LD
15625 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15626 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15627 fi # test "$_lt_caught_CXX_error" != yes
15630 ac_cpp
='$CPP $CPPFLAGS'
15631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15647 ac_config_commands
="$ac_config_commands libtool"
15652 # Only expand once:
15659 *-cygwin* |
*-mingw*)
15660 # 'host' will be top-level target in the case of a target lib,
15661 # we must compare to with_cross_host to decide if this is a native
15662 # or cross-compiler and select where to install dlls appropriately.
15663 if test -n "$with_cross_host" &&
15664 test x
"$with_cross_host" != x
"no"; then
15665 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15667 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15680 # For libtool versioning info, format is CURRENT:REVISION:AGE
15681 libtool_VERSION
=1:0:0
15684 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15686 # Add CET specific flags if Intel CET is enabled.
15687 # Check whether --enable-cet was given.
15688 if test "${enable_cet+set}" = set; then :
15689 enableval
=$enable_cet;
15690 case "$enableval" in
15692 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15701 $as_echo_n "checking for CET support... " >&6; }
15703 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
15705 i
[34567]86-*-linux* | x86_64-
*-linux*)
15706 case "$enable_cet" in
15708 # Check if target supports multi-byte NOPs
15709 # and if compiler and assembler support CET insn.
15710 cet_save_CFLAGS
="$CFLAGS"
15711 CFLAGS
="$CFLAGS -fcf-protection"
15712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15719 #if !defined(__SSE2__)
15720 #error target does not support multi-byte NOPs
15729 if ac_fn_c_try_compile
"$LINENO"; then :
15734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15735 CFLAGS
="$cet_save_CFLAGS"
15738 # Check if assembler supports CET.
15739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15750 if ac_fn_c_try_compile
"$LINENO"; then :
15753 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15763 if test x
$enable_cet = xyes
; then
15764 CET_FLAGS
="-fcf-protection -mshstk"
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15766 $as_echo "yes" >&6; }
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15769 $as_echo "no" >&6; }
15772 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15776 if test "${multilib}" = "yes"; then
15777 multilib_arg
="--enable-multilib"
15782 ac_config_files
="$ac_config_files Makefile"
15785 if test "x$VTV_SUPPORTED" = "xyes"; then
15786 ac_config_files
="$ac_config_files testsuite/Makefile"
15790 case "$target_os" in
15799 if test $vtv_cygmin = yes; then
15801 VTV_CYGMIN_FALSE
='#'
15803 VTV_CYGMIN_TRUE
='#'
15808 for ac_func
in _obstack_begin
15810 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15811 if test "x$ac_cv_func__obstack_begin" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE__OBSTACK_BEGIN 1
15819 if test $ac_cv_func__obstack_begin = no
; then
15820 VTV_NO_OBSTACK_TRUE
=
15821 VTV_NO_OBSTACK_FALSE
='#'
15823 VTV_NO_OBSTACK_TRUE
='#'
15824 VTV_NO_OBSTACK_FALSE
=
15828 # Determine what GCC version number to use in filesystem paths.
15830 get_gcc_base_ver
="cat"
15832 # Check whether --with-gcc-major-version-only was given.
15833 if test "${with_gcc_major_version_only+set}" = set; then :
15834 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15835 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
15843 cat >confcache
<<\_ACEOF
15844 # This file is a shell script that caches the results of configure
15845 # tests run on this system so they can be shared between configure
15846 # scripts and configure runs, see configure's option --config-cache.
15847 # It is not useful on other systems. If it contains results you don't
15848 # want to keep, you may remove or edit it.
15850 # config.status only pays attention to the cache file if you give it
15851 # the --recheck option to rerun configure.
15853 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15854 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15855 # following values.
15859 # The following way of writing the cache mishandles newlines in values,
15860 # but we know of no workaround that is simple, portable, and efficient.
15861 # So, we kill variables containing newlines.
15862 # Ultrix sh set writes to stderr and can't be redirected directly,
15863 # and sets the high bit in the cache file unless we assign to the vars.
15865 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15866 eval ac_val
=\$
$ac_var
15870 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15874 _ | IFS | as_nl
) ;; #(
15875 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15876 *) { eval $ac_var=; unset $ac_var;} ;;
15882 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15883 *${as_nl}ac_space
=\
*)
15884 # `set' does not quote correctly, so add quotes: double-quote
15885 # substitution turns \\\\ into \\, and sed turns \\ into \.
15888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15891 # `set' quotes correctly as required by POSIX, so do not add quotes.
15892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15903 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15905 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15906 if test -w "$cache_file"; then
15907 if test "x$cache_file" != "x/dev/null"; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15909 $as_echo "$as_me: updating cache $cache_file" >&6;}
15910 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15911 cat confcache
>"$cache_file"
15913 case $cache_file in #(
15915 mv -f confcache
"$cache_file"$$
&&
15916 mv -f "$cache_file"$$
"$cache_file" ;; #(
15918 mv -f confcache
"$cache_file" ;;
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15924 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15929 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15930 # Let make expand exec_prefix.
15931 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15933 # Transform confdefs.h into DEFS.
15934 # Protect against shell expansion while executing Makefile rules.
15935 # Protect against Makefile macro expansion.
15937 # If the first sed substitution is executed (which looks for macros that
15938 # take arguments), then branch to the quote section. Otherwise,
15939 # look for a macro that doesn't take arguments.
15949 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15951 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15955 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15968 DEFS
=`sed -n "$ac_script" confdefs.h`
15974 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15975 # 1. Remove the extension, and $U if already installed.
15976 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15977 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15979 # will be set to the directory where LIBOBJS objects are built.
15980 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15981 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15983 LIBOBJS
=$ac_libobjs
15985 LTLIBOBJS
=$ac_ltlibobjs
15988 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15989 as_fn_error $?
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15993 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15994 if test -n "$am_sleep_pid"; then
15995 # Hide warnings about reused PIDs.
15996 wait $am_sleep_pid 2>/dev
/null
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15999 $as_echo "done" >&6; }
16000 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16001 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16004 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16005 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16008 if test -n "$EXEEXT"; then
16010 am__EXEEXT_FALSE
='#'
16012 am__EXEEXT_TRUE
='#'
16016 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16017 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16020 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16021 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16024 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
16025 as_fn_error $?
"conditional \"VTV_CYGMIN\" was never defined.
16026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16028 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
16029 as_fn_error $?
"conditional \"VTV_NO_OBSTACK\" was never defined.
16030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16033 : "${CONFIG_STATUS=./config.status}"
16035 ac_clean_files_save
=$ac_clean_files
16036 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16038 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16040 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16042 # Generated by $as_me.
16043 # Run this file to recreate the current configuration.
16044 # Compiler output produced by configure, useful for debugging
16045 # configure, is in config.log if it exists.
16048 ac_cs_recheck=false
16051 SHELL=\${CONFIG_SHELL-$SHELL}
16054 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16055 ## -------------------- ##
16056 ## M4sh Initialization. ##
16057 ## -------------------- ##
16059 # Be more Bourne compatible
16060 DUALCASE
=1; export DUALCASE
# for MKS sh
16061 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16064 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16065 # is contrary to our usage. Disable this feature.
16066 alias -g '${1+"$@"}'='"$@"'
16067 setopt NO_GLOB_SUBST
16069 case `(set -o) 2>/dev/null` in #(
16081 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16082 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16083 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16085 # Prefer a ksh shell builtin over an external printf program on Solaris,
16086 # but without wasting forks for bash or zsh.
16087 if test -z "$BASH_VERSION$ZSH_VERSION" \
16088 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16089 as_echo='print
-r --'
16090 as_echo_n='print
-rn --'
16091 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16092 as_echo='printf %s
\n'
16093 as_echo_n='printf %s
'
16095 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16096 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16097 as_echo_n='/usr
/ucb
/echo -n'
16099 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16100 as_echo_n_body='eval
16104 expr "X$arg" : "X\\(.*\\)$as_nl";
16105 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16107 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16109 export as_echo_n_body
16110 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16112 export as_echo_body
16113 as_echo='sh
-c $as_echo_body as_echo
'
16116 # The user is always right.
16117 if test "${PATH_SEPARATOR+set}" != set; then
16119 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16120 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16127 # We need space, tab and new line, in precisely that order. Quoting is
16128 # there to prevent editors from complaining about space-tab.
16129 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16130 # splitting by setting IFS to empty value.)
16133 # Find who we are. Look in the path if we contain no directory separator.
16136 *[\\/]* ) as_myself=$0 ;;
16137 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16138 for as_dir in $PATH
16141 test -z "$as_dir" && as_dir=.
16142 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16148 # We did not find ourselves, most probably we were run as `sh COMMAND'
16149 # in which case we are not to be found in the path.
16150 if test "x$as_myself" = x
; then
16153 if test ! -f "$as_myself"; then
16154 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16158 # Unset variables that we do not need and which cause bugs (e.g. in
16159 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16160 # suppresses any "Segmentation fault" message there. '((' could
16161 # trigger a bug in pdksh 5.2.14.
16162 for as_var
in BASH_ENV ENV MAIL MAILPATH
16163 do eval test x\
${$as_var+set} = xset \
16164 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16177 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16180 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16181 # ----------------------------------------
16182 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16183 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16184 # script with STATUS, using 1 if that was 0.
16187 as_status
=$1; test $as_status -eq 0 && as_status
=1
16189 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16190 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16192 $as_echo "$as_me: error: $2" >&2
16193 as_fn_exit
$as_status
16197 # as_fn_set_status STATUS
16198 # -----------------------
16199 # Set $? to STATUS, without forking.
16200 as_fn_set_status
()
16203 } # as_fn_set_status
16205 # as_fn_exit STATUS
16206 # -----------------
16207 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16211 as_fn_set_status
$1
16217 # Portably unset VAR.
16220 { eval $1=; unset $1;}
16222 as_unset
=as_fn_unset
16223 # as_fn_append VAR VALUE
16224 # ----------------------
16225 # Append the text in VALUE to the end of the definition contained in VAR. Take
16226 # advantage of any shell optimizations that allow amortized linear growth over
16227 # repeated appends, instead of the typical quadratic growth present in naive
16229 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16230 eval 'as_fn_append ()
16241 # as_fn_arith ARG...
16242 # ------------------
16243 # Perform arithmetic evaluation on the ARGs, and store the result in the
16244 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16245 # must be portable across $(()) and expr.
16246 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16247 eval 'as_fn_arith ()
16254 as_val
=`expr "$@" || test $? -eq 1`
16259 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16260 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16266 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16267 as_basename
=basename
16272 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16278 as_me
=`$as_basename -- "$0" ||
16279 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16280 X"$0" : 'X\(//\)$' \| \
16281 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16283 sed '/^.*\/\([^/][^/]*\)\/*$/{
16297 # Avoid depending upon Character Ranges.
16298 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16299 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16300 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16301 as_cr_digits
='0123456789'
16302 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16304 ECHO_C
= ECHO_N
= ECHO_T
=
16305 case `echo -n x` in #(((((
16307 case `echo 'xy\c'` in
16308 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16310 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16317 rm -f conf$$ conf$$.exe conf$$.
file
16318 if test -d conf$$.dir
; then
16319 rm -f conf$$.dir
/conf$$.
file
16322 mkdir conf$$.dir
2>/dev
/null
16324 if (echo >conf$$.
file) 2>/dev
/null
; then
16325 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16327 # ... but there are two gotchas:
16328 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16329 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16330 # In both cases, we have to default to `cp -pR'.
16331 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16333 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16341 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16342 rmdir conf$$.dir
2>/dev
/null
16347 # Create "$as_dir" as a directory, including parents if necessary.
16352 -*) as_dir
=.
/$as_dir;;
16354 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16358 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16359 *) as_qdir
=$as_dir;;
16361 as_dirs
="'$as_qdir' $as_dirs"
16362 as_dir
=`$as_dirname -- "$as_dir" ||
16363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16364 X"$as_dir" : 'X\(//\)[^/]' \| \
16365 X"$as_dir" : 'X\(//\)$' \| \
16366 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16367 $as_echo X"$as_dir" |
16368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16372 /^X\(\/\/\)[^/].*/{
16385 test -d "$as_dir" && break
16387 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16388 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16392 if mkdir
-p .
2>/dev
/null
; then
16393 as_mkdir_p
='mkdir -p "$as_dir"'
16395 test -d .
/-p && rmdir .
/-p
16400 # as_fn_executable_p FILE
16401 # -----------------------
16402 # Test if FILE is an executable regular file.
16403 as_fn_executable_p
()
16405 test -f "$1" && test -x "$1"
16406 } # as_fn_executable_p
16407 as_test_x
='test -x'
16408 as_executable_p
=as_fn_executable_p
16410 # Sed expression to map a string onto a valid CPP name.
16411 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16413 # Sed expression to map a string onto a valid variable name.
16414 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16418 ## ----------------------------------- ##
16419 ## Main body of $CONFIG_STATUS script. ##
16420 ## ----------------------------------- ##
16422 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16425 # Save the log message, to keep $0 and so on meaningful, and to
16426 # report actual input values of CONFIG_FILES etc. instead of their
16427 # values after options handling.
16429 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16430 generated by GNU Autoconf 2.69. Invocation command line was
16432 CONFIG_FILES = $CONFIG_FILES
16433 CONFIG_HEADERS = $CONFIG_HEADERS
16434 CONFIG_LINKS = $CONFIG_LINKS
16435 CONFIG_COMMANDS = $CONFIG_COMMANDS
16438 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16443 case $ac_config_files in *"
16444 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16450 # Files that config.status was made for.
16451 config_files="$ac_config_files"
16452 config_commands="$ac_config_commands"
16456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16458 \`$as_me' instantiates files and other configuration actions
16459 from templates according to the current configuration. Unless the files
16460 and actions are specified as TAGs, all are instantiated by default.
16462 Usage: $0 [OPTION]... [TAG]...
16464 -h, --help print this help, then exit
16465 -V, --version print version number and configuration settings, then exit
16466 --config print configuration, then exit
16467 -q, --quiet, --silent
16468 do not print progress messages
16469 -d, --debug don't remove temporary files
16470 --recheck update $as_me by reconfiguring in the same conditions
16471 --file=FILE[:TEMPLATE]
16472 instantiate the configuration file FILE
16474 Configuration files:
16477 Configuration commands:
16480 Report bugs to the package provider.
16481 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16482 General help using GNU software: <http://www.gnu.org/gethelp/>."
16485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16486 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16488 GNU Vtable Verification Runtime Library config.status 1.0
16489 configured by $0, generated by GNU Autoconf 2.69,
16490 with options \\"\$ac_cs_config\\"
16492 Copyright (C) 2012 Free Software Foundation, Inc.
16493 This config.status script is free software; the Free Software Foundation
16494 gives unlimited permission to copy, distribute and modify it."
16501 test -n "\$AWK" || AWK=awk
16504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16505 # The default lists apply if the user does not specify any file.
16511 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16512 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16516 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16528 # Handling of the options.
16529 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16531 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16532 $as_echo "$ac_cs_version"; exit ;;
16533 --config |
--confi |
--conf |
--con |
--co |
--c )
16534 $as_echo "$ac_cs_config"; exit ;;
16535 --debug |
--debu |
--deb |
--de |
--d |
-d )
16537 --file |
--fil |
--fi |
--f )
16540 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16541 '') as_fn_error $?
"missing file argument" ;;
16543 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16544 ac_need_defaults
=false
;;
16545 --he |
--h |
--help |
--hel |
-h )
16546 $as_echo "$ac_cs_usage"; exit ;;
16547 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16548 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16551 # This is an error.
16552 -*) as_fn_error $?
"unrecognized option: \`$1'
16553 Try \`$0 --help' for more information." ;;
16555 *) as_fn_append ac_config_targets
" $1"
16556 ac_need_defaults
=false
;;
16562 ac_configure_extra_args
=
16564 if $ac_cs_silent; then
16566 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16571 if \$ac_cs_recheck; then
16572 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16574 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16575 CONFIG_SHELL='$SHELL'
16576 export CONFIG_SHELL
16581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16585 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16586 ## Running $as_me. ##
16592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16600 with_multisubdir="$with_multisubdir"
16601 with_multisrctop="$with_multisrctop"
16602 with_target_subdir="$with_target_subdir"
16603 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16604 multi_basedir="$multi_basedir"
16605 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16608 GFORTRAN="$GFORTRAN"
16610 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16613 # The HP-UX ksh and POSIX shell print the target directory to stdout
16614 # if CDPATH is set.
16615 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16617 sed_quote_subst='$sed_quote_subst'
16618 double_quote_subst='$double_quote_subst'
16619 delay_variable_subst='$delay_variable_subst'
16620 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16621 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16622 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16623 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16624 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16625 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16626 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16627 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16628 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16629 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16630 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16631 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16632 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16633 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16634 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16635 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16636 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16637 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16638 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16639 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16640 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16641 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16642 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16643 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16644 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16645 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16646 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16647 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16648 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16649 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16650 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16651 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16652 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16653 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16654 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16655 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16656 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16657 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16658 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16659 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16660 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16661 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16662 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16663 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16664 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16665 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16666 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16667 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16668 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"`'
16669 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16670 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16671 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16672 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16673 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16674 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16675 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16676 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16677 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16678 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16679 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16680 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16681 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16682 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16683 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16684 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16685 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16686 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16687 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16688 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16689 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16690 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16691 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16692 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16693 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16694 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16695 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16696 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16697 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16698 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16699 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16700 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16701 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16702 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16703 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16704 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16705 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16706 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16707 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16708 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16709 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16710 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16711 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16712 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16713 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16714 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16715 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16716 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16717 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16718 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16719 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16720 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16721 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16722 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16723 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16724 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16725 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16726 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16727 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16728 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16729 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16730 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16731 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16732 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16733 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16734 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16735 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16736 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16737 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16738 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16739 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16740 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16741 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16742 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16743 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16744 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16745 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16746 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16747 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16748 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16749 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16750 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16751 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16752 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16753 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16754 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16755 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16756 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16757 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16758 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16759 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16760 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16761 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16762 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16763 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16764 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16765 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16766 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16767 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16768 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16769 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16770 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16771 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16772 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16773 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16774 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16775 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16776 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16777 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16778 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16779 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16780 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16781 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16782 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16783 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16784 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16785 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16786 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16787 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16788 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16789 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16790 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16791 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16792 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16793 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16794 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16797 LTCFLAGS='$LTCFLAGS'
16798 compiler='$compiler_DEFAULT'
16800 # A function that is used when there is no print builtin or printf.
16801 func_fallback_echo ()
16803 eval 'cat <<_LTECHO_EOF
16808 # Quote evaled strings.
16822 deplibs_check_method \
16831 lt_cv_sys_global_symbol_pipe \
16832 lt_cv_sys_global_symbol_to_cdecl \
16833 lt_cv_sys_global_symbol_to_c_name_address \
16834 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16835 lt_prog_compiler_no_builtin_flag \
16836 lt_prog_compiler_wl \
16837 lt_prog_compiler_pic \
16838 lt_prog_compiler_static \
16839 lt_cv_prog_compiler_c_o \
16847 export_dynamic_flag_spec \
16848 whole_archive_flag_spec \
16849 compiler_needs_object \
16851 allow_undefined_flag \
16852 no_undefined_flag \
16853 hardcode_libdir_flag_spec \
16854 hardcode_libdir_flag_spec_ld \
16855 hardcode_libdir_separator \
16860 variables_saved_for_relink \
16862 library_names_spec \
16864 install_override_mode \
16868 compiler_lib_search_dirs \
16873 compiler_lib_search_path \
16877 lt_prog_compiler_no_builtin_flag_CXX \
16878 lt_prog_compiler_wl_CXX \
16879 lt_prog_compiler_pic_CXX \
16880 lt_prog_compiler_static_CXX \
16881 lt_cv_prog_compiler_c_o_CXX \
16882 export_dynamic_flag_spec_CXX \
16883 whole_archive_flag_spec_CXX \
16884 compiler_needs_object_CXX \
16886 allow_undefined_flag_CXX \
16887 no_undefined_flag_CXX \
16888 hardcode_libdir_flag_spec_CXX \
16889 hardcode_libdir_flag_spec_ld_CXX \
16890 hardcode_libdir_separator_CXX \
16891 fix_srcfile_path_CXX \
16892 exclude_expsyms_CXX \
16893 include_expsyms_CXX \
16894 file_list_spec_CXX \
16895 compiler_lib_search_dirs_CXX \
16896 predep_objects_CXX \
16897 postdep_objects_CXX \
16900 compiler_lib_search_path_CXX; do
16901 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16902 *[\\\\\\\`\\"\\\$]*)
16903 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16906 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16911 # Double-quote double-evaled strings.
16912 for var in reload_cmds \
16913 old_postinstall_cmds \
16914 old_postuninstall_cmds \
16916 extract_expsyms_cmds \
16917 old_archive_from_new_cmds \
16918 old_archive_from_expsyms_cmds \
16920 archive_expsym_cmds \
16922 module_expsym_cmds \
16923 export_symbols_cmds \
16926 postuninstall_cmds \
16928 sys_lib_search_path_spec \
16929 sys_lib_dlsearch_path_spec \
16931 old_archive_cmds_CXX \
16932 old_archive_from_new_cmds_CXX \
16933 old_archive_from_expsyms_cmds_CXX \
16935 archive_expsym_cmds_CXX \
16937 module_expsym_cmds_CXX \
16938 export_symbols_cmds_CXX \
16939 prelink_cmds_CXX; do
16940 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16941 *[\\\\\\\`\\"\\\$]*)
16942 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16945 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16950 ac_aux_dir='$ac_aux_dir'
16951 xsi_shell='$xsi_shell'
16952 lt_shell_append='$lt_shell_append'
16954 # See if we are running on zsh, and set the options which allow our
16955 # commands through without removal of \ escapes INIT.
16956 if test -n "\${ZSH_VERSION+set}" ; then
16957 setopt NO_GLOB_SUBST
16963 TIMESTAMP='$TIMESTAMP'
16974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16976 # Handling of arguments.
16977 for ac_config_target
in $ac_config_targets
16979 case $ac_config_target in
16980 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16981 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16982 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16983 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16984 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16986 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16991 # If the user did not use the arguments to specify the items to instantiate,
16992 # then the envvar interface is used. Set only those that are not.
16993 # We use the long form for the default assignment because of an extremely
16994 # bizarre bug on SunOS 4.1.3.
16995 if $ac_need_defaults; then
16996 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16997 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17000 # Have a temporary directory for convenience. Make it in the build tree
17001 # simply because there is no reason against having it here, and in addition,
17002 # creating and moving files from /tmp can sometimes cause problems.
17003 # Hook for its removal unless debugging.
17004 # Note that there is a small window in which the directory will not be cleaned:
17005 # after its creation but before its name has been assigned to `$tmp'.
17009 trap 'exit_status=$?
17010 : "${ac_tmp:=$tmp}"
17011 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17013 trap 'as_fn_exit 1' 1 2 13 15
17015 # Create a (secure) tmp directory for tmp files.
17018 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17022 tmp
=.
/conf$$
-$RANDOM
17023 (umask 077 && mkdir
"$tmp")
17024 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17027 # Set up the scripts for CONFIG_FILES section.
17028 # No need to generate them if there are no CONFIG_FILES.
17029 # This happens for instance with `./config.status config.h'.
17030 if test -n "$CONFIG_FILES"; then
17033 ac_cr
=`echo X | tr X '\015'`
17034 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17035 # But we know of no other shell where ac_cr would be empty at this
17036 # point, so we can use a bashism as a fallback.
17037 if test "x$ac_cr" = x
; then
17038 eval ac_cr
=\$
\'\\r
\'
17040 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17041 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17044 ac_cs_awk_cr
=$ac_cr
17047 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17052 echo "cat >conf$$subs.awk <<_ACEOF" &&
17053 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17055 } >conf$$subs.sh ||
17056 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17057 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17059 for ac_last_try in false false false false false :; do
17060 . ./conf$$subs.sh ||
17061 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17063 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17064 if test $ac_delim_n = $ac_delim_num; then
17066 elif $ac_last_try; then
17067 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17069 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17072 rm -f conf$$subs.sh
17074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17075 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17079 s/^/S["/; s
/!.
*/"]=/
17089 s/\(.\{148\}\)..*/\1/
17091 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17096 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17103 s/\(.\{148\}\)..*/\1/
17105 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17109 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17114 ' <conf$$subs.awk | sed '
17119 ' >>$CONFIG_STATUS || ac_write_fail=1
17120 rm -f conf$$subs.awk
17121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17123 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17124 for (key in S) S_is_set[key] = 1
17130 nfields = split(line, field, "@
")
17132 len = length(field[1])
17133 for (i = 2; i < nfields; i++) {
17135 keylen = length(key)
17136 if (S_is_set[key]) {
17138 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17139 len += length(value) + length(field[++i])
17150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17151 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17152 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17155 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17156 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17159 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17160 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17161 # trailing colons and then remove the whole line if VPATH becomes empty
17162 # (actually we leave an empty line to preserve line numbers).
17163 if test "x
$srcdir" = x.; then
17164 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17183 fi # test -n "$CONFIG_FILES"
17186 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17191 :[FHLC]) ac_mode=$ac_tag; continue;;
17193 case $ac_mode$ac_tag in
17195 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17196 :[FH]-) ac_tag=-:-;;
17197 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17214 -) ac_f="$ac_tmp/stdin";;
17215 *) # Look for the file first in the build tree, then in the source tree
17216 # (if the path is not absolute). The absolute path cannot be DOS-style,
17217 # because $ac_f cannot contain `:'.
17221 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17223 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17225 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17226 as_fn_append ac_file_inputs " '$ac_f'"
17229 # Let's still pretend it is `configure' which instantiates (i.e., don't
17230 # use $as_me), people would be surprised to read:
17231 # /* config.h. Generated by config.status. */
17232 configure_input='Generated from '`
17233 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17235 if test x"$ac_file" != x-; then
17236 configure_input="$ac_file.
$configure_input"
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17238 $as_echo "$as_me: creating
$ac_file" >&6;}
17240 # Neutralize special characters interpreted by sed in replacement strings.
17241 case $configure_input in #(
17242 *\&* | *\|* | *\\* )
17243 ac_sed_conf_input=`$as_echo "$configure_input" |
17244 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17245 *) ac_sed_conf_input=$configure_input;;
17249 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17250 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17255 ac_dir=`$as_dirname -- "$ac_file" ||
17256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17257 X"$ac_file" : 'X\(//\)[^/]' \| \
17258 X"$ac_file" : 'X\(//\)$' \| \
17259 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17260 $as_echo X"$ac_file" |
17261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17265 /^X\(\/\/\)[^/].*/{
17278 as_dir="$ac_dir"; as_fn_mkdir_p
17282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17284 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17285 # A "..
" for each directory in $ac_dir_suffix.
17286 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17287 case $ac_top_builddir_sub in
17288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17292 ac_abs_top_builddir=$ac_pwd
17293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17294 # for backward compatibility:
17295 ac_top_builddir=$ac_top_build_prefix
17298 .) # We are building in place.
17300 ac_top_srcdir=$ac_top_builddir_sub
17301 ac_abs_top_srcdir=$ac_pwd ;;
17302 [\\/]* | ?:[\\/]* ) # Absolute name.
17303 ac_srcdir=$srcdir$ac_dir_suffix;
17304 ac_top_srcdir=$srcdir
17305 ac_abs_top_srcdir=$srcdir ;;
17306 *) # Relative name.
17307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17308 ac_top_srcdir=$ac_top_build_prefix$srcdir
17309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17321 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17322 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17324 ac_MKDIR_P=$MKDIR_P
17326 [\\/$]* | ?:[\\/]* ) ;;
17327 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17332 # If the template does not know about datarootdir, expand it.
17333 # FIXME: This hack should be removed a few years after 2.60.
17334 ac_datarootdir_hack=; ac_datarootdir_seen=
17345 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17346 *datarootdir*) ac_datarootdir_seen=yes;;
17347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17349 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17352 ac_datarootdir_hack='
17353 s&@datadir@&$datadir&g
17354 s&@docdir@&$docdir&g
17355 s&@infodir@&$infodir&g
17356 s&@localedir@&$localedir&g
17357 s&@mandir@&$mandir&g
17358 s&\\\${datarootdir}&$datarootdir&g' ;;
17362 # Neutralize VPATH when `$srcdir' = `.'.
17363 # Shell code in configure.ac might set extrasub.
17364 # FIXME: do we really want to maintain this feature?
17365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17366 ac_sed_extra="$ac_vpsub
17369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17371 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17372 s|@configure_input@|
$ac_sed_conf_input|
;t t
17373 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17374 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17375 s
&@srcdir@
&$ac_srcdir&;t t
17376 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17377 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17378 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17379 s
&@builddir@
&$ac_builddir&;t t
17380 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17381 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17382 s
&@INSTALL@
&$ac_INSTALL&;t t
17383 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17384 $ac_datarootdir_hack
17386 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17387 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17389 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17390 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17391 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17392 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17394 which seems to be undefined. Please make sure it is defined" >&5
17395 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17396 which seems to be undefined. Please make sure it is defined" >&2;}
17398 rm -f "$ac_tmp/stdin"
17400 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17401 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17407 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17408 $as_echo "$as_me: executing $ac_file commands" >&6;}
17413 case $ac_file$ac_mode in
17415 # Only add multilib support code if we just rebuilt the top-level
17417 case " $CONFIG_FILES " in
17419 ac_file=Makefile . ${multi_basedir}/config-ml.in
17422 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17423 # Older Autoconf quotes --file arguments for eval, but not when files
17424 # are listed without --file. Let's play safe and only
enable the
eval
17425 # if we detect the quoting.
17426 case $CONFIG_FILES in
17427 *\'*) eval set x
"$CONFIG_FILES" ;;
17428 *) set x
$CONFIG_FILES ;;
17433 # Strip MF so we end up with the name of the file.
17434 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17435 # Check whether this is an Automake generated Makefile or not.
17436 # We used to match only the files named 'Makefile.in', but
17437 # some people rename them; so instead we look at the file content.
17438 # Grep'ing the first line is not enough: some people post-process
17439 # each Makefile.in and add a new line on top of each file to say so.
17440 # Grep'ing the whole file is not good either: AIX grep has a line
17441 # limit of 2048, but all sed's we know have understand at least 4000.
17442 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17443 dirpart
=`$as_dirname -- "$mf" ||
17444 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17445 X"$mf" : 'X\(//\)[^/]' \| \
17446 X"$mf" : 'X\(//\)$' \| \
17447 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17453 /^X\(\/\/\)[^/].*/{
17469 # Extract the definition of DEPDIR, am__include, and am__quote
17470 # from the Makefile without running 'make'.
17471 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17472 test -z "$DEPDIR" && continue
17473 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17474 test -z "$am__include" && continue
17475 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17476 # Find all dependency output files, they are included files with
17477 # $(DEPDIR) in their names. We invoke sed twice because it is the
17478 # simplest approach to changing $(DEPDIR) to its actual value in the
17480 for file in `sed -n "
17481 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17482 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17483 # Make sure the directory exists.
17484 test -f "$dirpart/$file" && continue
17485 fdir
=`$as_dirname -- "$file" ||
17486 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17487 X"$file" : 'X\(//\)[^/]' \| \
17488 X"$file" : 'X\(//\)$' \| \
17489 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17490 $as_echo X"$file" |
17491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17495 /^X\(\/\/\)[^/].*/{
17508 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17509 # echo "creating $dirpart/$file"
17510 echo '# dummy' > "$dirpart/$file"
17517 # See if we are running on zsh, and set the options which allow our
17518 # commands through without removal of \ escapes.
17519 if test -n "${ZSH_VERSION+set}" ; then
17520 setopt NO_GLOB_SUBST
17523 cfgfile
="${ofile}T"
17524 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17527 cat <<_LT_EOF >> "$cfgfile"
17530 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17531 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17532 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17533 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17535 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17536 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17537 # Written by Gordon Matzigkeit, 1996
17539 # This file is part of GNU Libtool.
17541 # GNU Libtool is free software; you can redistribute it and/or
17542 # modify it under the terms of the GNU General Public License as
17543 # published by the Free Software Foundation; either version 2 of
17544 # the License, or (at your option) any later version.
17546 # As a special exception to the GNU General Public License,
17547 # if you distribute this file as part of a program or library that
17548 # is built using GNU Libtool, you may include this file under the
17549 # same distribution terms that you use for the rest of that program.
17551 # GNU Libtool is distributed in the hope that it will be useful,
17552 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17553 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17554 # GNU General Public License for more details.
17556 # You should have received a copy of the GNU General Public License
17557 # along with GNU Libtool; see the file COPYING. If not, a copy
17558 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17559 # obtained by writing to the Free Software Foundation, Inc.,
17560 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17563 # The names of the tagged configurations supported by this script.
17564 available_tags="CXX "
17566 # ### BEGIN LIBTOOL CONFIG
17568 # Which release of libtool.m4 was used?
17569 macro_version=$macro_version
17570 macro_revision=$macro_revision
17572 # Whether or not to build shared libraries.
17573 build_libtool_libs=$enable_shared
17575 # Whether or not to build static libraries.
17576 build_old_libs=$enable_static
17578 # What type of objects to build.
17581 # Whether or not to optimize for fast installation.
17582 fast_install=$enable_fast_install
17584 # Shell to use when invoking shell scripts.
17587 # An echo program that protects backslashes.
17591 host_alias=$host_alias
17595 # The build system.
17596 build_alias=$build_alias
17600 # A sed program that does not truncate output.
17603 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17604 Xsed="\$SED -e 1s/^X//"
17606 # A grep program that handles long lines.
17612 # A literal string matcher.
17615 # A BSD- or MS-compatible name lister.
17618 # Whether we need soft or hard links.
17621 # What is the maximum length of a command?
17622 max_cmd_len=$max_cmd_len
17624 # Object file suffix (normally "o").
17627 # Executable file suffix (normally "").
17630 # whether the shell understands "unset".
17633 # turn spaces into newlines.
17636 # turn newlines into spaces.
17639 # An object symbol dumper.
17640 OBJDUMP=$lt_OBJDUMP
17642 # Method to check whether dependent libraries are shared objects.
17643 deplibs_check_method=$lt_deplibs_check_method
17645 # Command to use when deplibs_check_method == "file_magic".
17646 file_magic_cmd=$lt_file_magic_cmd
17650 AR_FLAGS=$lt_AR_FLAGS
17652 # A symbol stripping program.
17655 # Commands used to install an old-style archive.
17657 old_postinstall_cmds=$lt_old_postinstall_cmds
17658 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17660 # Whether to use a lock for old archive extraction.
17661 lock_old_archive_extraction=$lock_old_archive_extraction
17666 # LTCC compiler flags.
17667 LTCFLAGS=$lt_CFLAGS
17669 # Take the output of nm and produce a listing of raw symbols and C names.
17670 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17672 # Transform the output of nm in a proper C declaration.
17673 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17675 # Transform the output of nm in a C name address pair.
17676 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17678 # Transform the output of nm in a C name address pair when lib prefix is needed.
17679 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17681 # The name of the directory that contains temporary libtool files.
17684 # Used to examine libraries when file_magic_cmd begins with "file".
17685 MAGIC_CMD=$MAGIC_CMD
17687 # Must we lock files when doing compilation?
17688 need_locks=$lt_need_locks
17690 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17691 DSYMUTIL=$lt_DSYMUTIL
17693 # Tool to change global to local symbols on Mac OS X.
17696 # Tool to manipulate fat objects and archives on Mac OS X.
17699 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17702 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17703 OTOOL64=$lt_OTOOL64
17705 # Old archive suffix (normally "a").
17708 # Shared library suffix (normally ".so").
17709 shrext_cmds=$lt_shrext_cmds
17711 # The commands to extract the exported symbol list from a shared archive.
17712 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17714 # Variables whose values should be saved in libtool wrapper scripts and
17715 # restored at link time.
17716 variables_saved_for_relink=$lt_variables_saved_for_relink
17718 # Do we need the "lib" prefix for modules?
17719 need_lib_prefix=$need_lib_prefix
17721 # Do we need a version for libraries?
17722 need_version=$need_version
17724 # Library versioning type.
17725 version_type=$version_type
17727 # Shared library runtime path variable.
17728 runpath_var=$runpath_var
17730 # Shared library path variable.
17731 shlibpath_var=$shlibpath_var
17733 # Is shlibpath searched before the hard-coded library search path?
17734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17736 # Format of library name prefix.
17737 libname_spec=$lt_libname_spec
17739 # List of archive names. First name is the real one, the rest are links.
17740 # The last name is the one that the linker finds with -lNAME
17741 library_names_spec=$lt_library_names_spec
17743 # The coded name of the library, if different from the real name.
17744 soname_spec=$lt_soname_spec
17746 # Permission mode override for installation of shared libraries.
17747 install_override_mode=$lt_install_override_mode
17749 # Command to use after installation of a shared archive.
17750 postinstall_cmds=$lt_postinstall_cmds
17752 # Command to use after uninstallation of a shared archive.
17753 postuninstall_cmds=$lt_postuninstall_cmds
17755 # Commands used to finish a libtool library installation in a directory.
17756 finish_cmds=$lt_finish_cmds
17758 # As "finish_cmds", except a single script fragment to be evaled but
17760 finish_eval=$lt_finish_eval
17762 # Whether we should hardcode library paths into libraries.
17763 hardcode_into_libs=$hardcode_into_libs
17765 # Compile-time system search path for libraries.
17766 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17768 # Run-time system search path for libraries.
17769 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17771 # Whether dlopen is supported.
17772 dlopen_support=$enable_dlopen
17774 # Whether dlopen of programs is supported.
17775 dlopen_self=$enable_dlopen_self
17777 # Whether dlopen of statically linked programs is supported.
17778 dlopen_self_static=$enable_dlopen_self_static
17780 # Commands to strip libraries.
17781 old_striplib=$lt_old_striplib
17782 striplib=$lt_striplib
17785 # The linker used to build libraries.
17788 # How to create reloadable object files.
17789 reload_flag=$lt_reload_flag
17790 reload_cmds=$lt_reload_cmds
17792 # Commands used to build an old-style archive.
17793 old_archive_cmds=$lt_old_archive_cmds
17795 # A language specific compiler.
17798 # Is the compiler the GNU compiler?
17801 # Compiler flag to turn off builtin functions.
17802 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17804 # How to pass a linker flag through the compiler.
17805 wl=$lt_lt_prog_compiler_wl
17807 # Additional compiler flags for building library objects.
17808 pic_flag=$lt_lt_prog_compiler_pic
17810 # Compiler flag to prevent dynamic linking.
17811 link_static_flag=$lt_lt_prog_compiler_static
17813 # Does compiler simultaneously support -c and -o options?
17814 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17816 # Whether or not to add -lc for building shared libraries.
17817 build_libtool_need_lc=$archive_cmds_need_lc
17819 # Whether or not to disallow shared libs when runtime libs are static.
17820 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17822 # Compiler flag to allow reflexive dlopens.
17823 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17825 # Compiler flag to generate shared objects directly from archives.
17826 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17828 # Whether the compiler copes with passing no objects directly.
17829 compiler_needs_object=$lt_compiler_needs_object
17831 # Create an old-style archive from a shared archive.
17832 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17834 # Create a temporary old-style archive to link instead of a shared archive.
17835 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17837 # Commands used to build a shared archive.
17838 archive_cmds=$lt_archive_cmds
17839 archive_expsym_cmds=$lt_archive_expsym_cmds
17841 # Commands used to build a loadable module if different from building
17842 # a shared archive.
17843 module_cmds=$lt_module_cmds
17844 module_expsym_cmds=$lt_module_expsym_cmds
17846 # Whether we are building with GNU ld or not.
17847 with_gnu_ld=$lt_with_gnu_ld
17849 # Flag that allows shared libraries with undefined symbols to be built.
17850 allow_undefined_flag=$lt_allow_undefined_flag
17852 # Flag that enforces no undefined symbols.
17853 no_undefined_flag=$lt_no_undefined_flag
17855 # Flag to hardcode \$libdir into a binary during linking.
17856 # This must work even if \$libdir does not exist
17857 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17859 # If ld is used when linking, flag to hardcode \$libdir into a binary
17860 # during linking. This must work even if \$libdir does not exist.
17861 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17863 # Whether we need a single "-rpath" flag with a separated argument.
17864 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17866 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17867 # DIR into the resulting binary.
17868 hardcode_direct=$hardcode_direct
17870 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17871 # DIR into the resulting binary and the resulting library dependency is
17872 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17873 # library is relocated.
17874 hardcode_direct_absolute=$hardcode_direct_absolute
17876 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17877 # into the resulting binary.
17878 hardcode_minus_L=$hardcode_minus_L
17880 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17881 # into the resulting binary.
17882 hardcode_shlibpath_var=$hardcode_shlibpath_var
17884 # Set to "yes" if building a shared library automatically hardcodes DIR
17885 # into the library and all subsequent libraries and executables linked
17887 hardcode_automatic=$hardcode_automatic
17889 # Set to yes if linker adds runtime paths of dependent libraries
17890 # to runtime path list.
17891 inherit_rpath=$inherit_rpath
17893 # Whether libtool must link a program against all its dependency libraries.
17894 link_all_deplibs=$link_all_deplibs
17896 # Fix the shell variable \$srcfile for the compiler.
17897 fix_srcfile_path=$lt_fix_srcfile_path
17899 # Set to "yes" if exported symbols are required.
17900 always_export_symbols=$always_export_symbols
17902 # The commands to list exported symbols.
17903 export_symbols_cmds=$lt_export_symbols_cmds
17905 # Symbols that should not be listed in the preloaded symbols.
17906 exclude_expsyms=$lt_exclude_expsyms
17908 # Symbols that must always be exported.
17909 include_expsyms=$lt_include_expsyms
17911 # Commands necessary for linking programs (against libraries) with templates.
17912 prelink_cmds=$lt_prelink_cmds
17914 # Specify filename containing input files.
17915 file_list_spec=$lt_file_list_spec
17917 # How to hardcode a shared library path into an executable.
17918 hardcode_action=$hardcode_action
17920 # The directories searched by this compiler when creating a shared library.
17921 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17923 # Dependencies to place before and after the objects being linked to
17924 # create a shared library.
17925 predep_objects=$lt_predep_objects
17926 postdep_objects=$lt_postdep_objects
17927 predeps=$lt_predeps
17928 postdeps=$lt_postdeps
17930 # The library search path used internally by the compiler when linking
17931 # a shared library.
17932 compiler_lib_search_path=$lt_compiler_lib_search_path
17934 # ### END LIBTOOL CONFIG
17940 cat <<\_LT_EOF
>> "$cfgfile"
17941 # AIX sometimes has problems with the GCC collect2 program. For some
17942 # reason, if we set the COLLECT_NAMES environment variable, the problems
17943 # vanish in a puff of smoke.
17944 if test "X${COLLECT_NAMES+set}" != Xset
; then
17946 export COLLECT_NAMES
17953 ltmain
="$ac_aux_dir/ltmain.sh"
17956 # We use sed instead of cat because bash on DJGPP gets confused if
17957 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17958 # text mode, it properly converts lines to CR/LF. This bash problem
17959 # is reportedly fixed, but why not run on old versions too?
17960 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17961 ||
(rm -f "$cfgfile"; exit 1)
17965 cat << \_LT_EOF
>> "$cfgfile"
17967 # func_dirname file append nondir_replacement
17968 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17969 # otherwise set result to NONDIR_REPLACEMENT.
17973 */*) func_dirname_result
="${1%/*}${2}" ;;
17974 * ) func_dirname_result
="${3}" ;;
17978 # func_basename file
17981 func_basename_result
="${1##*/}"
17984 # func_dirname_and_basename file append nondir_replacement
17985 # perform func_basename and func_dirname in a single function
17987 # dirname: Compute the dirname of FILE. If nonempty,
17988 # add APPEND to the result, otherwise set result
17989 # to NONDIR_REPLACEMENT.
17990 # value returned in "$func_dirname_result"
17991 # basename: Compute filename of FILE.
17992 # value retuned in "$func_basename_result"
17993 # Implementation must be kept synchronized with func_dirname
17994 # and func_basename. For efficiency, we do not delegate to
17995 # those functions but instead duplicate the functionality here.
17996 func_dirname_and_basename
()
17999 */*) func_dirname_result
="${1%/*}${2}" ;;
18000 * ) func_dirname_result
="${3}" ;;
18002 func_basename_result
="${1##*/}"
18005 # func_stripname prefix suffix name
18006 # strip PREFIX and SUFFIX off of NAME.
18007 # PREFIX and SUFFIX must not contain globbing or regex special
18008 # characters, hashes, percent signs, but SUFFIX may contain a leading
18009 # dot (in which case that matches only a dot).
18012 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18013 # positional parameters, so assign one to ordinary parameter first.
18014 func_stripname_result
=${3}
18015 func_stripname_result
=${func_stripname_result#"${1}"}
18016 func_stripname_result
=${func_stripname_result%"${2}"}
18022 func_opt_split_opt
=${1%%=*}
18023 func_opt_split_arg
=${1#*=}
18030 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18031 *) func_lo2o_result
=${1} ;;
18035 # func_xform libobj-or-source
18038 func_xform_result
=${1%.*}.lo
18041 # func_arith arithmetic-term...
18044 func_arith_result
=$
(( $
* ))
18048 # STRING may not start with a hyphen.
18051 func_len_result
=${#1}
18056 *) # Bourne compatible functions.
18057 cat << \_LT_EOF
>> "$cfgfile"
18059 # func_dirname file append nondir_replacement
18060 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18061 # otherwise set result to NONDIR_REPLACEMENT.
18064 # Extract subdirectory from the argument.
18065 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18066 if test "X$func_dirname_result" = "X${1}"; then
18067 func_dirname_result
="${3}"
18069 func_dirname_result
="$func_dirname_result${2}"
18073 # func_basename file
18076 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18080 # func_stripname prefix suffix name
18081 # strip PREFIX and SUFFIX off of NAME.
18082 # PREFIX and SUFFIX must not contain globbing or regex special
18083 # characters, hashes, percent signs, but SUFFIX may contain a leading
18084 # dot (in which case that matches only a dot).
18085 # func_strip_suffix prefix name
18089 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18090 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18095 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18096 my_sed_long_arg
='1s/^-[^=]*=//'
18101 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18102 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18108 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18111 # func_xform libobj-or-source
18114 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18117 # func_arith arithmetic-term...
18120 func_arith_result
=`expr "$@"`
18124 # STRING may not start with a hyphen.
18127 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18133 case $lt_shell_append in
18135 cat << \_LT_EOF
>> "$cfgfile"
18137 # func_append var value
18138 # Append VALUE to the end of shell variable VAR.
18146 cat << \_LT_EOF
>> "$cfgfile"
18148 # func_append var value
18149 # Append VALUE to the end of shell variable VAR.
18160 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18161 ||
(rm -f "$cfgfile"; exit 1)
18163 mv -f "$cfgfile" "$ofile" ||
18164 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18168 cat <<_LT_EOF >> "$ofile"
18170 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18172 # The linker used to build libraries.
18175 # How to create reloadable object files.
18176 reload_flag=$lt_reload_flag_CXX
18177 reload_cmds=$lt_reload_cmds_CXX
18179 # Commands used to build an old-style archive.
18180 old_archive_cmds=$lt_old_archive_cmds_CXX
18182 # A language specific compiler.
18183 CC=$lt_compiler_CXX
18185 # Is the compiler the GNU compiler?
18188 # Compiler flag to turn off builtin functions.
18189 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18191 # How to pass a linker flag through the compiler.
18192 wl=$lt_lt_prog_compiler_wl_CXX
18194 # Additional compiler flags for building library objects.
18195 pic_flag=$lt_lt_prog_compiler_pic_CXX
18197 # Compiler flag to prevent dynamic linking.
18198 link_static_flag=$lt_lt_prog_compiler_static_CXX
18200 # Does compiler simultaneously support -c and -o options?
18201 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18203 # Whether or not to add -lc for building shared libraries.
18204 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18206 # Whether or not to disallow shared libs when runtime libs are static.
18207 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18209 # Compiler flag to allow reflexive dlopens.
18210 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18212 # Compiler flag to generate shared objects directly from archives.
18213 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18215 # Whether the compiler copes with passing no objects directly.
18216 compiler_needs_object=$lt_compiler_needs_object_CXX
18218 # Create an old-style archive from a shared archive.
18219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18221 # Create a temporary old-style archive to link instead of a shared archive.
18222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18224 # Commands used to build a shared archive.
18225 archive_cmds=$lt_archive_cmds_CXX
18226 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18228 # Commands used to build a loadable module if different from building
18229 # a shared archive.
18230 module_cmds=$lt_module_cmds_CXX
18231 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18233 # Whether we are building with GNU ld or not.
18234 with_gnu_ld=$lt_with_gnu_ld_CXX
18236 # Flag that allows shared libraries with undefined symbols to be built.
18237 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18239 # Flag that enforces no undefined symbols.
18240 no_undefined_flag=$lt_no_undefined_flag_CXX
18242 # Flag to hardcode \$libdir into a binary during linking.
18243 # This must work even if \$libdir does not exist
18244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18246 # If ld is used when linking, flag to hardcode \$libdir into a binary
18247 # during linking. This must work even if \$libdir does not exist.
18248 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18250 # Whether we need a single "-rpath" flag with a separated argument.
18251 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18253 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18254 # DIR into the resulting binary.
18255 hardcode_direct=$hardcode_direct_CXX
18257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18258 # DIR into the resulting binary and the resulting library dependency is
18259 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18260 # library is relocated.
18261 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18263 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18264 # into the resulting binary.
18265 hardcode_minus_L=$hardcode_minus_L_CXX
18267 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18268 # into the resulting binary.
18269 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18271 # Set to "yes" if building a shared library automatically hardcodes DIR
18272 # into the library and all subsequent libraries and executables linked
18274 hardcode_automatic=$hardcode_automatic_CXX
18276 # Set to yes if linker adds runtime paths of dependent libraries
18277 # to runtime path list.
18278 inherit_rpath=$inherit_rpath_CXX
18280 # Whether libtool must link a program against all its dependency libraries.
18281 link_all_deplibs=$link_all_deplibs_CXX
18283 # Fix the shell variable \$srcfile for the compiler.
18284 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18286 # Set to "yes" if exported symbols are required.
18287 always_export_symbols=$always_export_symbols_CXX
18289 # The commands to list exported symbols.
18290 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18292 # Symbols that should not be listed in the preloaded symbols.
18293 exclude_expsyms=$lt_exclude_expsyms_CXX
18295 # Symbols that must always be exported.
18296 include_expsyms=$lt_include_expsyms_CXX
18298 # Commands necessary for linking programs (against libraries) with templates.
18299 prelink_cmds=$lt_prelink_cmds_CXX
18301 # Specify filename containing input files.
18302 file_list_spec=$lt_file_list_spec_CXX
18304 # How to hardcode a shared library path into an executable.
18305 hardcode_action=$hardcode_action_CXX
18307 # The directories searched by this compiler when creating a shared library.
18308 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18310 # Dependencies to place before and after the objects being linked to
18311 # create a shared library.
18312 predep_objects=$lt_predep_objects_CXX
18313 postdep_objects=$lt_postdep_objects_CXX
18314 predeps=$lt_predeps_CXX
18315 postdeps=$lt_postdeps_CXX
18317 # The library search path used internally by the compiler when linking
18318 # a shared library.
18319 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18321 # ### END LIBTOOL TAG CONFIG: CXX
18325 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18326 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18328 sed -f vpsed$$
$ac_file > tmp$$
18331 echo 'MULTISUBDIR =' >> $ac_file
18333 .
${multi_basedir}/config-ml.
in
18334 { ml_norecursion
=; unset ml_norecursion
;}
18343 ac_clean_files
=$ac_clean_files_save
18345 test $ac_write_fail = 0 ||
18346 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18349 # configure is writing to config.log, and then calls config.status.
18350 # config.status does its own redirection, appending to config.log.
18351 # Unfortunately, on DOS this fails, as config.log is still kept open
18352 # by configure, so config.status won't be able to write to it; its
18353 # output is simply discarded. So we exec the FD to /dev/null,
18354 # effectively closing config.log, so it can be properly (re)opened and
18355 # appended to by config.status. When coming back to configure, we
18356 # need to make the FD available again.
18357 if test "$no_create" != yes; then
18359 ac_config_status_args
=
18360 test "$silent" = yes &&
18361 ac_config_status_args
="$ac_config_status_args --quiet"
18363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18366 # would make configure fail if this is the last instruction.
18367 $ac_cs_success || as_fn_exit
1
18369 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18371 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}