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
800 with_gcc_major_version_only
802 ac_precious_vars
='build_alias
814 # Initialize some variables set by options.
816 ac_init_version
=false
817 ac_unrecognized_opts
=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
828 program_transform_name
=s
,x
,x
,
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir
='${exec_prefix}/bin'
843 sbindir
='${exec_prefix}/sbin'
844 libexecdir
='${exec_prefix}/libexec'
845 datarootdir
='${prefix}/share'
846 datadir
='${datarootdir}'
847 sysconfdir
='${prefix}/etc'
848 sharedstatedir
='${prefix}/com'
849 localstatedir
='${prefix}/var'
850 includedir
='${prefix}/include'
851 oldincludedir
='/usr/include'
852 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir
='${datarootdir}/info'
858 libdir
='${exec_prefix}/lib'
859 localedir
='${datarootdir}/locale'
860 mandir
='${datarootdir}/man'
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\
$ac_option
874 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 # Accept the important Cygnus configure options, so we can diagnose typos.
881 case $ac_dashdash$ac_option in
885 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
887 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
890 -build |
--build |
--buil |
--bui |
--bu)
891 ac_prev
=build_alias
;;
892 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
893 build_alias
=$ac_optarg ;;
895 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
896 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
897 ac_prev
=cache_file
;;
898 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
899 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
900 cache_file
=$ac_optarg ;;
903 cache_file
=config.cache
;;
905 -datadir |
--datadir |
--datadi |
--datad)
907 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
908 datadir
=$ac_optarg ;;
910 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
911 |
--dataroo |
--dataro |
--datar)
912 ac_prev
=datarootdir
;;
913 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
914 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
915 datarootdir
=$ac_optarg ;;
917 -disable-* |
--disable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error $?
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=no
;;
933 -docdir |
--docdir |
--docdi |
--doc |
--do)
935 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
938 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
940 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
943 -enable-* |
--enable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 as_fn_error $?
"invalid feature name: $ac_useropt"
948 ac_useropt_orig
=$ac_useropt
949 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep
=', ';;
957 eval enable_
$ac_useropt=\
$ac_optarg ;;
959 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
960 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
961 |
--exec |
--exe |
--ex)
962 ac_prev
=exec_prefix
;;
963 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
964 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
965 |
--exec=* |
--exe=* |
--ex=*)
966 exec_prefix
=$ac_optarg ;;
968 -gas |
--gas |
--ga |
--g)
969 # Obsolete; use --with-gas.
972 -help |
--help |
--hel |
--he |
-h)
974 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
975 ac_init_help
=recursive
;;
976 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
977 ac_init_help
=short
;;
979 -host |
--host |
--hos |
--ho)
980 ac_prev
=host_alias
;;
981 -host=* |
--host=* |
--hos=* |
--ho=*)
982 host_alias
=$ac_optarg ;;
984 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
986 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
988 htmldir
=$ac_optarg ;;
990 -includedir |
--includedir |
--includedi |
--included |
--include \
991 |
--includ |
--inclu |
--incl |
--inc)
992 ac_prev
=includedir
;;
993 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
994 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
995 includedir
=$ac_optarg ;;
997 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
999 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1000 infodir
=$ac_optarg ;;
1002 -libdir |
--libdir |
--libdi |
--libd)
1004 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1005 libdir
=$ac_optarg ;;
1007 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1008 |
--libexe |
--libex |
--libe)
1009 ac_prev
=libexecdir
;;
1010 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1011 |
--libexe=* |
--libex=* |
--libe=*)
1012 libexecdir
=$ac_optarg ;;
1014 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1015 ac_prev
=localedir
;;
1016 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1017 localedir
=$ac_optarg ;;
1019 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1020 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1021 ac_prev
=localstatedir
;;
1022 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1023 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1024 localstatedir
=$ac_optarg ;;
1026 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1028 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1029 mandir
=$ac_optarg ;;
1031 -nfp |
--nfp |
--nf)
1032 # Obsolete; use --without-fp.
1035 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1036 |
--no-cr |
--no-c |
-n)
1039 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1040 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1043 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1044 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1045 |
--oldin |
--oldi |
--old |
--ol |
--o)
1046 ac_prev
=oldincludedir
;;
1047 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1048 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1049 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1050 oldincludedir
=$ac_optarg ;;
1052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1055 prefix
=$ac_optarg ;;
1057 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1058 |
--program-pre |
--program-pr |
--program-p)
1059 ac_prev
=program_prefix
;;
1060 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1061 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1062 program_prefix
=$ac_optarg ;;
1064 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1065 |
--program-suf |
--program-su |
--program-s)
1066 ac_prev
=program_suffix
;;
1067 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1068 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1069 program_suffix
=$ac_optarg ;;
1071 -program-transform-name |
--program-transform-name \
1072 |
--program-transform-nam |
--program-transform-na \
1073 |
--program-transform-n |
--program-transform- \
1074 |
--program-transform |
--program-transfor \
1075 |
--program-transfo |
--program-transf \
1076 |
--program-trans |
--program-tran \
1077 |
--progr-tra |
--program-tr |
--program-t)
1078 ac_prev
=program_transform_name
;;
1079 -program-transform-name=* |
--program-transform-name=* \
1080 |
--program-transform-nam=* |
--program-transform-na=* \
1081 |
--program-transform-n=* |
--program-transform-=* \
1082 |
--program-transform=* |
--program-transfor=* \
1083 |
--program-transfo=* |
--program-transf=* \
1084 |
--program-trans=* |
--program-tran=* \
1085 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1086 program_transform_name
=$ac_optarg ;;
1088 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1090 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1091 pdfdir
=$ac_optarg ;;
1093 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1095 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=\
$ac_optarg ;;
1163 -without-* |
--without-*)
1164 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1167 as_fn_error $?
"invalid package name: $ac_useropt"
1168 ac_useropt_orig
=$ac_useropt
1169 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=no
;;
1180 # Obsolete; use --with-x.
1183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1185 ac_prev
=x_includes
;;
1186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1188 x_includes
=$ac_optarg ;;
1190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1192 ac_prev
=x_libraries
;;
1193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1195 x_libraries
=$ac_optarg ;;
1197 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1206 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1208 eval $ac_envvar=\
$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222 if test -n "$ac_prev"; then
1223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $?
"missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1230 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235 # Check all directory arguments for consistency.
1236 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1241 eval ac_val
=\$
$ac_var
1242 # Remove trailing slashes.
1245 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\
$ac_val;;
1248 # Be sure to have absolute directory names.
1250 [\\/$
]* | ?
:[\\/]* ) continue;;
1251 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1253 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1261 target
=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x
; then
1265 if test "x$build_alias" = x
; then
1266 cross_compiling
=maybe
1267 elif test "x$build_alias" != "x$host_alias"; then
1273 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1275 test "$silent" = yes && exec 6>/dev
/null
1278 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di
=`ls -di .` &&
1280 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error $?
"working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error $?
"pwd does not report name of working directory"
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted
=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir
=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1318 ac_srcdir_defaulted
=no
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1322 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1324 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1336 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338 for ac_var
in $ac_precious_vars; do
1339 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1341 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1346 # Report the --help message.
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1352 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1359 Defaults for the options are specified in brackets.
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking ...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1383 For better control, use the options below.
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --libdir=DIR object code libraries [EPREFIX/lib]
1393 --includedir=DIR C header files [PREFIX/include]
1394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397 --infodir=DIR info documentation [DATAROOTDIR/info]
1398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399 --mandir=DIR man documentation [DATAROOTDIR/man]
1400 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1401 --htmldir=DIR html documentation [DOCDIR]
1402 --dvidir=DIR dvi documentation [DOCDIR]
1403 --pdfdir=DIR pdf documentation [DOCDIR]
1404 --psdir=DIR ps documentation [DOCDIR]
1410 --program-prefix=PREFIX prepend PREFIX to installed program names
1411 --program-suffix=SUFFIX append SUFFIX to installed program names
1412 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1415 --build=BUILD configure
for building on BUILD
[guessed
]
1416 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1417 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1421 if test -n "$ac_init_help"; then
1422 case $ac_init_help in
1423 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1428 --disable-option-checking ignore unrecognized
--enable/--with options
1429 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1430 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1431 --enable-multilib build many library versions
(default
)
1432 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1433 --enable-vtable-verify Enable vtable verification feature
1434 --enable-dependency-tracking
1435 do not reject slow dependency extractors
1436 --disable-dependency-tracking
1437 speeds up one-time build
1438 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1439 --disable-silent-rules verbose build output
(undo
: "make V=0")
1440 --enable-maintainer-mode
1441 enable make rules and dependencies not useful
(and
1442 sometimes confusing
) to the casual installer
1443 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1444 --enable-static[=PKGS
] build static libraries
[default
=yes]
1445 --enable-fast-install[=PKGS
]
1446 optimize
for fast installation
[default
=yes]
1447 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1448 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1451 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1452 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1453 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1455 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 --with-gcc-major-version-only
1457 use only GCC major number
in filesystem paths
1459 Some influential environment variables
:
1460 CC C compiler
command
1461 CFLAGS C compiler flags
1462 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1463 nonstandard directory
<lib dir
>
1464 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1465 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1466 you have headers
in a nonstandard directory
<include dir
>
1468 CXX C
++ compiler
command
1469 CXXFLAGS C
++ compiler flags
1470 CXXCPP C
++ preprocessor
1472 Use these variables to override the choices made by
`configure' or to help
1473 it to find libraries and programs with nonstandard names/locations.
1475 Report bugs to the package provider.
1476 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1477 General help using GNU software: <http://www.gnu.org/gethelp/>.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir=$ac_pwd
1502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir=$ac_top_build_prefix
1507 .) # We are building in place.
1509 ac_top_srcdir=$ac_top_builddir_sub
1510 ac_abs_top_srcdir=$ac_pwd ;;
1511 [\\/]* | ?:[\\/]* ) # Absolute name.
1512 ac_srcdir=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir=$srcdir
1514 ac_abs_top_srcdir=$srcdir ;;
1516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" || { ac_status=$?; continue; }
1523 # Check for guested configure.
1524 if test -f "$ac_srcdir/configure.gnu"; then
1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1527 elif test -f "$ac_srcdir/configure"; then
1529 $SHELL "$ac_srcdir/configure" --help=recursive
1531 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 cd "$ac_pwd" || { ac_status=$?; break; }
1537 test -n "$ac_init_help" && exit $ac_status
1538 if $ac_init_version; then
1540 GNU Vtable Verification Runtime Library configure 1.0
1541 generated by GNU Autoconf 2.69
1543 Copyright (C) 2012 Free Software Foundation, Inc.
1544 This configure script is free software; the Free Software Foundation
1545 gives unlimited permission to copy, distribute and modify it.
1550 ## ------------------------ ##
1551 ## Autoconf initialization. ##
1552 ## ------------------------ ##
1554 # ac_fn_c_try_compile LINENO
1555 # --------------------------
1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1557 ac_fn_c_try_compile ()
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 rm -f conftest.$ac_objext
1561 if { { ac_try="$ac_compile"
1563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1564 *) ac_try_echo
=$ac_try;;
1566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_compile") 2>conftest.err
1570 if test -s conftest.err
; then
1571 grep -v '^ *+' conftest.err
>conftest.er1
1572 cat conftest.er1
>&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest.
$ac_objext; then :
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.
$ac_ext >&5
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status
$ac_retval
1590 } # ac_fn_c_try_compile
1592 # ac_fn_c_try_cpp LINENO
1593 # ----------------------
1594 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1598 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607 if test -s conftest.err; then
1608 grep -v '^ *+' conftest.err >conftest.er1
1609 cat conftest.er1 >&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } > conftest.i && {
1614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status $ac_retval
1629 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1630 # -------------------------------------------------------
1631 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1632 # the include files in INCLUDES and setting the cache variable VAR
1634 ac_fn_c_check_header_mongrel ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if eval \${$3+:} false; then :
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639 $as_echo_n "checking for $2... " >&6; }
1640 if eval \${$3+:} false; then :
1641 $as_echo_n "(cached) " >&6
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1647 # Is the header compilable?
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1649 $as_echo_n "checking $2 usability... " >&6; }
1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651 /* end confdefs.h. */
1655 if ac_fn_c_try_compile "$LINENO"; then :
1656 ac_header_compiler=yes
1658 ac_header_compiler=no
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1662 $as_echo "$ac_header_compiler" >&6; }
1664 # Is the header present?
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1666 $as_echo_n "checking $2 presence... " >&6; }
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1671 if ac_fn_c_try_cpp "$LINENO"; then :
1672 ac_header_preproc=yes
1674 ac_header_preproc=no
1676 rm -f conftest.err conftest.i conftest.$ac_ext
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1678 $as_echo "$ac_header_preproc" >&6; }
1680 # So? What about this header?
1681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1684 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1690 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1692 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1694 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1696 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1698 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704 $as_echo_n "(cached) " >&6
1706 eval "$3=\$ac_header_compiler"
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 } # ac_fn_c_check_header_mongrel
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_link"
1725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1726 *) ac_try_echo
=$ac_try;;
1728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_link") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1734 { { case "(($ac_try" in
1735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_try") 2>&5
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; }; }; then :
1746 $as_echo "$as_me: program exited with status $ac_status" >&5
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=$ac_status
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1758 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists and can be compiled using the include files in
1761 # INCLUDES, setting the cache variable VAR accordingly.
1762 ac_fn_c_check_header_compile ()
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1775 if ac_fn_c_try_compile "$LINENO"; then :
1780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_header_compile
1789 # ac_fn_c_try_link LINENO
1790 # -----------------------
1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 rm -f conftest.$ac_objext conftest$ac_exeext
1796 if { { ac_try="$ac_link"
1798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1799 *) ac_try_echo
=$ac_try;;
1801 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1805 if test -s conftest.err
; then
1806 grep -v '^ *+' conftest.err
>conftest.er1
1807 cat conftest.er1
>&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest
$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 test -x conftest
$ac_exeext
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.
$ac_ext >&5
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status
$ac_retval
1833 } # ac_fn_c_try_link
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func
()
1840 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \
${$3+:} false
; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1850 #define $2 innocuous_$2
1852 /* System header to define __stub macros and hopefully few prototypes,
1853 which can conflict with char $2 (); below.
1854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1855 <limits.h> exists even on freestanding compilers. */
1858 # include <limits.h>
1860 # include <assert.h>
1865 /* Override any GCC internal prototype to avoid an error.
1866 Use char because int might match the return type of a GCC
1867 builtin and then its argument prototype would still apply. */
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined __stub_$2 || defined __stub___$2
1887 if ac_fn_c_try_link
"$LINENO"; then :
1892 rm -f core conftest.err conftest.
$ac_objext \
1893 conftest
$ac_exeext conftest.
$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 } # ac_fn_c_check_func
1902 # ac_fn_cxx_try_compile LINENO
1903 # ----------------------------
1904 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1905 ac_fn_cxx_try_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 rm -f conftest.
$ac_objext
1909 if { { ac_try
="$ac_compile"
1911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_compile") 2>conftest.err
1918 if test -s conftest.err; then
1919 grep -v '^ *+' conftest.err >conftest.er1
1920 cat conftest.er1 >&5
1921 mv -f conftest.er1 conftest.err
1923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1924 test $ac_status = 0; } && {
1925 test -z "$ac_cxx_werror_flag" ||
1926 test ! -s conftest.err
1927 } && test -s conftest.$ac_objext; then :
1930 $as_echo "$as_me: failed program was:" >&5
1931 sed 's/^/| /' conftest.$ac_ext >&5
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 as_fn_set_status $ac_retval
1938 } # ac_fn_cxx_try_compile
1940 # ac_fn_cxx_try_cpp LINENO
1941 # ------------------------
1942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1943 ac_fn_cxx_try_cpp ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_cpp conftest.$ac_ext"
1948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1949 *) ac_try_echo
=$ac_try;;
1951 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1955 if test -s conftest.err
; then
1956 grep -v '^ *+' conftest.err
>conftest.er1
1957 cat conftest.er1
>&5
1958 mv -f conftest.er1 conftest.err
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } > conftest.i
&& {
1962 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1963 test ! -s conftest.err
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.
$ac_ext >&5
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973 as_fn_set_status
$ac_retval
1975 } # ac_fn_cxx_try_cpp
1977 # ac_fn_cxx_try_link LINENO
1978 # -------------------------
1979 # Try to link conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_link
()
1982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1983 rm -f conftest.
$ac_objext conftest
$ac_exeext
1984 if { { ac_try
="$ac_link"
1986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_link") 2>conftest.err
1993 if test -s conftest.err; then
1994 grep -v '^ *+' conftest.err >conftest.er1
1995 cat conftest.er1 >&5
1996 mv -f conftest.er1 conftest.err
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; } && {
2000 test -z "$ac_cxx_werror_flag" ||
2001 test ! -s conftest.err
2002 } && test -s conftest$ac_exeext && {
2003 test "$cross_compiling" = yes ||
2004 test -x conftest$ac_exeext
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2013 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2014 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2015 # interfere with the next link command; also delete a directory that is
2016 # left behind by Apple's compiler. We do this before executing the actions.
2017 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019 as_fn_set_status $ac_retval
2021 } # ac_fn_cxx_try_link
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2026 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
2027 generated by GNU Autoconf 2.69. Invocation command line was
2039 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2040 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2041 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2042 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2043 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2045 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2046 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2048 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2049 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2050 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2051 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2052 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2053 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2054 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 $as_echo "PATH: $as_dir"
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2087 ac_must_keep_next=false
2093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2098 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2101 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2103 as_fn_append ac_configure_args1 " '$ac_arg'"
2104 if test $ac_must_keep_next = true; then
2105 ac_must_keep_next=false # Got value, back to normal.
2108 *=* | --config-cache | -C | -disable-* | --disable-* \
2109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111 | -with-* | --with-* | -without-* | --without-* | --x)
2112 case "$ac_configure_args0 " in
2113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 -* ) ac_must_keep_next=true ;;
2119 as_fn_append ac_configure_args " '$ac_arg'"
2124 { ac_configure_args0=; unset ac_configure_args0;}
2125 { ac_configure_args1=; unset ac_configure_args1;}
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log. We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133 # Save into config.log some information that might help in debugging.
2137 $as_echo "## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##"
2141 # The following way of writing the cache mishandles newlines in values,
2143 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2144 eval ac_val=\$$ac_var
2148 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2152 _ | IFS | as_nl) ;; #(
2153 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154 *) { eval $ac_var=; unset $ac_var;} ;;
2159 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 $as_echo "## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##"
2177 for ac_var in $ac_subst_vars
2179 eval ac_val=\$$ac_var
2181 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 $as_echo "$ac_var='\''$ac_val'\''"
2187 if test -n "$ac_subst_files"; then
2188 $as_echo "## ------------------- ##
2189 ## File substitutions. ##
2190 ## ------------------- ##"
2192 for ac_var in $ac_subst_files
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 $as_echo "$ac_var='\''$ac_val'\''"
2203 if test -s confdefs.h; then
2204 $as_echo "## ----------- ##
2211 test "$ac_signal" != 0 &&
2212 $as_echo "$as_me: caught signal $ac_signal"
2213 $as_echo "$as_me: exit $exit_status"
2215 rm -f core *.core core.conftest.* &&
2216 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2219 for ac_signal in 1 2 13 15; do
2220 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2224 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2225 rm -f -r conftest* confdefs.h
2227 $as_echo "/* confdefs.h */" > confdefs.h
2229 # Predefined preprocessor variables.
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_URL "$PACKAGE_URL"
2256 # Let the site file select an alternate cache file if it wants to.
2257 # Prefer an explicitly selected file to automatically selected ones.
2260 if test -n "$CONFIG_SITE"; then
2261 # We do not want a PATH search for config.site.
2262 case $CONFIG_SITE in #((
2263 -*) ac_site_file1=./$CONFIG_SITE;;
2264 */*) ac_site_file1=$CONFIG_SITE;;
2265 *) ac_site_file1=./$CONFIG_SITE;;
2267 elif test "x$prefix" != xNONE; then
2268 ac_site_file1=$prefix/share/config.site
2269 ac_site_file2=$prefix/etc/config.site
2271 ac_site_file1=$ac_default_prefix/share/config.site
2272 ac_site_file2=$ac_default_prefix/etc/config.site
2274 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2276 test "x$ac_site_file" = xNONE && continue
2277 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2279 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2282 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 as_fn_error $? "failed to load site
script $ac_site_file
2285 See \
`config.log' for more details" "$LINENO" 5; }
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special files
2291 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2292 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2294 $as_echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2302 $as_echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2317 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2321 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 # differences in whitespace do not lead to failure.
2327 ac_old_val_w=`echo x
$ac_old_val`
2328 ac_new_val_w=`echo x
$ac_new_val`
2329 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2331 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2332 ac_cache_corrupted=:
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2335 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2336 eval $ac_var=\$ac_old_val
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2339 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2341 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2344 # Pass precious variables to config.status.
2345 if test "$ac_new_set" = set; then
2347 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2348 *) ac_arg=$ac_var=$ac_new_val ;;
2350 case " $ac_configure_args " in
2351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2352 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2356 if $ac_cache_corrupted; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2360 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2363 ## -------------------- ##
2364 ## Main body of script. ##
2365 ## -------------------- ##
2368 ac_cpp='$CPP $CPPFLAGS'
2369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377 #AC_INIT(package-unused, version-unused, libvtv)
2380 # Default to --enable-multilib
2381 # Check whether --enable-multilib was given.
2382 if test "${enable_multilib+set}" = set; then :
2383 enableval=$enable_multilib; case "$enableval" in
2384 yes) multilib=yes ;;
2386 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2393 # We may get other options which we leave undocumented:
2394 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2395 # See config-ml.in if you want the gory details.
2397 if test "$srcdir" = "."; then
2398 if test "$with_target_subdir" != "."; then
2399 multi_basedir="$srcdir/$with_multisrctop../.."
2401 multi_basedir="$srcdir/$with_multisrctop.."
2404 multi_basedir="$srcdir/.."
2408 # Even if the default multilib is not a cross compilation,
2409 # it may be that some of the other multilibs are.
2410 if test $cross_compiling = no && test $multilib = yes \
2411 && test "x${with_multisubdir}" != x ; then
2412 cross_compiling=maybe
2415 ac_config_commands="$ac_config_commands default-1"
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2422 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2423 # Check whether --enable-version-specific-runtime-libs was given.
2424 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2425 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2426 yes) version_specific_libs=yes ;;
2427 no) version_specific_libs=no ;;
2428 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2431 version_specific_libs=no
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2435 $as_echo "$version_specific_libs" >&6; }
2437 # Do not delete or change the following two lines. For why, see
2438 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2440 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2441 if test -f "$ac_dir/install-sh"; then
2443 ac_install_sh="$ac_aux_dir/install-sh -c"
2445 elif test -f "$ac_dir/install.sh"; then
2447 ac_install_sh="$ac_aux_dir/install.sh -c"
2449 elif test -f "$ac_dir/shtool"; then
2451 ac_install_sh="$ac_aux_dir/shtool install -c"
2455 if test -z "$ac_aux_dir"; then
2456 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2459 # These three variables are undocumented and unsupported,
2460 # and are intended to be withdrawn in a future Autoconf release.
2461 # They can cause serious problems if a builder's source tree is in a directory
2462 # whose full name contains unusual characters.
2463 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2464 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2465 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2468 # Make sure we can run config.sub.
2469 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2470 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2473 $as_echo_n "checking build system type... " >&6; }
2474 if ${ac_cv_build+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 ac_build_alias=$build_alias
2478 test "x$ac_build_alias" = x &&
2479 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2480 test "x$ac_build_alias" = x &&
2481 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2482 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2483 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2487 $as_echo "$ac_cv_build" >&6; }
2488 case $ac_cv_build in
2490 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2493 ac_save_IFS=$IFS; IFS='-'
2499 # Remember, the first character of IFS is used to create $*,
2500 # except with old shells:
2503 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2507 $as_echo_n "checking host system type... " >&6; }
2508 if ${ac_cv_host+:} false; then :
2509 $as_echo_n "(cached) " >&6
2511 if test "x$host_alias" = x; then
2512 ac_cv_host=$ac_cv_build
2514 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2515 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2520 $as_echo "$ac_cv_host" >&6; }
2523 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2526 ac_save_IFS=$IFS; IFS='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2540 $as_echo_n "checking target system type... " >&6; }
2541 if ${ac_cv_target+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test "x$target_alias" = x; then
2545 ac_cv_target=$ac_cv_host
2547 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2548 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2553 $as_echo "$ac_cv_target" >&6; }
2554 case $ac_cv_target in
2556 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2558 target=$ac_cv_target
2559 ac_save_IFS=$IFS; IFS='-'
2565 # Remember, the first character of IFS is used to create $*,
2566 # except with old shells:
2569 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2572 # The aliases save the names the user supplied, while $host etc.
2573 # will get canonicalized.
2574 test -n "$target_alias" &&
2575 test "$program_prefix$program_suffix$program_transform_name" = \
2577 program_prefix=${target_alias}-
2579 target_alias=${target_alias-$host_alias}
2581 case ${build_alias} in
2582 "") build_noncanonical=${build} ;;
2583 *) build_noncanonical=${build_alias} ;;
2586 case ${host_alias} in
2587 "") host_noncanonical=${build_noncanonical} ;;
2588 *) host_noncanonical=${host_alias} ;;
2591 case ${target_alias} in
2592 "") target_noncanonical=${host_noncanonical} ;;
2593 *) target_noncanonical=${target_alias} ;;
2600 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2601 -I\$(top_builddir)/../libstdc++-v3/include \
2602 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2603 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2604 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2605 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2610 # Expand $ac_aux_dir to an absolute path.
2611 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2614 ac_cpp='$CPP $CPPFLAGS'
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618 if test -n "$ac_tool_prefix"; then
2619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622 $as_echo_n "checking for $ac_word... " >&6; }
2623 if ${ac_cv_prog_CC+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC="$CC" # Let the user override the test.
2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir=.
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2649 $as_echo "$CC" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2657 if test -z "$ac_cv_prog_CC"; then
2659 # Extract the first word of "gcc", so it can be a program name with args.
2660 set dummy gcc; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$ac_ct_CC"; then
2667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_ac_ct_CC="gcc"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2687 if test -n "$ac_ct_CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2689 $as_echo "$ac_ct_CC" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2695 if test "x$ac_ct_CC" = x; then
2698 case $cross_compiling:$ac_tool_warned in
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2702 ac_tool_warned=yes ;;
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2712 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2713 set dummy ${ac_tool_prefix}cc; ac_word=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if ${ac_cv_prog_CC+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$CC"; then
2720 ac_cv_prog_CC="$CC" # Let the user override the test.
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_CC="${ac_tool_prefix}cc"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2742 $as_echo "$CC" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2751 if test -z "$CC"; then
2752 # Extract the first word of "cc", so it can be a program name with args.
2753 set dummy cc; ac_word=$2
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2755 $as_echo_n "checking for $ac_word... " >&6; }
2756 if ${ac_cv_prog_CC+:} false; then :
2757 $as_echo_n "(cached) " >&6
2759 if test -n "$CC"; then
2760 ac_cv_prog_CC="$CC" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2771 ac_prog_rejected=yes
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test $ac_prog_rejected = yes; then
2783 # We found a bogon in the path, so make sure we never use it.
2784 set dummy $ac_cv_prog_CC
2786 if test $# != 0; then
2787 # We chose a different compiler from the bogus one.
2788 # However, it has the same basename, so the bogon will be chosen
2789 # first if we set CC to just the basename; use the full file name.
2791 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2797 if test -n "$CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2799 $as_echo "$CC" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2807 if test -z "$CC"; then
2808 if test -n "$ac_tool_prefix"; then
2809 for ac_prog in cl.exe
2811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_CC+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$CC"; then
2819 ac_cv_prog_CC="$CC" # Let the user override the test.
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test -n "$CC"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2841 $as_echo "$CC" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2848 test -n "$CC" && break
2851 if test -z "$CC"; then
2853 for ac_prog in cl.exe
2855 # Extract the first word of "$ac_prog", so it can be a program name with args.
2856 set dummy $ac_prog; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$ac_ct_CC"; then
2863 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_ac_ct_CC="$ac_prog"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2883 if test -n "$ac_ct_CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2885 $as_echo "$ac_ct_CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2892 test -n "$ac_ct_CC" && break
2895 if test "x$ac_ct_CC" = x; then
2898 case $cross_compiling:$ac_tool_warned in
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2902 ac_tool_warned=yes ;;
2911 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2914 See \
`config.log' for more details" "$LINENO" 5; }
2916 # Provide some information about the compiler.
2917 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2920 for ac_option in --version -v -V -qversion; do
2921 { { ac_try="$ac_compiler $ac_option >&5"
2923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2924 *) ac_try_echo
=$ac_try;;
2926 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2927 $as_echo "$ac_try_echo"; } >&5
2928 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2930 if test -s conftest.err
; then
2932 ... rest of stderr output deleted ...
2933 10q' conftest.err
>conftest.er1
2934 cat conftest.er1
>&5
2936 rm -f conftest.er1 conftest.err
2937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2938 test $ac_status = 0; }
2941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2952 ac_clean_files_save
=$ac_clean_files
2953 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2954 # Try to create an executable without -o first, disregard a.out.
2955 # It will help us diagnose broken compilers, and finding out an intuition
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2958 $as_echo_n "checking whether the C compiler works... " >&6; }
2959 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2961 # The possible output files:
2962 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2965 for ac_file
in $ac_files
2968 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2969 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2974 if { { ac_try
="$ac_link_default"
2976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_link_default") 2>&5
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; then :
2985 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2986 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2987 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2988 # so that the user can short-circuit this test for compilers unknown to
2990 for ac_file in $ac_files ''
2992 test -f "$ac_file" || continue
2994 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2997 # We found the default executable, but exeext='' is most
3001 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3003 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005 # We set ac_cv_exeext here because the later test for it is not
3006 # safe: cross compilers may not add the suffix if given an `-o'
3007 # argument, so we may need to know it at that point already.
3008 # Even if this section looks crufty: it has the advantage of
3015 test "$ac_cv_exeext" = no && ac_cv_exeext=
3020 if test -z "$ac_file"; then :
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's
/^
/|
/' conftest.$ac_ext >&5
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3028 as_fn_error 77 "C compiler cannot create executables
3029 See \`config.log
' for more details" "$LINENO" 5; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3032 $as_echo "yes" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3035 $as_echo_n "checking for C compiler default output file name... " >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3037 $as_echo "$ac_file" >&6; }
3038 ac_exeext=$ac_cv_exeext
3040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3041 ac_clean_files=$ac_clean_files_save
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3043 $as_echo_n "checking for suffix of executables... " >&6; }
3044 if { { ac_try="$ac_link"
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_link") 2>&5
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; then :
3055 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3056 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3057 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3059 for ac_file
in conftest.exe conftest conftest.
*; do
3060 test -f "$ac_file" ||
continue
3062 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3063 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3072 See \`config.log' for more details" "$LINENO" 5; }
3074 rm -f conftest conftest
$ac_cv_exeext
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3076 $as_echo "$ac_cv_exeext" >&6; }
3078 rm -f conftest.
$ac_ext
3079 EXEEXT
=$ac_cv_exeext
3081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3087 FILE *f = fopen ("conftest.out", "w");
3088 return ferror (f) || fclose (f) != 0;
3094 ac_clean_files
="$ac_clean_files conftest.out"
3095 # Check that the compiler produces executables we can run. If not, either
3096 # the compiler is broken, or we cross compile.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3098 $as_echo_n "checking whether we are cross compiling... " >&6; }
3099 if test "$cross_compiling" != yes; then
3100 { { ac_try
="$ac_link"
3102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_link") 2>&5
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }
3111 if { ac_try='./conftest$ac_cv_exeext'
3112 { { case "(($ac_try" in
3113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3114 *) ac_try_echo
=$ac_try;;
3116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_try") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }; }; then
3124 if test "$cross_compiling" = maybe
; then
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $?
"cannot run C compiled programs.
3130 If you meant to cross compile, use \`--host'.
3131 See \`config.log' for more details" "$LINENO" 5; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3136 $as_echo "$cross_compiling" >&6; }
3138 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3139 ac_clean_files
=$ac_clean_files_save
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3141 $as_echo_n "checking for suffix of object files... " >&6; }
3142 if ${ac_cv_objext+:} false
; then :
3143 $as_echo_n "(cached) " >&6
3145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3156 rm -f conftest.o conftest.obj
3157 if { { ac_try
="$ac_compile"
3159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_compile") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }; then :
3168 for ac_file in conftest.o conftest.obj conftest.*; do
3169 test -f "$ac_file" || continue;
3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3183 See \
`config.log' for more details" "$LINENO" 5; }
3185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3188 $as_echo "$ac_cv_objext" >&6; }
3189 OBJEXT=$ac_cv_objext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3192 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3193 if ${ac_cv_c_compiler_gnu+:} false; then :
3194 $as_echo_n "(cached) " >&6
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3210 if ac_fn_c_try_compile "$LINENO"; then :
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3220 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3221 if test $ac_compiler_gnu = yes; then
3226 ac_test_CFLAGS=${CFLAGS+set}
3227 ac_save_CFLAGS=$CFLAGS
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3230 if ${ac_cv_prog_cc_g+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 ac_save_c_werror_flag=$ac_c_werror_flag
3234 ac_c_werror_flag=yes
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 if ac_fn_c_try_compile "$LINENO"; then :
3266 ac_c_werror_flag=$ac_save_c_werror_flag
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3290 $as_echo "$ac_cv_prog_cc_g" >&6; }
3291 if test "$ac_test_CFLAGS" = set; then
3292 CFLAGS=$ac_save_CFLAGS
3293 elif test $ac_cv_prog_cc_g = yes; then
3294 if test "$GCC" = yes; then
3300 if test "$GCC" = yes; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3307 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3308 if ${ac_cv_prog_cc_c89+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 ac_cv_prog_cc_c89=no
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3318 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3319 struct buf { int x; };
3320 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3321 static char *e (p, i)
3327 static char *f (char * (*g) (char **, int), char **p, ...)
3332 s = g (p, va_arg (v,int));
3337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3338 function prototypes and stuff, but not '\xHH' hex character constants.
3339 These don't provoke an error unfortunately, instead are silently treated
3340 as 'x'. The following induces an error, until -std is added to get
3341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3342 array size at least. It's necessary to write '\x00'==0 to get something
3343 that's true only with -std. */
3344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3346 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3347 inside strings and character constants. */
3349 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3351 int test (int i, double x);
3352 struct s1 {int (*f) (int a);};
3353 struct s2 {int (*f) (double a);};
3354 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3360 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3365 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3366 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3368 CC="$ac_save_CC $ac_arg"
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_cv_prog_cc_c89=$ac_arg
3372 rm -f core conftest.err conftest.$ac_objext
3373 test "x$ac_cv_prog_cc_c89" != "xno" && break
3375 rm -f conftest.$ac_ext
3380 case "x$ac_cv_prog_cc_c89" in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3383 $as_echo "none needed" >&6; } ;;
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3386 $as_echo "unsupported" >&6; } ;;
3388 CC="$CC $ac_cv_prog_cc_c89"
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3390 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3392 if test "x$ac_cv_prog_cc_c89" != xno; then :
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3408 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3409 if ${am_cv_prog_cc_c_o+:} false; then :
3410 $as_echo_n "(cached) " >&6
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 # Make sure it works both with $CC and with simple cc.
3424 # Following AC_PROG_CC_C_O, we do the test twice because some
3425 # compilers refuse to overwrite an existing .o file with -o,
3426 # though they will create one.
3427 am_cv_prog_cc_c_o=yes
3429 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3430 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } \
3434 && test -f conftest2.$ac_objext; then
3437 am_cv_prog_cc_c_o=no
3441 rm -f core conftest*
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3445 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3446 if test "$am_cv_prog_cc_c_o" != yes; then
3447 # Losing compiler, so override with the script.
3448 # FIXME: It is wrong to rewrite CC.
3449 # But if we don't then we get into trouble of one sort or another.
3450 # A longer-term fix would be to have automake use am__CC in this case,
3451 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3452 CC="$am_aux_dir/compile $CC"
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 ac_cpp='$CPP $CPPFLAGS'
3464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3468 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3469 # On Suns, sometimes $CPP names a directory.
3470 if test -n "$CPP" && test -d "$CPP"; then
3473 if test -z "$CPP"; then
3474 if ${ac_cv_prog_CPP+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 # Double quotes because CPP needs to be expanded
3478 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3481 for ac_c_preproc_warn_flag in '' yes
3483 # Use a header file that comes with gcc, so configuring glibc
3484 # with a fresh cross-compiler works.
3485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3486 # <limits.h> exists even on freestanding compilers.
3487 # On the NeXT, cc -E runs the code through the compiler's parser,
3488 # not just through cpp. "Syntax error" is here to catch this case.
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3492 # include <limits.h>
3494 # include <assert.h>
3498 if ac_fn_c_try_cpp "$LINENO"; then :
3501 # Broken: fails on valid input.
3504 rm -f conftest.err conftest.i conftest.$ac_ext
3506 # OK, works on sane cases. Now check whether nonexistent headers
3507 # can be detected and how.
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3510 #include <ac_nonexistent.h>
3512 if ac_fn_c_try_cpp "$LINENO"; then :
3513 # Broken: success on invalid input.
3516 # Passes both tests.
3520 rm -f conftest.err conftest.i conftest.$ac_ext
3523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3524 rm -f conftest.i conftest.err conftest.
$ac_ext
3525 if $ac_preproc_ok; then :
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3538 $as_echo "$CPP" >&6; }
3540 for ac_c_preproc_warn_flag
in '' yes
3542 # Use a header file that comes with gcc, so configuring glibc
3543 # with a fresh cross-compiler works.
3544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3545 # <limits.h> exists even on freestanding compilers.
3546 # On the NeXT, cc -E runs the code through the compiler's parser,
3547 # not just through cpp. "Syntax error" is here to catch this case.
3548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3551 # include <limits.h>
3553 # include <assert.h>
3557 if ac_fn_c_try_cpp
"$LINENO"; then :
3560 # Broken: fails on valid input.
3563 rm -f conftest.err conftest.i conftest.
$ac_ext
3565 # OK, works on sane cases. Now check whether nonexistent headers
3566 # can be detected and how.
3567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3569 #include <ac_nonexistent.h>
3571 if ac_fn_c_try_cpp
"$LINENO"; then :
3572 # Broken: success on invalid input.
3575 # Passes both tests.
3579 rm -f conftest.err conftest.i conftest.
$ac_ext
3582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3583 rm -f conftest.i conftest.err conftest.
$ac_ext
3584 if $ac_preproc_ok; then :
3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3590 See \`config.log' for more details" "$LINENO" 5; }
3594 ac_cpp
='$CPP $CPPFLAGS'
3595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3601 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3602 if ${ac_cv_path_GREP+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -z "$GREP"; then
3606 ac_path_GREP_found
=false
3607 # Loop through the user's path and test for each of PROGNAME-LIST
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3609 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_prog
in grep ggrep
; do
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3616 as_fn_executable_p
"$ac_path_GREP" ||
continue
3617 # Check for GNU ac_path_GREP and select it if it is found.
3618 # Check for GNU $ac_path_GREP
3619 case `"$ac_path_GREP" --version 2>&1` in
3621 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3624 $as_echo_n 0123456789 >"conftest.in"
3627 cat "conftest.in" "conftest.in" >"conftest.tmp"
3628 mv "conftest.tmp" "conftest.in"
3629 cp "conftest.in" "conftest.nl"
3630 $as_echo 'GREP' >> "conftest.nl"
3631 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3632 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3633 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3634 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3635 # Best one so far, save it but keep looking for a better one
3636 ac_cv_path_GREP
="$ac_path_GREP"
3637 ac_path_GREP_max
=$ac_count
3639 # 10*(2^10) chars as input seems more than enough
3640 test $ac_count -gt 10 && break
3642 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3645 $ac_path_GREP_found && break 3
3650 if test -z "$ac_cv_path_GREP"; then
3651 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3654 ac_cv_path_GREP
=$GREP
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3659 $as_echo "$ac_cv_path_GREP" >&6; }
3660 GREP
="$ac_cv_path_GREP"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3664 $as_echo_n "checking for egrep... " >&6; }
3665 if ${ac_cv_path_EGREP+:} false
; then :
3666 $as_echo_n "(cached) " >&6
3668 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3669 then ac_cv_path_EGREP
="$GREP -E"
3671 if test -z "$EGREP"; then
3672 ac_path_EGREP_found
=false
3673 # Loop through the user's path and test for each of PROGNAME-LIST
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_prog
in egrep; do
3680 for ac_exec_ext
in '' $ac_executable_extensions; do
3681 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3682 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3683 # Check for GNU ac_path_EGREP and select it if it is found.
3684 # Check for GNU $ac_path_EGREP
3685 case `"$ac_path_EGREP" --version 2>&1` in
3687 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3690 $as_echo_n 0123456789 >"conftest.in"
3693 cat "conftest.in" "conftest.in" >"conftest.tmp"
3694 mv "conftest.tmp" "conftest.in"
3695 cp "conftest.in" "conftest.nl"
3696 $as_echo 'EGREP' >> "conftest.nl"
3697 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3698 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3699 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3700 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3701 # Best one so far, save it but keep looking for a better one
3702 ac_cv_path_EGREP
="$ac_path_EGREP"
3703 ac_path_EGREP_max
=$ac_count
3705 # 10*(2^10) chars as input seems more than enough
3706 test $ac_count -gt 10 && break
3708 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3711 $ac_path_EGREP_found && break 3
3716 if test -z "$ac_cv_path_EGREP"; then
3717 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3720 ac_cv_path_EGREP
=$EGREP
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3726 $as_echo "$ac_cv_path_EGREP" >&6; }
3727 EGREP
="$ac_cv_path_EGREP"
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3731 $as_echo_n "checking for ANSI C header files... " >&6; }
3732 if ${ac_cv_header_stdc+:} false
; then :
3733 $as_echo_n "(cached) " >&6
3735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3750 if ac_fn_c_try_compile
"$LINENO"; then :
3751 ac_cv_header_stdc
=yes
3753 ac_cv_header_stdc
=no
3755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3757 if test $ac_cv_header_stdc = yes; then
3758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3765 $EGREP "memchr" >/dev
/null
2>&1; then :
3768 ac_cv_header_stdc
=no
3774 if test $ac_cv_header_stdc = yes; then
3775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3782 $EGREP "free" >/dev
/null
2>&1; then :
3785 ac_cv_header_stdc
=no
3791 if test $ac_cv_header_stdc = yes; then
3792 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3793 if test "$cross_compiling" = yes; then :
3796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3800 #if ((' ' & 0x0FF) == 0x020)
3801 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3802 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3804 # define ISLOWER(c) \
3805 (('a' <= (c) && (c) <= 'i') \
3806 || ('j' <= (c) && (c) <= 'r') \
3807 || ('s' <= (c) && (c) <= 'z'))
3808 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3811 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3816 for (i = 0; i < 256; i++)
3817 if (XOR (islower (i), ISLOWER (i))
3818 || toupper (i) != TOUPPER (i))
3823 if ac_fn_c_try_run
"$LINENO"; then :
3826 ac_cv_header_stdc
=no
3828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3835 $as_echo "$ac_cv_header_stdc" >&6; }
3836 if test $ac_cv_header_stdc = yes; then
3838 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3842 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3843 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3844 inttypes.h stdint.h unistd.h
3846 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3847 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3849 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3850 cat >>confdefs.h
<<_ACEOF
3851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3860 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3861 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3868 if test "$MINIX" = yes; then
3870 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3873 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3876 $as_echo "#define _MINIX 1" >>confdefs.h
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3882 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3883 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3889 # define __EXTENSIONS__ 1
3890 $ac_includes_default
3899 if ac_fn_c_try_compile
"$LINENO"; then :
3900 ac_cv_safe_to_define___extensions__
=yes
3902 ac_cv_safe_to_define___extensions__
=no
3904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3907 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3908 test $ac_cv_safe_to_define___extensions__ = yes &&
3909 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3911 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3913 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3915 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3917 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3921 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3923 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3924 # Check whether --enable-vtable-verify was given.
3925 if test "${enable_vtable_verify+set}" = set; then :
3926 enableval
=$enable_vtable_verify; case "$enableval" in
3927 yes) enable_vtable_verify
=yes ;;
3928 no
) enable_vtable_verify
=no
;;
3929 *) enable_vtable_verify
=no
;;
3932 enable_vtable_verify
=no
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3936 $as_echo "$enable_vtable_verify" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3941 $as_echo_n "checking for host support for vtable verification... " >&6; }
3942 .
${srcdir}/configure.tgt
3945 # libvtv requires init priority support, which depends on the linker
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3948 $as_echo_n "checking for init priority support... " >&6; }
3949 if ${libvtv_cv_init_priority+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3959 void ip (void) __attribute__ ((constructor (1)));
3964 if ac_fn_c_try_compile
"$LINENO"; then :
3965 libgcc_cv_init_priority
=yes
3967 libgcc_cv_init_priority
=no
3969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3972 $as_echo "$libvtv_cv_init_priority" >&6; }
3973 if test x
$libvtv_cv_init_priority = xno
; then
3976 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3977 # configure.tgt restricting to libvtv to Solaris 11+.
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3981 $as_echo "$VTV_SUPPORTED" >&6; }
3983 # Decide if it's usable.
3984 use_vtable_verify
=no
3985 if test "x$VTV_SUPPORTED" = "xyes"; then
3986 if test "x$enable_vtable_verify" = "xyes"; then
3987 use_vtable_verify
=yes
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3989 $as_echo "$as_me: using vtable verification" >&6;}
3992 if test $use_vtable_verify = yes; then
3993 ENABLE_VTABLE_VERIFY_TRUE
=
3994 ENABLE_VTABLE_VERIFY_FALSE
='#'
3996 ENABLE_VTABLE_VERIFY_TRUE
='#'
3997 ENABLE_VTABLE_VERIFY_FALSE
=
4001 am__api_version
='1.15'
4003 # Find a good install program. We prefer a C program (faster),
4004 # so one script is as good as another. But avoid the broken or
4005 # incompatible versions:
4006 # SysV /etc/install, /usr/sbin/install
4007 # SunOS /usr/etc/install
4008 # IRIX /sbin/install
4010 # AmigaOS /C/install, which installs bootblocks on floppy discs
4011 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4012 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4013 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4014 # OS/2's system install, which has a completely different semantic
4015 # ./install, which can be erroneously created by make from ./install.sh.
4016 # Reject install programs that cannot install multiple files.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4018 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4019 if test -z "$INSTALL"; then
4020 if ${ac_cv_path_install+:} false
; then :
4021 $as_echo_n "(cached) " >&6
4023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir
=.
4028 # Account for people who put trailing slashes in PATH elements.
4029 case $as_dir/ in #((
4030 .
/ | .
// |
/[cC
]/* | \
4031 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4032 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4035 # OSF1 and SCO ODT 3.0 have their own names for install.
4036 # Don't use installbsd from OSF since it installs stuff as root
4038 for ac_prog
in ginstall scoinst
install; do
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4041 if test $ac_prog = install &&
4042 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4043 # AIX install. It has an incompatible calling convention.
4045 elif test $ac_prog = install &&
4046 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4047 # program-specific install script used by HP pwplus--don't use.
4050 rm -rf conftest.one conftest.two conftest.dir
4051 echo one
> conftest.one
4052 echo two
> conftest.two
4054 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4055 test -s conftest.one
&& test -s conftest.two
&&
4056 test -s conftest.dir
/conftest.one
&&
4057 test -s conftest.dir
/conftest.two
4059 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4072 rm -rf conftest.one conftest.two conftest.dir
4075 if test "${ac_cv_path_install+set}" = set; then
4076 INSTALL
=$ac_cv_path_install
4078 # As a last resort, use the slow shell script. Don't cache a
4079 # value for INSTALL within a source directory, because that will
4080 # break other packages using the cache if that directory is
4081 # removed, or if the value is a relative name.
4082 INSTALL
=$ac_install_sh
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4086 $as_echo "$INSTALL" >&6; }
4088 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4089 # It thinks the first close brace ends the variable substitution.
4090 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4092 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4094 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4097 $as_echo_n "checking whether build environment is sane... " >&6; }
4098 # Reject unsafe characters in $srcdir or the absolute working directory
4099 # name. Accept space and tab only in the latter.
4103 *[\\\"\
#\$\&\'\`$am_lf]*)
4104 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4107 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4108 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4111 # Do 'set' in a subshell so we don't clobber the current shell's
4112 # arguments. Must try -L first in case configure is actually a
4113 # symlink; some systems play weird games with the mod time of symlinks
4114 # (eg FreeBSD returns the mod time of the symlink's containing
4118 for am_try
in 1 2; do
4119 echo "timestamp, slept: $am_has_slept" > conftest.
file
4120 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4121 if test "$*" = "X"; then
4123 set X
`ls -t "$srcdir/configure" conftest.file`
4125 if test "$*" != "X $srcdir/configure conftest.file" \
4126 && test "$*" != "X conftest.file $srcdir/configure"; then
4128 # If neither matched, then we have a broken ls. This can happen
4129 # if, for instance, CONFIG_SHELL is bash and it inherits a
4130 # broken ls alias from the environment. This has actually
4131 # happened. Such a system could not be considered "sane".
4132 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4133 alias in your environment" "$LINENO" 5
4135 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4142 test "$2" = conftest.
file
4148 as_fn_error $?
"newly created file is older than distributed files!
4149 Check your system clock" "$LINENO" 5
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4152 $as_echo "yes" >&6; }
4153 # If we didn't sleep, we still need to ensure time stamps of config.status and
4154 # generated files are strictly newer.
4156 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4163 test "$program_prefix" != NONE
&&
4164 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4165 # Use a double $ so make ignores it.
4166 test "$program_suffix" != NONE
&&
4167 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4168 # Double any \ or $.
4169 # By default was `s,x,x', remove it if useless.
4170 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4171 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4173 if test x
"${MISSING+set}" != xset
; then
4176 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4178 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4181 # Use eval to expand $SHELL
4182 if eval "$MISSING --is-lightweight"; then
4183 am_missing_run
="$MISSING "
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4187 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4190 if test x
"${install_sh+set}" != xset
; then
4193 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4195 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4199 # Installed binaries are usually stripped using 'strip' when the user
4200 # run "make install-strip". However 'strip' might not be the right
4201 # tool to use in cross-compilation environments, therefore Automake
4202 # will honor the 'STRIP' environment variable to overrule this program.
4203 if test "$cross_compiling" != no
; then
4204 if test -n "$ac_tool_prefix"; then
4205 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4206 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_STRIP+:} false
; then :
4210 $as_echo_n "(cached) " >&6
4212 if test -n "$STRIP"; then
4213 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 STRIP
=$ac_cv_prog_STRIP
4233 if test -n "$STRIP"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4235 $as_echo "$STRIP" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4243 if test -z "$ac_cv_prog_STRIP"; then
4245 # Extract the first word of "strip", so it can be a program name with args.
4246 set dummy strip
; ac_word
=$2
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4248 $as_echo_n "checking for $ac_word... " >&6; }
4249 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4250 $as_echo_n "(cached) " >&6
4252 if test -n "$ac_ct_STRIP"; then
4253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_STRIP
="strip"
4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4273 if test -n "$ac_ct_STRIP"; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4275 $as_echo "$ac_ct_STRIP" >&6; }
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4278 $as_echo "no" >&6; }
4281 if test "x$ac_ct_STRIP" = x
; then
4284 case $cross_compiling:$ac_tool_warned in
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4288 ac_tool_warned
=yes ;;
4293 STRIP
="$ac_cv_prog_STRIP"
4297 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4300 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4301 if test -z "$MKDIR_P"; then
4302 if ${ac_cv_path_mkdir+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4306 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4309 test -z "$as_dir" && as_dir
=.
4310 for ac_prog
in mkdir gmkdir
; do
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4313 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4314 'mkdir (GNU coreutils) '* | \
4315 'mkdir (coreutils) '* | \
4316 'mkdir (fileutils) '4.1*)
4317 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4327 test -d .
/--version && rmdir .
/--version
4328 if test "${ac_cv_path_mkdir+set}" = set; then
4329 MKDIR_P
="$ac_cv_path_mkdir -p"
4331 # As a last resort, use the slow shell script. Don't cache a
4332 # value for MKDIR_P within a source directory, because that will
4333 # break other packages using the cache if that directory is
4334 # removed, or if the value is a relative name.
4335 MKDIR_P
="$ac_install_sh -d"
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4339 $as_echo "$MKDIR_P" >&6; }
4341 for ac_prog
in gawk mawk nawk
awk
4343 # Extract the first word of "$ac_prog", so it can be a program name with args.
4344 set dummy
$ac_prog; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_AWK+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$AWK"; then
4351 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_AWK
="$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 if test -n "$AWK"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4373 $as_echo "$AWK" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$AWK" && break
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4384 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4386 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4387 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4388 $as_echo_n "(cached) " >&6
4390 cat >conftest.
make <<\_ACEOF
4393 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4395 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4396 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4398 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4400 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4404 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4406 $as_echo "yes" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4411 SET_MAKE
="MAKE=${MAKE-make}"
4414 rm -rf .tst
2>/dev
/null
4415 mkdir .tst
2>/dev
/null
4416 if test -d .tst
; then
4421 rmdir .tst
2>/dev
/null
4423 DEPDIR
="${am__leading_dot}deps"
4425 ac_config_commands
="$ac_config_commands depfiles"
4428 am_make
=${MAKE-make}
4429 cat > confinc
<< 'END'
4431 @
echo this is the am__doit target
4434 # If we don't find an include directive, just comment out the code.
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4436 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4440 # First try GNU make style include.
4441 echo "include confinc" > confmf
4442 # Ignore all kinds of additional output from 'make'.
4443 case `$am_make -s -f confmf 2> /dev/null` in #(
4444 *the\ am__doit\ target
*)
4450 # Now try BSD make style include.
4451 if test "$am__include" = "#"; then
4452 echo '.include "confinc"' > confmf
4453 case `$am_make -s -f confmf 2> /dev/null` in #(
4454 *the\ am__doit\ target
*)
4455 am__include
=.include
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4464 $as_echo "$_am_result" >&6; }
4465 rm -f confinc confmf
4467 # Check whether --enable-dependency-tracking was given.
4468 if test "${enable_dependency_tracking+set}" = set; then :
4469 enableval
=$enable_dependency_tracking;
4472 if test "x$enable_dependency_tracking" != xno
; then
4473 am_depcomp
="$ac_aux_dir/depcomp"
4477 if test "x$enable_dependency_tracking" != xno; then
4486 # Check whether --enable-silent-rules was given.
4487 if test "${enable_silent_rules+set}" = set; then :
4488 enableval
=$enable_silent_rules;
4491 case $enable_silent_rules in # (((
4492 yes) AM_DEFAULT_VERBOSITY
=0;;
4493 no
) AM_DEFAULT_VERBOSITY
=1;;
4494 *) AM_DEFAULT_VERBOSITY
=1;;
4496 am_make
=${MAKE-make}
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4498 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4499 if ${am_cv_make_support_nested_variables+:} false
; then :
4500 $as_echo_n "(cached) " >&6
4502 if $as_echo 'TRUE=$(BAR$(V))
4508 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4509 am_cv_make_support_nested_variables
=yes
4511 am_cv_make_support_nested_variables
=no
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4515 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4516 if test $am_cv_make_support_nested_variables = yes; then
4518 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4520 AM_V
=$AM_DEFAULT_VERBOSITY
4521 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4525 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4526 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4527 # is not polluted with repeated "-I."
4528 am__isrc
=' -I$(srcdir)'
4529 # test to see if srcdir already configured
4530 if test -f $srcdir/config.status
; then
4531 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4535 # test whether we have cygpath
4536 if test -z "$CYGPATH_W"; then
4537 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4538 CYGPATH_W
='cygpath -w'
4545 # Define the identity of the package.
4550 cat >>confdefs.h
<<_ACEOF
4551 #define PACKAGE "$PACKAGE"
4555 cat >>confdefs.h
<<_ACEOF
4556 #define VERSION "$VERSION"
4559 # Some tools Automake needs.
4561 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4564 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4567 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4570 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4573 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4575 # For better backward compatibility. To be removed once Automake 1.9.x
4576 # dies out for good. For more background, see:
4577 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4578 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4579 mkdir_p
='$(MKDIR_P)'
4581 # We need awk for the "check" target (and possibly the TAP driver). The
4582 # system "awk" is bad on some platforms.
4583 # Always define AMTAR for backward compatibility. Yes, it's still used
4584 # in the wild :-( We should find a proper way to deprecate it ...
4588 # We'll loop over all known methods to create a tar archive until one works.
4589 _am_tools
='gnutar pax cpio none'
4591 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4597 depcc
="$CC" am_compiler_list
=
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4600 $as_echo_n "checking dependency style of $depcc... " >&6; }
4601 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4605 # We make a subdir and do the tests there. Otherwise we can end up
4606 # making bogus files that we don't know about and never remove. For
4607 # instance it was reported that on HP-UX the gcc test will end up
4608 # making a dummy file named 'D' -- because '-MD' means "put the output
4612 # Copy depcomp to subdir because otherwise we won't find it if we're
4613 # using a relative directory.
4614 cp "$am_depcomp" conftest.dir
4616 # We will build objects and dependencies in a subdirectory because
4617 # it helps to detect inapplicable dependency modes. For instance
4618 # both Tru64's cc and ICC support -MD to output dependencies as a
4619 # side effect of compilation, but ICC will put the dependencies in
4620 # the current directory while Tru64 will put them in the object
4624 am_cv_CC_dependencies_compiler_type
=none
4625 if test "$am_compiler_list" = ""; then
4626 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4629 case " $depcc " in #(
4630 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4633 for depmode
in $am_compiler_list; do
4634 # Setup a source with many dependencies, because some compilers
4635 # like to wrap large dependency lists on column 80 (with \), and
4636 # we should not choose a depcomp mode which is confused by this.
4638 # We need to recreate these files for each test, as the compiler may
4639 # overwrite some of them when testing with obscure command lines.
4640 # This happens at least with the AIX C compiler.
4642 for i
in 1 2 3 4 5 6; do
4643 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4644 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4645 # Solaris 10 /bin/sh.
4646 echo '/* dummy */' > sub
/conftst
$i.h
4648 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4650 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4651 # mode. It turns out that the SunPro C++ compiler does not properly
4652 # handle '-M -o', and we need to detect this. Also, some Intel
4653 # versions had trouble with output in subdirs.
4654 am__obj
=sub
/conftest.
${OBJEXT-o}
4655 am__minus_obj
="-o $am__obj"
4658 # This depmode causes a compiler race in universal mode.
4659 test "$am__universal" = false ||
continue
4662 # After this tag, mechanisms are not by side-effect, so they'll
4663 # only be used when explicitly requested.
4664 if test "x$enable_dependency_tracking" = xyes
; then
4670 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4671 # This compiler won't grok '-c -o', but also, the minuso test has
4672 # not run yet. These depmodes are late enough in the game, and
4673 # so weak that their functioning should not be impacted.
4674 am__obj
=conftest.
${OBJEXT-o}
4679 if depmode
=$depmode \
4680 source=sub
/conftest.c object
=$am__obj \
4681 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4682 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4683 >/dev
/null
2>conftest.err
&&
4684 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4685 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4686 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4687 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4688 # icc doesn't choke on unknown options, it will just issue warnings
4689 # or remarks (even with -Werror). So we grep stderr for any message
4690 # that says an option was ignored or not supported.
4691 # When given -MP, icc 7.0 and 7.1 complain thusly:
4692 # icc: Command line warning: ignoring option '-M'; no argument required
4693 # The diagnosis changed in icc 8.0:
4694 # icc: Command line remark: option '-MP' not supported
4695 if (grep 'ignoring option' conftest.err ||
4696 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4697 am_cv_CC_dependencies_compiler_type
=$depmode
4706 am_cv_CC_dependencies_compiler_type
=none
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4711 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4712 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4715 test "x$enable_dependency_tracking" != xno \
4716 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4718 am__fastdepCC_FALSE
='#'
4720 am__fastdepCC_TRUE
='#'
4721 am__fastdepCC_FALSE
=
4726 # POSIX will say in a future version that running "rm -f" with no argument
4727 # is OK; and we want to be able to make that assumption in our Makefile
4728 # recipes. So use an aggressive probe to check that the usage we want is
4729 # actually supported "in the wild" to an acceptable degree.
4730 # See automake bug#10828.
4731 # To make any issue more visible, cause the running configure to be aborted
4732 # by default if the 'rm' program in use doesn't match our expectations; the
4733 # user can still override this though.
4734 if rm -f && rm -fr && rm -rf; then : OK
; else
4738 Your 'rm' program seems unable to run without file operands specified
4739 on the command line, even when the '-f' option is present. This is contrary
4740 to the behaviour of most rm programs out there, and not conforming with
4741 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4743 Please tell bug-automake@gnu.org about your system, including the value
4744 of your $PATH and any error possibly output before this message. This
4745 can help us improve future automake versions.
4748 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4749 echo 'Configuration will proceed anyway, since you have set the' >&2
4750 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4754 Aborting the configuration process, to ensure you take notice of the issue.
4756 You can download and install GNU coreutils to get an 'rm' implementation
4757 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4759 If you want to complete the configuration process using your problematic
4760 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4761 to "yes", and re-run configure.
4764 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4770 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4771 # Check whether --enable-maintainer-mode was given.
4772 if test "${enable_maintainer_mode+set}" = set; then :
4773 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4775 USE_MAINTAINER_MODE
=no
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4779 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4780 if test $USE_MAINTAINER_MODE = yes; then
4781 MAINTAINER_MODE_TRUE
=
4782 MAINTAINER_MODE_FALSE
='#'
4784 MAINTAINER_MODE_TRUE
='#'
4785 MAINTAINER_MODE_FALSE
=
4788 MAINT
=$MAINTAINER_MODE_TRUE
4794 # These need to be absolute paths, yet at the same time need to
4795 # canonicalize only relative paths, because then amd will not unmount
4796 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4797 libvtv_builddir
=`${PWDCMD-pwd}`
4799 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4800 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4802 toplevel_builddir
=${libvtv_builddir}/..
4803 toplevel_srcdir
=${libvtv_srcdir}/..
4810 # Calculate toolexeclibdir
4811 # Also toolexecdir, though it's only used in toolexeclibdir
4812 case ${version_specific_libs} in
4814 # Need the gcc compiler version to know where to install libraries
4815 # and header files if --enable-version-specific-runtime-libs option
4817 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4818 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4821 if test -n "$with_cross_host" &&
4822 test x
"$with_cross_host" != x
"no"; then
4823 # Install a library built with a cross compiler in tooldir, not libdir.
4824 toolexecdir
='$(exec_prefix)/$(target_alias)'
4825 toolexeclibdir
='$(toolexecdir)/lib'
4827 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4828 toolexeclibdir
='$(libdir)'
4830 multi_os_directory
=`$CC -print-multi-os-directory`
4831 case $multi_os_directory in
4832 .
) ;; # Avoid trailing /.
4833 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4841 for ac_func
in __secure_getenv
4843 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4844 if test "x$ac_cv_func___secure_getenv" = xyes
; then :
4845 cat >>confdefs.h
<<_ACEOF
4846 #define HAVE___SECURE_GETENV 1
4854 for ac_func
in secure_getenv
4856 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4857 if test "x$ac_cv_func_secure_getenv" = xyes
; then :
4858 cat >>confdefs.h
<<_ACEOF
4859 #define HAVE_SECURE_GETENV 1
4866 for ac_func
in getexecname __fortify_fail
4868 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4869 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4870 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4871 cat >>confdefs.h
<<_ACEOF
4872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4879 # Check for programs.
4883 ac_cpp
='$CPP $CPPFLAGS'
4884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4887 if test -n "$ac_tool_prefix"; then
4888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4889 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_CC+:} false
; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$CC"; then
4896 ac_cv_prog_CC
="$CC" # Let the user override the test.
4898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir
=.
4903 for ac_exec_ext
in '' $ac_executable_extensions; do
4904 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 if test -n "$CC"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4918 $as_echo "$CC" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4926 if test -z "$ac_cv_prog_CC"; then
4928 # Extract the first word of "gcc", so it can be a program name with args.
4929 set dummy gcc
; ac_word
=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$ac_ct_CC"; then
4936 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir
=.
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_CC
="gcc"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4956 if test -n "$ac_ct_CC"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4958 $as_echo "$ac_ct_CC" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4964 if test "x$ac_ct_CC" = x
; then
4967 case $cross_compiling:$ac_tool_warned in
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4971 ac_tool_warned
=yes ;;
4979 if test -z "$CC"; then
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4982 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_CC+:} false
; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$CC"; then
4989 ac_cv_prog_CC
="$CC" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 if test -n "$CC"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5011 $as_echo "$CC" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5020 if test -z "$CC"; then
5021 # Extract the first word of "cc", so it can be a program name with args.
5022 set dummy cc
; ac_word
=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if ${ac_cv_prog_CC+:} false
; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$CC"; then
5029 ac_cv_prog_CC
="$CC" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5040 ac_prog_rejected
=yes
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 if test $ac_prog_rejected = yes; then
5052 # We found a bogon in the path, so make sure we never use it.
5053 set dummy
$ac_cv_prog_CC
5055 if test $# != 0; then
5056 # We chose a different compiler from the bogus one.
5057 # However, it has the same basename, so the bogon will be chosen
5058 # first if we set CC to just the basename; use the full file name.
5060 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5066 if test -n "$CC"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5068 $as_echo "$CC" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$CC"; then
5077 if test -n "$ac_tool_prefix"; then
5078 for ac_prog
in cl.exe
5080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_CC+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$CC"; then
5088 ac_cv_prog_CC
="$CC" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 if test -n "$CC"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5110 $as_echo "$CC" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$CC" && break
5120 if test -z "$CC"; then
5122 for ac_prog
in cl.exe
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy
$ac_prog; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$ac_ct_CC"; then
5132 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_ac_ct_CC
="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5152 if test -n "$ac_ct_CC"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5154 $as_echo "$ac_ct_CC" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$ac_ct_CC" && break
5164 if test "x$ac_ct_CC" = x
; then
5167 case $cross_compiling:$ac_tool_warned in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned
=yes ;;
5180 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5182 as_fn_error $?
"no acceptable C compiler found in \$PATH
5183 See \`config.log' for more details" "$LINENO" 5; }
5185 # Provide some information about the compiler.
5186 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5189 for ac_option
in --version -v -V -qversion; do
5190 { { ac_try
="$ac_compiler $ac_option >&5"
5192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5196 $as_echo "$ac_try_echo"; } >&5
5197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5199 if test -s conftest.err; then
5201 ... rest of stderr output deleted ...
5202 10q' conftest.err >conftest.er1
5203 cat conftest.er1 >&5
5205 rm -f conftest.er1 conftest.err
5206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5207 test $ac_status = 0; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5212 if ${ac_cv_c_compiler_gnu+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5229 if ac_fn_c_try_compile "$LINENO"; then :
5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5240 if test $ac_compiler_gnu = yes; then
5245 ac_test_CFLAGS=${CFLAGS+set}
5246 ac_save_CFLAGS=$CFLAGS
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5249 if ${ac_cv_prog_cc_g+:} false; then :
5250 $as_echo_n "(cached) " >&6
5252 ac_save_c_werror_flag=$ac_c_werror_flag
5253 ac_c_werror_flag=yes
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5267 if ac_fn_c_try_compile "$LINENO"; then :
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5282 if ac_fn_c_try_compile "$LINENO"; then :
5285 ac_c_werror_flag=$ac_save_c_werror_flag
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5298 if ac_fn_c_try_compile "$LINENO"; then :
5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5306 ac_c_werror_flag=$ac_save_c_werror_flag
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5309 $as_echo "$ac_cv_prog_cc_g" >&6; }
5310 if test "$ac_test_CFLAGS" = set; then
5311 CFLAGS=$ac_save_CFLAGS
5312 elif test $ac_cv_prog_cc_g = yes; then
5313 if test "$GCC" = yes; then
5319 if test "$GCC" = yes; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5327 if ${ac_cv_prog_cc_c89+:} false; then :
5328 $as_echo_n "(cached) " >&6
5330 ac_cv_prog_cc_c89=no
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5338 struct buf { int x; };
5339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5340 static char *e (p, i)
5346 static char *f (char * (*g) (char **, int), char **p, ...)
5351 s = g (p, va_arg (v,int));
5356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5357 function prototypes and stuff, but not '\xHH' hex character constants.
5358 These don't provoke an error unfortunately, instead are silently treated
5359 as 'x'. The following induces an error, until -std is added to get
5360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5361 array size at least. It's necessary to write '\x00'==0 to get something
5362 that's true only with -std. */
5363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5366 inside strings and character constants. */
5368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5370 int test (int i, double x);
5371 struct s1 {int (*f) (int a);};
5372 struct s2 {int (*f) (double a);};
5373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5387 CC="$ac_save_CC $ac_arg"
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_prog_cc_c89=$ac_arg
5391 rm -f core conftest.err conftest.$ac_objext
5392 test "x$ac_cv_prog_cc_c89" != "xno" && break
5394 rm -f conftest.$ac_ext
5399 case "x$ac_cv_prog_cc_c89" in
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5402 $as_echo "none needed" >&6; } ;;
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5405 $as_echo "unsupported" >&6; } ;;
5407 CC="$CC $ac_cv_prog_cc_c89"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5409 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5411 if test "x$ac_cv_prog_cc_c89" != xno; then :
5416 ac_cpp='$CPP $CPPFLAGS'
5417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5422 ac_cpp='$CPP $CPPFLAGS'
5423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5427 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5428 if ${am_cv_prog_cc_c_o+:} false; then :
5429 $as_echo_n "(cached) " >&6
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5442 # Make sure it works both with $CC and with simple cc.
5443 # Following AC_PROG_CC_C_O, we do the test twice because some
5444 # compilers refuse to overwrite an existing .o file with -o,
5445 # though they will create one.
5446 am_cv_prog_cc_c_o=yes
5448 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5449 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } \
5453 && test -f conftest2.$ac_objext; then
5456 am_cv_prog_cc_c_o=no
5460 rm -f core conftest*
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5464 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5465 if test "$am_cv_prog_cc_c_o" != yes; then
5466 # Losing compiler, so override with the script.
5467 # FIXME: It is wrong to rewrite CC.
5468 # But if we don't then we get into trouble of one sort or another.
5469 # A longer-term fix would be to have automake use am__CC in this case,
5470 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5471 CC="$am_aux_dir/compile $CC"
5474 ac_cpp='$CPP $CPPFLAGS'
5475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5481 ac_cpp='$CXXCPP $CPPFLAGS'
5482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5485 if test -z "$CXX"; then
5486 if test -n "$CCC"; then
5489 if test -n "$ac_tool_prefix"; then
5490 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_CXX+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 if test -n "$CXX"; then
5500 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 if test -n "$CXX"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5522 $as_echo "$CXX" >&6; }
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5529 test -n "$CXX" && break
5532 if test -z "$CXX"; then
5534 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5536 # Extract the first word of "$ac_prog", so it can be a program name with args.
5537 set dummy $ac_prog; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5541 $as_echo_n "(cached) " >&6
5543 if test -n "$ac_ct_CXX"; then
5544 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_ac_ct_CXX="$ac_prog"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5564 if test -n "$ac_ct_CXX"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5566 $as_echo "$ac_ct_CXX" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5573 test -n "$ac_ct_CXX" && break
5576 if test "x$ac_ct_CXX" = x; then
5579 case $cross_compiling:$ac_tool_warned in
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583 ac_tool_warned=yes ;;
5591 # Provide some information about the compiler.
5592 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5595 for ac_option in --version -v -V -qversion; do
5596 { { ac_try="$ac_compiler $ac_option >&5"
5598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5599 *) ac_try_echo
=$ac_try;;
5601 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5602 $as_echo "$ac_try_echo"; } >&5
5603 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5605 if test -s conftest.err
; then
5607 ... rest of stderr output deleted ...
5608 10q' conftest.err
>conftest.er1
5609 cat conftest.er1
>&5
5611 rm -f conftest.er1 conftest.err
5612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5613 test $ac_status = 0; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5617 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5618 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5635 if ac_fn_cxx_try_compile
"$LINENO"; then :
5640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5641 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5645 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5646 if test $ac_compiler_gnu = yes; then
5651 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5652 ac_save_CXXFLAGS
=$CXXFLAGS
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5654 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5655 if ${ac_cv_prog_cxx_g+:} false
; then :
5656 $as_echo_n "(cached) " >&6
5658 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5659 ac_cxx_werror_flag
=yes
5662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5673 if ac_fn_cxx_try_compile
"$LINENO"; then :
5674 ac_cv_prog_cxx_g
=yes
5677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5688 if ac_fn_cxx_try_compile
"$LINENO"; then :
5691 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5704 if ac_fn_cxx_try_compile
"$LINENO"; then :
5705 ac_cv_prog_cxx_g
=yes
5707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5712 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5715 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5716 if test "$ac_test_CXXFLAGS" = set; then
5717 CXXFLAGS
=$ac_save_CXXFLAGS
5718 elif test $ac_cv_prog_cxx_g = yes; then
5719 if test "$GXX" = yes; then
5725 if test "$GXX" = yes; then
5732 ac_cpp
='$CPP $CPPFLAGS'
5733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5737 depcc
="$CXX" am_compiler_list
=
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5740 $as_echo_n "checking dependency style of $depcc... " >&6; }
5741 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5742 $as_echo_n "(cached) " >&6
5744 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5745 # We make a subdir and do the tests there. Otherwise we can end up
5746 # making bogus files that we don't know about and never remove. For
5747 # instance it was reported that on HP-UX the gcc test will end up
5748 # making a dummy file named 'D' -- because '-MD' means "put the output
5752 # Copy depcomp to subdir because otherwise we won't find it if we're
5753 # using a relative directory.
5754 cp "$am_depcomp" conftest.dir
5756 # We will build objects and dependencies in a subdirectory because
5757 # it helps to detect inapplicable dependency modes. For instance
5758 # both Tru64's cc and ICC support -MD to output dependencies as a
5759 # side effect of compilation, but ICC will put the dependencies in
5760 # the current directory while Tru64 will put them in the object
5764 am_cv_CXX_dependencies_compiler_type
=none
5765 if test "$am_compiler_list" = ""; then
5766 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5769 case " $depcc " in #(
5770 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5773 for depmode
in $am_compiler_list; do
5774 # Setup a source with many dependencies, because some compilers
5775 # like to wrap large dependency lists on column 80 (with \), and
5776 # we should not choose a depcomp mode which is confused by this.
5778 # We need to recreate these files for each test, as the compiler may
5779 # overwrite some of them when testing with obscure command lines.
5780 # This happens at least with the AIX C compiler.
5782 for i
in 1 2 3 4 5 6; do
5783 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5784 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5785 # Solaris 10 /bin/sh.
5786 echo '/* dummy */' > sub
/conftst
$i.h
5788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5790 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5791 # mode. It turns out that the SunPro C++ compiler does not properly
5792 # handle '-M -o', and we need to detect this. Also, some Intel
5793 # versions had trouble with output in subdirs.
5794 am__obj
=sub
/conftest.
${OBJEXT-o}
5795 am__minus_obj
="-o $am__obj"
5798 # This depmode causes a compiler race in universal mode.
5799 test "$am__universal" = false ||
continue
5802 # After this tag, mechanisms are not by side-effect, so they'll
5803 # only be used when explicitly requested.
5804 if test "x$enable_dependency_tracking" = xyes
; then
5810 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5811 # This compiler won't grok '-c -o', but also, the minuso test has
5812 # not run yet. These depmodes are late enough in the game, and
5813 # so weak that their functioning should not be impacted.
5814 am__obj
=conftest.
${OBJEXT-o}
5819 if depmode
=$depmode \
5820 source=sub
/conftest.c object
=$am__obj \
5821 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5822 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5823 >/dev
/null
2>conftest.err
&&
5824 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5825 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5826 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5827 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5828 # icc doesn't choke on unknown options, it will just issue warnings
5829 # or remarks (even with -Werror). So we grep stderr for any message
5830 # that says an option was ignored or not supported.
5831 # When given -MP, icc 7.0 and 7.1 complain thusly:
5832 # icc: Command line warning: ignoring option '-M'; no argument required
5833 # The diagnosis changed in icc 8.0:
5834 # icc: Command line remark: option '-MP' not supported
5835 if (grep 'ignoring option' conftest.err ||
5836 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5837 am_cv_CXX_dependencies_compiler_type
=$depmode
5846 am_cv_CXX_dependencies_compiler_type
=none
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5851 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5852 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5855 test "x$enable_dependency_tracking" != xno \
5856 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5857 am__fastdepCXX_TRUE
=
5858 am__fastdepCXX_FALSE
='#'
5860 am__fastdepCXX_TRUE
='#'
5861 am__fastdepCXX_FALSE
=
5872 # Newer automakes demand CCAS and CCASFLAGS.
5874 : ${CCASFLAGS='$(CFLAGS)'}
5878 if test -n "$ac_tool_prefix"; then
5879 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5880 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_AS+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -n "$AS"; then
5887 ac_cv_prog_AS
="$AS" # Let the user override the test.
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_exec_ext
in '' $ac_executable_extensions; do
5895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_AS
="${ac_tool_prefix}as"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 if test -n "$AS"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5909 $as_echo "$AS" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5917 if test -z "$ac_cv_prog_AS"; then
5919 # Extract the first word of "as", so it can be a program name with args.
5920 set dummy as
; ac_word
=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$ac_ct_AS"; then
5927 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_ac_ct_AS
="as"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5947 if test -n "$ac_ct_AS"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5949 $as_echo "$ac_ct_AS" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5955 if test "x$ac_ct_AS" = x
; then
5958 case $cross_compiling:$ac_tool_warned in
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5962 ac_tool_warned
=yes ;;
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5972 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_AR+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$AR"; then
5979 ac_cv_prog_AR
="$AR" # Let the user override the test.
5981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir
=.
5986 for ac_exec_ext
in '' $ac_executable_extensions; do
5987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 if test -n "$AR"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6001 $as_echo "$AR" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6009 if test -z "$ac_cv_prog_AR"; then
6011 # Extract the first word of "ar", so it can be a program name with args.
6012 set dummy
ar; ac_word
=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$ac_ct_AR"; then
6019 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir
=.
6026 for ac_exec_ext
in '' $ac_executable_extensions; do
6027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_ac_ct_AR
="ar"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6039 if test -n "$ac_ct_AR"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6041 $as_echo "$ac_ct_AR" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6047 if test "x$ac_ct_AR" = x
; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned
=yes ;;
6062 if test -n "$ac_tool_prefix"; then
6063 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6064 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_RANLIB+:} false
; then :
6068 $as_echo_n "(cached) " >&6
6070 if test -n "$RANLIB"; then
6071 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6077 test -z "$as_dir" && as_dir
=.
6078 for ac_exec_ext
in '' $ac_executable_extensions; do
6079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 RANLIB
=$ac_cv_prog_RANLIB
6091 if test -n "$RANLIB"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6093 $as_echo "$RANLIB" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6101 if test -z "$ac_cv_prog_RANLIB"; then
6102 ac_ct_RANLIB
=$RANLIB
6103 # Extract the first word of "ranlib", so it can be a program name with args.
6104 set dummy ranlib
; ac_word
=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$ac_ct_RANLIB"; then
6111 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir
=.
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6131 if test -n "$ac_ct_RANLIB"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6133 $as_echo "$ac_ct_RANLIB" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6139 if test "x$ac_ct_RANLIB" = x
; then
6142 case $cross_compiling:$ac_tool_warned in
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6146 ac_tool_warned
=yes ;;
6148 RANLIB
=$ac_ct_RANLIB
6151 RANLIB
="$ac_cv_prog_RANLIB"
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6163 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6168 macro_version
='2.2.7a'
6169 macro_revision
='1.3134'
6183 ltmain
="$ac_aux_dir/ltmain.sh"
6185 # Backslashify metacharacters that are still active within
6186 # double-quoted strings.
6187 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6189 # Same as above, but do not quote variable references.
6190 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6192 # Sed substitution to delay expansion of an escaped shell variable in a
6193 # double_quote_subst'ed string.
6194 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6196 # Sed substitution to delay expansion of an escaped single quote.
6197 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6199 # Sed substitution to avoid accidental globbing in evaled expressions
6200 no_glob_subst
='s/\*/\\\*/g'
6202 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6203 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6204 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6207 $as_echo_n "checking how to print strings... " >&6; }
6208 # Test print first, because it will be a builtin if present.
6209 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6210 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6212 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6215 # Use this function as a fallback that always works.
6216 func_fallback_echo ()
6218 eval 'cat <<_LTECHO_EOF
6222 ECHO='func_fallback_echo
'
6225 # func_echo_all arg...
6226 # Invoke $ECHO with all args, space-separated.
6233 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6234 $as_echo "printf" >&6; } ;;
6235 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6236 $as_echo "print -r" >&6; } ;;
6237 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6238 $as_echo "cat" >&6; } ;;
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6255 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6256 if ${ac_cv_path_SED+:} false; then :
6257 $as_echo_n "(cached) " >&6
6259 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6260 for ac_i in 1 2 3 4 5 6 7; do
6261 ac_script="$ac_script$as_nl$ac_script"
6263 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6264 { ac_script=; unset ac_script;}
6265 if test -z "$SED"; then
6266 ac_path_SED_found=false
6267 # Loop through the user's path and
test for each of PROGNAME-LIST
6268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6272 test -z "$as_dir" && as_dir
=.
6273 for ac_prog
in sed gsed
; do
6274 for ac_exec_ext
in '' $ac_executable_extensions; do
6275 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6276 as_fn_executable_p
"$ac_path_SED" ||
continue
6277 # Check for GNU ac_path_SED and select it if it is found.
6278 # Check for GNU $ac_path_SED
6279 case `"$ac_path_SED" --version 2>&1` in
6281 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6284 $as_echo_n 0123456789 >"conftest.in"
6287 cat "conftest.in" "conftest.in" >"conftest.tmp"
6288 mv "conftest.tmp" "conftest.in"
6289 cp "conftest.in" "conftest.nl"
6290 $as_echo '' >> "conftest.nl"
6291 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6292 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6293 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6294 if test $ac_count -gt ${ac_path_SED_max-0}; then
6295 # Best one so far, save it but keep looking for a better one
6296 ac_cv_path_SED
="$ac_path_SED"
6297 ac_path_SED_max
=$ac_count
6299 # 10*(2^10) chars as input seems more than enough
6300 test $ac_count -gt 10 && break
6302 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6305 $ac_path_SED_found && break 3
6310 if test -z "$ac_cv_path_SED"; then
6311 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6319 $as_echo "$ac_cv_path_SED" >&6; }
6320 SED
="$ac_cv_path_SED"
6323 test -z "$SED" && SED
=sed
6324 Xsed
="$SED -e 1s/^X//"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6337 $as_echo_n "checking for fgrep... " >&6; }
6338 if ${ac_cv_path_FGREP+:} false
; then :
6339 $as_echo_n "(cached) " >&6
6341 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6342 then ac_cv_path_FGREP
="$GREP -F"
6344 if test -z "$FGREP"; then
6345 ac_path_FGREP_found
=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6348 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_prog
in fgrep
; do
6353 for ac_exec_ext
in '' $ac_executable_extensions; do
6354 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6355 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6356 # Check for GNU ac_path_FGREP and select it if it is found.
6357 # Check for GNU $ac_path_FGREP
6358 case `"$ac_path_FGREP" --version 2>&1` in
6360 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6363 $as_echo_n 0123456789 >"conftest.in"
6366 cat "conftest.in" "conftest.in" >"conftest.tmp"
6367 mv "conftest.tmp" "conftest.in"
6368 cp "conftest.in" "conftest.nl"
6369 $as_echo 'FGREP' >> "conftest.nl"
6370 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6371 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6372 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6373 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6374 # Best one so far, save it but keep looking for a better one
6375 ac_cv_path_FGREP
="$ac_path_FGREP"
6376 ac_path_FGREP_max
=$ac_count
6378 # 10*(2^10) chars as input seems more than enough
6379 test $ac_count -gt 10 && break
6381 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6384 $ac_path_FGREP_found && break 3
6389 if test -z "$ac_cv_path_FGREP"; then
6390 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6393 ac_cv_path_FGREP
=$FGREP
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6399 $as_echo "$ac_cv_path_FGREP" >&6; }
6400 FGREP
="$ac_cv_path_FGREP"
6403 test -z "$GREP" && GREP
=grep
6423 # Check whether --with-gnu-ld was given.
6424 if test "${with_gnu_ld+set}" = set; then :
6425 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6431 if test "$GCC" = yes; then
6432 # Check if gcc -print-prog-name=ld gives a path.
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6434 $as_echo_n "checking for ld used by $CC... " >&6; }
6437 # gcc leaves a trailing carriage return which upsets mingw
6438 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6440 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6443 # Accept absolute paths.
6445 re_direlt
='/[^/][^/]*/\.\./'
6446 # Canonicalize the pathname of ld
6447 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6448 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6449 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6451 test -z "$LD" && LD
="$ac_prog"
6454 # If it fails, then pretend we aren't using GCC.
6458 # If it is relative, then search for the first ld in PATH.
6462 elif test "$with_gnu_ld" = yes; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6464 $as_echo_n "checking for GNU ld... " >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6467 $as_echo_n "checking for non-GNU ld... " >&6; }
6469 if ${lt_cv_path_LD+:} false
; then :
6470 $as_echo_n "(cached) " >&6
6472 if test -z "$LD"; then
6473 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6474 for ac_dir
in $PATH; do
6476 test -z "$ac_dir" && ac_dir
=.
6477 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6478 lt_cv_path_LD
="$ac_dir/$ac_prog"
6479 # Check to see if the program is GNU ld. I'd rather use --version,
6480 # but apparently some variants of GNU ld only accept -v.
6481 # Break only if it was the GNU/non-GNU ld that we prefer.
6482 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6483 *GNU
* |
*'with BFD'*)
6484 test "$with_gnu_ld" != no
&& break
6487 test "$with_gnu_ld" != yes && break
6494 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6499 if test -n "$LD"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6501 $as_echo "$LD" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6506 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6508 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6509 if ${lt_cv_prog_gnu_ld+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6512 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6513 case `$LD -v 2>&1 </dev/null` in
6514 *GNU
* |
*'with BFD'*)
6515 lt_cv_prog_gnu_ld
=yes
6518 lt_cv_prog_gnu_ld
=no
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6523 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6524 with_gnu_ld
=$lt_cv_prog_gnu_ld
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6535 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6536 if ${lt_cv_path_NM+:} false
; then :
6537 $as_echo_n "(cached) " >&6
6539 if test -n "$NM"; then
6540 # Let the user override the test.
6543 lt_nm_to_check
="${ac_tool_prefix}nm"
6544 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6545 lt_nm_to_check
="$lt_nm_to_check nm"
6547 for lt_tmp_nm
in $lt_nm_to_check; do
6548 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6549 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6551 test -z "$ac_dir" && ac_dir
=.
6552 tmp_nm
="$ac_dir/$lt_tmp_nm"
6553 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6554 # Check to see if the nm accepts a BSD-compat flag.
6555 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6556 # nm: unknown option "B" ignored
6557 # Tru64's nm complains that /dev/null is an invalid object file
6558 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6559 */dev
/null
* |
*'Invalid file or object type'*)
6560 lt_cv_path_NM
="$tmp_nm -B"
6564 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6566 lt_cv_path_NM
="$tmp_nm -p"
6570 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6571 continue # so that we can try to find one that supports BSD flags
6580 : ${lt_cv_path_NM=no}
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6584 $as_echo "$lt_cv_path_NM" >&6; }
6585 if test "$lt_cv_path_NM" != "no"; then
6588 # Didn't find any BSD compatible name lister, look for dumpbin.
6589 if test -n "$DUMPBIN"; then :
6590 # Let the user override the test.
6592 if test -n "$ac_tool_prefix"; then
6593 for ac_prog
in dumpbin
"link -dump"
6595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$DUMPBIN"; then
6603 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir
=.
6610 for ac_exec_ext
in '' $ac_executable_extensions; do
6611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 DUMPBIN
=$ac_cv_prog_DUMPBIN
6623 if test -n "$DUMPBIN"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6625 $as_echo "$DUMPBIN" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6632 test -n "$DUMPBIN" && break
6635 if test -z "$DUMPBIN"; then
6636 ac_ct_DUMPBIN
=$DUMPBIN
6637 for ac_prog
in dumpbin
"link -dump"
6639 # Extract the first word of "$ac_prog", so it can be a program name with args.
6640 set dummy
$ac_prog; ac_word
=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$ac_ct_DUMPBIN"; then
6647 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir
=.
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6667 if test -n "$ac_ct_DUMPBIN"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6669 $as_echo "$ac_ct_DUMPBIN" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6676 test -n "$ac_ct_DUMPBIN" && break
6679 if test "x$ac_ct_DUMPBIN" = x
; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned
=yes ;;
6688 DUMPBIN
=$ac_ct_DUMPBIN
6692 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6694 DUMPBIN
="$DUMPBIN -symbols"
6702 if test "$DUMPBIN" != ":"; then
6706 test -z "$NM" && NM
=nm
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6714 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6715 if ${lt_cv_nm_interface+:} false
; then :
6716 $as_echo_n "(cached) " >&6
6718 lt_cv_nm_interface
="BSD nm"
6719 echo "int some_variable = 0;" > conftest.
$ac_ext
6720 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6721 (eval "$ac_compile" 2>conftest.err
)
6722 cat conftest.err
>&5
6723 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6724 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6725 cat conftest.err
>&5
6726 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6727 cat conftest.out
>&5
6728 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6729 lt_cv_nm_interface
="MS dumpbin"
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6734 $as_echo "$lt_cv_nm_interface" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6737 $as_echo_n "checking whether ln -s works... " >&6; }
6739 if test "$LN_S" = "ln -s"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6741 $as_echo "yes" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6744 $as_echo "no, using $LN_S" >&6; }
6747 # find the maximum length of command line arguments
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6749 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6750 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6758 # On DJGPP, this test can blow up pretty badly due to problems in libc
6759 # (any single argument exceeding 2000 bytes causes a buffer overrun
6760 # during glob expansion). Even if it were fixed, the result of this
6761 # check would be larger than it should be.
6762 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6766 # Under GNU Hurd, this test is not required because there is
6767 # no limit to the length of command line arguments.
6768 # Libtool will interpret -1 as no limit whatsoever
6769 lt_cv_sys_max_cmd_len
=-1;
6772 cygwin
* | mingw
* | cegcc
*)
6773 # On Win9x/ME, this test blows up -- it succeeds, but takes
6774 # about 5 minutes as the teststring grows exponentially.
6775 # Worse, since 9x/ME are not pre-emptively multitasking,
6776 # you end up with a "frozen" computer, even though with patience
6777 # the test eventually succeeds (with a max line length of 256k).
6778 # Instead, let's just punt: use the minimum linelength reported by
6779 # all of the supported platforms: 8192 (on NT/2K/XP).
6780 lt_cv_sys_max_cmd_len
=8192;
6784 # On MiNT this can take a long time and run out of memory.
6785 lt_cv_sys_max_cmd_len
=8192;
6789 # On AmigaOS with pdksh, this test takes hours, literally.
6790 # So we just punt and use a minimum line length of 8192.
6791 lt_cv_sys_max_cmd_len
=8192;
6794 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6795 # This has been around since 386BSD, at least. Likely further.
6796 if test -x /sbin
/sysctl
; then
6797 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6798 elif test -x /usr
/sbin
/sysctl
; then
6799 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6801 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6803 # And add a safety zone
6804 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6805 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6809 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6810 lt_cv_sys_max_cmd_len
=196608
6814 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6815 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6816 # nice to cause kernel panics so lets avoid the loop below.
6817 # First set a reasonable default.
6818 lt_cv_sys_max_cmd_len
=16384
6820 if test -x /sbin
/sysconfig
; then
6821 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6822 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6827 lt_cv_sys_max_cmd_len
=102400
6829 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6830 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6831 if test -n "$kargmax"; then
6832 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6834 lt_cv_sys_max_cmd_len
=32768
6838 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6839 if test -n "$lt_cv_sys_max_cmd_len"; then
6840 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6841 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6843 # Make teststring a little bigger before we do anything with it.
6844 # a 1K string should be a reasonable start.
6845 for i
in 1 2 3 4 5 6 7 8 ; do
6846 teststring
=$teststring$teststring
6848 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6849 # If test is not a shell built-in, we'll probably end up computing a
6850 # maximum length that is only half of the actual maximum length, but
6852 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6853 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6854 test $i != 17 # 1/2 MB should be enough
6857 teststring
=$teststring$teststring
6859 # Only check the string length outside the loop.
6860 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6862 # Add a significant safety factor because C++ compilers can tack on
6863 # massive amounts of additional arguments before passing them to the
6864 # linker. It appears as though 1/2 is a usable value.
6865 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6872 if test -n $lt_cv_sys_max_cmd_len ; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6874 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6877 $as_echo "none" >&6; }
6879 max_cmd_len
=$lt_cv_sys_max_cmd_len
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6891 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6892 # Try some XSI features
6895 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6897 && eval 'test $(( 1 + 1 )) -eq 2 \
6898 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6901 $as_echo "$xsi_shell" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6905 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6907 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6909 && lt_shell_append=yes
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6911 $as_echo "$lt_shell_append" >&6; }
6914 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6924 # test EBCDIC or ASCII
6925 case `echo X|tr X '\101'` in
6926 A) # ASCII based system
6927 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6928 lt_SP2NL='tr \040 \012'
6929 lt_NL2SP='tr \015\012 \040\040'
6931 *) # EBCDIC based system
6932 lt_SP2NL='tr \100 \n'
6933 lt_NL2SP='tr \r\n \100\100'
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6946 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6947 if ${lt_cv_ld_reload_flag+:} false; then :
6948 $as_echo_n "(cached
) " >&6
6950 lt_cv_ld_reload_flag='-r'
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6953 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6954 reload_flag=$lt_cv_ld_reload_flag
6955 case $reload_flag in
6957 *) reload_flag=" $reload_flag" ;;
6959 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6962 if test "$GCC" = yes; then
6963 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6965 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6982 $as_echo_n "checking
for $ac_word...
" >&6; }
6983 if ${ac_cv_prog_OBJDUMP+:} false; then :
6984 $as_echo_n "(cached
) " >&6
6986 if test -n "$OBJDUMP"; then
6987 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6996 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7006 OBJDUMP=$ac_cv_prog_OBJDUMP
7007 if test -n "$OBJDUMP"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7009 $as_echo "$OBJDUMP" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7012 $as_echo "no
" >&6; }
7017 if test -z "$ac_cv_prog_OBJDUMP"; then
7018 ac_ct_OBJDUMP=$OBJDUMP
7019 # Extract the first word of "objdump
", so it can be a program name with args.
7020 set dummy objdump; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7022 $as_echo_n "checking
for $ac_word...
" >&6; }
7023 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7024 $as_echo_n "(cached
) " >&6
7026 if test -n "$ac_ct_OBJDUMP"; then
7027 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7046 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7047 if test -n "$ac_ct_OBJDUMP"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7049 $as_echo "$ac_ct_OBJDUMP" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7052 $as_echo "no
" >&6; }
7055 if test "x
$ac_ct_OBJDUMP" = x; then
7058 case $cross_compiling:$ac_tool_warned in
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7061 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7062 ac_tool_warned=yes ;;
7064 OBJDUMP=$ac_ct_OBJDUMP
7067 OBJDUMP="$ac_cv_prog_OBJDUMP"
7070 test -z "$OBJDUMP" && OBJDUMP=objdump
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7081 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7082 if ${lt_cv_deplibs_check_method+:} false; then :
7083 $as_echo_n "(cached
) " >&6
7085 lt_cv_file_magic_cmd='$MAGIC_CMD'
7086 lt_cv_file_magic_test_file=
7087 lt_cv_deplibs_check_method='unknown'
7088 # Need to set the preceding variable on all platforms that support
7089 # interlibrary dependencies.
7090 # 'none' -- dependencies not supported.
7091 # `unknown' -- same as none, but documents that we really don't know.
7092 # 'pass_all' -- all dependencies passed with no checks.
7093 # 'test_compile' -- check by making test program.
7094 # 'file_magic [[regex]]' -- check by looking for files in library path
7095 # which responds to the $file_magic_cmd with a given extended regex.
7096 # If you have `file' or equivalent on your system and you're not sure
7097 # whether `pass_all' will *always* work, you probably want this one.
7101 lt_cv_deplibs_check_method=pass_all
7105 lt_cv_deplibs_check_method=pass_all
7109 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7110 lt_cv_file_magic_cmd='/usr/bin/file -L'
7111 lt_cv_file_magic_test_file=/shlib/libc.so
7115 # func_win32_libid is a shell function defined in ltmain.sh
7116 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7117 lt_cv_file_magic_cmd='func_win32_libid'
7121 # Base MSYS/MinGW do not provide the 'file' command needed by
7122 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7123 # unless we find 'file', for example because we are cross-compiling.
7124 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7125 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7126 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7127 lt_cv_file_magic_cmd='func_win32_libid'
7129 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7130 lt_cv_file_magic_cmd='$OBJDUMP -f'
7135 # use the weaker test based on 'objdump'. See mingw*.
7136 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7137 lt_cv_file_magic_cmd='$OBJDUMP -f'
7140 darwin* | rhapsody*)
7141 lt_cv_deplibs_check_method=pass_all
7144 freebsd* | dragonfly*)
7145 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7148 # Not sure whether the presence of OpenBSD here was a mistake.
7149 # Let's accept both of them until this is cleared up.
7150 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7151 lt_cv_file_magic_cmd=/usr/bin/file
7152 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7156 lt_cv_deplibs_check_method=pass_all
7161 lt_cv_deplibs_check_method=pass_all
7165 lt_cv_deplibs_check_method=pass_all
7168 hpux10.20* | hpux11*)
7169 lt_cv_file_magic_cmd=/usr/bin/file
7172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7173 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7176 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]'
7177 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7181 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7187 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7191 irix5* | irix6* | nonstopux*)
7193 *-32|*"-32 ") libmagic=32-bit;;
7194 *-n32|*"-n32 ") libmagic=N32;;
7195 *-64|*"-64 ") libmagic=64-bit;;
7196 *) libmagic=never-match;;
7198 lt_cv_deplibs_check_method=pass_all
7201 # This must be Linux ELF.
7202 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7203 lt_cv_deplibs_check_method=pass_all
7207 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7216 lt_cv_file_magic_cmd=/usr/bin/file
7217 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7221 lt_cv_deplibs_check_method=pass_all
7225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7232 osf3* | osf4* | osf5*)
7233 lt_cv_deplibs_check_method=pass_all
7237 lt_cv_deplibs_check_method=pass_all
7241 lt_cv_deplibs_check_method=pass_all
7244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7245 lt_cv_deplibs_check_method=pass_all
7249 case $host_vendor in
7251 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]'
7252 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7255 lt_cv_deplibs_check_method=pass_all
7258 lt_cv_file_magic_cmd='/bin/file'
7259 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7262 lt_cv_file_magic_cmd='/bin/file'
7263 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7264 lt_cv_file_magic_test_file=/lib/libc.so
7267 lt_cv_deplibs_check_method=pass_all
7270 lt_cv_deplibs_check_method=pass_all
7276 lt_cv_deplibs_check_method=pass_all
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7282 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7283 file_magic_cmd=$lt_cv_file_magic_cmd
7284 deplibs_check_method=$lt_cv_deplibs_check_method
7285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7298 if test -n "$ac_tool_prefix"; then
7299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7300 set dummy ${ac_tool_prefix}ar; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7302 $as_echo_n "checking
for $ac_word...
" >&6; }
7303 if ${ac_cv_prog_AR+:} false; then :
7304 $as_echo_n "(cached
) " >&6
7306 if test -n "$AR"; then
7307 ac_cv_prog_AR="$AR" # Let the user override the test.
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir=.
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316 ac_cv_prog_AR="${ac_tool_prefix}ar"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 if test -n "$AR"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7329 $as_echo "$AR" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7332 $as_echo "no
" >&6; }
7337 if test -z "$ac_cv_prog_AR"; then
7339 # Extract the first word of "ar", so it can be a program name with args.
7340 set dummy ar; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7342 $as_echo_n "checking
for $ac_word...
" >&6; }
7343 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7344 $as_echo_n "(cached
) " >&6
7346 if test -n "$ac_ct_AR"; then
7347 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_prog_ac_ct_AR="ar"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7366 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7367 if test -n "$ac_ct_AR"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7369 $as_echo "$ac_ct_AR" >&6; }
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7372 $as_echo "no
" >&6; }
7375 if test "x
$ac_ct_AR" = x; then
7378 case $cross_compiling:$ac_tool_warned in
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7381 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7382 ac_tool_warned=yes ;;
7390 test -z "$AR" && AR=ar
7391 test -z "$AR_FLAGS" && AR_FLAGS=cru
7403 if test -n "$ac_tool_prefix"; then
7404 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7405 set dummy ${ac_tool_prefix}strip; ac_word=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7407 $as_echo_n "checking
for $ac_word...
" >&6; }
7408 if ${ac_cv_prog_STRIP+:} false; then :
7409 $as_echo_n "(cached
) " >&6
7411 if test -n "$STRIP"; then
7412 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7418 test -z "$as_dir" && as_dir=.
7419 for ac_exec_ext in '' $ac_executable_extensions; do
7420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7421 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7431 STRIP=$ac_cv_prog_STRIP
7432 if test -n "$STRIP"; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7434 $as_echo "$STRIP" >&6; }
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7437 $as_echo "no
" >&6; }
7442 if test -z "$ac_cv_prog_STRIP"; then
7444 # Extract the first word of "strip
", so it can be a program name with args.
7445 set dummy strip; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7447 $as_echo_n "checking
for $ac_word...
" >&6; }
7448 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7449 $as_echo_n "(cached
) " >&6
7451 if test -n "$ac_ct_STRIP"; then
7452 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461 ac_cv_prog_ac_ct_STRIP="strip
"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7472 if test -n "$ac_ct_STRIP"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7474 $as_echo "$ac_ct_STRIP" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7477 $as_echo "no
" >&6; }
7480 if test "x
$ac_ct_STRIP" = x; then
7483 case $cross_compiling:$ac_tool_warned in
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7486 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7487 ac_tool_warned=yes ;;
7492 STRIP="$ac_cv_prog_STRIP"
7495 test -z "$STRIP" && STRIP=:
7502 if test -n "$ac_tool_prefix"; then
7503 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7504 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7506 $as_echo_n "checking
for $ac_word...
" >&6; }
7507 if ${ac_cv_prog_RANLIB+:} false; then :
7508 $as_echo_n "(cached
) " >&6
7510 if test -n "$RANLIB"; then
7511 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7520 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7530 RANLIB=$ac_cv_prog_RANLIB
7531 if test -n "$RANLIB"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7533 $as_echo "$RANLIB" >&6; }
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7536 $as_echo "no
" >&6; }
7541 if test -z "$ac_cv_prog_RANLIB"; then
7542 ac_ct_RANLIB=$RANLIB
7543 # Extract the first word of "ranlib
", so it can be a program name with args.
7544 set dummy ranlib; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7546 $as_echo_n "checking
for $ac_word...
" >&6; }
7547 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7548 $as_echo_n "(cached
) " >&6
7550 if test -n "$ac_ct_RANLIB"; then
7551 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7571 if test -n "$ac_ct_RANLIB"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7573 $as_echo "$ac_ct_RANLIB" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7576 $as_echo "no
" >&6; }
7579 if test "x
$ac_ct_RANLIB" = x; then
7582 case $cross_compiling:$ac_tool_warned in
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7585 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7586 ac_tool_warned=yes ;;
7588 RANLIB=$ac_ct_RANLIB
7591 RANLIB="$ac_cv_prog_RANLIB"
7594 test -z "$RANLIB" && RANLIB=:
7601 # Determine commands to create old-style static archives.
7602 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7603 old_postinstall_cmds='chmod 644 $oldlib'
7604 old_postuninstall_cmds=
7606 if test -n "$RANLIB"; then
7609 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7612 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7615 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7620 lock_old_archive_extraction=yes ;;
7622 lock_old_archive_extraction=no ;;
7663 # If no C compiler was specified, use CC.
7666 # If no C compiler flags were specified, use CFLAGS.
7667 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7669 # Allow CC to be a program name with arguments.
7673 # Check for command to grab the raw symbol name followed by C symbol from nm.
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7675 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7676 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7677 $as_echo_n "(cached
) " >&6
7680 # These are sane defaults that work on at least a few old systems.
7681 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7683 # Character class describing NM global symbol codes.
7684 symcode='[BCDEGRST]'
7686 # Regexp to match symbols that can be accessed directly from C.
7687 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7689 # Define system-specific variables.
7694 cygwin* | mingw* | pw32* | cegcc*)
7695 symcode='[ABCDGISTW]'
7698 if test "$host_cpu" = ia64; then
7699 symcode='[ABCDEGRST]'
7703 symcode='[BCDEGRST]'
7706 symcode='[BCDEGQRST]'
7717 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7725 # If we're using GNU nm, then use its standard symbol codes.
7726 case `$NM -V 2>&1` in
7727 *GNU* | *'with BFD'*)
7728 symcode='[ABCDGIRSTW]' ;;
7731 # Transform an extracted symbol line into a proper C declaration.
7732 # Some systems (esp. on ia64) link data and code symbols differently,
7733 # so use this general approach.
7734 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7736 # Transform an extracted symbol line into symbol name and symbol address
7737 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7738 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'"
7740 # Handle CRLF in mingw tool chain
7744 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7748 # Try without a prefix underscore, then with it.
7749 for ac_symprfx in "" "_
"; do
7751 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7752 symxfrm="\\1 $ac_symprfx\\2 \\2"
7754 # Write the raw and C identifiers.
7755 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7756 # Fake it for dumpbin and say T for any non-static function
7757 # and D for any global variable.
7758 # Also find C++ and __fastcall symbols from MSVC++,
7759 # which start with @ or ?.
7760 lt_cv_sys_global_symbol_pipe="$AWK '"\
7761 " {last_section=section; section=\$ 3};"\
7762 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7763 " \$ 0!~/External *\|/{next};"\
7764 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7765 " {if(hide[section]) next};"\
7766 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7767 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7768 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7769 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7770 " ' prfx
=^
$ac_symprfx"
7772 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7775 # Check to see that the pipe works correctly.
7779 cat > conftest.$ac_ext <<_LT_EOF
7784 void nm_test_func(void);
7785 void nm_test_func(void){}
7789 int main(){nm_test_var='a';nm_test_func();return(0);}
7792 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7793 (eval $ac_compile) 2>&5
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7796 test $ac_status = 0; }; then
7797 # Now try to grab the symbols.
7799 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7800 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7802 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7803 test $ac_status = 0; } && test -s "$nlist"; then
7804 # Try sorting and uniquifying the output.
7805 if sort "$nlist" | uniq > "$nlist"T; then
7806 mv -f "$nlist"T "$nlist"
7811 # Make sure that we snagged all the symbols we need.
7812 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7813 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7814 cat <<_LT_EOF > conftest.$ac_ext
7820 # Now generate the symbol file.
7821 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7823 cat <<_LT_EOF >> conftest.$ac_ext
7825 /* The mapping between symbol names and symbols. */
7830 lt__PROGRAM__LTX_preloaded_symbols[] =
7832 { "@PROGRAM@
", (void *) 0 },
7834 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7835 cat <<\_LT_EOF >> conftest.$ac_ext
7839 /* This works around a problem in FreeBSD linker */
7840 #ifdef FREEBSD_WORKAROUND
7841 static const void *lt_preloaded_setup() {
7842 return lt__PROGRAM__LTX_preloaded_symbols;
7850 # Now try linking the two files.
7851 mv conftest.$ac_objext conftstm.$ac_objext
7852 lt_save_LIBS="$LIBS"
7853 lt_save_CFLAGS="$CFLAGS"
7854 LIBS="conftstm.
$ac_objext"
7855 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7856 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7857 (eval $ac_link) 2>&5
7859 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7860 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7863 LIBS="$lt_save_LIBS"
7864 CFLAGS="$lt_save_CFLAGS"
7866 echo "cannot
find nm_test_func
in $nlist" >&5
7869 echo "cannot
find nm_test_var
in $nlist" >&5
7872 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7875 echo "$progname: failed program was
:" >&5
7876 cat conftest.$ac_ext >&5
7878 rm -rf conftest* conftst*
7880 # Do not use the global_symbol_pipe unless it works.
7881 if test "$pipe_works" = yes; then
7884 lt_cv_sys_global_symbol_pipe=
7890 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7891 lt_cv_sys_global_symbol_to_cdecl=
7893 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7895 $as_echo "failed
" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7898 $as_echo "ok
" >&6; }
7922 # Check whether --enable-libtool-lock was given.
7923 if test "${enable_libtool_lock+set}" = set; then :
7924 enableval=$enable_libtool_lock;
7927 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7929 # Some flags need to be propagated to the compiler or linker for good
7933 # Find out which ABI we are using.
7934 echo 'int i;' > conftest.$ac_ext
7935 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7936 (eval $ac_compile) 2>&5
7938 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7939 test $ac_status = 0; }; then
7940 case `/usr/bin/file conftest.$ac_objext` in
7952 # Find out which ABI we are using.
7953 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7954 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7955 (eval $ac_compile) 2>&5
7957 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7958 test $ac_status = 0; }; then
7959 if test "$lt_cv_prog_gnu_ld" = yes; then
7960 case `/usr/bin/file conftest.$ac_objext` in
7962 LD="${LD-ld} -melf32bsmip"
7965 LD="${LD-ld} -melf32bmipn32"
7968 LD="${LD-ld} -melf64bmip"
7972 case `/usr/bin/file conftest.$ac_objext` in
7988 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7989 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7990 # Find out which ABI we are using.
7991 echo 'int i;' > conftest.$ac_ext
7992 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7993 (eval $ac_compile) 2>&5
7995 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7996 test $ac_status = 0; }; then
7997 case `/usr/bin/file conftest.o` in
8000 x86_64-*kfreebsd*-gnu)
8001 LD="${LD-ld} -m elf_i386_fbsd
"
8004 case `/usr/bin/file conftest.o` in
8006 LD="${LD-ld} -m elf32_x86_64
"
8009 LD="${LD-ld} -m elf_i386
"
8013 powerpc64le-*linux*)
8014 LD="${LD-ld} -m elf32lppclinux
"
8017 LD="${LD-ld} -m elf32ppclinux
"
8020 LD="${LD-ld} -m elf_s390
"
8023 LD="${LD-ld} -m elf32_sparc
"
8029 x86_64-*kfreebsd*-gnu)
8030 LD="${LD-ld} -m elf_x86_64_fbsd
"
8033 LD="${LD-ld} -m elf_x86_64
"
8036 LD="${LD-ld} -m elf64lppc
"
8039 LD="${LD-ld} -m elf64ppc
"
8041 s390*-*linux*|s390*-*tpf*)
8042 LD="${LD-ld} -m elf64_s390
"
8045 LD="${LD-ld} -m elf64_sparc
"
8055 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8056 SAVE_CFLAGS="$CFLAGS"
8057 CFLAGS="$CFLAGS -belf"
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8059 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8060 if ${lt_cv_cc_needs_belf+:} false; then :
8061 $as_echo_n "(cached
) " >&6
8064 ac_cpp='$CPP $CPPFLAGS'
8065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8080 if ac_fn_c_try_link "$LINENO"; then :
8081 lt_cv_cc_needs_belf=yes
8083 lt_cv_cc_needs_belf=no
8085 rm -f core conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8088 ac_cpp='$CPP $CPPFLAGS'
8089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8095 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8096 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8097 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8098 CFLAGS="$SAVE_CFLAGS"
8102 # Find out which ABI we are using.
8103 echo 'int i;' > conftest.$ac_ext
8104 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8105 (eval $ac_compile) 2>&5
8107 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8108 test $ac_status = 0; }; then
8109 case `/usr/bin/file conftest.o` in
8111 case $lt_cv_prog_gnu_ld in
8112 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8114 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8126 need_locks="$enable_libtool_lock"
8130 rhapsody* | darwin*)
8131 if test -n "$ac_tool_prefix"; then
8132 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8133 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8135 $as_echo_n "checking
for $ac_word...
" >&6; }
8136 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8137 $as_echo_n "(cached
) " >&6
8139 if test -n "$DSYMUTIL"; then
8140 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8149 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8159 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8160 if test -n "$DSYMUTIL"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8162 $as_echo "$DSYMUTIL" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8165 $as_echo "no
" >&6; }
8170 if test -z "$ac_cv_prog_DSYMUTIL"; then
8171 ac_ct_DSYMUTIL=$DSYMUTIL
8172 # Extract the first word of "dsymutil
", so it can be a program name with args.
8173 set dummy dsymutil; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$ac_ct_DSYMUTIL"; then
8180 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8189 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8199 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8200 if test -n "$ac_ct_DSYMUTIL"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8202 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8208 if test "x
$ac_ct_DSYMUTIL" = x; then
8211 case $cross_compiling:$ac_tool_warned in
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8214 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8215 ac_tool_warned=yes ;;
8217 DSYMUTIL=$ac_ct_DSYMUTIL
8220 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8223 if test -n "$ac_tool_prefix"; then
8224 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8225 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8227 $as_echo_n "checking
for $ac_word...
" >&6; }
8228 if ${ac_cv_prog_NMEDIT+:} false; then :
8229 $as_echo_n "(cached
) " >&6
8231 if test -n "$NMEDIT"; then
8232 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8251 NMEDIT=$ac_cv_prog_NMEDIT
8252 if test -n "$NMEDIT"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8254 $as_echo "$NMEDIT" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8257 $as_echo "no
" >&6; }
8262 if test -z "$ac_cv_prog_NMEDIT"; then
8263 ac_ct_NMEDIT=$NMEDIT
8264 # Extract the first word of "nmedit
", so it can be a program name with args.
8265 set dummy nmedit; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8267 $as_echo_n "checking
for $ac_word...
" >&6; }
8268 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8269 $as_echo_n "(cached
) " >&6
8271 if test -n "$ac_ct_NMEDIT"; then
8272 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8291 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8292 if test -n "$ac_ct_NMEDIT"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8294 $as_echo "$ac_ct_NMEDIT" >&6; }
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8297 $as_echo "no
" >&6; }
8300 if test "x
$ac_ct_NMEDIT" = x; then
8303 case $cross_compiling:$ac_tool_warned in
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8306 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8307 ac_tool_warned=yes ;;
8309 NMEDIT=$ac_ct_NMEDIT
8312 NMEDIT="$ac_cv_prog_NMEDIT"
8315 if test -n "$ac_tool_prefix"; then
8316 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8317 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8319 $as_echo_n "checking
for $ac_word...
" >&6; }
8320 if ${ac_cv_prog_LIPO+:} false; then :
8321 $as_echo_n "(cached
) " >&6
8323 if test -n "$LIPO"; then
8324 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 test -z "$as_dir" && as_dir=.
8331 for ac_exec_ext in '' $ac_executable_extensions; do
8332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8333 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8343 LIPO=$ac_cv_prog_LIPO
8344 if test -n "$LIPO"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8346 $as_echo "$LIPO" >&6; }
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8349 $as_echo "no
" >&6; }
8354 if test -z "$ac_cv_prog_LIPO"; then
8356 # Extract the first word of "lipo
", so it can be a program name with args.
8357 set dummy lipo; ac_word=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8359 $as_echo_n "checking
for $ac_word...
" >&6; }
8360 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8361 $as_echo_n "(cached
) " >&6
8363 if test -n "$ac_ct_LIPO"; then
8364 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir=.
8371 for ac_exec_ext in '' $ac_executable_extensions; do
8372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8373 ac_cv_prog_ac_ct_LIPO="lipo
"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8383 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8384 if test -n "$ac_ct_LIPO"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8386 $as_echo "$ac_ct_LIPO" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8389 $as_echo "no
" >&6; }
8392 if test "x
$ac_ct_LIPO" = x; then
8395 case $cross_compiling:$ac_tool_warned in
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8398 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8399 ac_tool_warned=yes ;;
8404 LIPO="$ac_cv_prog_LIPO"
8407 if test -n "$ac_tool_prefix"; then
8408 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8409 set dummy ${ac_tool_prefix}otool; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8411 $as_echo_n "checking
for $ac_word...
" >&6; }
8412 if ${ac_cv_prog_OTOOL+:} false; then :
8413 $as_echo_n "(cached
) " >&6
8415 if test -n "$OTOOL"; then
8416 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8425 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 OTOOL=$ac_cv_prog_OTOOL
8436 if test -n "$OTOOL"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8438 $as_echo "$OTOOL" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8441 $as_echo "no
" >&6; }
8446 if test -z "$ac_cv_prog_OTOOL"; then
8448 # Extract the first word of "otool
", so it can be a program name with args.
8449 set dummy otool; ac_word=$2
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8451 $as_echo_n "checking
for $ac_word...
" >&6; }
8452 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8453 $as_echo_n "(cached
) " >&6
8455 if test -n "$ac_ct_OTOOL"; then
8456 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8462 test -z "$as_dir" && as_dir=.
8463 for ac_exec_ext in '' $ac_executable_extensions; do
8464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8465 ac_cv_prog_ac_ct_OTOOL="otool
"
8466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8475 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8476 if test -n "$ac_ct_OTOOL"; then
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8478 $as_echo "$ac_ct_OTOOL" >&6; }
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8481 $as_echo "no
" >&6; }
8484 if test "x
$ac_ct_OTOOL" = x; then
8487 case $cross_compiling:$ac_tool_warned in
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8490 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8491 ac_tool_warned=yes ;;
8496 OTOOL="$ac_cv_prog_OTOOL"
8499 if test -n "$ac_tool_prefix"; then
8500 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8501 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8503 $as_echo_n "checking
for $ac_word...
" >&6; }
8504 if ${ac_cv_prog_OTOOL64+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 if test -n "$OTOOL64"; then
8508 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8527 OTOOL64=$ac_cv_prog_OTOOL64
8528 if test -n "$OTOOL64"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8530 $as_echo "$OTOOL64" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8533 $as_echo "no
" >&6; }
8538 if test -z "$ac_cv_prog_OTOOL64"; then
8539 ac_ct_OTOOL64=$OTOOL64
8540 # Extract the first word of "otool64
", so it can be a program name with args.
8541 set dummy otool64; ac_word=$2
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8543 $as_echo_n "checking
for $ac_word...
" >&6; }
8544 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8545 $as_echo_n "(cached
) " >&6
8547 if test -n "$ac_ct_OTOOL64"; then
8548 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8554 test -z "$as_dir" && as_dir=.
8555 for ac_exec_ext in '' $ac_executable_extensions; do
8556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8557 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8567 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8568 if test -n "$ac_ct_OTOOL64"; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8570 $as_echo "$ac_ct_OTOOL64" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8573 $as_echo "no
" >&6; }
8576 if test "x
$ac_ct_OTOOL64" = x; then
8579 case $cross_compiling:$ac_tool_warned in
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8582 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8583 ac_tool_warned=yes ;;
8585 OTOOL64=$ac_ct_OTOOL64
8588 OTOOL64="$ac_cv_prog_OTOOL64"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8618 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8619 if ${lt_cv_apple_cc_single_mod+:} false; then :
8620 $as_echo_n "(cached
) " >&6
8622 lt_cv_apple_cc_single_mod=no
8623 if test -z "${LT_MULTI_MODULE}"; then
8624 # By default we will add the -single_module flag. You can override
8625 # by either setting the environment variable LT_MULTI_MODULE
8626 # non-empty at configure time, or by adding -multi_module to the
8628 rm -rf libconftest.dylib*
8629 echo "int foo
(void
){return 1;}" > conftest.c
8630 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8631 -dynamiclib -Wl,-single_module conftest.c
" >&5
8632 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8633 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8635 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8636 lt_cv_apple_cc_single_mod=yes
8638 cat conftest.err >&5
8640 rm -rf libconftest.dylib*
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8645 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8647 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8648 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 lt_cv_ld_exported_symbols_list=no
8652 save_LDFLAGS=$LDFLAGS
8653 echo "_main
" > conftest.sym
8654 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 lt_cv_ld_exported_symbols_list=yes
8669 lt_cv_ld_exported_symbols_list=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 LDFLAGS="$save_LDFLAGS"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8677 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8679 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8680 if ${lt_cv_ld_force_load+:} false; then :
8681 $as_echo_n "(cached
) " >&6
8683 lt_cv_ld_force_load=no
8684 cat > conftest.c << _LT_EOF
8685 int forced_loaded() { return 2;}
8687 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8688 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8689 echo "$AR cru libconftest.a conftest.o
" >&5
8690 $AR cru libconftest.a conftest.o 2>&5
8691 cat > conftest.c << _LT_EOF
8692 int main() { return 0;}
8694 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8695 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8697 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8698 lt_cv_ld_force_load=yes
8700 cat conftest.err >&5
8702 rm -f conftest.err libconftest.a conftest conftest.c
8703 rm -rf conftest.dSYM
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8707 $as_echo "$lt_cv_ld_force_load" >&6; }
8709 rhapsody* | darwin1.[012])
8710 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8712 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8713 darwin*) # darwin 5.x on
8714 # if running on 10.5 or later, the deployment target defaults
8715 # to the OS version, if on x86, and 10.4, the deployment
8716 # target defaults to 10.4. Don't you love it?
8717 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8718 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8719 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8721 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8723 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8727 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8728 _lt_dar_single_mod='$single_module'
8730 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8731 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8733 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8735 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8736 _lt_dsymutil='~$DSYMUTIL $lib || :'
8743 for ac_header in dlfcn.h
8745 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8747 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8748 cat >>confdefs.h <<_ACEOF
8749 #define HAVE_DLFCN_H 1
8769 # Check whether --enable-shared was given.
8770 if test "${enable_shared+set}" = set; then :
8771 enableval=$enable_shared; p=${PACKAGE-default}
8773 yes) enable_shared=yes ;;
8774 no) enable_shared=no ;;
8777 # Look at the argument we got. We use all the common list separators.
8778 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8779 for pkg in $enableval; do
8781 if test "X
$pkg" = "X
$p"; then
8800 # Check whether --enable-static was given.
8801 if test "${enable_static+set}" = set; then :
8802 enableval=$enable_static; p=${PACKAGE-default}
8804 yes) enable_static=yes ;;
8805 no) enable_static=no ;;
8808 # Look at the argument we got. We use all the common list separators.
8809 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8810 for pkg in $enableval; do
8812 if test "X
$pkg" = "X
$p"; then
8832 # Check whether --with-pic was given.
8833 if test "${with_pic+set}" = set; then :
8834 withval=$with_pic; pic_mode="$withval"
8840 test -z "$pic_mode" && pic_mode=default
8848 # Check whether --enable-fast-install was given.
8849 if test "${enable_fast_install+set}" = set; then :
8850 enableval=$enable_fast_install; p=${PACKAGE-default}
8852 yes) enable_fast_install=yes ;;
8853 no) enable_fast_install=no ;;
8855 enable_fast_install=no
8856 # Look at the argument we got. We use all the common list separators.
8857 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8858 for pkg in $enableval; do
8860 if test "X
$pkg" = "X
$p"; then
8861 enable_fast_install=yes
8868 enable_fast_install=yes
8881 # This can be used to rebuild libtool when needed
8882 LIBTOOL_DEPS="$ltmain"
8884 # Always use our own libtool.
8885 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8912 test -z "$LN_S" && LN_S="ln -s"
8927 if test -n "${ZSH_VERSION+set}" ; then
8928 setopt NO_GLOB_SUBST
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8932 $as_echo_n "checking
for objdir...
" >&6; }
8933 if ${lt_cv_objdir+:} false; then :
8934 $as_echo_n "(cached
) " >&6
8936 rm -f .libs 2>/dev/null
8937 mkdir .libs 2>/dev/null
8938 if test -d .libs; then
8941 # MS-DOS does not allow filenames that begin with a dot.
8944 rmdir .libs 2>/dev/null
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8947 $as_echo "$lt_cv_objdir" >&6; }
8948 objdir=$lt_cv_objdir
8954 cat >>confdefs.h <<_ACEOF
8955 #define LT_OBJDIR "$lt_cv_objdir/"
8963 # AIX sometimes has problems with the GCC collect2 program. For some
8964 # reason, if we set the COLLECT_NAMES environment variable, the problems
8965 # vanish in a puff of smoke.
8966 if test "X
${COLLECT_NAMES+set}" != Xset; then
8968 export COLLECT_NAMES
8975 can_build_shared=yes
8977 # All known linkers require a `.a' archive for static linking (except MSVC,
8978 # which needs '.lib').
8981 with_gnu_ld="$lt_cv_prog_gnu_ld"
8984 old_CFLAGS="$CFLAGS"
8986 # Set sane defaults for various variables
8987 test -z "$CC" && CC=cc
8988 test -z "$LTCC" && LTCC=$CC
8989 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8990 test -z "$LD" && LD=ld
8991 test -z "$ac_objext" && ac_objext=o
8993 for cc_temp in $compiler""; do
8995 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8996 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9001 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9004 # Only perform the check for file, if the check method requires it
9005 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9006 case $deplibs_check_method in
9008 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9010 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9011 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9012 $as_echo_n "(cached
) " >&6
9016 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9019 lt_save_MAGIC_CMD="$MAGIC_CMD"
9020 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9021 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9022 for ac_dir in $ac_dummy; do
9024 test -z "$ac_dir" && ac_dir=.
9025 if test -f $ac_dir/${ac_tool_prefix}file; then
9026 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9027 if test -n "$file_magic_test_file"; then
9028 case $deplibs_check_method in
9030 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9031 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9033 $EGREP "$file_magic_regex" > /dev/null; then
9038 *** Warning: the command libtool uses to detect shared libraries,
9039 *** $file_magic_cmd, produces output that libtool cannot recognize.
9040 *** The result is that libtool may fail to recognize shared libraries
9041 *** as such. This will affect the creation of libtool libraries that
9042 *** depend on shared libraries, but programs linked with such libtool
9043 *** libraries will work regardless of this problem. Nevertheless, you
9044 *** may want to report the problem to your system manager and/or to
9045 *** bug-libtool@gnu.org
9055 MAGIC_CMD="$lt_save_MAGIC_CMD"
9060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9061 if test -n "$MAGIC_CMD"; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9063 $as_echo "$MAGIC_CMD" >&6; }
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9066 $as_echo "no
" >&6; }
9073 if test -z "$lt_cv_path_MAGIC_CMD"; then
9074 if test -n "$ac_tool_prefix"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9076 $as_echo_n "checking
for file...
" >&6; }
9077 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9078 $as_echo_n "(cached
) " >&6
9082 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9085 lt_save_MAGIC_CMD="$MAGIC_CMD"
9086 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9087 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9088 for ac_dir in $ac_dummy; do
9090 test -z "$ac_dir" && ac_dir=.
9091 if test -f $ac_dir/file; then
9092 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9093 if test -n "$file_magic_test_file"; then
9094 case $deplibs_check_method in
9096 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9097 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9098 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9099 $EGREP "$file_magic_regex" > /dev/null; then
9104 *** Warning: the command libtool uses to detect shared libraries,
9105 *** $file_magic_cmd, produces output that libtool cannot recognize.
9106 *** The result is that libtool may fail to recognize shared libraries
9107 *** as such. This will affect the creation of libtool libraries that
9108 *** depend on shared libraries, but programs linked with such libtool
9109 *** libraries will work regardless of this problem. Nevertheless, you
9110 *** may want to report the problem to your system manager and/or to
9111 *** bug-libtool@gnu.org
9121 MAGIC_CMD="$lt_save_MAGIC_CMD"
9126 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9127 if test -n "$MAGIC_CMD"; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9129 $as_echo "$MAGIC_CMD" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9132 $as_echo "no
" >&6; }
9145 # Use C for the default configuration in the libtool script
9149 ac_cpp='$CPP $CPPFLAGS'
9150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9155 # Source file extension for C test sources.
9158 # Object file extension for compiled C test sources.
9162 # Code to be used in simple compile tests
9163 lt_simple_compile_test_code="int some_variable
= 0;"
9165 # Code to be used in simple link tests
9166 lt_simple_link_test_code='int main(){return(0);}'
9174 # If no C compiler was specified, use CC.
9177 # If no C compiler flags were specified, use CFLAGS.
9178 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9180 # Allow CC to be a program name with arguments.
9183 # Save the default compiler, since it gets overwritten when the other
9184 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9185 compiler_DEFAULT=$CC
9187 # save warnings/boilerplate of simple test code
9188 ac_outfile=conftest.$ac_objext
9189 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9190 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9191 _lt_compiler_boilerplate=`cat conftest.err`
9194 ac_outfile=conftest.$ac_objext
9195 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9196 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9197 _lt_linker_boilerplate=`cat conftest.err`
9202 ## There is no encapsulation within the following macros, do not change
9203 ## the running order or otherwise move them around unless you know exactly
9204 ## what you are doing...
9205 if test -n "$compiler"; then
9207 lt_prog_compiler_no_builtin_flag=
9209 if test "$GCC" = yes; then
9210 case $cc_basename in
9212 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9214 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9218 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9219 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9220 $as_echo_n "(cached
) " >&6
9222 lt_cv_prog_compiler_rtti_exceptions=no
9223 ac_outfile=conftest.$ac_objext
9224 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9225 lt_compiler_flag="-fno-rtti -fno-exceptions"
9226 # Insert the option either (1) after the last *FLAGS variable, or
9227 # (2) before a word containing "conftest.
", or (3) at the end.
9228 # Note that $ac_compile itself does not contain backslashes and begins
9229 # with a dollar sign (not a hyphen), so the echo should work correctly.
9230 # The option is referenced via a variable to avoid confusing sed.
9231 lt_compile=`echo "$ac_compile" | $SED \
9232 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9233 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9234 -e 's:$: $lt_compiler_flag:'`
9235 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9236 (eval "$lt_compile" 2>conftest.err)
9238 cat conftest.err >&5
9239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9240 if (exit $ac_status) && test -s "$ac_outfile"; then
9241 # The compiler can only warn and ignore the option if not recognized
9242 # So say no if there are warnings other than the usual output.
9243 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9244 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9245 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9246 lt_cv_prog_compiler_rtti_exceptions=yes
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9253 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9255 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9256 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9268 lt_prog_compiler_wl=
9269 lt_prog_compiler_pic=
9270 lt_prog_compiler_static=
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9273 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9275 if test "$GCC" = yes; then
9276 lt_prog_compiler_wl='-Wl,'
9277 lt_prog_compiler_static='-static'
9281 # All AIX code is PIC.
9282 if test "$host_cpu" = ia64; then
9283 # AIX 5 now supports IA64 processor
9284 lt_prog_compiler_static='-Bstatic'
9286 lt_prog_compiler_pic='-fPIC'
9292 # see comment about AmigaOS4 .so support
9293 lt_prog_compiler_pic='-fPIC'
9296 # FIXME: we need at least 68020 code to build shared libraries, but
9297 # adding the `-m68020' flag to GCC prevents building anything better,
9299 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9304 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9305 # PIC is the default for these OSes.
9308 mingw* | cygwin* | pw32* | os2* | cegcc*)
9309 # This hack is so that the source file can tell whether it is being
9310 # built for inclusion in a dll (and should export symbols for example).
9311 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9312 # (--disable-auto-import) libraries
9313 lt_prog_compiler_pic='-DDLL_EXPORT'
9316 darwin* | rhapsody*)
9317 # PIC is the default on this platform
9318 # Common symbols not allowed in MH_DYLIB files
9319 lt_prog_compiler_pic='-fno-common'
9323 # PIC is the default for Haiku.
9324 # The "-static" flag exists, but is broken.
9325 lt_prog_compiler_static=
9329 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9330 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9331 # sets the default TLS model and affects inlining.
9337 lt_prog_compiler_pic='-fPIC'
9343 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9344 # Instead, we relocate shared libraries at runtime.
9348 # Just because we use GCC doesn't mean we suddenly get shared libraries
9349 # on systems that don't support them.
9350 lt_prog_compiler_can_build_shared=no
9355 # QNX uses GNU C++, but need to define -shared option too, otherwise
9357 lt_prog_compiler_pic='-fPIC -shared'
9361 if test -d /usr/nec; then
9362 lt_prog_compiler_pic=-Kconform_pic
9367 lt_prog_compiler_pic='-fPIC'
9371 case $cc_basename in
9372 nvcc*) # Cuda Compiler Driver 2.2
9373 lt_prog_compiler_wl='-Xlinker '
9374 lt_prog_compiler_pic='-Xcompiler -fPIC'
9378 # PORTME Check for flag to pass linker flags through the system compiler.
9381 lt_prog_compiler_wl='-Wl,'
9382 if test "$host_cpu" = ia64; then
9383 # AIX 5 now supports IA64 processor
9384 lt_prog_compiler_static='-Bstatic'
9386 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9390 mingw* | cygwin* | pw32* | os2* | cegcc*)
9391 # This hack is so that the source file can tell whether it is being
9392 # built for inclusion in a dll (and should export symbols for example).
9393 lt_prog_compiler_pic='-DDLL_EXPORT'
9396 hpux9* | hpux10* | hpux11*)
9397 lt_prog_compiler_wl='-Wl,'
9398 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9405 lt_prog_compiler_pic='+Z'
9408 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9409 lt_prog_compiler_static='${wl}-a ${wl}archive'
9412 irix5* | irix6* | nonstopux*)
9413 lt_prog_compiler_wl='-Wl,'
9414 # PIC (with -KPIC) is the default.
9415 lt_prog_compiler_static='-non_shared'
9418 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9419 case $cc_basename in
9420 # old Intel for x86_64 which still supported -KPIC.
9422 lt_prog_compiler_wl='-Wl,'
9423 lt_prog_compiler_pic='-KPIC'
9424 lt_prog_compiler_static='-static'
9426 # icc used to be incompatible with GCC.
9427 # ICC 10 doesn't accept -KPIC any more.
9429 lt_prog_compiler_wl='-Wl,'
9430 lt_prog_compiler_pic='-fPIC'
9431 lt_prog_compiler_static='-static'
9433 # Lahey Fortran 8.1.
9435 lt_prog_compiler_wl='-Wl,'
9436 lt_prog_compiler_pic='--shared'
9437 lt_prog_compiler_static='--static'
9439 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9440 # Portland Group compilers (*not* the Pentium gcc compiler,
9441 # which looks to be a dead project)
9442 lt_prog_compiler_wl='-Wl,'
9443 lt_prog_compiler_pic='-fpic'
9444 lt_prog_compiler_static='-Bstatic'
9447 lt_prog_compiler_wl='-Wl,'
9448 # All Alpha code is PIC.
9449 lt_prog_compiler_static='-non_shared'
9451 xl* | bgxl* | bgf* | mpixl*)
9452 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9453 lt_prog_compiler_wl='-Wl,'
9454 lt_prog_compiler_pic='-qpic'
9455 lt_prog_compiler_static='-qstaticlink'
9458 case `$CC -V 2>&1 | sed 5q` in
9459 *Sun\ F* | *Sun*Fortran*)
9460 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9461 lt_prog_compiler_pic='-KPIC'
9462 lt_prog_compiler_static='-Bstatic'
9463 lt_prog_compiler_wl=''
9467 lt_prog_compiler_pic='-KPIC'
9468 lt_prog_compiler_static='-Bstatic'
9469 lt_prog_compiler_wl='-Wl,'
9477 lt_prog_compiler_pic='-KPIC'
9478 lt_prog_compiler_static='-Bstatic'
9482 # QNX uses GNU C++, but need to define -shared option too, otherwise
9484 lt_prog_compiler_pic='-fPIC -shared'
9487 osf3* | osf4* | osf5*)
9488 lt_prog_compiler_wl='-Wl,'
9489 # All OSF/1 code is PIC.
9490 lt_prog_compiler_static='-non_shared'
9494 lt_prog_compiler_static='-non_shared'
9498 lt_prog_compiler_pic='-KPIC'
9499 lt_prog_compiler_static='-Bstatic'
9500 case $cc_basename in
9502 lt_prog_compiler_wl='-Qoption ld ';;
9504 lt_prog_compiler_wl='-Wl,';;
9509 lt_prog_compiler_wl='-Qoption ld '
9510 lt_prog_compiler_pic='-PIC'
9511 lt_prog_compiler_static='-Bstatic'
9514 sysv4 | sysv4.2uw2* | sysv4.3*)
9515 lt_prog_compiler_wl='-Wl,'
9516 lt_prog_compiler_pic='-KPIC'
9517 lt_prog_compiler_static='-Bstatic'
9521 if test -d /usr/nec ;then
9522 lt_prog_compiler_pic='-Kconform_pic'
9523 lt_prog_compiler_static='-Bstatic'
9527 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9528 lt_prog_compiler_wl='-Wl,'
9529 lt_prog_compiler_pic='-KPIC'
9530 lt_prog_compiler_static='-Bstatic'
9534 lt_prog_compiler_wl='-Wl,'
9535 lt_prog_compiler_can_build_shared=no
9539 lt_prog_compiler_pic='-pic'
9540 lt_prog_compiler_static='-Bstatic'
9544 lt_prog_compiler_can_build_shared=no
9550 # For platforms which do not support PIC, -DPIC is meaningless:
9552 lt_prog_compiler_pic=
9555 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9559 $as_echo "$lt_prog_compiler_pic" >&6; }
9567 # Check to make sure the PIC flag actually works.
9569 if test -n "$lt_prog_compiler_pic"; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9571 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9572 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9573 $as_echo_n "(cached
) " >&6
9575 lt_cv_prog_compiler_pic_works=no
9576 ac_outfile=conftest.$ac_objext
9577 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9578 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9579 # Insert the option either (1) after the last *FLAGS variable, or
9580 # (2) before a word containing "conftest.
", or (3) at the end.
9581 # Note that $ac_compile itself does not contain backslashes and begins
9582 # with a dollar sign (not a hyphen), so the echo should work correctly.
9583 # The option is referenced via a variable to avoid confusing sed.
9584 lt_compile=`echo "$ac_compile" | $SED \
9585 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9586 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9587 -e 's:$: $lt_compiler_flag:'`
9588 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9589 (eval "$lt_compile" 2>conftest.err)
9591 cat conftest.err >&5
9592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9593 if (exit $ac_status) && test -s "$ac_outfile"; then
9594 # The compiler can only warn and ignore the option if not recognized
9595 # So say no if there are warnings other than the usual output.
9596 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9598 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9599 lt_cv_prog_compiler_pic_works=yes
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9606 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9608 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9609 case $lt_prog_compiler_pic in
9611 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9614 lt_prog_compiler_pic=
9615 lt_prog_compiler_can_build_shared=no
9626 # Check to make sure the static flag actually works.
9628 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9630 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9631 if ${lt_cv_prog_compiler_static_works+:} false; then :
9632 $as_echo_n "(cached
) " >&6
9634 lt_cv_prog_compiler_static_works=no
9635 save_LDFLAGS="$LDFLAGS"
9636 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9637 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9638 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9639 # The linker can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 if test -s conftest.err; then
9642 # Append any errors to the config.log.
9643 cat conftest.err 1>&5
9644 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9645 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9646 if diff conftest.exp conftest.er2 >/dev/null; then
9647 lt_cv_prog_compiler_static_works=yes
9650 lt_cv_prog_compiler_static_works=yes
9654 LDFLAGS="$save_LDFLAGS"
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9658 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9660 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9663 lt_prog_compiler_static=
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9673 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9674 if ${lt_cv_prog_compiler_c_o+:} false; then :
9675 $as_echo_n "(cached
) " >&6
9677 lt_cv_prog_compiler_c_o=no
9678 $RM -r conftest 2>/dev/null
9682 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9684 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9685 # Insert the option either (1) after the last *FLAGS variable, or
9686 # (2) before a word containing "conftest.
", or (3) at the end.
9687 # Note that $ac_compile itself does not contain backslashes and begins
9688 # with a dollar sign (not a hyphen), so the echo should work correctly.
9689 lt_compile=`echo "$ac_compile" | $SED \
9690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9692 -e 's:$: $lt_compiler_flag:'`
9693 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9694 (eval "$lt_compile" 2>out/conftest.err)
9696 cat out/conftest.err >&5
9697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9698 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9700 # The compiler can only warn and ignore the option if not recognized
9701 # So say no if there are warnings
9702 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9703 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9704 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9705 lt_cv_prog_compiler_c_o=yes
9710 # SGI C++ compiler will create directory out/ii_files/ for
9711 # template instantiation
9712 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9713 $RM out/* && rmdir out
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9720 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9728 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9729 if ${lt_cv_prog_compiler_c_o+:} false; then :
9730 $as_echo_n "(cached
) " >&6
9732 lt_cv_prog_compiler_c_o=no
9733 $RM -r conftest 2>/dev/null
9737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9739 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9740 # Insert the option either (1) after the last *FLAGS variable, or
9741 # (2) before a word containing "conftest.
", or (3) at the end.
9742 # Note that $ac_compile itself does not contain backslashes and begins
9743 # with a dollar sign (not a hyphen), so the echo should work correctly.
9744 lt_compile=`echo "$ac_compile" | $SED \
9745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9747 -e 's:$: $lt_compiler_flag:'`
9748 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9749 (eval "$lt_compile" 2>out/conftest.err)
9751 cat out/conftest.err >&5
9752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9753 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9755 # The compiler can only warn and ignore the option if not recognized
9756 # So say no if there are warnings
9757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler_c_o=yes
9765 # SGI C++ compiler will create directory out/ii_files/ for
9766 # template instantiation
9767 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9768 $RM out/* && rmdir out
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9780 hard_links="nottested
"
9781 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9782 # do not overwrite the value of need_locks provided by the user
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9784 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9789 ln conftest.a conftest.b 2>&5 || hard_links=no
9790 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9792 $as_echo "$hard_links" >&6; }
9793 if test "$hard_links" = no; then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9795 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9808 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9811 allow_undefined_flag=
9812 always_export_symbols=no
9814 archive_expsym_cmds=
9815 compiler_needs_object=no
9816 enable_shared_with_static_runtimes=no
9817 export_dynamic_flag_spec=
9818 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9819 hardcode_automatic=no
9821 hardcode_direct_absolute=no
9822 hardcode_libdir_flag_spec=
9823 hardcode_libdir_flag_spec_ld=
9824 hardcode_libdir_separator=
9826 hardcode_shlibpath_var=unsupported
9828 link_all_deplibs=unknown
9831 old_archive_from_new_cmds=
9832 old_archive_from_expsyms_cmds=
9833 thread_safe_flag_spec=
9834 whole_archive_flag_spec=
9835 # include_expsyms should be a list of space-separated symbols to be *always*
9836 # included in the symbol list
9838 # exclude_expsyms can be an extended regexp of symbols to exclude
9839 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9840 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9841 # as well as any symbol that contains `d'.
9842 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9843 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9844 # platforms (ab)use it in PIC code, but their linkers get confused if
9845 # the symbol is explicitly referenced. Since portable code cannot
9846 # rely on this symbol name, it's probably fine to never include it in
9847 # preloaded symbol tables.
9848 # Exclude shared library initialization/finalization symbols.
9849 extract_expsyms_cmds=
9852 cygwin* | mingw* | pw32* | cegcc*)
9853 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9854 # When not using gcc, we currently assume that we are using
9855 # Microsoft Visual C++.
9856 if test "$GCC" != yes; then
9861 # we just hope/assume this is gcc and not c89 (= MSVC++)
9871 # On some targets, GNU ld is compatible enough with the native linker
9872 # that we're better off using the native interface for both.
9873 lt_use_gnu_ld_interface=no
9874 if test "$with_gnu_ld" = yes; then
9877 # The AIX port of GNU ld has always aspired to compatibility
9878 # with the native linker. However, as the warning in the GNU ld
9879 # block says, versions before 2.19.5* couldn't really create working
9880 # shared libraries, regardless of the interface used.
9881 case `$LD -v 2>&1` in
9882 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9883 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9884 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9886 lt_use_gnu_ld_interface=yes
9891 lt_use_gnu_ld_interface=yes
9896 if test "$lt_use_gnu_ld_interface" = yes; then
9897 # If archive_cmds runs LD, not CC, wlarc should be empty
9900 # Set some defaults for GNU ld with shared library support. These
9901 # are reset later if shared libraries are not supported. Putting them
9902 # here allows them to be overridden if necessary.
9903 runpath_var=LD_RUN_PATH
9904 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9905 export_dynamic_flag_spec='${wl}--export-dynamic'
9906 # ancient GNU ld didn't support --whole-archive et. al.
9907 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9908 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9910 whole_archive_flag_spec=
9912 supports_anon_versioning=no
9913 case `$LD -v 2>&1` in
9914 *GNU\ gold*) supports_anon_versioning=yes ;;
9915 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9916 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9917 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9918 *\ 2.11.*) ;; # other 2.11 versions
9919 *) supports_anon_versioning=yes ;;
9922 # See if GNU ld supports shared libraries.
9925 # On AIX/PPC, the GNU linker is very broken
9926 if test "$host_cpu" != ia64; then
9930 *** Warning: the GNU linker, at least up to release 2.19, is reported
9931 *** to be unable to reliably create shared libraries on AIX.
9932 *** Therefore, libtool is disabling shared libraries support. If you
9933 *** really care for shared libraries, you may want to install binutils
9934 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9935 *** You will then need to restart the configuration process.
9944 # see comment about AmigaOS4 .so support
9945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946 archive_expsym_cmds=''
9949 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)'
9950 hardcode_libdir_flag_spec
='-L$libdir'
9951 hardcode_minus_L
=yes
9957 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9958 allow_undefined_flag
=unsupported
9959 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9960 # support --undefined. This deserves some investigation. FIXME
9961 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9967 cygwin
* | mingw
* | pw32
* | cegcc
*)
9968 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9969 # as there is no search path for DLLs.
9970 hardcode_libdir_flag_spec
='-L$libdir'
9971 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9972 allow_undefined_flag
=unsupported
9973 always_export_symbols
=no
9974 enable_shared_with_static_runtimes
=yes
9975 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9977 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9979 # If the export-symbols file already is a .def file (1st line
9980 # is EXPORTS), use it as is; otherwise, prepend...
9981 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9982 cp $export_symbols $output_objdir/$soname.def;
9984 echo EXPORTS > $output_objdir/$soname.def;
9985 cat $export_symbols >> $output_objdir/$soname.def;
9987 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9994 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9995 link_all_deplibs
=yes
10000 hardcode_shlibpath_var
=no
10001 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10002 export_dynamic_flag_spec
='${wl}-E'
10003 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10004 # Instead, shared libraries are loaded at an image base (0x10000000 by
10005 # default) and relocated if they conflict, which is a slow very memory
10006 # consuming and fragmenting process. To avoid this, we pick a random,
10007 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10008 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10009 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10010 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'
10013 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10015 if test "$host_os" = linux-dietlibc
; then
10016 case $cc_basename in
10017 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10020 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10021 && test "$tmp_diet" = no
10023 tmp_addflag
=' $pic_flag'
10024 tmp_sharedflag
='-shared'
10025 case $cc_basename,$host_cpu in
10026 pgcc
*) # Portland Group C compiler
10027 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'
10028 tmp_addflag
=' $pic_flag'
10030 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10031 # Portland Group f77 and f90 compilers
10032 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'
10033 tmp_addflag
=' $pic_flag -Mnomain' ;;
10034 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10035 tmp_addflag
=' -i_dynamic' ;;
10036 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10037 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10038 ifc
* | ifort
*) # Intel Fortran compiler
10039 tmp_addflag
=' -nofor_main' ;;
10040 lf95
*) # Lahey Fortran 8.1
10041 whole_archive_flag_spec
=
10042 tmp_sharedflag
='--shared' ;;
10043 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10044 tmp_sharedflag
='-qmkshrobj'
10046 nvcc
*) # Cuda Compiler Driver 2.2
10047 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'
10048 compiler_needs_object
=yes
10051 case `$CC -V 2>&1 | sed 5q` in
10052 *Sun\ C
*) # Sun C 5.9
10053 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'
10054 compiler_needs_object
=yes
10055 tmp_sharedflag
='-G' ;;
10056 *Sun\ F
*) # Sun Fortran 8.3
10057 tmp_sharedflag
='-G' ;;
10059 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10061 if test "x$supports_anon_versioning" = xyes
; then
10062 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10063 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10064 echo "local: *; };" >> $output_objdir/$libname.ver~
10065 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10068 case $cc_basename in
10069 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10070 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10071 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10072 hardcode_libdir_flag_spec
=
10073 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10074 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10075 if test "x$supports_anon_versioning" = xyes
; then
10076 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10077 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10078 echo "local: *; };" >> $output_objdir/$libname.ver~
10079 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10089 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10090 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10093 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10094 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10099 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10103 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10104 *** create shared libraries on Solaris systems. Therefore, libtool
10105 *** is disabling shared libraries support. We urge you to upgrade GNU
10106 *** binutils to release 2.9.1 or newer. Another option is to modify
10107 *** your PATH or compiler configuration so that the native linker is
10108 *** used, and then restart.
10111 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10112 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10113 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10119 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10120 case `$LD -v 2>&1` in
10121 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10125 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10126 *** reliably create shared libraries on SCO systems. Therefore, libtool
10127 *** is disabling shared libraries support. We urge you to upgrade GNU
10128 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10129 *** your PATH or compiler configuration so that the native linker is
10130 *** used, and then restart.
10135 # For security reasons, it is highly recommended that you always
10136 # use absolute paths for naming shared libraries, and exclude the
10137 # DT_RUNPATH tag from executables and libraries. But doing so
10138 # requires that you compile everything twice, which is a pain.
10139 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10140 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10141 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10142 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10151 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct
=yes
10154 hardcode_shlibpath_var
=no
10158 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10159 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10160 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10167 if test "$ld_shlibs" = no
; then
10169 hardcode_libdir_flag_spec
=
10170 export_dynamic_flag_spec
=
10171 whole_archive_flag_spec
=
10174 # PORTME fill in a description of your system's linker (not GNU ld)
10177 allow_undefined_flag
=unsupported
10178 always_export_symbols
=yes
10179 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'
10180 # Note: this linker hardcodes the directories in LIBPATH if there
10181 # are no directories specified by -L.
10182 hardcode_minus_L
=yes
10183 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10184 # Neither direct hardcoding nor static linking is supported with a
10186 hardcode_direct
=unsupported
10191 if test "$host_cpu" = ia64
; then
10192 # On IA64, the linker does run time linking by default, so we don't
10193 # have to do anything special.
10194 aix_use_runtimelinking
=no
10195 exp_sym_flag
='-Bexport'
10198 # If we're using GNU nm, then we don't want the "-C" option.
10199 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10200 # Also, AIX nm treats weak defined symbols like other global
10201 # defined symbols, whereas GNU nm marks them as "W".
10202 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10203 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'
10205 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'
10207 aix_use_runtimelinking
=no
10209 # Test if we are trying to use run time linking or normal
10210 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10211 # need to do runtime linking.
10212 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10213 for ld_flag
in $LDFLAGS; do
10214 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10215 aix_use_runtimelinking
=yes
10222 exp_sym_flag
='-bexport'
10223 no_entry_flag
='-bnoentry'
10226 # When large executables or shared objects are built, AIX ld can
10227 # have problems creating the table of contents. If linking a library
10228 # or program results in "error TOC overflow" add -mminimal-toc to
10229 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10230 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10233 hardcode_direct
=yes
10234 hardcode_direct_absolute
=yes
10235 hardcode_libdir_separator
=':'
10236 link_all_deplibs
=yes
10237 file_list_spec
='${wl}-f,'
10239 if test "$GCC" = yes; then
10240 case $host_os in aix4.
[012]|aix4.
[012].
*)
10241 # We only want to do this on AIX 4.2 and lower, the check
10242 # below for broken collect2 doesn't work under 4.3+
10243 collect2name
=`${CC} -print-prog-name=collect2`
10244 if test -f "$collect2name" &&
10245 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10247 # We have reworked collect2
10250 # We have old collect2
10251 hardcode_direct
=unsupported
10252 # It fails to find uninstalled libraries when the uninstalled
10253 # path is not listed in the libpath. Setting hardcode_minus_L
10254 # to unsupported forces relinking
10255 hardcode_minus_L
=yes
10256 hardcode_libdir_flag_spec
='-L$libdir'
10257 hardcode_libdir_separator
=
10261 shared_flag
='-shared'
10262 if test "$aix_use_runtimelinking" = yes; then
10263 shared_flag
="$shared_flag "'${wl}-G'
10267 if test "$host_cpu" = ia64
; then
10268 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10269 # chokes on -Wl,-G. The following line is correct:
10272 if test "$aix_use_runtimelinking" = yes; then
10273 shared_flag
='${wl}-G'
10275 shared_flag
='${wl}-bM:SRE'
10280 export_dynamic_flag_spec
='${wl}-bexpall'
10281 # It seems that -bexpall does not export symbols beginning with
10282 # underscore (_), so it is better to generate a list of symbols to export.
10283 always_export_symbols
=yes
10284 if test "$aix_use_runtimelinking" = yes; then
10285 # Warning - without using the other runtime loading flags (-brtl),
10286 # -berok will link without error, but may produce a broken library.
10287 allow_undefined_flag
='-berok'
10288 # Determine the default libpath from the value encoded in an
10289 # empty executable.
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10301 if ac_fn_c_try_link
"$LINENO"; then :
10303 lt_aix_libpath_sed
='
10304 /Import File Strings/,/^$/ {
10310 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10311 # Check for a 64-bit object if we didn't find anything.
10312 if test -z "$aix_libpath"; then
10313 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10316 rm -f core conftest.err conftest.
$ac_objext \
10317 conftest
$ac_exeext conftest.
$ac_ext
10318 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10320 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10321 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"
10323 if test "$host_cpu" = ia64
; then
10324 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10325 allow_undefined_flag
="-z nodefs"
10326 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"
10328 # Determine the default libpath from the value encoded in an
10329 # empty executable.
10330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10341 if ac_fn_c_try_link
"$LINENO"; then :
10343 lt_aix_libpath_sed
='
10344 /Import File Strings/,/^$/ {
10350 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10351 # Check for a 64-bit object if we didn't find anything.
10352 if test -z "$aix_libpath"; then
10353 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10356 rm -f core conftest.err conftest.
$ac_objext \
10357 conftest
$ac_exeext conftest.
$ac_ext
10358 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10360 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10361 # Warning - without using the other run time loading flags,
10362 # -berok will link without error, but may produce a broken library.
10363 no_undefined_flag
=' ${wl}-bernotok'
10364 allow_undefined_flag
=' ${wl}-berok'
10365 if test "$with_gnu_ld" = yes; then
10366 # We only use this code for GNU lds that support --whole-archive.
10367 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10369 # Exported symbols can be pulled into shared objects from archives
10370 whole_archive_flag_spec
='$convenience'
10372 archive_cmds_need_lc
=yes
10373 # This is similar to how AIX traditionally builds its shared libraries.
10374 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'
10382 # see comment about AmigaOS4 .so support
10383 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10384 archive_expsym_cmds
=''
10387 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)'
10388 hardcode_libdir_flag_spec
='-L$libdir'
10389 hardcode_minus_L
=yes
10395 export_dynamic_flag_spec
=-rdynamic
10398 cygwin
* | mingw
* | pw32
* | cegcc
*)
10399 # When not using gcc, we currently assume that we are using
10400 # Microsoft Visual C++.
10401 # hardcode_libdir_flag_spec is actually meaningless, as there is
10402 # no search path for DLLs.
10403 hardcode_libdir_flag_spec
=' '
10404 allow_undefined_flag
=unsupported
10405 # Tell ltmain to make .lib files, not .a files.
10407 # Tell ltmain to make .dll files, not .so files.
10409 # FIXME: Setting linknames here is a bad hack.
10410 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10411 # The linker will automatically build a .lib file if we build a DLL.
10412 old_archive_from_new_cmds
='true'
10413 # FIXME: Should let the user specify the lib program.
10414 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10415 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10416 enable_shared_with_static_runtimes
=yes
10419 darwin
* | rhapsody
*)
10422 archive_cmds_need_lc
=no
10424 hardcode_automatic
=yes
10425 hardcode_shlibpath_var
=unsupported
10426 if test "$lt_cv_ld_force_load" = "yes"; then
10427 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\"`'
10429 whole_archive_flag_spec
=''
10431 link_all_deplibs
=yes
10432 allow_undefined_flag
="$_lt_dar_allow_undefined"
10433 case $cc_basename in
10434 ifort
*) _lt_dar_can_shared
=yes ;;
10435 *) _lt_dar_can_shared
=$GCC ;;
10437 if test "$_lt_dar_can_shared" = "yes"; then
10438 output_verbose_link_cmd
=func_echo_all
10439 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10440 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10441 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}"
10442 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}"
10451 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_libdir_flag_spec
='-L$libdir'
10453 hardcode_shlibpath_var
=no
10456 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10457 # support. Future versions do this automatically, but an explicit c++rt0.o
10458 # does not break anything, and helps significantly (at the cost of a little
10461 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10462 hardcode_libdir_flag_spec
='-R$libdir'
10463 hardcode_direct
=yes
10464 hardcode_shlibpath_var
=no
10467 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10469 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10470 hardcode_direct
=yes
10471 hardcode_minus_L
=yes
10472 hardcode_shlibpath_var
=no
10475 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10476 freebsd
* | dragonfly
*)
10477 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10478 hardcode_libdir_flag_spec
='-R$libdir'
10479 hardcode_direct
=yes
10480 hardcode_shlibpath_var
=no
10484 if test "$GCC" = yes; then
10485 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'
10487 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'
10489 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10490 hardcode_libdir_separator
=:
10491 hardcode_direct
=yes
10493 # hardcode_minus_L: Not really in the search PATH,
10494 # but as the default location of the library.
10495 hardcode_minus_L
=yes
10496 export_dynamic_flag_spec
='${wl}-E'
10500 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10501 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10503 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10505 if test "$with_gnu_ld" = no
; then
10506 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10507 hardcode_libdir_flag_spec_ld
='+b $libdir'
10508 hardcode_libdir_separator
=:
10509 hardcode_direct
=yes
10510 hardcode_direct_absolute
=yes
10511 export_dynamic_flag_spec
='${wl}-E'
10512 # hardcode_minus_L: Not really in the search PATH,
10513 # but as the default location of the library.
10514 hardcode_minus_L
=yes
10519 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10522 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10525 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10528 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10534 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10537 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10541 # Older versions of the 11.00 compiler do not understand -b yet
10542 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10544 $as_echo_n "checking if $CC understands -b... " >&6; }
10545 if ${lt_cv_prog_compiler__b+:} false
; then :
10546 $as_echo_n "(cached) " >&6
10548 lt_cv_prog_compiler__b
=no
10549 save_LDFLAGS
="$LDFLAGS"
10550 LDFLAGS
="$LDFLAGS -b"
10551 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10552 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10553 # The linker can only warn and ignore the option if not recognized
10554 # So say no if there are warnings
10555 if test -s conftest.err
; then
10556 # Append any errors to the config.log.
10557 cat conftest.err
1>&5
10558 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10559 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10560 if diff conftest.exp conftest.er2
>/dev
/null
; then
10561 lt_cv_prog_compiler__b
=yes
10564 lt_cv_prog_compiler__b
=yes
10568 LDFLAGS
="$save_LDFLAGS"
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10572 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10574 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10575 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10577 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10583 if test "$with_gnu_ld" = no
; then
10584 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10585 hardcode_libdir_separator
=:
10590 hardcode_shlibpath_var
=no
10593 hardcode_direct
=yes
10594 hardcode_direct_absolute
=yes
10595 export_dynamic_flag_spec
='${wl}-E'
10597 # hardcode_minus_L: Not really in the search PATH,
10598 # but as the default location of the library.
10599 hardcode_minus_L
=yes
10605 irix5
* | irix6
* | nonstopux
*)
10606 if test "$GCC" = yes; then
10607 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'
10608 # Try to use the -exported_symbol ld option, if it does not
10609 # work, assume that -exports_file does not work either and
10610 # implicitly export all symbols.
10611 save_LDFLAGS
="$LDFLAGS"
10612 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10617 if ac_fn_c_try_link
"$LINENO"; then :
10618 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'
10621 rm -f core conftest.err conftest.
$ac_objext \
10622 conftest
$ac_exeext conftest.
$ac_ext
10623 LDFLAGS
="$save_LDFLAGS"
10625 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'
10626 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'
10628 archive_cmds_need_lc
='no'
10629 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10630 hardcode_libdir_separator
=:
10632 link_all_deplibs
=yes
10636 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10637 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10639 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10641 hardcode_libdir_flag_spec
='-R$libdir'
10642 hardcode_direct
=yes
10643 hardcode_shlibpath_var
=no
10647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10648 hardcode_direct
=yes
10649 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10650 hardcode_libdir_separator
=:
10651 hardcode_shlibpath_var
=no
10658 if test -f /usr
/libexec
/ld.so
; then
10659 hardcode_direct
=yes
10660 hardcode_shlibpath_var
=no
10661 hardcode_direct_absolute
=yes
10662 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10663 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10665 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10666 export_dynamic_flag_spec
='${wl}-E'
10669 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10670 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10671 hardcode_libdir_flag_spec
='-R$libdir'
10674 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10675 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10685 hardcode_libdir_flag_spec
='-L$libdir'
10686 hardcode_minus_L
=yes
10687 allow_undefined_flag
=unsupported
10688 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'
10689 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10693 if test "$GCC" = yes; then
10694 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10695 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'
10697 allow_undefined_flag
=' -expect_unresolved \*'
10698 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'
10700 archive_cmds_need_lc
='no'
10701 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10702 hardcode_libdir_separator
=:
10705 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10706 if test "$GCC" = yes; then
10707 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10708 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'
10709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10711 allow_undefined_flag
=' -expect_unresolved \*'
10712 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'
10713 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~
10714 $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'
10716 # Both c and cxx compiler support -rpath directly
10717 hardcode_libdir_flag_spec
='-rpath $libdir'
10719 archive_cmds_need_lc
='no'
10720 hardcode_libdir_separator
=:
10724 no_undefined_flag
=' -z defs'
10725 if test "$GCC" = yes; then
10727 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10728 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10729 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10731 case `$CC -V 2>&1` in
10734 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10736 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10740 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10741 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10742 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10746 hardcode_libdir_flag_spec
='-R$libdir'
10747 hardcode_shlibpath_var
=no
10749 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10751 # The compiler driver will combine and reorder linker options,
10752 # but understands `-z linker_flag'. GCC discards it without `$wl',
10753 # but is careful enough not to reorder.
10754 # Supported since Solaris 2.6 (maybe 2.5.1?)
10755 if test "$GCC" = yes; then
10756 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10758 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10762 link_all_deplibs
=yes
10766 if test "x$host_vendor" = xsequent
; then
10767 # Use $CC to link under sequent, because it throws in some extra .o
10768 # files that make .init and .fini sections work.
10769 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10771 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_libdir_flag_spec
='-L$libdir'
10774 hardcode_direct
=yes
10775 hardcode_minus_L
=yes
10776 hardcode_shlibpath_var
=no
10780 case $host_vendor in
10782 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10783 hardcode_direct
=yes # is this really true???
10786 ## LD is ld it makes a PLAMLIB
10787 ## CC just makes a GrossModule.
10788 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10789 reload_cmds
='$CC -r -o $output$reload_objs'
10793 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10794 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10797 runpath_var
='LD_RUN_PATH'
10798 hardcode_shlibpath_var
=no
10802 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10803 hardcode_shlibpath_var
=no
10804 export_dynamic_flag_spec
='-Bexport'
10808 if test -d /usr
/nec
; then
10809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10810 hardcode_shlibpath_var
=no
10811 runpath_var
=LD_RUN_PATH
10812 hardcode_runpath_var
=yes
10817 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10818 no_undefined_flag
='${wl}-z,text'
10819 archive_cmds_need_lc
=no
10820 hardcode_shlibpath_var
=no
10821 runpath_var
='LD_RUN_PATH'
10823 if test "$GCC" = yes; then
10824 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10827 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10832 sysv5
* | sco3.2v5
* | sco5v6
*)
10833 # Note: We can NOT use -z defs as we might desire, because we do not
10834 # link with -lc, and that would cause any symbols used from libc to
10835 # always be unresolved, which means just about no library would
10836 # ever link correctly. If we're not using GNU ld we use -z text
10837 # though, which does catch some bad symbols but isn't as heavy-handed
10839 no_undefined_flag
='${wl}-z,text'
10840 allow_undefined_flag
='${wl}-z,nodefs'
10841 archive_cmds_need_lc
=no
10842 hardcode_shlibpath_var
=no
10843 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10844 hardcode_libdir_separator
=':'
10845 link_all_deplibs
=yes
10846 export_dynamic_flag_spec
='${wl}-Bexport'
10847 runpath_var
='LD_RUN_PATH'
10849 if test "$GCC" = yes; then
10850 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10853 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10854 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10859 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10860 hardcode_libdir_flag_spec
='-L$libdir'
10861 hardcode_shlibpath_var
=no
10869 if test x
$host_vendor = xsni
; then
10871 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10872 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10879 $as_echo "$ld_shlibs" >&6; }
10880 test "$ld_shlibs" = no
&& can_build_shared
=no
10882 with_gnu_ld
=$with_gnu_ld
10899 # Do we need to explicitly link libc?
10901 case "x$archive_cmds_need_lc" in
10903 # Assume -lc should be added
10904 archive_cmds_need_lc
=yes
10906 if test "$enable_shared" = yes && test "$GCC" = yes; then
10907 case $archive_cmds in
10909 # FIXME: we may have to deal with multi-command sequences.
10912 # Test whether the compiler implicitly links with -lc since on some
10913 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10914 # to ld, don't add -lc before -lgcc.
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10916 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10917 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10918 $as_echo_n "(cached) " >&6
10921 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10924 (eval $ac_compile) 2>&5
10926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10927 test $ac_status = 0; } 2>conftest.err
; then
10930 libobjs
=conftest.
$ac_objext
10932 wl
=$lt_prog_compiler_wl
10933 pic_flag
=$lt_prog_compiler_pic
10939 lt_save_allow_undefined_flag
=$allow_undefined_flag
10940 allow_undefined_flag
=
10941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10942 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10945 test $ac_status = 0; }
10947 lt_cv_archive_cmds_need_lc
=no
10949 lt_cv_archive_cmds_need_lc
=yes
10951 allow_undefined_flag
=$lt_save_allow_undefined_flag
10953 cat conftest.err
1>&5
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10959 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10960 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11124 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11126 if test "$GCC" = yes; then
11128 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11129 *) lt_awk_arg
="/^libraries:/" ;;
11132 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11133 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11135 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11136 case $lt_search_path_spec in
11138 # if the path contains ";" then we assume it to be the separator
11139 # otherwise default to the standard path separator (i.e. ":") - it is
11140 # assumed that no part of a normal pathname contains ";" but that should
11141 # okay in the real world where ";" in dirpaths is itself problematic.
11142 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11145 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11148 # Ok, now we have the path, separated by spaces, we can step through it
11149 # and add multilib dir if necessary.
11150 lt_tmp_lt_search_path_spec
=
11151 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11152 for lt_sys_path
in $lt_search_path_spec; do
11153 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11154 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11156 test -d "$lt_sys_path" && \
11157 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11160 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11161 BEGIN {RS=" "; FS="/|\n";} {
11164 for (lt_i = NF; lt_i > 0; lt_i--) {
11165 if ($lt_i != "" && $lt_i != ".") {
11166 if ($lt_i == "..") {
11169 if (lt_count == 0) {
11170 lt_foo="/" $lt_i lt_foo;
11177 if (lt_foo != "") { lt_freq[lt_foo]++; }
11178 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11180 # AWK program above erroneously prepends '/' to C:/dos/paths
11183 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11184 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11186 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11188 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11190 library_names_spec
=
11191 libname_spec
='lib$name'
11195 postuninstall_cmds
=
11199 shlibpath_overrides_runpath
=unknown
11201 dynamic_linker
="$host_os ld.so"
11202 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11203 need_lib_prefix
=unknown
11204 hardcode_into_libs
=no
11206 # when you set need_version to no, make sure it does not cause -set_version
11207 # flags to be left without arguments
11208 need_version
=unknown
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11214 shlibpath_var
=LIBPATH
11216 # AIX 3 has no versioning support, so we append a major version to the name.
11217 soname_spec
='${libname}${release}${shared_ext}$major'
11224 hardcode_into_libs
=yes
11225 if test "$host_cpu" = ia64
; then
11226 # AIX 5 supports IA64
11227 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11228 shlibpath_var
=LD_LIBRARY_PATH
11230 # With GCC up to 2.95.x, collect2 would create an import file
11231 # for dependence libraries. The import file would start with
11232 # the line `#! .'. This would cause the generated library to
11233 # depend on `.', always an invalid library. This was fixed in
11234 # development snapshots of GCC prior to 3.0.
11236 aix4 | aix4.
[01] | aix4.
[01].
*)
11237 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11239 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11242 can_build_shared
=no
11246 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11247 # soname into executable. Probably we can add versioning support to
11248 # collect2, so additional links can be useful in future.
11249 if test "$aix_use_runtimelinking" = yes; then
11250 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11251 # instead of lib<name>.a to let people know that these are not
11252 # typical AIX shared libraries.
11253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255 # We preserve .a as extension for shared libraries through AIX4.2
11256 # and later when we are not doing run time linking.
11257 library_names_spec
='${libname}${release}.a $libname.a'
11258 soname_spec
='${libname}${release}${shared_ext}$major'
11260 shlibpath_var
=LIBPATH
11267 # Since July 2007 AmigaOS4 officially supports .so libraries.
11268 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272 library_names_spec
='$libname.ixlibrary $libname.a'
11273 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11274 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'
11280 library_names_spec
='${libname}${shared_ext}'
11281 dynamic_linker
="$host_os ld.so"
11282 shlibpath_var
=LIBRARY_PATH
11288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289 soname_spec
='${libname}${release}${shared_ext}$major'
11290 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11291 shlibpath_var
=LD_LIBRARY_PATH
11292 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11293 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11294 # the default ld.so.conf also contains /usr/contrib/lib and
11295 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11296 # libtool to hard-code these into programs
11299 cygwin
* | mingw
* | pw32
* | cegcc
*)
11300 version_type
=windows
11305 case $GCC,$host_os in
11306 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11307 library_names_spec
='$libname.dll.a'
11308 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11309 postinstall_cmds
='base_file=`basename \${file}`~
11310 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11311 dldir=$destdir/`dirname \$dlpath`~
11312 test -d \$dldir || mkdir -p \$dldir~
11313 $install_prog $dir/$dlname \$dldir/$dlname~
11314 chmod a+x \$dldir/$dlname~
11315 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11316 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11318 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11319 dlpath=$dir/\$dldll~
11321 shlibpath_overrides_runpath
=yes
11325 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11326 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11328 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11331 # MinGW DLLs use traditional 'lib' prefix
11332 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11335 # pw32 DLLs use 'pw' prefix rather than 'lib'
11336 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11342 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11345 dynamic_linker
='Win32 ld.exe'
11346 # FIXME: first we should search . and the directory the executable is in
11350 darwin
* | rhapsody
*)
11351 dynamic_linker
="$host_os dyld"
11352 version_type
=darwin
11355 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11356 soname_spec
='${libname}${release}${major}$shared_ext'
11357 shlibpath_overrides_runpath
=yes
11358 shlibpath_var
=DYLD_LIBRARY_PATH
11359 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11361 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11362 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11370 soname_spec
='${libname}${release}${shared_ext}$major'
11371 shlibpath_var
=LD_LIBRARY_PATH
11374 freebsd
* | dragonfly
*)
11375 # DragonFly does not have aout. When/if they implement a new
11376 # versioning mechanism, adjust this.
11377 if test -x /usr
/bin
/objformat
; then
11378 objformat
=`/usr/bin/objformat`
11381 freebsd
[23].
*) objformat
=aout
;;
11382 *) objformat
=elf
;;
11385 version_type
=freebsd-
$objformat
11386 case $version_type in
11388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11397 shlibpath_var
=LD_LIBRARY_PATH
11400 shlibpath_overrides_runpath
=yes
11402 freebsd3.
[01]* | freebsdelf3.
[01]*)
11403 shlibpath_overrides_runpath
=yes
11404 hardcode_into_libs
=yes
11406 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11407 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11408 shlibpath_overrides_runpath
=no
11409 hardcode_into_libs
=yes
11411 *) # from 4.6 on, and DragonFly
11412 shlibpath_overrides_runpath
=yes
11413 hardcode_into_libs
=yes
11422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11423 soname_spec
='${libname}${release}${shared_ext}$major'
11424 shlibpath_var
=LD_LIBRARY_PATH
11425 hardcode_into_libs
=yes
11432 dynamic_linker
="$host_os runtime_loader"
11433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11434 soname_spec
='${libname}${release}${shared_ext}$major'
11435 shlibpath_var
=LIBRARY_PATH
11436 shlibpath_overrides_runpath
=yes
11437 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11438 hardcode_into_libs
=yes
11441 hpux9
* | hpux10
* | hpux11
*)
11442 # Give a soname corresponding to the major version so that dld.sl refuses to
11443 # link against other versions.
11450 hardcode_into_libs
=yes
11451 dynamic_linker
="$host_os dld.so"
11452 shlibpath_var
=LD_LIBRARY_PATH
11453 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455 soname_spec
='${libname}${release}${shared_ext}$major'
11456 if test "X$HPUX_IA64_MODE" = X32
; then
11457 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11459 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11461 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11465 hardcode_into_libs
=yes
11466 dynamic_linker
="$host_os dld.sl"
11467 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11468 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11470 soname_spec
='${libname}${release}${shared_ext}$major'
11471 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11472 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11476 dynamic_linker
="$host_os dld.sl"
11477 shlibpath_var
=SHLIB_PATH
11478 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11480 soname_spec
='${libname}${release}${shared_ext}$major'
11483 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11484 postinstall_cmds
='chmod 555 $lib'
11485 # or fails outright, so override atomically:
11486 install_override_mode
=555
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 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11496 shlibpath_var
=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath
=no
11498 hardcode_into_libs
=yes
11501 irix5
* | irix6
* | nonstopux
*)
11503 nonstopux
*) version_type
=nonstopux
;;
11505 if test "$lt_cv_prog_gnu_ld" = yes; then
11513 soname_spec
='${libname}${release}${shared_ext}$major'
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11516 irix5
* | nonstopux
*)
11517 libsuff
= shlibsuff
=
11520 case $LD in # libtool.m4 will add one of these switches to LD
11521 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11522 libsuff
= shlibsuff
= libmagic
=32-bit;;
11523 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11524 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11525 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11526 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11527 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11531 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11532 shlibpath_overrides_runpath
=no
11533 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11534 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11535 hardcode_into_libs
=yes
11538 # No shared lib support for Linux oldld, aout, or coff.
11539 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11543 # This must be Linux ELF.
11545 # uclinux* changes (here and below) have been submitted to the libtool
11546 # project, but have not yet been accepted: they are GCC-local changes
11547 # for the time being. (See
11548 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11549 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 soname_spec
='${libname}${release}${shared_ext}$major'
11555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11556 shlibpath_var
=LD_LIBRARY_PATH
11557 shlibpath_overrides_runpath
=no
11559 # Some binutils ld are patched to set DT_RUNPATH
11560 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 lt_cv_shlibpath_overrides_runpath
=no
11564 save_LDFLAGS
=$LDFLAGS
11565 save_libdir
=$libdir
11566 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11567 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11579 if ac_fn_c_try_link
"$LINENO"; then :
11580 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11581 lt_cv_shlibpath_overrides_runpath
=yes
11584 rm -f core conftest.err conftest.
$ac_objext \
11585 conftest
$ac_exeext conftest.
$ac_ext
11586 LDFLAGS
=$save_LDFLAGS
11587 libdir
=$save_libdir
11591 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11593 # This implies no fast_install, which is unacceptable.
11594 # Some rework will be needed to allow for fast_install
11595 # before this can be enabled.
11596 hardcode_into_libs
=yes
11598 # Append ld.so.conf contents to the search path
11599 if test -f /etc
/ld.so.conf
; then
11600 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' ' '`
11601 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11604 # We used to test for /lib/ld.so.1 and disable shared libraries on
11605 # powerpc, because MkLinux only supported shared libraries with the
11606 # GNU dynamic linker. Since this was broken with cross compilers,
11607 # most powerpc-linux boxes support dynamic linking these days and
11608 # people can always --disable-shared, the test was removed, and we
11609 # assume the GNU/Linux dynamic linker is in use.
11610 dynamic_linker
='GNU/Linux ld.so'
11617 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11619 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11620 dynamic_linker
='NetBSD (a.out) ld.so'
11622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11623 soname_spec
='${libname}${release}${shared_ext}$major'
11624 dynamic_linker
='NetBSD ld.elf_so'
11626 shlibpath_var
=LD_LIBRARY_PATH
11627 shlibpath_overrides_runpath
=yes
11628 hardcode_into_libs
=yes
11633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11634 shlibpath_var
=LD_LIBRARY_PATH
11635 shlibpath_overrides_runpath
=yes
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 soname_spec
='${libname}${release}${shared_ext}$major'
11644 shlibpath_var
=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath
=no
11646 hardcode_into_libs
=yes
11647 dynamic_linker
='ldqnx.so'
11652 sys_lib_dlsearch_path_spec
="/usr/lib"
11654 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11656 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11657 *) need_version
=no
;;
11659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11660 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11661 shlibpath_var
=LD_LIBRARY_PATH
11662 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11664 openbsd2.
[89] | openbsd2.
[89].
*)
11665 shlibpath_overrides_runpath
=no
11668 shlibpath_overrides_runpath
=yes
11672 shlibpath_overrides_runpath
=yes
11677 libname_spec
='$name'
11680 library_names_spec
='$libname${shared_ext} $libname.a'
11681 dynamic_linker
='OS/2 ld.exe'
11682 shlibpath_var
=LIBPATH
11685 osf3
* | osf4
* | osf5
*)
11689 soname_spec
='${libname}${release}${shared_ext}$major'
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 shlibpath_var
=LD_LIBRARY_PATH
11692 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11693 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705 soname_spec
='${libname}${release}${shared_ext}$major'
11706 shlibpath_var
=LD_LIBRARY_PATH
11707 shlibpath_overrides_runpath
=yes
11708 hardcode_into_libs
=yes
11709 # ldd complains unless libraries are executable
11710 postinstall_cmds
='chmod +x $lib'
11715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11716 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11717 shlibpath_var
=LD_LIBRARY_PATH
11718 shlibpath_overrides_runpath
=yes
11719 if test "$with_gnu_ld" = yes; then
11727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 soname_spec
='${libname}${release}${shared_ext}$major'
11729 shlibpath_var
=LD_LIBRARY_PATH
11730 case $host_vendor in
11732 shlibpath_overrides_runpath
=no
11734 runpath_var
=LD_RUN_PATH
11742 shlibpath_overrides_runpath
=no
11743 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11749 if test -d /usr
/nec
;then
11751 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11752 soname_spec
='$libname${shared_ext}.$major'
11753 shlibpath_var
=LD_LIBRARY_PATH
11757 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11758 version_type
=freebsd-elf
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 shlibpath_var
=LD_LIBRARY_PATH
11764 shlibpath_overrides_runpath
=yes
11765 hardcode_into_libs
=yes
11766 if test "$with_gnu_ld" = yes; then
11767 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11769 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11772 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11776 sys_lib_dlsearch_path_spec
='/usr/lib'
11780 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785 shlibpath_var
=LD_LIBRARY_PATH
11786 shlibpath_overrides_runpath
=no
11787 hardcode_into_libs
=yes
11792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11793 soname_spec
='${libname}${release}${shared_ext}$major'
11794 shlibpath_var
=LD_LIBRARY_PATH
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11802 $as_echo "$dynamic_linker" >&6; }
11803 test "$dynamic_linker" = no
&& can_build_shared
=no
11805 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11806 if test "$GCC" = yes; then
11807 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11810 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11811 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11813 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11814 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11909 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11911 if test -n "$hardcode_libdir_flag_spec" ||
11912 test -n "$runpath_var" ||
11913 test "X$hardcode_automatic" = "Xyes" ; then
11915 # We can hardcode non-existent directories.
11916 if test "$hardcode_direct" != no
&&
11917 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11918 # have to relink, otherwise we might link with an installed library
11919 # when we should be linking with a yet-to-be-installed one
11920 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11921 test "$hardcode_minus_L" != no
; then
11922 # Linking always hardcodes the temporary library directory.
11923 hardcode_action
=relink
11925 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11926 hardcode_action
=immediate
11929 # We cannot hardcode anything, or else we can only hardcode existing
11931 hardcode_action
=unsupported
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11934 $as_echo "$hardcode_action" >&6; }
11936 if test "$hardcode_action" = relink ||
11937 test "$inherit_rpath" = yes; then
11938 # Fast installation is not supported
11939 enable_fast_install
=no
11940 elif test "$shlibpath_overrides_runpath" = yes ||
11941 test "$enable_shared" = no
; then
11942 # Fast installation is not necessary
11943 enable_fast_install
=needless
11951 if test "x$enable_dlopen" != xyes
; then
11952 enable_dlopen
=unknown
11953 enable_dlopen_self
=unknown
11954 enable_dlopen_self_static
=unknown
11961 lt_cv_dlopen
="load_add_on"
11963 lt_cv_dlopen_self
=yes
11966 mingw
* | pw32
* | cegcc
*)
11967 lt_cv_dlopen
="LoadLibrary"
11972 lt_cv_dlopen
="dlopen"
11977 # if libdl is installed we need to link against it
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11979 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11980 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11981 $as_echo_n "(cached) " >&6
11983 ac_check_lib_save_LIBS
=$LIBS
11985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
12003 if ac_fn_c_try_link
"$LINENO"; then :
12004 ac_cv_lib_dl_dlopen
=yes
12006 ac_cv_lib_dl_dlopen
=no
12008 rm -f core conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12010 LIBS
=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12013 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12014 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12015 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12018 lt_cv_dlopen
="dyld"
12020 lt_cv_dlopen_self
=yes
12027 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12028 if test "x$ac_cv_func_shl_load" = xyes
; then :
12029 lt_cv_dlopen
="shl_load"
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12032 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12033 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_check_lib_save_LIBS
=$LIBS
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12051 return shl_load ();
12056 if ac_fn_c_try_link
"$LINENO"; then :
12057 ac_cv_lib_dld_shl_load
=yes
12059 ac_cv_lib_dld_shl_load
=no
12061 rm -f core conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12066 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12067 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12068 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12070 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12071 if test "x$ac_cv_func_dlopen" = xyes
; then :
12072 lt_cv_dlopen
="dlopen"
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12075 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12076 if ${ac_cv_lib_dl_dlopen+:} 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. */
12099 if ac_fn_c_try_link
"$LINENO"; then :
12100 ac_cv_lib_dl_dlopen
=yes
12102 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
12109 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12110 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12111 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12114 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12115 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12116 $as_echo_n "(cached) " >&6
12118 ac_check_lib_save_LIBS
=$LIBS
12119 LIBS
="-lsvld $LIBS"
12120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12138 if ac_fn_c_try_link
"$LINENO"; then :
12139 ac_cv_lib_svld_dlopen
=yes
12141 ac_cv_lib_svld_dlopen
=no
12143 rm -f core conftest.err conftest.
$ac_objext \
12144 conftest
$ac_exeext conftest.
$ac_ext
12145 LIBS
=$ac_check_lib_save_LIBS
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12148 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12149 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12153 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12154 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12155 $as_echo_n "(cached) " >&6
12157 ac_check_lib_save_LIBS
=$LIBS
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12172 return dld_link ();
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 ac_cv_lib_dld_dld_link
=yes
12180 ac_cv_lib_dld_dld_link
=no
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12187 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12188 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12189 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12210 if test "x$lt_cv_dlopen" != xno
; then
12216 case $lt_cv_dlopen in
12218 save_CPPFLAGS
="$CPPFLAGS"
12219 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12221 save_LDFLAGS
="$LDFLAGS"
12222 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12225 LIBS
="$lt_cv_dlopen_libs $LIBS"
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12228 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12229 if ${lt_cv_dlopen_self+:} false
; then :
12230 $as_echo_n "(cached) " >&6
12232 if test "$cross_compiling" = yes; then :
12233 lt_cv_dlopen_self
=cross
12235 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12236 lt_status
=$lt_dlunknown
12237 cat > conftest.
$ac_ext <<_LT_EOF
12238 #line 12238 "configure"
12239 #include "confdefs.h"
12248 # define LT_DLGLOBAL RTLD_GLOBAL
12251 # define LT_DLGLOBAL DL_GLOBAL
12253 # define LT_DLGLOBAL 0
12257 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12258 find out it does not work in some platform. */
12259 #ifndef LT_DLLAZY_OR_NOW
12261 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12264 # define LT_DLLAZY_OR_NOW DL_LAZY
12267 # define LT_DLLAZY_OR_NOW RTLD_NOW
12270 # define LT_DLLAZY_OR_NOW DL_NOW
12272 # define LT_DLLAZY_OR_NOW 0
12279 /* When -fvisbility=hidden is used, assume the code has been annotated
12280 correspondingly for the symbols needed. */
12281 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12282 void fnord () __attribute__((visibility("default")));
12285 void fnord () { int i=42; }
12288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12289 int status = $lt_dlunknown;
12293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12296 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12297 else puts (dlerror ());
12299 /* dlclose (self); */
12307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12308 (eval $ac_link) 2>&5
12310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12311 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12312 (.
/conftest
; exit; ) >&5 2>/dev
/null
12314 case x
$lt_status in
12315 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12316 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12317 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12320 # compilation failed
12321 lt_cv_dlopen_self
=no
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12329 $as_echo "$lt_cv_dlopen_self" >&6; }
12331 if test "x$lt_cv_dlopen_self" = xyes
; then
12332 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12334 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12335 if ${lt_cv_dlopen_self_static+:} false
; then :
12336 $as_echo_n "(cached) " >&6
12338 if test "$cross_compiling" = yes; then :
12339 lt_cv_dlopen_self_static
=cross
12341 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12342 lt_status
=$lt_dlunknown
12343 cat > conftest.
$ac_ext <<_LT_EOF
12344 #line 12344 "configure"
12345 #include "confdefs.h"
12354 # define LT_DLGLOBAL RTLD_GLOBAL
12357 # define LT_DLGLOBAL DL_GLOBAL
12359 # define LT_DLGLOBAL 0
12363 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12364 find out it does not work in some platform. */
12365 #ifndef LT_DLLAZY_OR_NOW
12367 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12370 # define LT_DLLAZY_OR_NOW DL_LAZY
12373 # define LT_DLLAZY_OR_NOW RTLD_NOW
12376 # define LT_DLLAZY_OR_NOW DL_NOW
12378 # define LT_DLLAZY_OR_NOW 0
12385 /* When -fvisbility=hidden is used, assume the code has been annotated
12386 correspondingly for the symbols needed. */
12387 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12388 void fnord () __attribute__((visibility("default")));
12391 void fnord () { int i=42; }
12394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12395 int status = $lt_dlunknown;
12399 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12402 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12403 else puts (dlerror ());
12405 /* dlclose (self); */
12413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12414 (eval $ac_link) 2>&5
12416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12417 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12418 (.
/conftest
; exit; ) >&5 2>/dev
/null
12420 case x
$lt_status in
12421 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12422 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12423 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12426 # compilation failed
12427 lt_cv_dlopen_self_static
=no
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12435 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12438 CPPFLAGS
="$save_CPPFLAGS"
12439 LDFLAGS
="$save_LDFLAGS"
12444 case $lt_cv_dlopen_self in
12445 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12446 *) enable_dlopen_self
=unknown
;;
12449 case $lt_cv_dlopen_self_static in
12450 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12451 *) enable_dlopen_self_static
=unknown
;;
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12474 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12475 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12476 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12477 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12479 $as_echo "yes" >&6; }
12481 # FIXME - insert some real tests, host_os isn't really good enough
12484 if test -n "$STRIP" ; then
12485 striplib
="$STRIP -x"
12486 old_striplib
="$STRIP -S"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12488 $as_echo "yes" >&6; }
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12491 $as_echo "no" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12512 # Report which library types will actually be built
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12514 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12516 $as_echo "$can_build_shared" >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12519 $as_echo_n "checking whether to build shared libraries... " >&6; }
12520 test "$can_build_shared" = "no" && enable_shared
=no
12522 # On AIX, shared libraries and static libraries use the same namespace, and
12523 # are all built from PIC.
12526 test "$enable_shared" = yes && enable_static
=no
12527 if test -n "$RANLIB"; then
12528 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12529 postinstall_cmds
='$RANLIB $lib'
12534 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12535 test "$enable_shared" = yes && enable_static
=no
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12540 $as_echo "$enable_shared" >&6; }
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12543 $as_echo_n "checking whether to build static libraries... " >&6; }
12544 # Make sure either enable_shared or enable_static is yes.
12545 test "$enable_shared" = yes || enable_static
=yes
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12547 $as_echo "$enable_static" >&6; }
12554 ac_cpp
='$CPP $CPPFLAGS'
12555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12561 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12562 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12563 (test "X$CXX" != "Xg++"))) ; then
12565 ac_cpp
='$CXXCPP $CPPFLAGS'
12566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12570 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12571 if test -z "$CXXCPP"; then
12572 if ${ac_cv_prog_CXXCPP+:} false
; then :
12573 $as_echo_n "(cached) " >&6
12575 # Double quotes because CXXCPP needs to be expanded
12576 for CXXCPP
in "$CXX -E" "/lib/cpp"
12578 ac_preproc_ok
=false
12579 for ac_cxx_preproc_warn_flag
in '' yes
12581 # Use a header file that comes with gcc, so configuring glibc
12582 # with a fresh cross-compiler works.
12583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12584 # <limits.h> exists even on freestanding compilers.
12585 # On the NeXT, cc -E runs the code through the compiler's parser,
12586 # not just through cpp. "Syntax error" is here to catch this case.
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 # include <limits.h>
12592 # include <assert.h>
12596 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12599 # Broken: fails on valid input.
12602 rm -f conftest.err conftest.i conftest.
$ac_ext
12604 # OK, works on sane cases. Now check whether nonexistent headers
12605 # can be detected and how.
12606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12607 /* end confdefs.h. */
12608 #include <ac_nonexistent.h>
12610 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12611 # Broken: success on invalid input.
12614 # Passes both tests.
12618 rm -f conftest.err conftest.i conftest.
$ac_ext
12621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12622 rm -f conftest.i conftest.err conftest.
$ac_ext
12623 if $ac_preproc_ok; then :
12628 ac_cv_prog_CXXCPP
=$CXXCPP
12631 CXXCPP
=$ac_cv_prog_CXXCPP
12633 ac_cv_prog_CXXCPP
=$CXXCPP
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12636 $as_echo "$CXXCPP" >&6; }
12637 ac_preproc_ok
=false
12638 for ac_cxx_preproc_warn_flag
in '' yes
12640 # Use a header file that comes with gcc, so configuring glibc
12641 # with a fresh cross-compiler works.
12642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12643 # <limits.h> exists even on freestanding compilers.
12644 # On the NeXT, cc -E runs the code through the compiler's parser,
12645 # not just through cpp. "Syntax error" is here to catch this case.
12646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 # include <limits.h>
12651 # include <assert.h>
12655 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12658 # Broken: fails on valid input.
12661 rm -f conftest.err conftest.i conftest.
$ac_ext
12663 # OK, works on sane cases. Now check whether nonexistent headers
12664 # can be detected and how.
12665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12667 #include <ac_nonexistent.h>
12669 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12670 # Broken: success on invalid input.
12673 # Passes both tests.
12677 rm -f conftest.err conftest.i conftest.
$ac_ext
12680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12681 rm -f conftest.i conftest.err conftest.
$ac_ext
12682 if $ac_preproc_ok; then :
12685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12687 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12688 See \`config.log' for more details" "$LINENO" 5; }
12692 ac_cpp
='$CPP $CPPFLAGS'
12693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12698 _lt_caught_CXX_error
=yes
12702 ac_cpp
='$CXXCPP $CPPFLAGS'
12703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12707 archive_cmds_need_lc_CXX
=no
12708 allow_undefined_flag_CXX
=
12709 always_export_symbols_CXX
=no
12710 archive_expsym_cmds_CXX
=
12711 compiler_needs_object_CXX
=no
12712 export_dynamic_flag_spec_CXX
=
12713 hardcode_direct_CXX
=no
12714 hardcode_direct_absolute_CXX
=no
12715 hardcode_libdir_flag_spec_CXX
=
12716 hardcode_libdir_flag_spec_ld_CXX
=
12717 hardcode_libdir_separator_CXX
=
12718 hardcode_minus_L_CXX
=no
12719 hardcode_shlibpath_var_CXX
=unsupported
12720 hardcode_automatic_CXX
=no
12721 inherit_rpath_CXX
=no
12723 module_expsym_cmds_CXX
=
12724 link_all_deplibs_CXX
=unknown
12725 old_archive_cmds_CXX
=$old_archive_cmds
12726 reload_flag_CXX
=$reload_flag
12727 reload_cmds_CXX
=$reload_cmds
12728 no_undefined_flag_CXX
=
12729 whole_archive_flag_spec_CXX
=
12730 enable_shared_with_static_runtimes_CXX
=no
12732 # Source file extension for C++ test sources.
12735 # Object file extension for compiled C++ test sources.
12739 # No sense in running all these tests if we already determined that
12740 # the CXX compiler isn't working. Some variables (like enable_shared)
12741 # are currently assumed to apply to all compilers on this platform,
12742 # and will be corrupted by setting them based on a non-working compiler.
12743 if test "$_lt_caught_CXX_error" != yes; then
12744 # Code to be used in simple compile tests
12745 lt_simple_compile_test_code
="int some_variable = 0;"
12747 # Code to be used in simple link tests
12748 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12750 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12757 # If no C compiler was specified, use CC.
12760 # If no C compiler flags were specified, use CFLAGS.
12761 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12763 # Allow CC to be a program name with arguments.
12767 # save warnings/boilerplate of simple test code
12768 ac_outfile
=conftest.
$ac_objext
12769 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12770 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12771 _lt_compiler_boilerplate
=`cat conftest.err`
12774 ac_outfile
=conftest.
$ac_objext
12775 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12776 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12777 _lt_linker_boilerplate
=`cat conftest.err`
12781 # Allow CC to be a program name with arguments.
12786 lt_save_with_gnu_ld
=$with_gnu_ld
12787 lt_save_path_LD
=$lt_cv_path_LD
12788 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12789 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12791 $as_unset lt_cv_prog_gnu_ld
12793 if test -n "${lt_cv_path_LDCXX+set}"; then
12794 lt_cv_path_LD
=$lt_cv_path_LDCXX
12796 $as_unset lt_cv_path_LD
12798 test -z "${LDCXX+set}" || LD
=$LDCXX
12802 for cc_temp
in $compiler""; do
12804 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12805 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12810 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12813 if test -n "$compiler"; then
12814 # We don't want -fno-exception when compiling C++ code, so set the
12815 # no_builtin_flag separately
12816 if test "$GXX" = yes; then
12817 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12819 lt_prog_compiler_no_builtin_flag_CXX
=
12822 if test "$GXX" = yes; then
12823 # Set up default GNU C++ configuration
12827 # Check whether --with-gnu-ld was given.
12828 if test "${with_gnu_ld+set}" = set; then :
12829 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12835 if test "$GCC" = yes; then
12836 # Check if gcc -print-prog-name=ld gives a path.
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12838 $as_echo_n "checking for ld used by $CC... " >&6; }
12841 # gcc leaves a trailing carriage return which upsets mingw
12842 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12844 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12847 # Accept absolute paths.
12849 re_direlt
='/[^/][^/]*/\.\./'
12850 # Canonicalize the pathname of ld
12851 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12852 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12853 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12855 test -z "$LD" && LD
="$ac_prog"
12858 # If it fails, then pretend we aren't using GCC.
12862 # If it is relative, then search for the first ld in PATH.
12863 with_gnu_ld
=unknown
12866 elif test "$with_gnu_ld" = yes; then
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12868 $as_echo_n "checking for GNU ld... " >&6; }
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12871 $as_echo_n "checking for non-GNU ld... " >&6; }
12873 if ${lt_cv_path_LD+:} false
; then :
12874 $as_echo_n "(cached) " >&6
12876 if test -z "$LD"; then
12877 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12878 for ac_dir
in $PATH; do
12880 test -z "$ac_dir" && ac_dir
=.
12881 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12882 lt_cv_path_LD
="$ac_dir/$ac_prog"
12883 # Check to see if the program is GNU ld. I'd rather use --version,
12884 # but apparently some variants of GNU ld only accept -v.
12885 # Break only if it was the GNU/non-GNU ld that we prefer.
12886 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12887 *GNU
* |
*'with BFD'*)
12888 test "$with_gnu_ld" != no
&& break
12891 test "$with_gnu_ld" != yes && break
12898 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12902 LD
="$lt_cv_path_LD"
12903 if test -n "$LD"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12905 $as_echo "$LD" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12908 $as_echo "no" >&6; }
12910 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12912 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12913 if ${lt_cv_prog_gnu_ld+:} false
; then :
12914 $as_echo_n "(cached) " >&6
12916 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12917 case `$LD -v 2>&1 </dev/null` in
12918 *GNU
* |
*'with BFD'*)
12919 lt_cv_prog_gnu_ld
=yes
12922 lt_cv_prog_gnu_ld
=no
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12927 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12928 with_gnu_ld
=$lt_cv_prog_gnu_ld
12936 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12937 # archiving commands below assume that GNU ld is being used.
12938 if test "$with_gnu_ld" = yes; then
12939 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12940 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'
12942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12943 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12945 # If archive_cmds runs LD, not CC, wlarc should be empty
12946 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12947 # investigate it a little bit more. (MM)
12950 # ancient GNU ld didn't support --whole-archive et. al.
12951 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12952 $GREP 'no-whole-archive' > /dev
/null
; then
12953 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12955 whole_archive_flag_spec_CXX
=
12961 # A generic and very simple default shared library creation
12962 # command for GNU C++ for the case where it uses the native
12963 # linker, instead of GNU ld. If possible, this setting should
12964 # overridden to take advantage of the native linker features on
12965 # the platform it is being used on.
12966 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12969 # Commands to make compiler produce verbose output that lists
12970 # what "hidden" libraries, object files and flags are used when
12971 # linking a shared library.
12972 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12980 # PORTME: fill in a description of your system's C++ link characteristics
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12982 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12986 # FIXME: insert proper C++ library support
12990 if test "$host_cpu" = ia64
; then
12991 # On IA64, the linker does run time linking by default, so we don't
12992 # have to do anything special.
12993 aix_use_runtimelinking
=no
12994 exp_sym_flag
='-Bexport'
12997 aix_use_runtimelinking
=no
12999 # Test if we are trying to use run time linking or normal
13000 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13001 # need to do runtime linking.
13002 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13003 for ld_flag
in $LDFLAGS; do
13006 aix_use_runtimelinking
=yes
13014 exp_sym_flag
='-bexport'
13015 no_entry_flag
='-bnoentry'
13018 # When large executables or shared objects are built, AIX ld can
13019 # have problems creating the table of contents. If linking a library
13020 # or program results in "error TOC overflow" add -mminimal-toc to
13021 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13022 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13024 archive_cmds_CXX
=''
13025 hardcode_direct_CXX
=yes
13026 hardcode_direct_absolute_CXX
=yes
13027 hardcode_libdir_separator_CXX
=':'
13028 link_all_deplibs_CXX
=yes
13029 file_list_spec_CXX
='${wl}-f,'
13031 if test "$GXX" = yes; then
13032 case $host_os in aix4.
[012]|aix4.
[012].
*)
13033 # We only want to do this on AIX 4.2 and lower, the check
13034 # below for broken collect2 doesn't work under 4.3+
13035 collect2name
=`${CC} -print-prog-name=collect2`
13036 if test -f "$collect2name" &&
13037 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13039 # We have reworked collect2
13042 # We have old collect2
13043 hardcode_direct_CXX
=unsupported
13044 # It fails to find uninstalled libraries when the uninstalled
13045 # path is not listed in the libpath. Setting hardcode_minus_L
13046 # to unsupported forces relinking
13047 hardcode_minus_L_CXX
=yes
13048 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13049 hardcode_libdir_separator_CXX
=
13052 shared_flag
='-shared'
13053 if test "$aix_use_runtimelinking" = yes; then
13054 shared_flag
="$shared_flag "'${wl}-G'
13058 if test "$host_cpu" = ia64
; then
13059 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13060 # chokes on -Wl,-G. The following line is correct:
13063 if test "$aix_use_runtimelinking" = yes; then
13064 shared_flag
='${wl}-G'
13066 shared_flag
='${wl}-bM:SRE'
13071 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13072 # It seems that -bexpall does not export symbols beginning with
13073 # underscore (_), so it is better to generate a list of symbols to
13075 always_export_symbols_CXX
=yes
13076 if test "$aix_use_runtimelinking" = yes; then
13077 # Warning - without using the other runtime loading flags (-brtl),
13078 # -berok will link without error, but may produce a broken library.
13079 allow_undefined_flag_CXX
='-berok'
13080 # Determine the default libpath from the value encoded in an empty
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13093 if ac_fn_cxx_try_link
"$LINENO"; then :
13095 lt_aix_libpath_sed
='
13096 /Import File Strings/,/^$/ {
13102 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13103 # Check for a 64-bit object if we didn't find anything.
13104 if test -z "$aix_libpath"; then
13105 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13108 rm -f core conftest.err conftest.
$ac_objext \
13109 conftest
$ac_exeext conftest.
$ac_ext
13110 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13112 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13114 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"
13116 if test "$host_cpu" = ia64
; then
13117 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13118 allow_undefined_flag_CXX
="-z nodefs"
13119 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"
13121 # Determine the default libpath from the value encoded in an
13122 # empty executable.
13123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13134 if ac_fn_cxx_try_link
"$LINENO"; then :
13136 lt_aix_libpath_sed
='
13137 /Import File Strings/,/^$/ {
13143 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13144 # Check for a 64-bit object if we didn't find anything.
13145 if test -z "$aix_libpath"; then
13146 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13149 rm -f core conftest.err conftest.
$ac_objext \
13150 conftest
$ac_exeext conftest.
$ac_ext
13151 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13153 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13154 # Warning - without using the other run time loading flags,
13155 # -berok will link without error, but may produce a broken library.
13156 no_undefined_flag_CXX
=' ${wl}-bernotok'
13157 allow_undefined_flag_CXX
=' ${wl}-berok'
13158 if test "$with_gnu_ld" = yes; then
13159 # We only use this code for GNU lds that support --whole-archive.
13160 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13162 # Exported symbols can be pulled into shared objects from archives
13163 whole_archive_flag_spec_CXX
='$convenience'
13165 archive_cmds_need_lc_CXX
=yes
13166 # This is similar to how AIX traditionally builds its shared
13168 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'
13174 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13175 allow_undefined_flag_CXX
=unsupported
13176 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13177 # support --undefined. This deserves some investigation. FIXME
13178 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13185 case $cc_basename in
13187 # FIXME: insert proper C++ library support
13193 cygwin
* | mingw
* | pw32
* | cegcc
*)
13194 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13195 # as there is no search path for DLLs.
13196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13197 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13198 allow_undefined_flag_CXX
=unsupported
13199 always_export_symbols_CXX
=no
13200 enable_shared_with_static_runtimes_CXX
=yes
13202 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13203 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'
13204 # If the export-symbols file already is a .def file (1st line
13205 # is EXPORTS), use it as is; otherwise, prepend...
13206 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13207 cp $export_symbols $output_objdir/$soname.def;
13209 echo EXPORTS > $output_objdir/$soname.def;
13210 cat $export_symbols >> $output_objdir/$soname.def;
13212 $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'
13217 darwin
* | rhapsody
*)
13220 archive_cmds_need_lc_CXX
=no
13221 hardcode_direct_CXX
=no
13222 hardcode_automatic_CXX
=yes
13223 hardcode_shlibpath_var_CXX
=unsupported
13224 if test "$lt_cv_ld_force_load" = "yes"; then
13225 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\"`'
13227 whole_archive_flag_spec_CXX
=''
13229 link_all_deplibs_CXX
=yes
13230 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13231 case $cc_basename in
13232 ifort
*) _lt_dar_can_shared
=yes ;;
13233 *) _lt_dar_can_shared
=$GCC ;;
13235 if test "$_lt_dar_can_shared" = "yes"; then
13236 output_verbose_link_cmd
=func_echo_all
13237 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}"
13238 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13239 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}"
13240 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}"
13241 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13242 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}"
13243 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}"
13253 case $cc_basename in
13255 # FIXME: insert proper C++ library support
13259 # Green Hills C++ Compiler
13260 # FIXME: insert proper C++ library support
13264 # FIXME: insert proper C++ library support
13271 # C++ shared libraries reported to be fairly broken before
13277 archive_cmds_need_lc_CXX
=no
13280 freebsd
* | dragonfly
*)
13281 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13290 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13291 link_all_deplibs_CXX
=yes
13295 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13296 hardcode_libdir_separator_CXX
=:
13297 export_dynamic_flag_spec_CXX
='${wl}-E'
13298 hardcode_direct_CXX
=yes
13299 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13300 # but as the default
13301 # location of the library.
13303 case $cc_basename in
13305 # FIXME: insert proper C++ library support
13309 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'
13310 # Commands to make compiler produce verbose output that lists
13311 # what "hidden" libraries, object files and flags are used when
13312 # linking a shared library.
13314 # There doesn't appear to be a way to prevent this compiler from
13315 # explicitly linking system object files so we need to strip them
13316 # from the output so that they don't get included in the library
13318 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"'
13321 if test "$GXX" = yes; then
13322 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'
13324 # FIXME: insert proper C++ library support
13332 if test $with_gnu_ld = no
; then
13333 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13334 hardcode_libdir_separator_CXX
=:
13340 export_dynamic_flag_spec_CXX
='${wl}-E'
13346 hardcode_direct_CXX
=no
13347 hardcode_shlibpath_var_CXX
=no
13350 hardcode_direct_CXX
=yes
13351 hardcode_direct_absolute_CXX
=yes
13352 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13353 # but as the default
13354 # location of the library.
13358 case $cc_basename in
13360 # FIXME: insert proper C++ library support
13366 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13369 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13372 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13375 # Commands to make compiler produce verbose output that lists
13376 # what "hidden" libraries, object files and flags are used when
13377 # linking a shared library.
13379 # There doesn't appear to be a way to prevent this compiler from
13380 # explicitly linking system object files so we need to strip them
13381 # from the output so that they don't get included in the library
13383 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"'
13386 if test "$GXX" = yes; then
13387 if test $with_gnu_ld = no
; then
13390 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13393 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13396 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'
13401 # FIXME: insert proper C++ library support
13409 hardcode_direct_CXX
=no
13410 hardcode_shlibpath_var_CXX
=no
13411 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13412 export_dynamic_flag_spec_CXX
='${wl}-E'
13413 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13414 # Instead, shared libraries are loaded at an image base (0x10000000 by
13415 # default) and relocated if they conflict, which is a slow very memory
13416 # consuming and fragmenting process. To avoid this, we pick a random,
13417 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13418 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13419 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'
13420 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'
13423 case $cc_basename in
13426 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'
13428 # Archives containing C++ object files must be created using
13429 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13430 # necessary to make sure instantiated templates are included
13432 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13435 if test "$GXX" = yes; then
13436 if test "$with_gnu_ld" = no
; then
13437 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'
13439 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'
13442 link_all_deplibs_CXX
=yes
13445 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13446 hardcode_libdir_separator_CXX
=:
13447 inherit_rpath_CXX
=yes
13450 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13451 case $cc_basename in
13453 # Kuck and Associates, Inc. (KAI) C++ Compiler
13455 # KCC will only create a shared library if the output file
13456 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13457 # to its proper name (with version) after linking.
13458 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'
13459 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'
13460 # Commands to make compiler produce verbose output that lists
13461 # what "hidden" libraries, object files and flags are used when
13462 # linking a shared library.
13464 # There doesn't appear to be a way to prevent this compiler from
13465 # explicitly linking system object files so we need to strip them
13466 # from the output so that they don't get included in the library
13468 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"'
13470 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13471 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13473 # Archives containing C++ object files must be created using
13474 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13475 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13480 # version 8.0 and above of icpc choke on multiply defined symbols
13481 # if we add $predep_objects and $postdep_objects, however 7.1 and
13482 # earlier do not add the objects themselves.
13483 case `$CC -V 2>&1` in
13485 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13486 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'
13488 *) # Version 8.0 or newer
13491 ia64
*) tmp_idyn
=' -i_dynamic';;
13493 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13494 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'
13497 archive_cmds_need_lc_CXX
=no
13498 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13499 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13500 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13503 # Portland Group C++ compiler
13505 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13506 prelink_cmds_CXX
='tpldir=Template.dir~
13508 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13509 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13510 old_archive_cmds_CXX
='tpldir=Template.dir~
13512 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13513 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13515 archive_cmds_CXX
='tpldir=Template.dir~
13517 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13518 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13519 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13521 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13522 $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'
13524 *) # Version 6 and above use weak symbols
13525 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13526 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'
13530 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13531 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13532 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'
13536 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13537 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'
13539 runpath_var
=LD_RUN_PATH
13540 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13541 hardcode_libdir_separator_CXX
=:
13543 # Commands to make compiler produce verbose output that lists
13544 # what "hidden" libraries, object files and flags are used when
13545 # linking a shared library.
13547 # There doesn't appear to be a way to prevent this compiler from
13548 # explicitly linking system object files so we need to strip them
13549 # from the output so that they don't get included in the library
13551 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'
13553 xl
* | mpixl
* | bgxl
*)
13554 # IBM XL 8.0 on PPC, with GNU ld
13555 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13556 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13557 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13558 if test "x$supports_anon_versioning" = xyes
; then
13559 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13560 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13561 echo "local: *; };" >> $output_objdir/$libname.ver~
13562 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13566 case `$CC -V 2>&1 | sed 5q` in
13569 no_undefined_flag_CXX
=' -zdefs'
13570 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13571 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'
13572 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13573 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'
13574 compiler_needs_object_CXX
=yes
13576 # Not sure whether something based on
13577 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13579 output_verbose_link_cmd
='func_echo_all'
13581 # Archives containing C++ object files must be created using
13582 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13583 # necessary to make sure instantiated templates are included
13585 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13593 # FIXME: insert proper C++ library support
13598 # FIXME: insert proper C++ library support
13603 case $cc_basename in
13605 # FIXME: insert proper C++ library support
13609 # FIXME: insert proper C++ library support
13616 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13617 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13619 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13620 hardcode_direct_CXX
=yes
13621 hardcode_shlibpath_var_CXX
=no
13623 # Workaround some broken pre-1.5 toolchains
13624 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13632 # C++ shared libraries are fairly broken
13637 if test -f /usr
/libexec
/ld.so
; then
13638 hardcode_direct_CXX
=yes
13639 hardcode_shlibpath_var_CXX
=no
13640 hardcode_direct_absolute_CXX
=yes
13641 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13642 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13643 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13644 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13645 export_dynamic_flag_spec_CXX
='${wl}-E'
13646 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13648 output_verbose_link_cmd
=func_echo_all
13654 osf3
* | osf4
* | osf5
*)
13655 case $cc_basename in
13657 # Kuck and Associates, Inc. (KAI) C++ Compiler
13659 # KCC will only create a shared library if the output file
13660 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13661 # to its proper name (with version) after linking.
13662 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'
13664 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13665 hardcode_libdir_separator_CXX
=:
13667 # Archives containing C++ object files must be created using
13668 # the KAI C++ compiler.
13670 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13671 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13675 # Rational C++ 2.4.1
13676 # FIXME: insert proper C++ library support
13682 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13683 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'
13684 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13687 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13688 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'
13689 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13690 echo "-hidden">> $lib.exp~
13691 $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~
13693 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13697 hardcode_libdir_separator_CXX
=:
13699 # Commands to make compiler produce verbose output that lists
13700 # what "hidden" libraries, object files and flags are used when
13701 # linking a shared library.
13703 # There doesn't appear to be a way to prevent this compiler from
13704 # explicitly linking system object files so we need to strip them
13705 # from the output so that they don't get included in the library
13707 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"'
13710 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13711 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13714 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'
13717 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'
13721 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13722 hardcode_libdir_separator_CXX
=:
13724 # Commands to make compiler produce verbose output that lists
13725 # what "hidden" libraries, object files and flags are used when
13726 # linking a shared library.
13727 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13730 # FIXME: insert proper C++ library support
13738 # FIXME: insert proper C++ library support
13743 case $cc_basename in
13746 # FIXME: insert proper C++ library support
13751 # FIXME: insert proper C++ library support
13755 # FIXME: insert proper C++ library support
13762 case $cc_basename in
13764 # Sun C++ 4.2, 5.x and Centerline C++
13765 archive_cmds_need_lc_CXX
=yes
13766 no_undefined_flag_CXX
=' -zdefs'
13767 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13768 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13769 $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'
13771 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13772 hardcode_shlibpath_var_CXX
=no
13774 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13776 # The compiler driver will combine and reorder linker options,
13777 # but understands `-z linker_flag'.
13778 # Supported since Solaris 2.6 (maybe 2.5.1?)
13779 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13782 link_all_deplibs_CXX
=yes
13784 output_verbose_link_cmd
='func_echo_all'
13786 # Archives containing C++ object files must be created using
13787 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13788 # necessary to make sure instantiated templates are included
13790 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13793 # Green Hills C++ Compiler
13794 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13796 # The C++ compiler must be used to create the archive.
13797 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13800 # GNU C++ compiler with Solaris linker
13801 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13802 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13803 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13804 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13805 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13806 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13808 # Commands to make compiler produce verbose output that lists
13809 # what "hidden" libraries, object files and flags are used when
13810 # linking a shared library.
13811 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13813 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13815 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13816 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13817 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13819 # Commands to make compiler produce verbose output that lists
13820 # what "hidden" libraries, object files and flags are used when
13821 # linking a shared library.
13822 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13825 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13827 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13829 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13837 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13838 no_undefined_flag_CXX
='${wl}-z,text'
13839 archive_cmds_need_lc_CXX
=no
13840 hardcode_shlibpath_var_CXX
=no
13841 runpath_var
='LD_RUN_PATH'
13843 case $cc_basename in
13845 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13846 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13849 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13850 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13855 sysv5
* | sco3.2v5
* | sco5v6
*)
13856 # Note: We can NOT use -z defs as we might desire, because we do not
13857 # link with -lc, and that would cause any symbols used from libc to
13858 # always be unresolved, which means just about no library would
13859 # ever link correctly. If we're not using GNU ld we use -z text
13860 # though, which does catch some bad symbols but isn't as heavy-handed
13862 no_undefined_flag_CXX
='${wl}-z,text'
13863 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13864 archive_cmds_need_lc_CXX
=no
13865 hardcode_shlibpath_var_CXX
=no
13866 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13867 hardcode_libdir_separator_CXX
=':'
13868 link_all_deplibs_CXX
=yes
13869 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13870 runpath_var
='LD_RUN_PATH'
13872 case $cc_basename in
13874 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13875 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13876 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13877 '"$old_archive_cmds_CXX"
13878 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13879 '"$reload_cmds_CXX"
13882 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13883 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13889 case $cc_basename in
13891 # NonStop-UX NCC 3.20
13892 # FIXME: insert proper C++ library support
13896 # FIXME: insert proper C++ library support
13903 # FIXME: insert proper C++ library support
13908 # FIXME: insert proper C++ library support
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13914 $as_echo "$ld_shlibs_CXX" >&6; }
13915 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13921 ## There is no encapsulation within the following macros, do not change
13922 ## the running order or otherwise move them around unless you know exactly
13923 ## what you are doing...
13924 # Dependencies to place before and after the object being linked:
13925 predep_objects_CXX
=
13926 postdep_objects_CXX
=
13929 compiler_lib_search_path_CXX
=
13931 cat > conftest.
$ac_ext <<_LT_EOF
13935 Foo (void) { a = 0; }
13941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13942 (eval $ac_compile) 2>&5
13944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13945 test $ac_status = 0; }; then
13946 # Parse the compiler output and extract the necessary
13947 # objects, libraries and library flags.
13949 # Sentinel used to keep track of whether or not we are before
13950 # the conftest object file.
13951 pre_test_object_deps_done
=no
13953 for p
in `eval "$output_verbose_link_cmd"`; do
13957 # Some compilers place space between "-{L,R}" and the path.
13958 # Remove the space.
13959 if test $p = "-L" ||
13960 test $p = "-R"; then
13967 if test "$pre_test_object_deps_done" = no
; then
13970 # Internal compiler library paths should come after those
13971 # provided the user. The postdeps already come after the
13972 # user supplied libs so there is no need to process them.
13973 if test -z "$compiler_lib_search_path_CXX"; then
13974 compiler_lib_search_path_CXX
="${prev}${p}"
13976 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13979 # The "-l" case would never come before the object being
13980 # linked, so don't bother handling this case.
13983 if test -z "$postdeps_CXX"; then
13984 postdeps_CXX
="${prev}${p}"
13986 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13992 # This assumes that the test object file only shows up
13993 # once in the compiler output.
13994 if test "$p" = "conftest.$objext"; then
13995 pre_test_object_deps_done
=yes
13999 if test "$pre_test_object_deps_done" = no
; then
14000 if test -z "$predep_objects_CXX"; then
14001 predep_objects_CXX
="$p"
14003 predep_objects_CXX
="$predep_objects_CXX $p"
14006 if test -z "$postdep_objects_CXX"; then
14007 postdep_objects_CXX
="$p"
14009 postdep_objects_CXX
="$postdep_objects_CXX $p"
14014 *) ;; # Ignore the rest.
14022 echo "libtool.m4: error: problem compiling CXX test program"
14025 $RM -f confest.
$objext
14027 # PORTME: override above test on systems where it is broken
14030 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14031 # hack all around it, let's just trust "g++" to DTRT.
14032 predep_objects_CXX
=
14033 postdep_objects_CXX
=
14038 case `$CC -V 2>&1 | sed 5q` in
14042 # The more standards-conforming stlport4 library is
14043 # incompatible with the Cstd library. Avoid specifying
14044 # it if it's in CXXFLAGS. Ignore libCrun as
14045 # -library=stlport4 depends on it.
14046 case " $CXX $CXXFLAGS " in
14047 *" -library=stlport4 "*)
14048 solaris_use_stlport4
=yes
14052 if test "$solaris_use_stlport4" != yes; then
14053 postdeps_CXX
='-library=Cstd -library=Crun'
14060 case $cc_basename in
14062 # The more standards-conforming stlport4 library is
14063 # incompatible with the Cstd library. Avoid specifying
14064 # it if it's in CXXFLAGS. Ignore libCrun as
14065 # -library=stlport4 depends on it.
14066 case " $CXX $CXXFLAGS " in
14067 *" -library=stlport4 "*)
14068 solaris_use_stlport4
=yes
14072 # Adding this requires a known-good setup of shared libraries for
14073 # Sun compiler versions before 5.6, else PIC objects from an old
14074 # archive will be linked into the output, leading to subtle bugs.
14075 if test "$solaris_use_stlport4" != yes; then
14076 postdeps_CXX
='-library=Cstd -library=Crun'
14084 case " $postdeps_CXX " in
14085 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14087 compiler_lib_search_dirs_CXX
=
14088 if test -n "${compiler_lib_search_path_CXX}"; then
14089 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14122 lt_prog_compiler_wl_CXX
=
14123 lt_prog_compiler_pic_CXX
=
14124 lt_prog_compiler_static_CXX
=
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14127 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14129 # C++ specific cases for pic, static, wl, etc.
14130 if test "$GXX" = yes; then
14131 lt_prog_compiler_wl_CXX
='-Wl,'
14132 lt_prog_compiler_static_CXX
='-static'
14136 # All AIX code is PIC.
14137 if test "$host_cpu" = ia64
; then
14138 # AIX 5 now supports IA64 processor
14139 lt_prog_compiler_static_CXX
='-Bstatic'
14141 lt_prog_compiler_pic_CXX
='-fPIC'
14147 # see comment about AmigaOS4 .so support
14148 lt_prog_compiler_pic_CXX
='-fPIC'
14151 # FIXME: we need at least 68020 code to build shared libraries, but
14152 # adding the `-m68020' flag to GCC prevents building anything better,
14154 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14159 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14160 # PIC is the default for these OSes.
14162 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14163 # This hack is so that the source file can tell whether it is being
14164 # built for inclusion in a dll (and should export symbols for example).
14165 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14166 # (--disable-auto-import) libraries
14167 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14169 darwin
* | rhapsody
*)
14170 # PIC is the default on this platform
14171 # Common symbols not allowed in MH_DYLIB files
14172 lt_prog_compiler_pic_CXX
='-fno-common'
14175 # DJGPP does not support shared libraries at all
14176 lt_prog_compiler_pic_CXX
=
14179 # PIC is the default for Haiku.
14180 # The "-static" flag exists, but is broken.
14181 lt_prog_compiler_static_CXX
=
14184 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14185 # Instead, we relocate shared libraries at runtime.
14188 if test -d /usr
/nec
; then
14189 lt_prog_compiler_pic_CXX
=-Kconform_pic
14193 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14194 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14195 # sets the default TLS model and affects inlining.
14200 lt_prog_compiler_pic_CXX
='-fPIC'
14205 # QNX uses GNU C++, but need to define -shared option too, otherwise
14206 # it will coredump.
14207 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14210 lt_prog_compiler_pic_CXX
='-fPIC'
14216 # All AIX code is PIC.
14217 if test "$host_cpu" = ia64
; then
14218 # AIX 5 now supports IA64 processor
14219 lt_prog_compiler_static_CXX
='-Bstatic'
14221 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14225 case $cc_basename in
14227 # Green Hills C++ Compiler
14228 # _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"
14233 case $cc_basename in
14235 lt_prog_compiler_pic_CXX
='-KPIC'
14238 # Green Hills C++ Compiler
14239 lt_prog_compiler_pic_CXX
='-pic'
14245 freebsd
* | dragonfly
*)
14246 # FreeBSD uses GNU C++
14248 hpux9
* | hpux10
* | hpux11
*)
14249 case $cc_basename in
14251 lt_prog_compiler_wl_CXX
='-Wl,'
14252 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14253 if test "$host_cpu" != ia64
; then
14254 lt_prog_compiler_pic_CXX
='+Z'
14258 lt_prog_compiler_wl_CXX
='-Wl,'
14259 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14265 lt_prog_compiler_pic_CXX
='+Z'
14274 # This is c89, which is MS Visual C++ (no shared libs)
14275 # Anyone wants to do a port?
14277 irix5
* | irix6
* | nonstopux
*)
14278 case $cc_basename in
14280 lt_prog_compiler_wl_CXX
='-Wl,'
14281 lt_prog_compiler_static_CXX
='-non_shared'
14282 # CC pic flag -KPIC is the default.
14288 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14289 case $cc_basename in
14292 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14293 lt_prog_compiler_pic_CXX
='-fPIC'
14296 # old Intel C++ for x86_64 which still supported -KPIC.
14297 lt_prog_compiler_wl_CXX
='-Wl,'
14298 lt_prog_compiler_pic_CXX
='-KPIC'
14299 lt_prog_compiler_static_CXX
='-static'
14302 # Intel C++, used to be incompatible with GCC.
14303 # ICC 10 doesn't accept -KPIC any more.
14304 lt_prog_compiler_wl_CXX
='-Wl,'
14305 lt_prog_compiler_pic_CXX
='-fPIC'
14306 lt_prog_compiler_static_CXX
='-static'
14309 # Portland Group C++ compiler
14310 lt_prog_compiler_wl_CXX
='-Wl,'
14311 lt_prog_compiler_pic_CXX
='-fpic'
14312 lt_prog_compiler_static_CXX
='-Bstatic'
14316 # Make sure the PIC flag is empty. It appears that all Alpha
14317 # Linux and Compaq Tru64 Unix objects are PIC.
14318 lt_prog_compiler_pic_CXX
=
14319 lt_prog_compiler_static_CXX
='-non_shared'
14321 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14322 # IBM XL 8.0, 9.0 on PPC and BlueGene
14323 lt_prog_compiler_wl_CXX
='-Wl,'
14324 lt_prog_compiler_pic_CXX
='-qpic'
14325 lt_prog_compiler_static_CXX
='-qstaticlink'
14328 case `$CC -V 2>&1 | sed 5q` in
14331 lt_prog_compiler_pic_CXX
='-KPIC'
14332 lt_prog_compiler_static_CXX
='-Bstatic'
14333 lt_prog_compiler_wl_CXX
='-Qoption ld '
14344 case $cc_basename in
14346 lt_prog_compiler_pic_CXX
='-W c,exportall'
14355 # QNX uses GNU C++, but need to define -shared option too, otherwise
14356 # it will coredump.
14357 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14359 osf3
* | osf4
* | osf5
*)
14360 case $cc_basename in
14362 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14365 # Rational C++ 2.4.1
14366 lt_prog_compiler_pic_CXX
='-pic'
14369 # Digital/Compaq C++
14370 lt_prog_compiler_wl_CXX
='-Wl,'
14371 # Make sure the PIC flag is empty. It appears that all Alpha
14372 # Linux and Compaq Tru64 Unix objects are PIC.
14373 lt_prog_compiler_pic_CXX
=
14374 lt_prog_compiler_static_CXX
='-non_shared'
14383 case $cc_basename in
14385 # Sun C++ 4.2, 5.x and Centerline C++
14386 lt_prog_compiler_pic_CXX
='-KPIC'
14387 lt_prog_compiler_static_CXX
='-Bstatic'
14388 lt_prog_compiler_wl_CXX
='-Qoption ld '
14391 # Green Hills C++ Compiler
14392 lt_prog_compiler_pic_CXX
='-PIC'
14399 case $cc_basename in
14402 lt_prog_compiler_pic_CXX
='-pic'
14403 lt_prog_compiler_static_CXX
='-Bstatic'
14407 lt_prog_compiler_pic_CXX
='-pic'
14413 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14414 case $cc_basename in
14416 lt_prog_compiler_wl_CXX
='-Wl,'
14417 lt_prog_compiler_pic_CXX
='-KPIC'
14418 lt_prog_compiler_static_CXX
='-Bstatic'
14423 case $cc_basename in
14425 # NonStop-UX NCC 3.20
14426 lt_prog_compiler_pic_CXX
='-KPIC'
14435 lt_prog_compiler_can_build_shared_CXX
=no
14441 # For platforms which do not support PIC, -DPIC is meaningless:
14443 lt_prog_compiler_pic_CXX
=
14446 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14450 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14455 # Check to make sure the PIC flag actually works.
14457 if test -n "$lt_prog_compiler_pic_CXX"; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14459 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14460 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 lt_cv_prog_compiler_pic_works_CXX
=no
14464 ac_outfile
=conftest.
$ac_objext
14465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14466 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14467 # Insert the option either (1) after the last *FLAGS variable, or
14468 # (2) before a word containing "conftest.", or (3) at the end.
14469 # Note that $ac_compile itself does not contain backslashes and begins
14470 # with a dollar sign (not a hyphen), so the echo should work correctly.
14471 # The option is referenced via a variable to avoid confusing sed.
14472 lt_compile
=`echo "$ac_compile" | $SED \
14473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14475 -e 's:$: $lt_compiler_flag:'`
14476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14477 (eval "$lt_compile" 2>conftest.err
)
14479 cat conftest.err
>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 if (exit $ac_status) && test -s "$ac_outfile"; then
14482 # The compiler can only warn and ignore the option if not recognized
14483 # So say no if there are warnings other than the usual output.
14484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14487 lt_cv_prog_compiler_pic_works_CXX
=yes
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14494 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14496 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14497 case $lt_prog_compiler_pic_CXX in
14499 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14502 lt_prog_compiler_pic_CXX
=
14503 lt_prog_compiler_can_build_shared_CXX
=no
14511 # Check to make sure the static flag actually works.
14513 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14515 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14516 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 lt_cv_prog_compiler_static_works_CXX
=no
14520 save_LDFLAGS
="$LDFLAGS"
14521 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14522 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14523 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14524 # The linker can only warn and ignore the option if not recognized
14525 # So say no if there are warnings
14526 if test -s conftest.err
; then
14527 # Append any errors to the config.log.
14528 cat conftest.err
1>&5
14529 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14530 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14531 if diff conftest.exp conftest.er2
>/dev
/null
; then
14532 lt_cv_prog_compiler_static_works_CXX
=yes
14535 lt_cv_prog_compiler_static_works_CXX
=yes
14539 LDFLAGS
="$save_LDFLAGS"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14543 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14545 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14548 lt_prog_compiler_static_CXX
=
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14555 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14556 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14557 $as_echo_n "(cached) " >&6
14559 lt_cv_prog_compiler_c_o_CXX
=no
14560 $RM -r conftest
2>/dev
/null
14564 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14566 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14567 # Insert the option either (1) after the last *FLAGS variable, or
14568 # (2) before a word containing "conftest.", or (3) at the end.
14569 # Note that $ac_compile itself does not contain backslashes and begins
14570 # with a dollar sign (not a hyphen), so the echo should work correctly.
14571 lt_compile
=`echo "$ac_compile" | $SED \
14572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14574 -e 's:$: $lt_compiler_flag:'`
14575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14576 (eval "$lt_compile" 2>out
/conftest.err
)
14578 cat out
/conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14582 # The compiler can only warn and ignore the option if not recognized
14583 # So say no if there are warnings
14584 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14585 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14586 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14587 lt_cv_prog_compiler_c_o_CXX
=yes
14592 # SGI C++ compiler will create directory out/ii_files/ for
14593 # template instantiation
14594 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14595 $RM out
/* && rmdir out
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14602 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14607 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14608 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14609 $as_echo_n "(cached) " >&6
14611 lt_cv_prog_compiler_c_o_CXX
=no
14612 $RM -r conftest
2>/dev
/null
14616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14618 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14619 # Insert the option either (1) after the last *FLAGS variable, or
14620 # (2) before a word containing "conftest.", or (3) at the end.
14621 # Note that $ac_compile itself does not contain backslashes and begins
14622 # with a dollar sign (not a hyphen), so the echo should work correctly.
14623 lt_compile
=`echo "$ac_compile" | $SED \
14624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14626 -e 's:$: $lt_compiler_flag:'`
14627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14628 (eval "$lt_compile" 2>out
/conftest.err
)
14630 cat out
/conftest.err
>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14634 # The compiler can only warn and ignore the option if not recognized
14635 # So say no if there are warnings
14636 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14637 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14638 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14639 lt_cv_prog_compiler_c_o_CXX
=yes
14644 # SGI C++ compiler will create directory out/ii_files/ for
14645 # template instantiation
14646 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14647 $RM out
/* && rmdir out
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14654 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14659 hard_links
="nottested"
14660 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14661 # do not overwrite the value of need_locks provided by the user
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14663 $as_echo_n "checking if we can lock with hard links... " >&6; }
14666 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14668 ln conftest.a conftest.b
2>&5 || hard_links
=no
14669 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14671 $as_echo "$hard_links" >&6; }
14672 if test "$hard_links" = no
; then
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14674 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14684 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14686 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14689 # If we're using GNU nm, then we don't want the "-C" option.
14690 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14691 # Also, AIX nm treats weak defined symbols like other global defined
14692 # symbols, whereas GNU nm marks them as "W".
14693 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14694 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'
14696 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'
14700 export_symbols_cmds_CXX
="$ltdll_cmds"
14702 cygwin
* | mingw
* | cegcc
*)
14703 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'
14706 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14709 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14712 $as_echo "$ld_shlibs_CXX" >&6; }
14713 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14715 with_gnu_ld_CXX
=$with_gnu_ld
14723 # Do we need to explicitly link libc?
14725 case "x$archive_cmds_need_lc_CXX" in
14727 # Assume -lc should be added
14728 archive_cmds_need_lc_CXX
=yes
14730 if test "$enable_shared" = yes && test "$GCC" = yes; then
14731 case $archive_cmds_CXX in
14733 # FIXME: we may have to deal with multi-command sequences.
14736 # Test whether the compiler implicitly links with -lc since on some
14737 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14738 # to ld, don't add -lc before -lgcc.
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14740 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14741 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14742 $as_echo_n "(cached) " >&6
14745 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14748 (eval $ac_compile) 2>&5
14750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 test $ac_status = 0; } 2>conftest.err
; then
14754 libobjs
=conftest.
$ac_objext
14756 wl
=$lt_prog_compiler_wl_CXX
14757 pic_flag
=$lt_prog_compiler_pic_CXX
14763 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14764 allow_undefined_flag_CXX
=
14765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14766 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14769 test $ac_status = 0; }
14771 lt_cv_archive_cmds_need_lc_CXX
=no
14773 lt_cv_archive_cmds_need_lc_CXX
=yes
14775 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14777 cat conftest.err
1>&5
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14783 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14784 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14855 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14857 library_names_spec
=
14858 libname_spec
='lib$name'
14862 postuninstall_cmds
=
14866 shlibpath_overrides_runpath
=unknown
14868 dynamic_linker
="$host_os ld.so"
14869 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14870 need_lib_prefix
=unknown
14871 hardcode_into_libs
=no
14873 # when you set need_version to no, make sure it does not cause -set_version
14874 # flags to be left without arguments
14875 need_version
=unknown
14880 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14881 shlibpath_var
=LIBPATH
14883 # AIX 3 has no versioning support, so we append a major version to the name.
14884 soname_spec
='${libname}${release}${shared_ext}$major'
14891 hardcode_into_libs
=yes
14892 if test "$host_cpu" = ia64
; then
14893 # AIX 5 supports IA64
14894 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14895 shlibpath_var
=LD_LIBRARY_PATH
14897 # With GCC up to 2.95.x, collect2 would create an import file
14898 # for dependence libraries. The import file would start with
14899 # the line `#! .'. This would cause the generated library to
14900 # depend on `.', always an invalid library. This was fixed in
14901 # development snapshots of GCC prior to 3.0.
14903 aix4 | aix4.
[01] | aix4.
[01].
*)
14904 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14906 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14909 can_build_shared
=no
14913 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14914 # soname into executable. Probably we can add versioning support to
14915 # collect2, so additional links can be useful in future.
14916 if test "$aix_use_runtimelinking" = yes; then
14917 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14918 # instead of lib<name>.a to let people know that these are not
14919 # typical AIX shared libraries.
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 # We preserve .a as extension for shared libraries through AIX4.2
14923 # and later when we are not doing run time linking.
14924 library_names_spec
='${libname}${release}.a $libname.a'
14925 soname_spec
='${libname}${release}${shared_ext}$major'
14927 shlibpath_var
=LIBPATH
14934 # Since July 2007 AmigaOS4 officially supports .so libraries.
14935 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14939 library_names_spec
='$libname.ixlibrary $libname.a'
14940 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14941 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'
14947 library_names_spec
='${libname}${shared_ext}'
14948 dynamic_linker
="$host_os ld.so"
14949 shlibpath_var
=LIBRARY_PATH
14955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956 soname_spec
='${libname}${release}${shared_ext}$major'
14957 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14958 shlibpath_var
=LD_LIBRARY_PATH
14959 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14960 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14961 # the default ld.so.conf also contains /usr/contrib/lib and
14962 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14963 # libtool to hard-code these into programs
14966 cygwin
* | mingw
* | pw32
* | cegcc
*)
14967 version_type
=windows
14972 case $GCC,$host_os in
14973 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14974 library_names_spec
='$libname.dll.a'
14975 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14976 postinstall_cmds
='base_file=`basename \${file}`~
14977 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14978 dldir=$destdir/`dirname \$dlpath`~
14979 test -d \$dldir || mkdir -p \$dldir~
14980 $install_prog $dir/$dlname \$dldir/$dlname~
14981 chmod a+x \$dldir/$dlname~
14982 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14983 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14985 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14986 dlpath=$dir/\$dldll~
14988 shlibpath_overrides_runpath
=yes
14992 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14993 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14997 # MinGW DLLs use traditional 'lib' prefix
14998 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15001 # pw32 DLLs use 'pw' prefix rather than 'lib'
15002 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15008 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15011 dynamic_linker
='Win32 ld.exe'
15012 # FIXME: first we should search . and the directory the executable is in
15016 darwin
* | rhapsody
*)
15017 dynamic_linker
="$host_os dyld"
15018 version_type
=darwin
15021 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15022 soname_spec
='${libname}${release}${major}$shared_ext'
15023 shlibpath_overrides_runpath
=yes
15024 shlibpath_var
=DYLD_LIBRARY_PATH
15025 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15027 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15035 soname_spec
='${libname}${release}${shared_ext}$major'
15036 shlibpath_var
=LD_LIBRARY_PATH
15039 freebsd
* | dragonfly
*)
15040 # DragonFly does not have aout. When/if they implement a new
15041 # versioning mechanism, adjust this.
15042 if test -x /usr
/bin
/objformat
; then
15043 objformat
=`/usr/bin/objformat`
15046 freebsd
[23].
*) objformat
=aout
;;
15047 *) objformat
=elf
;;
15050 version_type
=freebsd-
$objformat
15051 case $version_type in
15053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15058 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15062 shlibpath_var
=LD_LIBRARY_PATH
15065 shlibpath_overrides_runpath
=yes
15067 freebsd3.
[01]* | freebsdelf3.
[01]*)
15068 shlibpath_overrides_runpath
=yes
15069 hardcode_into_libs
=yes
15071 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15072 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15073 shlibpath_overrides_runpath
=no
15074 hardcode_into_libs
=yes
15076 *) # from 4.6 on, and DragonFly
15077 shlibpath_overrides_runpath
=yes
15078 hardcode_into_libs
=yes
15087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15088 soname_spec
='${libname}${release}${shared_ext}$major'
15089 shlibpath_var
=LD_LIBRARY_PATH
15090 hardcode_into_libs
=yes
15097 dynamic_linker
="$host_os runtime_loader"
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15099 soname_spec
='${libname}${release}${shared_ext}$major'
15100 shlibpath_var
=LIBRARY_PATH
15101 shlibpath_overrides_runpath
=yes
15102 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15103 hardcode_into_libs
=yes
15106 hpux9
* | hpux10
* | hpux11
*)
15107 # Give a soname corresponding to the major version so that dld.sl refuses to
15108 # link against other versions.
15115 hardcode_into_libs
=yes
15116 dynamic_linker
="$host_os dld.so"
15117 shlibpath_var
=LD_LIBRARY_PATH
15118 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 soname_spec
='${libname}${release}${shared_ext}$major'
15121 if test "X$HPUX_IA64_MODE" = X32
; then
15122 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15124 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15126 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15130 hardcode_into_libs
=yes
15131 dynamic_linker
="$host_os dld.sl"
15132 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15133 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135 soname_spec
='${libname}${release}${shared_ext}$major'
15136 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15141 dynamic_linker
="$host_os dld.sl"
15142 shlibpath_var
=SHLIB_PATH
15143 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15145 soname_spec
='${libname}${release}${shared_ext}$major'
15148 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15149 postinstall_cmds
='chmod 555 $lib'
15150 # or fails outright, so override atomically:
15151 install_override_mode
=555
15158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15159 soname_spec
='${libname}${release}${shared_ext}$major'
15160 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15161 shlibpath_var
=LD_LIBRARY_PATH
15162 shlibpath_overrides_runpath
=no
15163 hardcode_into_libs
=yes
15166 irix5
* | irix6
* | nonstopux
*)
15168 nonstopux
*) version_type
=nonstopux
;;
15170 if test "$lt_cv_prog_gnu_ld" = yes; then
15178 soname_spec
='${libname}${release}${shared_ext}$major'
15179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15181 irix5
* | nonstopux
*)
15182 libsuff
= shlibsuff
=
15185 case $LD in # libtool.m4 will add one of these switches to LD
15186 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15187 libsuff
= shlibsuff
= libmagic
=32-bit;;
15188 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15189 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15190 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15191 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15192 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15196 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15197 shlibpath_overrides_runpath
=no
15198 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15199 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15200 hardcode_into_libs
=yes
15203 # No shared lib support for Linux oldld, aout, or coff.
15204 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15208 # This must be Linux ELF.
15210 # uclinux* changes (here and below) have been submitted to the libtool
15211 # project, but have not yet been accepted: they are GCC-local changes
15212 # for the time being. (See
15213 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15214 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
15218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15219 soname_spec
='${libname}${release}${shared_ext}$major'
15220 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=no
15224 # Some binutils ld are patched to set DT_RUNPATH
15225 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15228 lt_cv_shlibpath_overrides_runpath
=no
15229 save_LDFLAGS
=$LDFLAGS
15230 save_libdir
=$libdir
15231 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15232 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15244 if ac_fn_cxx_try_link
"$LINENO"; then :
15245 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15246 lt_cv_shlibpath_overrides_runpath
=yes
15249 rm -f core conftest.err conftest.
$ac_objext \
15250 conftest
$ac_exeext conftest.
$ac_ext
15251 LDFLAGS
=$save_LDFLAGS
15252 libdir
=$save_libdir
15256 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15258 # This implies no fast_install, which is unacceptable.
15259 # Some rework will be needed to allow for fast_install
15260 # before this can be enabled.
15261 hardcode_into_libs
=yes
15263 # Append ld.so.conf contents to the search path
15264 if test -f /etc
/ld.so.conf
; then
15265 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' ' '`
15266 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15269 # We used to test for /lib/ld.so.1 and disable shared libraries on
15270 # powerpc, because MkLinux only supported shared libraries with the
15271 # GNU dynamic linker. Since this was broken with cross compilers,
15272 # most powerpc-linux boxes support dynamic linking these days and
15273 # people can always --disable-shared, the test was removed, and we
15274 # assume the GNU/Linux dynamic linker is in use.
15275 dynamic_linker
='GNU/Linux ld.so'
15282 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15284 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15285 dynamic_linker
='NetBSD (a.out) ld.so'
15287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15288 soname_spec
='${libname}${release}${shared_ext}$major'
15289 dynamic_linker
='NetBSD ld.elf_so'
15291 shlibpath_var
=LD_LIBRARY_PATH
15292 shlibpath_overrides_runpath
=yes
15293 hardcode_into_libs
=yes
15298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 shlibpath_overrides_runpath
=yes
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 shlibpath_var
=LD_LIBRARY_PATH
15310 shlibpath_overrides_runpath
=no
15311 hardcode_into_libs
=yes
15312 dynamic_linker
='ldqnx.so'
15317 sys_lib_dlsearch_path_spec
="/usr/lib"
15319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15321 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15322 *) need_version
=no
;;
15324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15325 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15326 shlibpath_var
=LD_LIBRARY_PATH
15327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15329 openbsd2.
[89] | openbsd2.
[89].
*)
15330 shlibpath_overrides_runpath
=no
15333 shlibpath_overrides_runpath
=yes
15337 shlibpath_overrides_runpath
=yes
15342 libname_spec
='$name'
15345 library_names_spec
='$libname${shared_ext} $libname.a'
15346 dynamic_linker
='OS/2 ld.exe'
15347 shlibpath_var
=LIBPATH
15350 osf3
* | osf4
* | osf5
*)
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15356 shlibpath_var
=LD_LIBRARY_PATH
15357 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15358 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15370 soname_spec
='${libname}${release}${shared_ext}$major'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 shlibpath_overrides_runpath
=yes
15373 hardcode_into_libs
=yes
15374 # ldd complains unless libraries are executable
15375 postinstall_cmds
='chmod +x $lib'
15380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15381 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15382 shlibpath_var
=LD_LIBRARY_PATH
15383 shlibpath_overrides_runpath
=yes
15384 if test "$with_gnu_ld" = yes; then
15392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15393 soname_spec
='${libname}${release}${shared_ext}$major'
15394 shlibpath_var
=LD_LIBRARY_PATH
15395 case $host_vendor in
15397 shlibpath_overrides_runpath
=no
15399 runpath_var
=LD_RUN_PATH
15407 shlibpath_overrides_runpath
=no
15408 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15414 if test -d /usr
/nec
;then
15416 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15417 soname_spec
='$libname${shared_ext}.$major'
15418 shlibpath_var
=LD_LIBRARY_PATH
15422 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15423 version_type
=freebsd-elf
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath
=yes
15430 hardcode_into_libs
=yes
15431 if test "$with_gnu_ld" = yes; then
15432 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15434 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15437 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15441 sys_lib_dlsearch_path_spec
='/usr/lib'
15445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15450 shlibpath_var
=LD_LIBRARY_PATH
15451 shlibpath_overrides_runpath
=no
15452 hardcode_into_libs
=yes
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15458 soname_spec
='${libname}${release}${shared_ext}$major'
15459 shlibpath_var
=LD_LIBRARY_PATH
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15467 $as_echo "$dynamic_linker" >&6; }
15468 test "$dynamic_linker" = no
&& can_build_shared
=no
15470 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15471 if test "$GCC" = yes; then
15472 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15476 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15478 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15479 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15520 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15521 hardcode_action_CXX
=
15522 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15523 test -n "$runpath_var_CXX" ||
15524 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15526 # We can hardcode non-existent directories.
15527 if test "$hardcode_direct_CXX" != no
&&
15528 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15529 # have to relink, otherwise we might link with an installed library
15530 # when we should be linking with a yet-to-be-installed one
15531 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15532 test "$hardcode_minus_L_CXX" != no
; then
15533 # Linking always hardcodes the temporary library directory.
15534 hardcode_action_CXX
=relink
15536 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15537 hardcode_action_CXX
=immediate
15540 # We cannot hardcode anything, or else we can only hardcode existing
15542 hardcode_action_CXX
=unsupported
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15545 $as_echo "$hardcode_action_CXX" >&6; }
15547 if test "$hardcode_action_CXX" = relink ||
15548 test "$inherit_rpath_CXX" = yes; then
15549 # Fast installation is not supported
15550 enable_fast_install
=no
15551 elif test "$shlibpath_overrides_runpath" = yes ||
15552 test "$enable_shared" = no
; then
15553 # Fast installation is not necessary
15554 enable_fast_install
=needless
15563 fi # test -n "$compiler"
15569 with_gnu_ld
=$lt_save_with_gnu_ld
15570 lt_cv_path_LDCXX
=$lt_cv_path_LD
15571 lt_cv_path_LD
=$lt_save_path_LD
15572 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15573 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15574 fi # test "$_lt_caught_CXX_error" != yes
15577 ac_cpp
='$CPP $CPPFLAGS'
15578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15594 ac_config_commands
="$ac_config_commands libtool"
15599 # Only expand once:
15606 *-cygwin* |
*-mingw*)
15607 # 'host' will be top-level target in the case of a target lib,
15608 # we must compare to with_cross_host to decide if this is a native
15609 # or cross-compiler and select where to install dlls appropriately.
15610 if test -n "$with_cross_host" &&
15611 test x
"$with_cross_host" != x
"no"; then
15612 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15614 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15627 # For libtool versioning info, format is CURRENT:REVISION:AGE
15628 libtool_VERSION
=1:0:0
15631 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15633 # Add CET specific flags if Intel CET is enabled.
15634 # Check whether --enable-cet was given.
15635 if test "${enable_cet+set}" = set; then :
15636 enableval
=$enable_cet;
15637 case "$enableval" in
15639 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15648 $as_echo_n "checking for CET support... " >&6; }
15651 i
[34567]86-*-linux* | x86_64-
*-linux*)
15652 case "$enable_cet" in
15654 # Check if target supports multi-byte NOPs
15655 # and if assembler supports CET insn.
15656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15663 #if !defined(__SSE2__)
15664 #error target does not support multi-byte NOPs
15673 if ac_fn_c_try_compile
"$LINENO"; then :
15678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15681 # Check if assembler supports CET.
15682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15693 if ac_fn_c_try_compile
"$LINENO"; then :
15696 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 if test x
$enable_cet = xyes
; then
15707 CET_FLAGS
="-fcf-protection -mshstk"
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15709 $as_echo "yes" >&6; }
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15712 $as_echo "no" >&6; }
15715 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15719 if test "${multilib}" = "yes"; then
15720 multilib_arg
="--enable-multilib"
15725 ac_config_files
="$ac_config_files Makefile"
15728 if test "x$VTV_SUPPORTED" = "xyes"; then
15729 ac_config_files
="$ac_config_files testsuite/Makefile"
15733 case "$target_os" in
15742 if test $vtv_cygmin = yes; then
15744 VTV_CYGMIN_FALSE
='#'
15746 VTV_CYGMIN_TRUE
='#'
15751 for ac_func
in _obstack_begin
15753 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15754 if test "x$ac_cv_func__obstack_begin" = xyes
; then :
15755 cat >>confdefs.h
<<_ACEOF
15756 #define HAVE__OBSTACK_BEGIN 1
15762 if test $ac_cv_func__obstack_begin = no
; then
15763 VTV_NO_OBSTACK_TRUE
=
15764 VTV_NO_OBSTACK_FALSE
='#'
15766 VTV_NO_OBSTACK_TRUE
='#'
15767 VTV_NO_OBSTACK_FALSE
=
15771 # Determine what GCC version number to use in filesystem paths.
15773 get_gcc_base_ver
="cat"
15775 # Check whether --with-gcc-major-version-only was given.
15776 if test "${with_gcc_major_version_only+set}" = set; then :
15777 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15778 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
15786 cat >confcache
<<\_ACEOF
15787 # This file is a shell script that caches the results of configure
15788 # tests run on this system so they can be shared between configure
15789 # scripts and configure runs, see configure's option --config-cache.
15790 # It is not useful on other systems. If it contains results you don't
15791 # want to keep, you may remove or edit it.
15793 # config.status only pays attention to the cache file if you give it
15794 # the --recheck option to rerun configure.
15796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15798 # following values.
15802 # The following way of writing the cache mishandles newlines in values,
15803 # but we know of no workaround that is simple, portable, and efficient.
15804 # So, we kill variables containing newlines.
15805 # Ultrix sh set writes to stderr and can't be redirected directly,
15806 # and sets the high bit in the cache file unless we assign to the vars.
15808 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15809 eval ac_val
=\$
$ac_var
15813 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15817 _ | IFS | as_nl
) ;; #(
15818 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15819 *) { eval $ac_var=; unset $ac_var;} ;;
15825 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15826 *${as_nl}ac_space
=\
*)
15827 # `set' does not quote correctly, so add quotes: double-quote
15828 # substitution turns \\\\ into \\, and sed turns \\ into \.
15831 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15834 # `set' quotes correctly as required by POSIX, so do not add quotes.
15835 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15846 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15848 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15849 if test -w "$cache_file"; then
15850 if test "x$cache_file" != "x/dev/null"; then
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15852 $as_echo "$as_me: updating cache $cache_file" >&6;}
15853 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15854 cat confcache
>"$cache_file"
15856 case $cache_file in #(
15858 mv -f confcache
"$cache_file"$$
&&
15859 mv -f "$cache_file"$$
"$cache_file" ;; #(
15861 mv -f confcache
"$cache_file" ;;
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15872 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15873 # Let make expand exec_prefix.
15874 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15876 # Transform confdefs.h into DEFS.
15877 # Protect against shell expansion while executing Makefile rules.
15878 # Protect against Makefile macro expansion.
15880 # If the first sed substitution is executed (which looks for macros that
15881 # take arguments), then branch to the quote section. Otherwise,
15882 # look for a macro that doesn't take arguments.
15892 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15894 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15898 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15911 DEFS
=`sed -n "$ac_script" confdefs.h`
15917 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15918 # 1. Remove the extension, and $U if already installed.
15919 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15920 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15921 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15922 # will be set to the directory where LIBOBJS objects are built.
15923 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15924 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15926 LIBOBJS
=$ac_libobjs
15928 LTLIBOBJS
=$ac_ltlibobjs
15931 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15932 as_fn_error $?
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15936 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15937 if test -n "$am_sleep_pid"; then
15938 # Hide warnings about reused PIDs.
15939 wait $am_sleep_pid 2>/dev
/null
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15942 $as_echo "done" >&6; }
15943 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15944 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15947 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15948 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15951 if test -n "$EXEEXT"; then
15953 am__EXEEXT_FALSE
='#'
15955 am__EXEEXT_TRUE
='#'
15959 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15960 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15963 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15964 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15967 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15968 as_fn_error $?
"conditional \"VTV_CYGMIN\" was never defined.
15969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15971 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
15972 as_fn_error $?
"conditional \"VTV_NO_OBSTACK\" was never defined.
15973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15976 : "${CONFIG_STATUS=./config.status}"
15978 ac_clean_files_save
=$ac_clean_files
15979 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15981 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15983 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15985 # Generated by $as_me.
15986 # Run this file to recreate the current configuration.
15987 # Compiler output produced by configure, useful for debugging
15988 # configure, is in config.log if it exists.
15991 ac_cs_recheck=false
15994 SHELL=\${CONFIG_SHELL-$SHELL}
15997 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15998 ## -------------------- ##
15999 ## M4sh Initialization. ##
16000 ## -------------------- ##
16002 # Be more Bourne compatible
16003 DUALCASE
=1; export DUALCASE
# for MKS sh
16004 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16007 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16008 # is contrary to our usage. Disable this feature.
16009 alias -g '${1+"$@"}'='"$@"'
16010 setopt NO_GLOB_SUBST
16012 case `(set -o) 2>/dev/null` in #(
16024 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16025 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16026 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16027 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16028 # Prefer a ksh shell builtin over an external printf program on Solaris,
16029 # but without wasting forks for bash or zsh.
16030 if test -z "$BASH_VERSION$ZSH_VERSION" \
16031 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16032 as_echo='print
-r --'
16033 as_echo_n='print
-rn --'
16034 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16035 as_echo='printf %s
\n'
16036 as_echo_n='printf %s
'
16038 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16039 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16040 as_echo_n='/usr
/ucb
/echo -n'
16042 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16043 as_echo_n_body='eval
16047 expr "X$arg" : "X\\(.*\\)$as_nl";
16048 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16050 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16052 export as_echo_n_body
16053 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16055 export as_echo_body
16056 as_echo='sh
-c $as_echo_body as_echo
'
16059 # The user is always right.
16060 if test "${PATH_SEPARATOR+set}" != set; then
16062 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16063 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16070 # We need space, tab and new line, in precisely that order. Quoting is
16071 # there to prevent editors from complaining about space-tab.
16072 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16073 # splitting by setting IFS to empty value.)
16076 # Find who we are. Look in the path if we contain no directory separator.
16079 *[\\/]* ) as_myself=$0 ;;
16080 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16081 for as_dir in $PATH
16084 test -z "$as_dir" && as_dir=.
16085 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16091 # We did not find ourselves, most probably we were run as `sh COMMAND'
16092 # in which case we are not to be found in the path.
16093 if test "x$as_myself" = x
; then
16096 if test ! -f "$as_myself"; then
16097 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16101 # Unset variables that we do not need and which cause bugs (e.g. in
16102 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16103 # suppresses any "Segmentation fault" message there. '((' could
16104 # trigger a bug in pdksh 5.2.14.
16105 for as_var
in BASH_ENV ENV MAIL MAILPATH
16106 do eval test x\
${$as_var+set} = xset \
16107 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16120 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16123 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16124 # ----------------------------------------
16125 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16126 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16127 # script with STATUS, using 1 if that was 0.
16130 as_status
=$1; test $as_status -eq 0 && as_status
=1
16132 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16133 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16135 $as_echo "$as_me: error: $2" >&2
16136 as_fn_exit
$as_status
16140 # as_fn_set_status STATUS
16141 # -----------------------
16142 # Set $? to STATUS, without forking.
16143 as_fn_set_status
()
16146 } # as_fn_set_status
16148 # as_fn_exit STATUS
16149 # -----------------
16150 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16154 as_fn_set_status
$1
16160 # Portably unset VAR.
16163 { eval $1=; unset $1;}
16165 as_unset
=as_fn_unset
16166 # as_fn_append VAR VALUE
16167 # ----------------------
16168 # Append the text in VALUE to the end of the definition contained in VAR. Take
16169 # advantage of any shell optimizations that allow amortized linear growth over
16170 # repeated appends, instead of the typical quadratic growth present in naive
16172 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16173 eval 'as_fn_append ()
16184 # as_fn_arith ARG...
16185 # ------------------
16186 # Perform arithmetic evaluation on the ARGs, and store the result in the
16187 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16188 # must be portable across $(()) and expr.
16189 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16190 eval 'as_fn_arith ()
16197 as_val
=`expr "$@" || test $? -eq 1`
16202 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16203 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16209 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16210 as_basename
=basename
16215 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16221 as_me
=`$as_basename -- "$0" ||
16222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16223 X"$0" : 'X\(//\)$' \| \
16224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16226 sed '/^.*\/\([^/][^/]*\)\/*$/{
16240 # Avoid depending upon Character Ranges.
16241 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16242 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16243 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16244 as_cr_digits
='0123456789'
16245 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16247 ECHO_C
= ECHO_N
= ECHO_T
=
16248 case `echo -n x` in #(((((
16250 case `echo 'xy\c'` in
16251 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16253 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16260 rm -f conf$$ conf$$.exe conf$$.
file
16261 if test -d conf$$.dir
; then
16262 rm -f conf$$.dir
/conf$$.
file
16265 mkdir conf$$.dir
2>/dev
/null
16267 if (echo >conf$$.
file) 2>/dev
/null
; then
16268 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16270 # ... but there are two gotchas:
16271 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16272 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16273 # In both cases, we have to default to `cp -pR'.
16274 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16276 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16284 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16285 rmdir conf$$.dir
2>/dev
/null
16290 # Create "$as_dir" as a directory, including parents if necessary.
16295 -*) as_dir
=.
/$as_dir;;
16297 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16301 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16302 *) as_qdir
=$as_dir;;
16304 as_dirs
="'$as_qdir' $as_dirs"
16305 as_dir
=`$as_dirname -- "$as_dir" ||
16306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16307 X"$as_dir" : 'X\(//\)[^/]' \| \
16308 X"$as_dir" : 'X\(//\)$' \| \
16309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16310 $as_echo X"$as_dir" |
16311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16315 /^X\(\/\/\)[^/].*/{
16328 test -d "$as_dir" && break
16330 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16331 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16335 if mkdir
-p .
2>/dev
/null
; then
16336 as_mkdir_p
='mkdir -p "$as_dir"'
16338 test -d .
/-p && rmdir .
/-p
16343 # as_fn_executable_p FILE
16344 # -----------------------
16345 # Test if FILE is an executable regular file.
16346 as_fn_executable_p
()
16348 test -f "$1" && test -x "$1"
16349 } # as_fn_executable_p
16350 as_test_x
='test -x'
16351 as_executable_p
=as_fn_executable_p
16353 # Sed expression to map a string onto a valid CPP name.
16354 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16356 # Sed expression to map a string onto a valid variable name.
16357 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16361 ## ----------------------------------- ##
16362 ## Main body of $CONFIG_STATUS script. ##
16363 ## ----------------------------------- ##
16365 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16368 # Save the log message, to keep $0 and so on meaningful, and to
16369 # report actual input values of CONFIG_FILES etc. instead of their
16370 # values after options handling.
16372 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16373 generated by GNU Autoconf 2.69. Invocation command line was
16375 CONFIG_FILES = $CONFIG_FILES
16376 CONFIG_HEADERS = $CONFIG_HEADERS
16377 CONFIG_LINKS = $CONFIG_LINKS
16378 CONFIG_COMMANDS = $CONFIG_COMMANDS
16381 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16386 case $ac_config_files in *"
16387 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16393 # Files that config.status was made for.
16394 config_files="$ac_config_files"
16395 config_commands="$ac_config_commands"
16399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16401 \`$as_me' instantiates files and other configuration actions
16402 from templates according to the current configuration. Unless the files
16403 and actions are specified as TAGs, all are instantiated by default.
16405 Usage: $0 [OPTION]... [TAG]...
16407 -h, --help print this help, then exit
16408 -V, --version print version number and configuration settings, then exit
16409 --config print configuration, then exit
16410 -q, --quiet, --silent
16411 do not print progress messages
16412 -d, --debug don't remove temporary files
16413 --recheck update $as_me by reconfiguring in the same conditions
16414 --file=FILE[:TEMPLATE]
16415 instantiate the configuration file FILE
16417 Configuration files:
16420 Configuration commands:
16423 Report bugs to the package provider.
16424 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16425 General help using GNU software: <http://www.gnu.org/gethelp/>."
16428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16429 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16431 GNU Vtable Verification Runtime Library config.status 1.0
16432 configured by $0, generated by GNU Autoconf 2.69,
16433 with options \\"\$ac_cs_config\\"
16435 Copyright (C) 2012 Free Software Foundation, Inc.
16436 This config.status script is free software; the Free Software Foundation
16437 gives unlimited permission to copy, distribute and modify it."
16444 test -n "\$AWK" || AWK=awk
16447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16448 # The default lists apply if the user does not specify any file.
16454 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16455 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16459 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16471 # Handling of the options.
16472 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16474 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16475 $as_echo "$ac_cs_version"; exit ;;
16476 --config |
--confi |
--conf |
--con |
--co |
--c )
16477 $as_echo "$ac_cs_config"; exit ;;
16478 --debug |
--debu |
--deb |
--de |
--d |
-d )
16480 --file |
--fil |
--fi |
--f )
16483 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16484 '') as_fn_error $?
"missing file argument" ;;
16486 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16487 ac_need_defaults
=false
;;
16488 --he |
--h |
--help |
--hel |
-h )
16489 $as_echo "$ac_cs_usage"; exit ;;
16490 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16491 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16494 # This is an error.
16495 -*) as_fn_error $?
"unrecognized option: \`$1'
16496 Try \`$0 --help' for more information." ;;
16498 *) as_fn_append ac_config_targets
" $1"
16499 ac_need_defaults
=false
;;
16505 ac_configure_extra_args
=
16507 if $ac_cs_silent; then
16509 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16514 if \$ac_cs_recheck; then
16515 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16518 CONFIG_SHELL='$SHELL'
16519 export CONFIG_SHELL
16524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16529 ## Running $as_me. ##
16535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16543 with_multisubdir="$with_multisubdir"
16544 with_multisrctop="$with_multisrctop"
16545 with_target_subdir="$with_target_subdir"
16546 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16547 multi_basedir="$multi_basedir"
16548 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16551 GFORTRAN="$GFORTRAN"
16553 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16556 # The HP-UX ksh and POSIX shell print the target directory to stdout
16557 # if CDPATH is set.
16558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16560 sed_quote_subst='$sed_quote_subst'
16561 double_quote_subst='$double_quote_subst'
16562 delay_variable_subst='$delay_variable_subst'
16563 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16564 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16565 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16566 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16567 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16568 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16569 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16570 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16571 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16572 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16573 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16574 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16575 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16576 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16577 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16578 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16579 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16580 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16581 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16582 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16583 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16584 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16585 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16586 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16587 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16588 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16589 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16590 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16591 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16592 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16593 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16594 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16595 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16596 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16597 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16598 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16599 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16600 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16601 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16602 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16603 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16604 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16605 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16606 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16607 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16608 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16609 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16610 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16611 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"`'
16612 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16613 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16614 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16615 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16616 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16617 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16618 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16619 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16620 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16621 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16622 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16623 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16624 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16625 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16626 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16627 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16628 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16629 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16630 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16631 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16632 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16633 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16634 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16635 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16636 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16637 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16638 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16639 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16640 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16641 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16642 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16643 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16644 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16645 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16646 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16647 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16648 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16649 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16650 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16651 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16652 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16653 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16654 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16655 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16656 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16657 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16658 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16659 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16660 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16661 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16662 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16663 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16664 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16665 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16666 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16667 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16668 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16669 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16670 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16671 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16672 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16673 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16674 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16675 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16676 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16677 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16678 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16679 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16680 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16681 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16682 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16683 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16684 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16685 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16686 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16687 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16688 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16689 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16690 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16691 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16692 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16693 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16694 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16695 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16696 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16697 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16698 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16699 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16700 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16701 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16702 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16703 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16704 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16705 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16706 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16707 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16708 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16709 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16710 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16711 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16712 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16713 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16714 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16715 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16716 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16717 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16718 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16719 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16720 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16721 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16722 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16723 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16724 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16725 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16726 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16727 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16728 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16729 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16730 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16731 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16732 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16733 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16734 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16735 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16736 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16737 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16740 LTCFLAGS='$LTCFLAGS'
16741 compiler='$compiler_DEFAULT'
16743 # A function that is used when there is no print builtin or printf.
16744 func_fallback_echo ()
16746 eval 'cat <<_LTECHO_EOF
16751 # Quote evaled strings.
16765 deplibs_check_method \
16774 lt_cv_sys_global_symbol_pipe \
16775 lt_cv_sys_global_symbol_to_cdecl \
16776 lt_cv_sys_global_symbol_to_c_name_address \
16777 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16778 lt_prog_compiler_no_builtin_flag \
16779 lt_prog_compiler_wl \
16780 lt_prog_compiler_pic \
16781 lt_prog_compiler_static \
16782 lt_cv_prog_compiler_c_o \
16790 export_dynamic_flag_spec \
16791 whole_archive_flag_spec \
16792 compiler_needs_object \
16794 allow_undefined_flag \
16795 no_undefined_flag \
16796 hardcode_libdir_flag_spec \
16797 hardcode_libdir_flag_spec_ld \
16798 hardcode_libdir_separator \
16803 variables_saved_for_relink \
16805 library_names_spec \
16807 install_override_mode \
16811 compiler_lib_search_dirs \
16816 compiler_lib_search_path \
16820 lt_prog_compiler_no_builtin_flag_CXX \
16821 lt_prog_compiler_wl_CXX \
16822 lt_prog_compiler_pic_CXX \
16823 lt_prog_compiler_static_CXX \
16824 lt_cv_prog_compiler_c_o_CXX \
16825 export_dynamic_flag_spec_CXX \
16826 whole_archive_flag_spec_CXX \
16827 compiler_needs_object_CXX \
16829 allow_undefined_flag_CXX \
16830 no_undefined_flag_CXX \
16831 hardcode_libdir_flag_spec_CXX \
16832 hardcode_libdir_flag_spec_ld_CXX \
16833 hardcode_libdir_separator_CXX \
16834 fix_srcfile_path_CXX \
16835 exclude_expsyms_CXX \
16836 include_expsyms_CXX \
16837 file_list_spec_CXX \
16838 compiler_lib_search_dirs_CXX \
16839 predep_objects_CXX \
16840 postdep_objects_CXX \
16843 compiler_lib_search_path_CXX; do
16844 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16845 *[\\\\\\\`\\"\\\$]*)
16846 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16849 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16854 # Double-quote double-evaled strings.
16855 for var in reload_cmds \
16856 old_postinstall_cmds \
16857 old_postuninstall_cmds \
16859 extract_expsyms_cmds \
16860 old_archive_from_new_cmds \
16861 old_archive_from_expsyms_cmds \
16863 archive_expsym_cmds \
16865 module_expsym_cmds \
16866 export_symbols_cmds \
16869 postuninstall_cmds \
16871 sys_lib_search_path_spec \
16872 sys_lib_dlsearch_path_spec \
16874 old_archive_cmds_CXX \
16875 old_archive_from_new_cmds_CXX \
16876 old_archive_from_expsyms_cmds_CXX \
16878 archive_expsym_cmds_CXX \
16880 module_expsym_cmds_CXX \
16881 export_symbols_cmds_CXX \
16882 prelink_cmds_CXX; do
16883 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16884 *[\\\\\\\`\\"\\\$]*)
16885 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16888 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16893 ac_aux_dir='$ac_aux_dir'
16894 xsi_shell='$xsi_shell'
16895 lt_shell_append='$lt_shell_append'
16897 # See if we are running on zsh, and set the options which allow our
16898 # commands through without removal of \ escapes INIT.
16899 if test -n "\${ZSH_VERSION+set}" ; then
16900 setopt NO_GLOB_SUBST
16906 TIMESTAMP='$TIMESTAMP'
16917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16919 # Handling of arguments.
16920 for ac_config_target
in $ac_config_targets
16922 case $ac_config_target in
16923 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16924 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16925 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16926 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16927 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16929 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16934 # If the user did not use the arguments to specify the items to instantiate,
16935 # then the envvar interface is used. Set only those that are not.
16936 # We use the long form for the default assignment because of an extremely
16937 # bizarre bug on SunOS 4.1.3.
16938 if $ac_need_defaults; then
16939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16943 # Have a temporary directory for convenience. Make it in the build tree
16944 # simply because there is no reason against having it here, and in addition,
16945 # creating and moving files from /tmp can sometimes cause problems.
16946 # Hook for its removal unless debugging.
16947 # Note that there is a small window in which the directory will not be cleaned:
16948 # after its creation but before its name has been assigned to `$tmp'.
16952 trap 'exit_status=$?
16953 : "${ac_tmp:=$tmp}"
16954 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16956 trap 'as_fn_exit 1' 1 2 13 15
16958 # Create a (secure) tmp directory for tmp files.
16961 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16965 tmp
=.
/conf$$
-$RANDOM
16966 (umask 077 && mkdir
"$tmp")
16967 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16970 # Set up the scripts for CONFIG_FILES section.
16971 # No need to generate them if there are no CONFIG_FILES.
16972 # This happens for instance with `./config.status config.h'.
16973 if test -n "$CONFIG_FILES"; then
16976 ac_cr
=`echo X | tr X '\015'`
16977 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16978 # But we know of no other shell where ac_cr would be empty at this
16979 # point, so we can use a bashism as a fallback.
16980 if test "x$ac_cr" = x
; then
16981 eval ac_cr
=\$
\'\\r
\'
16983 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16984 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16987 ac_cs_awk_cr
=$ac_cr
16990 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16995 echo "cat >conf$$subs.awk <<_ACEOF" &&
16996 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16998 } >conf$$subs.sh ||
16999 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17002 for ac_last_try in false false false false false :; do
17003 . ./conf$$subs.sh ||
17004 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17006 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17007 if test $ac_delim_n = $ac_delim_num; then
17009 elif $ac_last_try; then
17010 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17012 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17015 rm -f conf$$subs.sh
17017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17018 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17022 s/^/S["/; s
/!.
*/"]=/
17032 s/\(.\{148\}\)..*/\1/
17034 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17039 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17046 s/\(.\{148\}\)..*/\1/
17048 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17052 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17057 ' <conf$$subs.awk | sed '
17062 ' >>$CONFIG_STATUS || ac_write_fail=1
17063 rm -f conf$$subs.awk
17064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17066 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17067 for (key in S) S_is_set[key] = 1
17073 nfields = split(line, field, "@
")
17075 len = length(field[1])
17076 for (i = 2; i < nfields; i++) {
17078 keylen = length(key)
17079 if (S_is_set[key]) {
17081 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17082 len += length(value) + length(field[++i])
17093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17094 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17095 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17098 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17099 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17102 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17103 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17104 # trailing colons and then remove the whole line if VPATH becomes empty
17105 # (actually we leave an empty line to preserve line numbers).
17106 if test "x
$srcdir" = x.; then
17107 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17126 fi # test -n "$CONFIG_FILES"
17129 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17134 :[FHLC]) ac_mode=$ac_tag; continue;;
17136 case $ac_mode$ac_tag in
17138 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17139 :[FH]-) ac_tag=-:-;;
17140 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17157 -) ac_f="$ac_tmp/stdin";;
17158 *) # Look for the file first in the build tree, then in the source tree
17159 # (if the path is not absolute). The absolute path cannot be DOS-style,
17160 # because $ac_f cannot contain `:'.
17164 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17166 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17168 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17169 as_fn_append ac_file_inputs " '$ac_f'"
17172 # Let's still pretend it is `configure' which instantiates (i.e., don't
17173 # use $as_me), people would be surprised to read:
17174 # /* config.h. Generated by config.status. */
17175 configure_input='Generated from '`
17176 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17178 if test x"$ac_file" != x-; then
17179 configure_input="$ac_file.
$configure_input"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17181 $as_echo "$as_me: creating
$ac_file" >&6;}
17183 # Neutralize special characters interpreted by sed in replacement strings.
17184 case $configure_input in #(
17185 *\&* | *\|* | *\\* )
17186 ac_sed_conf_input=`$as_echo "$configure_input" |
17187 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17188 *) ac_sed_conf_input=$configure_input;;
17192 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17193 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17198 ac_dir=`$as_dirname -- "$ac_file" ||
17199 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17200 X"$ac_file" : 'X\(//\)[^/]' \| \
17201 X"$ac_file" : 'X\(//\)$' \| \
17202 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17203 $as_echo X"$ac_file" |
17204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17208 /^X\(\/\/\)[^/].*/{
17221 as_dir="$ac_dir"; as_fn_mkdir_p
17225 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17227 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17228 # A "..
" for each directory in $ac_dir_suffix.
17229 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17230 case $ac_top_builddir_sub in
17231 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17232 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17235 ac_abs_top_builddir=$ac_pwd
17236 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17237 # for backward compatibility:
17238 ac_top_builddir=$ac_top_build_prefix
17241 .) # We are building in place.
17243 ac_top_srcdir=$ac_top_builddir_sub
17244 ac_abs_top_srcdir=$ac_pwd ;;
17245 [\\/]* | ?:[\\/]* ) # Absolute name.
17246 ac_srcdir=$srcdir$ac_dir_suffix;
17247 ac_top_srcdir=$srcdir
17248 ac_abs_top_srcdir=$srcdir ;;
17249 *) # Relative name.
17250 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17251 ac_top_srcdir=$ac_top_build_prefix$srcdir
17252 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17254 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17264 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17265 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17267 ac_MKDIR_P=$MKDIR_P
17269 [\\/$]* | ?:[\\/]* ) ;;
17270 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17275 # If the template does not know about datarootdir, expand it.
17276 # FIXME: This hack should be removed a few years after 2.60.
17277 ac_datarootdir_hack=; ac_datarootdir_seen=
17288 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17289 *datarootdir*) ac_datarootdir_seen=yes;;
17290 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17292 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17295 ac_datarootdir_hack='
17296 s&@datadir@&$datadir&g
17297 s&@docdir@&$docdir&g
17298 s&@infodir@&$infodir&g
17299 s&@localedir@&$localedir&g
17300 s&@mandir@&$mandir&g
17301 s&\\\${datarootdir}&$datarootdir&g' ;;
17305 # Neutralize VPATH when `$srcdir' = `.'.
17306 # Shell code in configure.ac might set extrasub.
17307 # FIXME: do we really want to maintain this feature?
17308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17309 ac_sed_extra="$ac_vpsub
17312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17314 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17315 s|@configure_input@|
$ac_sed_conf_input|
;t t
17316 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17317 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17318 s
&@srcdir@
&$ac_srcdir&;t t
17319 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17320 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17321 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17322 s
&@builddir@
&$ac_builddir&;t t
17323 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17324 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17325 s
&@INSTALL@
&$ac_INSTALL&;t t
17326 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17327 $ac_datarootdir_hack
17329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17330 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17333 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17335 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17337 which seems to be undefined. Please make sure it is defined" >&5
17338 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17339 which seems to be undefined. Please make sure it is defined" >&2;}
17341 rm -f "$ac_tmp/stdin"
17343 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17344 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17350 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17351 $as_echo "$as_me: executing $ac_file commands" >&6;}
17356 case $ac_file$ac_mode in
17358 # Only add multilib support code if we just rebuilt the top-level
17360 case " $CONFIG_FILES " in
17362 ac_file=Makefile . ${multi_basedir}/config-ml.in
17365 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17366 # Older Autoconf quotes --file arguments for eval, but not when files
17367 # are listed without --file. Let's play safe and only
enable the
eval
17368 # if we detect the quoting.
17369 case $CONFIG_FILES in
17370 *\'*) eval set x
"$CONFIG_FILES" ;;
17371 *) set x
$CONFIG_FILES ;;
17376 # Strip MF so we end up with the name of the file.
17377 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17378 # Check whether this is an Automake generated Makefile or not.
17379 # We used to match only the files named 'Makefile.in', but
17380 # some people rename them; so instead we look at the file content.
17381 # Grep'ing the first line is not enough: some people post-process
17382 # each Makefile.in and add a new line on top of each file to say so.
17383 # Grep'ing the whole file is not good either: AIX grep has a line
17384 # limit of 2048, but all sed's we know have understand at least 4000.
17385 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17386 dirpart
=`$as_dirname -- "$mf" ||
17387 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17388 X"$mf" : 'X\(//\)[^/]' \| \
17389 X"$mf" : 'X\(//\)$' \| \
17390 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17396 /^X\(\/\/\)[^/].*/{
17412 # Extract the definition of DEPDIR, am__include, and am__quote
17413 # from the Makefile without running 'make'.
17414 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17415 test -z "$DEPDIR" && continue
17416 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17417 test -z "$am__include" && continue
17418 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17419 # Find all dependency output files, they are included files with
17420 # $(DEPDIR) in their names. We invoke sed twice because it is the
17421 # simplest approach to changing $(DEPDIR) to its actual value in the
17423 for file in `sed -n "
17424 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17425 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17426 # Make sure the directory exists.
17427 test -f "$dirpart/$file" && continue
17428 fdir
=`$as_dirname -- "$file" ||
17429 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17430 X"$file" : 'X\(//\)[^/]' \| \
17431 X"$file" : 'X\(//\)$' \| \
17432 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17433 $as_echo X"$file" |
17434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17438 /^X\(\/\/\)[^/].*/{
17451 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17452 # echo "creating $dirpart/$file"
17453 echo '# dummy' > "$dirpart/$file"
17460 # See if we are running on zsh, and set the options which allow our
17461 # commands through without removal of \ escapes.
17462 if test -n "${ZSH_VERSION+set}" ; then
17463 setopt NO_GLOB_SUBST
17466 cfgfile
="${ofile}T"
17467 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17470 cat <<_LT_EOF >> "$cfgfile"
17473 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17474 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17475 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17476 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17478 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17479 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17480 # Written by Gordon Matzigkeit, 1996
17482 # This file is part of GNU Libtool.
17484 # GNU Libtool is free software; you can redistribute it and/or
17485 # modify it under the terms of the GNU General Public License as
17486 # published by the Free Software Foundation; either version 2 of
17487 # the License, or (at your option) any later version.
17489 # As a special exception to the GNU General Public License,
17490 # if you distribute this file as part of a program or library that
17491 # is built using GNU Libtool, you may include this file under the
17492 # same distribution terms that you use for the rest of that program.
17494 # GNU Libtool is distributed in the hope that it will be useful,
17495 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17496 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17497 # GNU General Public License for more details.
17499 # You should have received a copy of the GNU General Public License
17500 # along with GNU Libtool; see the file COPYING. If not, a copy
17501 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17502 # obtained by writing to the Free Software Foundation, Inc.,
17503 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17506 # The names of the tagged configurations supported by this script.
17507 available_tags="CXX "
17509 # ### BEGIN LIBTOOL CONFIG
17511 # Which release of libtool.m4 was used?
17512 macro_version=$macro_version
17513 macro_revision=$macro_revision
17515 # Whether or not to build shared libraries.
17516 build_libtool_libs=$enable_shared
17518 # Whether or not to build static libraries.
17519 build_old_libs=$enable_static
17521 # What type of objects to build.
17524 # Whether or not to optimize for fast installation.
17525 fast_install=$enable_fast_install
17527 # Shell to use when invoking shell scripts.
17530 # An echo program that protects backslashes.
17534 host_alias=$host_alias
17538 # The build system.
17539 build_alias=$build_alias
17543 # A sed program that does not truncate output.
17546 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17547 Xsed="\$SED -e 1s/^X//"
17549 # A grep program that handles long lines.
17555 # A literal string matcher.
17558 # A BSD- or MS-compatible name lister.
17561 # Whether we need soft or hard links.
17564 # What is the maximum length of a command?
17565 max_cmd_len=$max_cmd_len
17567 # Object file suffix (normally "o").
17570 # Executable file suffix (normally "").
17573 # whether the shell understands "unset".
17576 # turn spaces into newlines.
17579 # turn newlines into spaces.
17582 # An object symbol dumper.
17583 OBJDUMP=$lt_OBJDUMP
17585 # Method to check whether dependent libraries are shared objects.
17586 deplibs_check_method=$lt_deplibs_check_method
17588 # Command to use when deplibs_check_method == "file_magic".
17589 file_magic_cmd=$lt_file_magic_cmd
17593 AR_FLAGS=$lt_AR_FLAGS
17595 # A symbol stripping program.
17598 # Commands used to install an old-style archive.
17600 old_postinstall_cmds=$lt_old_postinstall_cmds
17601 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17603 # Whether to use a lock for old archive extraction.
17604 lock_old_archive_extraction=$lock_old_archive_extraction
17609 # LTCC compiler flags.
17610 LTCFLAGS=$lt_CFLAGS
17612 # Take the output of nm and produce a listing of raw symbols and C names.
17613 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17615 # Transform the output of nm in a proper C declaration.
17616 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17618 # Transform the output of nm in a C name address pair.
17619 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17621 # Transform the output of nm in a C name address pair when lib prefix is needed.
17622 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17624 # The name of the directory that contains temporary libtool files.
17627 # Used to examine libraries when file_magic_cmd begins with "file".
17628 MAGIC_CMD=$MAGIC_CMD
17630 # Must we lock files when doing compilation?
17631 need_locks=$lt_need_locks
17633 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17634 DSYMUTIL=$lt_DSYMUTIL
17636 # Tool to change global to local symbols on Mac OS X.
17639 # Tool to manipulate fat objects and archives on Mac OS X.
17642 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17645 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17646 OTOOL64=$lt_OTOOL64
17648 # Old archive suffix (normally "a").
17651 # Shared library suffix (normally ".so").
17652 shrext_cmds=$lt_shrext_cmds
17654 # The commands to extract the exported symbol list from a shared archive.
17655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17657 # Variables whose values should be saved in libtool wrapper scripts and
17658 # restored at link time.
17659 variables_saved_for_relink=$lt_variables_saved_for_relink
17661 # Do we need the "lib" prefix for modules?
17662 need_lib_prefix=$need_lib_prefix
17664 # Do we need a version for libraries?
17665 need_version=$need_version
17667 # Library versioning type.
17668 version_type=$version_type
17670 # Shared library runtime path variable.
17671 runpath_var=$runpath_var
17673 # Shared library path variable.
17674 shlibpath_var=$shlibpath_var
17676 # Is shlibpath searched before the hard-coded library search path?
17677 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17679 # Format of library name prefix.
17680 libname_spec=$lt_libname_spec
17682 # List of archive names. First name is the real one, the rest are links.
17683 # The last name is the one that the linker finds with -lNAME
17684 library_names_spec=$lt_library_names_spec
17686 # The coded name of the library, if different from the real name.
17687 soname_spec=$lt_soname_spec
17689 # Permission mode override for installation of shared libraries.
17690 install_override_mode=$lt_install_override_mode
17692 # Command to use after installation of a shared archive.
17693 postinstall_cmds=$lt_postinstall_cmds
17695 # Command to use after uninstallation of a shared archive.
17696 postuninstall_cmds=$lt_postuninstall_cmds
17698 # Commands used to finish a libtool library installation in a directory.
17699 finish_cmds=$lt_finish_cmds
17701 # As "finish_cmds", except a single script fragment to be evaled but
17703 finish_eval=$lt_finish_eval
17705 # Whether we should hardcode library paths into libraries.
17706 hardcode_into_libs=$hardcode_into_libs
17708 # Compile-time system search path for libraries.
17709 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17711 # Run-time system search path for libraries.
17712 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17714 # Whether dlopen is supported.
17715 dlopen_support=$enable_dlopen
17717 # Whether dlopen of programs is supported.
17718 dlopen_self=$enable_dlopen_self
17720 # Whether dlopen of statically linked programs is supported.
17721 dlopen_self_static=$enable_dlopen_self_static
17723 # Commands to strip libraries.
17724 old_striplib=$lt_old_striplib
17725 striplib=$lt_striplib
17728 # The linker used to build libraries.
17731 # How to create reloadable object files.
17732 reload_flag=$lt_reload_flag
17733 reload_cmds=$lt_reload_cmds
17735 # Commands used to build an old-style archive.
17736 old_archive_cmds=$lt_old_archive_cmds
17738 # A language specific compiler.
17741 # Is the compiler the GNU compiler?
17744 # Compiler flag to turn off builtin functions.
17745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17747 # How to pass a linker flag through the compiler.
17748 wl=$lt_lt_prog_compiler_wl
17750 # Additional compiler flags for building library objects.
17751 pic_flag=$lt_lt_prog_compiler_pic
17753 # Compiler flag to prevent dynamic linking.
17754 link_static_flag=$lt_lt_prog_compiler_static
17756 # Does compiler simultaneously support -c and -o options?
17757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17759 # Whether or not to add -lc for building shared libraries.
17760 build_libtool_need_lc=$archive_cmds_need_lc
17762 # Whether or not to disallow shared libs when runtime libs are static.
17763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17765 # Compiler flag to allow reflexive dlopens.
17766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17768 # Compiler flag to generate shared objects directly from archives.
17769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17771 # Whether the compiler copes with passing no objects directly.
17772 compiler_needs_object=$lt_compiler_needs_object
17774 # Create an old-style archive from a shared archive.
17775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17777 # Create a temporary old-style archive to link instead of a shared archive.
17778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17780 # Commands used to build a shared archive.
17781 archive_cmds=$lt_archive_cmds
17782 archive_expsym_cmds=$lt_archive_expsym_cmds
17784 # Commands used to build a loadable module if different from building
17785 # a shared archive.
17786 module_cmds=$lt_module_cmds
17787 module_expsym_cmds=$lt_module_expsym_cmds
17789 # Whether we are building with GNU ld or not.
17790 with_gnu_ld=$lt_with_gnu_ld
17792 # Flag that allows shared libraries with undefined symbols to be built.
17793 allow_undefined_flag=$lt_allow_undefined_flag
17795 # Flag that enforces no undefined symbols.
17796 no_undefined_flag=$lt_no_undefined_flag
17798 # Flag to hardcode \$libdir into a binary during linking.
17799 # This must work even if \$libdir does not exist
17800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17802 # If ld is used when linking, flag to hardcode \$libdir into a binary
17803 # during linking. This must work even if \$libdir does not exist.
17804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17806 # Whether we need a single "-rpath" flag with a separated argument.
17807 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17810 # DIR into the resulting binary.
17811 hardcode_direct=$hardcode_direct
17813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17814 # DIR into the resulting binary and the resulting library dependency is
17815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17816 # library is relocated.
17817 hardcode_direct_absolute=$hardcode_direct_absolute
17819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17820 # into the resulting binary.
17821 hardcode_minus_L=$hardcode_minus_L
17823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17824 # into the resulting binary.
17825 hardcode_shlibpath_var=$hardcode_shlibpath_var
17827 # Set to "yes" if building a shared library automatically hardcodes DIR
17828 # into the library and all subsequent libraries and executables linked
17830 hardcode_automatic=$hardcode_automatic
17832 # Set to yes if linker adds runtime paths of dependent libraries
17833 # to runtime path list.
17834 inherit_rpath=$inherit_rpath
17836 # Whether libtool must link a program against all its dependency libraries.
17837 link_all_deplibs=$link_all_deplibs
17839 # Fix the shell variable \$srcfile for the compiler.
17840 fix_srcfile_path=$lt_fix_srcfile_path
17842 # Set to "yes" if exported symbols are required.
17843 always_export_symbols=$always_export_symbols
17845 # The commands to list exported symbols.
17846 export_symbols_cmds=$lt_export_symbols_cmds
17848 # Symbols that should not be listed in the preloaded symbols.
17849 exclude_expsyms=$lt_exclude_expsyms
17851 # Symbols that must always be exported.
17852 include_expsyms=$lt_include_expsyms
17854 # Commands necessary for linking programs (against libraries) with templates.
17855 prelink_cmds=$lt_prelink_cmds
17857 # Specify filename containing input files.
17858 file_list_spec=$lt_file_list_spec
17860 # How to hardcode a shared library path into an executable.
17861 hardcode_action=$hardcode_action
17863 # The directories searched by this compiler when creating a shared library.
17864 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17866 # Dependencies to place before and after the objects being linked to
17867 # create a shared library.
17868 predep_objects=$lt_predep_objects
17869 postdep_objects=$lt_postdep_objects
17870 predeps=$lt_predeps
17871 postdeps=$lt_postdeps
17873 # The library search path used internally by the compiler when linking
17874 # a shared library.
17875 compiler_lib_search_path=$lt_compiler_lib_search_path
17877 # ### END LIBTOOL CONFIG
17883 cat <<\_LT_EOF
>> "$cfgfile"
17884 # AIX sometimes has problems with the GCC collect2 program. For some
17885 # reason, if we set the COLLECT_NAMES environment variable, the problems
17886 # vanish in a puff of smoke.
17887 if test "X${COLLECT_NAMES+set}" != Xset
; then
17889 export COLLECT_NAMES
17896 ltmain
="$ac_aux_dir/ltmain.sh"
17899 # We use sed instead of cat because bash on DJGPP gets confused if
17900 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17901 # text mode, it properly converts lines to CR/LF. This bash problem
17902 # is reportedly fixed, but why not run on old versions too?
17903 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17904 ||
(rm -f "$cfgfile"; exit 1)
17908 cat << \_LT_EOF
>> "$cfgfile"
17910 # func_dirname file append nondir_replacement
17911 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17912 # otherwise set result to NONDIR_REPLACEMENT.
17916 */*) func_dirname_result
="${1%/*}${2}" ;;
17917 * ) func_dirname_result
="${3}" ;;
17921 # func_basename file
17924 func_basename_result
="${1##*/}"
17927 # func_dirname_and_basename file append nondir_replacement
17928 # perform func_basename and func_dirname in a single function
17930 # dirname: Compute the dirname of FILE. If nonempty,
17931 # add APPEND to the result, otherwise set result
17932 # to NONDIR_REPLACEMENT.
17933 # value returned in "$func_dirname_result"
17934 # basename: Compute filename of FILE.
17935 # value retuned in "$func_basename_result"
17936 # Implementation must be kept synchronized with func_dirname
17937 # and func_basename. For efficiency, we do not delegate to
17938 # those functions but instead duplicate the functionality here.
17939 func_dirname_and_basename
()
17942 */*) func_dirname_result
="${1%/*}${2}" ;;
17943 * ) func_dirname_result
="${3}" ;;
17945 func_basename_result
="${1##*/}"
17948 # func_stripname prefix suffix name
17949 # strip PREFIX and SUFFIX off of NAME.
17950 # PREFIX and SUFFIX must not contain globbing or regex special
17951 # characters, hashes, percent signs, but SUFFIX may contain a leading
17952 # dot (in which case that matches only a dot).
17955 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17956 # positional parameters, so assign one to ordinary parameter first.
17957 func_stripname_result
=${3}
17958 func_stripname_result
=${func_stripname_result#"${1}"}
17959 func_stripname_result
=${func_stripname_result%"${2}"}
17965 func_opt_split_opt
=${1%%=*}
17966 func_opt_split_arg
=${1#*=}
17973 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17974 *) func_lo2o_result
=${1} ;;
17978 # func_xform libobj-or-source
17981 func_xform_result
=${1%.*}.lo
17984 # func_arith arithmetic-term...
17987 func_arith_result
=$
(( $
* ))
17991 # STRING may not start with a hyphen.
17994 func_len_result
=${#1}
17999 *) # Bourne compatible functions.
18000 cat << \_LT_EOF
>> "$cfgfile"
18002 # func_dirname file append nondir_replacement
18003 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18004 # otherwise set result to NONDIR_REPLACEMENT.
18007 # Extract subdirectory from the argument.
18008 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18009 if test "X$func_dirname_result" = "X${1}"; then
18010 func_dirname_result
="${3}"
18012 func_dirname_result
="$func_dirname_result${2}"
18016 # func_basename file
18019 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18023 # func_stripname prefix suffix name
18024 # strip PREFIX and SUFFIX off of NAME.
18025 # PREFIX and SUFFIX must not contain globbing or regex special
18026 # characters, hashes, percent signs, but SUFFIX may contain a leading
18027 # dot (in which case that matches only a dot).
18028 # func_strip_suffix prefix name
18032 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18033 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18038 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18039 my_sed_long_arg
='1s/^-[^=]*=//'
18044 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18045 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18051 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18054 # func_xform libobj-or-source
18057 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18060 # func_arith arithmetic-term...
18063 func_arith_result
=`expr "$@"`
18067 # STRING may not start with a hyphen.
18070 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18076 case $lt_shell_append in
18078 cat << \_LT_EOF
>> "$cfgfile"
18080 # func_append var value
18081 # Append VALUE to the end of shell variable VAR.
18089 cat << \_LT_EOF
>> "$cfgfile"
18091 # func_append var value
18092 # Append VALUE to the end of shell variable VAR.
18103 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18104 ||
(rm -f "$cfgfile"; exit 1)
18106 mv -f "$cfgfile" "$ofile" ||
18107 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18111 cat <<_LT_EOF >> "$ofile"
18113 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18115 # The linker used to build libraries.
18118 # How to create reloadable object files.
18119 reload_flag=$lt_reload_flag_CXX
18120 reload_cmds=$lt_reload_cmds_CXX
18122 # Commands used to build an old-style archive.
18123 old_archive_cmds=$lt_old_archive_cmds_CXX
18125 # A language specific compiler.
18126 CC=$lt_compiler_CXX
18128 # Is the compiler the GNU compiler?
18131 # Compiler flag to turn off builtin functions.
18132 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18134 # How to pass a linker flag through the compiler.
18135 wl=$lt_lt_prog_compiler_wl_CXX
18137 # Additional compiler flags for building library objects.
18138 pic_flag=$lt_lt_prog_compiler_pic_CXX
18140 # Compiler flag to prevent dynamic linking.
18141 link_static_flag=$lt_lt_prog_compiler_static_CXX
18143 # Does compiler simultaneously support -c and -o options?
18144 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18146 # Whether or not to add -lc for building shared libraries.
18147 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18149 # Whether or not to disallow shared libs when runtime libs are static.
18150 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18152 # Compiler flag to allow reflexive dlopens.
18153 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18155 # Compiler flag to generate shared objects directly from archives.
18156 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18158 # Whether the compiler copes with passing no objects directly.
18159 compiler_needs_object=$lt_compiler_needs_object_CXX
18161 # Create an old-style archive from a shared archive.
18162 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18164 # Create a temporary old-style archive to link instead of a shared archive.
18165 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18167 # Commands used to build a shared archive.
18168 archive_cmds=$lt_archive_cmds_CXX
18169 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18171 # Commands used to build a loadable module if different from building
18172 # a shared archive.
18173 module_cmds=$lt_module_cmds_CXX
18174 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18176 # Whether we are building with GNU ld or not.
18177 with_gnu_ld=$lt_with_gnu_ld_CXX
18179 # Flag that allows shared libraries with undefined symbols to be built.
18180 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18182 # Flag that enforces no undefined symbols.
18183 no_undefined_flag=$lt_no_undefined_flag_CXX
18185 # Flag to hardcode \$libdir into a binary during linking.
18186 # This must work even if \$libdir does not exist
18187 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18189 # If ld is used when linking, flag to hardcode \$libdir into a binary
18190 # during linking. This must work even if \$libdir does not exist.
18191 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18193 # Whether we need a single "-rpath" flag with a separated argument.
18194 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18197 # DIR into the resulting binary.
18198 hardcode_direct=$hardcode_direct_CXX
18200 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18201 # DIR into the resulting binary and the resulting library dependency is
18202 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18203 # library is relocated.
18204 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18206 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18207 # into the resulting binary.
18208 hardcode_minus_L=$hardcode_minus_L_CXX
18210 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18211 # into the resulting binary.
18212 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18214 # Set to "yes" if building a shared library automatically hardcodes DIR
18215 # into the library and all subsequent libraries and executables linked
18217 hardcode_automatic=$hardcode_automatic_CXX
18219 # Set to yes if linker adds runtime paths of dependent libraries
18220 # to runtime path list.
18221 inherit_rpath=$inherit_rpath_CXX
18223 # Whether libtool must link a program against all its dependency libraries.
18224 link_all_deplibs=$link_all_deplibs_CXX
18226 # Fix the shell variable \$srcfile for the compiler.
18227 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18229 # Set to "yes" if exported symbols are required.
18230 always_export_symbols=$always_export_symbols_CXX
18232 # The commands to list exported symbols.
18233 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18235 # Symbols that should not be listed in the preloaded symbols.
18236 exclude_expsyms=$lt_exclude_expsyms_CXX
18238 # Symbols that must always be exported.
18239 include_expsyms=$lt_include_expsyms_CXX
18241 # Commands necessary for linking programs (against libraries) with templates.
18242 prelink_cmds=$lt_prelink_cmds_CXX
18244 # Specify filename containing input files.
18245 file_list_spec=$lt_file_list_spec_CXX
18247 # How to hardcode a shared library path into an executable.
18248 hardcode_action=$hardcode_action_CXX
18250 # The directories searched by this compiler when creating a shared library.
18251 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18253 # Dependencies to place before and after the objects being linked to
18254 # create a shared library.
18255 predep_objects=$lt_predep_objects_CXX
18256 postdep_objects=$lt_postdep_objects_CXX
18257 predeps=$lt_predeps_CXX
18258 postdeps=$lt_postdeps_CXX
18260 # The library search path used internally by the compiler when linking
18261 # a shared library.
18262 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18264 # ### END LIBTOOL TAG CONFIG: CXX
18268 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18269 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18271 sed -f vpsed$$
$ac_file > tmp$$
18274 echo 'MULTISUBDIR =' >> $ac_file
18276 .
${multi_basedir}/config-ml.
in
18277 { ml_norecursion
=; unset ml_norecursion
;}
18286 ac_clean_files
=$ac_clean_files_save
18288 test $ac_write_fail = 0 ||
18289 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18292 # configure is writing to config.log, and then calls config.status.
18293 # config.status does its own redirection, appending to config.log.
18294 # Unfortunately, on DOS this fails, as config.log is still kept open
18295 # by configure, so config.status won't be able to write to it; its
18296 # output is simply discarded. So we exec the FD to /dev/null,
18297 # effectively closing config.log, so it can be properly (re)opened and
18298 # appended to by config.status. When coming back to configure, we
18299 # need to make the FD available again.
18300 if test "$no_create" != yes; then
18302 ac_config_status_args
=
18303 test "$silent" = yes &&
18304 ac_config_status_args
="$ac_config_status_args --quiet"
18306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18309 # would make configure fail if this is the last instruction.
18310 $ac_cs_success || as_fn_exit
1
18312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}