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)
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)
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.
11544 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549 soname_spec
='${libname}${release}${shared_ext}$major'
11550 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11551 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=no
11554 # Some binutils ld are patched to set DT_RUNPATH
11555 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11556 $as_echo_n "(cached) " >&6
11558 lt_cv_shlibpath_overrides_runpath
=no
11559 save_LDFLAGS
=$LDFLAGS
11560 save_libdir
=$libdir
11561 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11562 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11574 if ac_fn_c_try_link
"$LINENO"; then :
11575 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11576 lt_cv_shlibpath_overrides_runpath
=yes
11579 rm -f core conftest.err conftest.
$ac_objext \
11580 conftest
$ac_exeext conftest.
$ac_ext
11581 LDFLAGS
=$save_LDFLAGS
11582 libdir
=$save_libdir
11586 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11588 # This implies no fast_install, which is unacceptable.
11589 # Some rework will be needed to allow for fast_install
11590 # before this can be enabled.
11591 hardcode_into_libs
=yes
11593 # Append ld.so.conf contents to the search path
11594 if test -f /etc
/ld.so.conf
; then
11595 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' ' '`
11596 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11599 # We used to test for /lib/ld.so.1 and disable shared libraries on
11600 # powerpc, because MkLinux only supported shared libraries with the
11601 # GNU dynamic linker. Since this was broken with cross compilers,
11602 # most powerpc-linux boxes support dynamic linking these days and
11603 # people can always --disable-shared, the test was removed, and we
11604 # assume the GNU/Linux dynamic linker is in use.
11605 dynamic_linker
='GNU/Linux ld.so'
11612 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11615 dynamic_linker
='NetBSD (a.out) ld.so'
11617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11618 soname_spec
='${libname}${release}${shared_ext}$major'
11619 dynamic_linker
='NetBSD ld.elf_so'
11621 shlibpath_var
=LD_LIBRARY_PATH
11622 shlibpath_overrides_runpath
=yes
11623 hardcode_into_libs
=yes
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 shlibpath_var
=LD_LIBRARY_PATH
11630 shlibpath_overrides_runpath
=yes
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 shlibpath_var
=LD_LIBRARY_PATH
11640 shlibpath_overrides_runpath
=no
11641 hardcode_into_libs
=yes
11642 dynamic_linker
='ldqnx.so'
11647 sys_lib_dlsearch_path_spec
="/usr/lib"
11649 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11651 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11652 *) need_version
=no
;;
11654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11656 shlibpath_var
=LD_LIBRARY_PATH
11657 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11659 openbsd2.
[89] | openbsd2.
[89].
*)
11660 shlibpath_overrides_runpath
=no
11663 shlibpath_overrides_runpath
=yes
11667 shlibpath_overrides_runpath
=yes
11672 libname_spec
='$name'
11675 library_names_spec
='$libname${shared_ext} $libname.a'
11676 dynamic_linker
='OS/2 ld.exe'
11677 shlibpath_var
=LIBPATH
11680 osf3
* | osf4
* | osf5
*)
11684 soname_spec
='${libname}${release}${shared_ext}$major'
11685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686 shlibpath_var
=LD_LIBRARY_PATH
11687 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11688 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 soname_spec
='${libname}${release}${shared_ext}$major'
11701 shlibpath_var
=LD_LIBRARY_PATH
11702 shlibpath_overrides_runpath
=yes
11703 hardcode_into_libs
=yes
11704 # ldd complains unless libraries are executable
11705 postinstall_cmds
='chmod +x $lib'
11710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11711 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11712 shlibpath_var
=LD_LIBRARY_PATH
11713 shlibpath_overrides_runpath
=yes
11714 if test "$with_gnu_ld" = yes; then
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 case $host_vendor in
11727 shlibpath_overrides_runpath
=no
11729 runpath_var
=LD_RUN_PATH
11737 shlibpath_overrides_runpath
=no
11738 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11744 if test -d /usr
/nec
;then
11746 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11747 soname_spec
='$libname${shared_ext}.$major'
11748 shlibpath_var
=LD_LIBRARY_PATH
11752 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11753 version_type
=freebsd-elf
11756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11757 soname_spec
='${libname}${release}${shared_ext}$major'
11758 shlibpath_var
=LD_LIBRARY_PATH
11759 shlibpath_overrides_runpath
=yes
11760 hardcode_into_libs
=yes
11761 if test "$with_gnu_ld" = yes; then
11762 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11764 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11767 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11771 sys_lib_dlsearch_path_spec
='/usr/lib'
11775 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 shlibpath_overrides_runpath
=no
11782 hardcode_into_libs
=yes
11787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11788 soname_spec
='${libname}${release}${shared_ext}$major'
11789 shlibpath_var
=LD_LIBRARY_PATH
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11797 $as_echo "$dynamic_linker" >&6; }
11798 test "$dynamic_linker" = no
&& can_build_shared
=no
11800 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11801 if test "$GCC" = yes; then
11802 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11805 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11806 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11808 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11809 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11904 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11906 if test -n "$hardcode_libdir_flag_spec" ||
11907 test -n "$runpath_var" ||
11908 test "X$hardcode_automatic" = "Xyes" ; then
11910 # We can hardcode non-existent directories.
11911 if test "$hardcode_direct" != no
&&
11912 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11913 # have to relink, otherwise we might link with an installed library
11914 # when we should be linking with a yet-to-be-installed one
11915 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11916 test "$hardcode_minus_L" != no
; then
11917 # Linking always hardcodes the temporary library directory.
11918 hardcode_action
=relink
11920 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11921 hardcode_action
=immediate
11924 # We cannot hardcode anything, or else we can only hardcode existing
11926 hardcode_action
=unsupported
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11929 $as_echo "$hardcode_action" >&6; }
11931 if test "$hardcode_action" = relink ||
11932 test "$inherit_rpath" = yes; then
11933 # Fast installation is not supported
11934 enable_fast_install
=no
11935 elif test "$shlibpath_overrides_runpath" = yes ||
11936 test "$enable_shared" = no
; then
11937 # Fast installation is not necessary
11938 enable_fast_install
=needless
11946 if test "x$enable_dlopen" != xyes
; then
11947 enable_dlopen
=unknown
11948 enable_dlopen_self
=unknown
11949 enable_dlopen_self_static
=unknown
11956 lt_cv_dlopen
="load_add_on"
11958 lt_cv_dlopen_self
=yes
11961 mingw
* | pw32
* | cegcc
*)
11962 lt_cv_dlopen
="LoadLibrary"
11967 lt_cv_dlopen
="dlopen"
11972 # if libdl is installed we need to link against it
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11974 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11975 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11976 $as_echo_n "(cached) " >&6
11978 ac_check_lib_save_LIBS
=$LIBS
11980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11998 if ac_fn_c_try_link
"$LINENO"; then :
11999 ac_cv_lib_dl_dlopen
=yes
12001 ac_cv_lib_dl_dlopen
=no
12003 rm -f core conftest.err conftest.
$ac_objext \
12004 conftest
$ac_exeext conftest.
$ac_ext
12005 LIBS
=$ac_check_lib_save_LIBS
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12008 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12009 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12010 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12013 lt_cv_dlopen
="dyld"
12015 lt_cv_dlopen_self
=yes
12022 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12023 if test "x$ac_cv_func_shl_load" = xyes
; then :
12024 lt_cv_dlopen
="shl_load"
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12027 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12028 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_check_lib_save_LIBS
=$LIBS
12033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12046 return shl_load ();
12051 if ac_fn_c_try_link
"$LINENO"; then :
12052 ac_cv_lib_dld_shl_load
=yes
12054 ac_cv_lib_dld_shl_load
=no
12056 rm -f core conftest.err conftest.
$ac_objext \
12057 conftest
$ac_exeext conftest.
$ac_ext
12058 LIBS
=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12061 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12062 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12063 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12065 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12066 if test "x$ac_cv_func_dlopen" = xyes
; then :
12067 lt_cv_dlopen
="dlopen"
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12070 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12071 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12072 $as_echo_n "(cached) " >&6
12074 ac_check_lib_save_LIBS
=$LIBS
12076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12094 if ac_fn_c_try_link
"$LINENO"; then :
12095 ac_cv_lib_dl_dlopen
=yes
12097 ac_cv_lib_dl_dlopen
=no
12099 rm -f core conftest.err conftest.
$ac_objext \
12100 conftest
$ac_exeext conftest.
$ac_ext
12101 LIBS
=$ac_check_lib_save_LIBS
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12104 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12105 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12106 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12109 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12110 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS
=$LIBS
12114 LIBS
="-lsvld $LIBS"
12115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12133 if ac_fn_c_try_link
"$LINENO"; then :
12134 ac_cv_lib_svld_dlopen
=yes
12136 ac_cv_lib_svld_dlopen
=no
12138 rm -f core conftest.err conftest.
$ac_objext \
12139 conftest
$ac_exeext conftest.
$ac_ext
12140 LIBS
=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12143 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12144 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12145 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12148 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12149 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12150 $as_echo_n "(cached) " >&6
12152 ac_check_lib_save_LIBS
=$LIBS
12154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12167 return dld_link ();
12172 if ac_fn_c_try_link
"$LINENO"; then :
12173 ac_cv_lib_dld_dld_link
=yes
12175 ac_cv_lib_dld_dld_link
=no
12177 rm -f core conftest.err conftest.
$ac_objext \
12178 conftest
$ac_exeext conftest.
$ac_ext
12179 LIBS
=$ac_check_lib_save_LIBS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12182 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12183 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12184 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12205 if test "x$lt_cv_dlopen" != xno
; then
12211 case $lt_cv_dlopen in
12213 save_CPPFLAGS
="$CPPFLAGS"
12214 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12216 save_LDFLAGS
="$LDFLAGS"
12217 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12220 LIBS
="$lt_cv_dlopen_libs $LIBS"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12223 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12224 if ${lt_cv_dlopen_self+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 if test "$cross_compiling" = yes; then :
12228 lt_cv_dlopen_self
=cross
12230 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12231 lt_status
=$lt_dlunknown
12232 cat > conftest.
$ac_ext <<_LT_EOF
12233 #line 12233 "configure"
12234 #include "confdefs.h"
12243 # define LT_DLGLOBAL RTLD_GLOBAL
12246 # define LT_DLGLOBAL DL_GLOBAL
12248 # define LT_DLGLOBAL 0
12252 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12253 find out it does not work in some platform. */
12254 #ifndef LT_DLLAZY_OR_NOW
12256 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12259 # define LT_DLLAZY_OR_NOW DL_LAZY
12262 # define LT_DLLAZY_OR_NOW RTLD_NOW
12265 # define LT_DLLAZY_OR_NOW DL_NOW
12267 # define LT_DLLAZY_OR_NOW 0
12274 /* When -fvisbility=hidden is used, assume the code has been annotated
12275 correspondingly for the symbols needed. */
12276 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12277 void fnord () __attribute__((visibility("default")));
12280 void fnord () { int i=42; }
12283 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12284 int status = $lt_dlunknown;
12288 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12291 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12292 else puts (dlerror ());
12294 /* dlclose (self); */
12302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12303 (eval $ac_link) 2>&5
12305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12306 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12307 (.
/conftest
; exit; ) >&5 2>/dev
/null
12309 case x
$lt_status in
12310 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12311 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12312 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12315 # compilation failed
12316 lt_cv_dlopen_self
=no
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12324 $as_echo "$lt_cv_dlopen_self" >&6; }
12326 if test "x$lt_cv_dlopen_self" = xyes
; then
12327 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12329 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12330 if ${lt_cv_dlopen_self_static+:} false
; then :
12331 $as_echo_n "(cached) " >&6
12333 if test "$cross_compiling" = yes; then :
12334 lt_cv_dlopen_self_static
=cross
12336 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12337 lt_status
=$lt_dlunknown
12338 cat > conftest.
$ac_ext <<_LT_EOF
12339 #line 12339 "configure"
12340 #include "confdefs.h"
12349 # define LT_DLGLOBAL RTLD_GLOBAL
12352 # define LT_DLGLOBAL DL_GLOBAL
12354 # define LT_DLGLOBAL 0
12358 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12359 find out it does not work in some platform. */
12360 #ifndef LT_DLLAZY_OR_NOW
12362 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12365 # define LT_DLLAZY_OR_NOW DL_LAZY
12368 # define LT_DLLAZY_OR_NOW RTLD_NOW
12371 # define LT_DLLAZY_OR_NOW DL_NOW
12373 # define LT_DLLAZY_OR_NOW 0
12380 /* When -fvisbility=hidden is used, assume the code has been annotated
12381 correspondingly for the symbols needed. */
12382 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12383 void fnord () __attribute__((visibility("default")));
12386 void fnord () { int i=42; }
12389 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12390 int status = $lt_dlunknown;
12394 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12397 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12398 else puts (dlerror ());
12400 /* dlclose (self); */
12408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12409 (eval $ac_link) 2>&5
12411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12412 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12413 (.
/conftest
; exit; ) >&5 2>/dev
/null
12415 case x
$lt_status in
12416 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12417 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12418 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12421 # compilation failed
12422 lt_cv_dlopen_self_static
=no
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12430 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12433 CPPFLAGS
="$save_CPPFLAGS"
12434 LDFLAGS
="$save_LDFLAGS"
12439 case $lt_cv_dlopen_self in
12440 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12441 *) enable_dlopen_self
=unknown
;;
12444 case $lt_cv_dlopen_self_static in
12445 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12446 *) enable_dlopen_self_static
=unknown
;;
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12469 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12470 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12471 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12472 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12474 $as_echo "yes" >&6; }
12476 # FIXME - insert some real tests, host_os isn't really good enough
12479 if test -n "$STRIP" ; then
12480 striplib
="$STRIP -x"
12481 old_striplib
="$STRIP -S"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12483 $as_echo "yes" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12491 $as_echo "no" >&6; }
12507 # Report which library types will actually be built
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12509 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12511 $as_echo "$can_build_shared" >&6; }
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12514 $as_echo_n "checking whether to build shared libraries... " >&6; }
12515 test "$can_build_shared" = "no" && enable_shared
=no
12517 # On AIX, shared libraries and static libraries use the same namespace, and
12518 # are all built from PIC.
12521 test "$enable_shared" = yes && enable_static
=no
12522 if test -n "$RANLIB"; then
12523 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12524 postinstall_cmds
='$RANLIB $lib'
12529 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12530 test "$enable_shared" = yes && enable_static
=no
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12535 $as_echo "$enable_shared" >&6; }
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12538 $as_echo_n "checking whether to build static libraries... " >&6; }
12539 # Make sure either enable_shared or enable_static is yes.
12540 test "$enable_shared" = yes || enable_static
=yes
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12542 $as_echo "$enable_static" >&6; }
12549 ac_cpp
='$CPP $CPPFLAGS'
12550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12556 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12557 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12558 (test "X$CXX" != "Xg++"))) ; then
12560 ac_cpp
='$CXXCPP $CPPFLAGS'
12561 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12562 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12563 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12565 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12566 if test -z "$CXXCPP"; then
12567 if ${ac_cv_prog_CXXCPP+:} false
; then :
12568 $as_echo_n "(cached) " >&6
12570 # Double quotes because CXXCPP needs to be expanded
12571 for CXXCPP
in "$CXX -E" "/lib/cpp"
12573 ac_preproc_ok
=false
12574 for ac_cxx_preproc_warn_flag
in '' yes
12576 # Use a header file that comes with gcc, so configuring glibc
12577 # with a fresh cross-compiler works.
12578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12579 # <limits.h> exists even on freestanding compilers.
12580 # On the NeXT, cc -E runs the code through the compiler's parser,
12581 # not just through cpp. "Syntax error" is here to catch this case.
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 # include <limits.h>
12587 # include <assert.h>
12591 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12594 # Broken: fails on valid input.
12597 rm -f conftest.err conftest.i conftest.
$ac_ext
12599 # OK, works on sane cases. Now check whether nonexistent headers
12600 # can be detected and how.
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12603 #include <ac_nonexistent.h>
12605 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12606 # Broken: success on invalid input.
12609 # Passes both tests.
12613 rm -f conftest.err conftest.i conftest.
$ac_ext
12616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12617 rm -f conftest.i conftest.err conftest.
$ac_ext
12618 if $ac_preproc_ok; then :
12623 ac_cv_prog_CXXCPP
=$CXXCPP
12626 CXXCPP
=$ac_cv_prog_CXXCPP
12628 ac_cv_prog_CXXCPP
=$CXXCPP
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12631 $as_echo "$CXXCPP" >&6; }
12632 ac_preproc_ok
=false
12633 for ac_cxx_preproc_warn_flag
in '' yes
12635 # Use a header file that comes with gcc, so configuring glibc
12636 # with a fresh cross-compiler works.
12637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12638 # <limits.h> exists even on freestanding compilers.
12639 # On the NeXT, cc -E runs the code through the compiler's parser,
12640 # not just through cpp. "Syntax error" is here to catch this case.
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 # include <limits.h>
12646 # include <assert.h>
12650 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12653 # Broken: fails on valid input.
12656 rm -f conftest.err conftest.i conftest.
$ac_ext
12658 # OK, works on sane cases. Now check whether nonexistent headers
12659 # can be detected and how.
12660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12662 #include <ac_nonexistent.h>
12664 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12665 # Broken: success on invalid input.
12668 # Passes both tests.
12672 rm -f conftest.err conftest.i conftest.
$ac_ext
12675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12676 rm -f conftest.i conftest.err conftest.
$ac_ext
12677 if $ac_preproc_ok; then :
12680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12682 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12683 See \`config.log' for more details" "$LINENO" 5; }
12687 ac_cpp
='$CPP $CPPFLAGS'
12688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12693 _lt_caught_CXX_error
=yes
12697 ac_cpp
='$CXXCPP $CPPFLAGS'
12698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12702 archive_cmds_need_lc_CXX
=no
12703 allow_undefined_flag_CXX
=
12704 always_export_symbols_CXX
=no
12705 archive_expsym_cmds_CXX
=
12706 compiler_needs_object_CXX
=no
12707 export_dynamic_flag_spec_CXX
=
12708 hardcode_direct_CXX
=no
12709 hardcode_direct_absolute_CXX
=no
12710 hardcode_libdir_flag_spec_CXX
=
12711 hardcode_libdir_flag_spec_ld_CXX
=
12712 hardcode_libdir_separator_CXX
=
12713 hardcode_minus_L_CXX
=no
12714 hardcode_shlibpath_var_CXX
=unsupported
12715 hardcode_automatic_CXX
=no
12716 inherit_rpath_CXX
=no
12718 module_expsym_cmds_CXX
=
12719 link_all_deplibs_CXX
=unknown
12720 old_archive_cmds_CXX
=$old_archive_cmds
12721 reload_flag_CXX
=$reload_flag
12722 reload_cmds_CXX
=$reload_cmds
12723 no_undefined_flag_CXX
=
12724 whole_archive_flag_spec_CXX
=
12725 enable_shared_with_static_runtimes_CXX
=no
12727 # Source file extension for C++ test sources.
12730 # Object file extension for compiled C++ test sources.
12734 # No sense in running all these tests if we already determined that
12735 # the CXX compiler isn't working. Some variables (like enable_shared)
12736 # are currently assumed to apply to all compilers on this platform,
12737 # and will be corrupted by setting them based on a non-working compiler.
12738 if test "$_lt_caught_CXX_error" != yes; then
12739 # Code to be used in simple compile tests
12740 lt_simple_compile_test_code
="int some_variable = 0;"
12742 # Code to be used in simple link tests
12743 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12745 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12752 # If no C compiler was specified, use CC.
12755 # If no C compiler flags were specified, use CFLAGS.
12756 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12758 # Allow CC to be a program name with arguments.
12762 # save warnings/boilerplate of simple test code
12763 ac_outfile
=conftest.
$ac_objext
12764 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12765 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12766 _lt_compiler_boilerplate
=`cat conftest.err`
12769 ac_outfile
=conftest.
$ac_objext
12770 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12771 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12772 _lt_linker_boilerplate
=`cat conftest.err`
12776 # Allow CC to be a program name with arguments.
12781 lt_save_with_gnu_ld
=$with_gnu_ld
12782 lt_save_path_LD
=$lt_cv_path_LD
12783 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12784 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12786 $as_unset lt_cv_prog_gnu_ld
12788 if test -n "${lt_cv_path_LDCXX+set}"; then
12789 lt_cv_path_LD
=$lt_cv_path_LDCXX
12791 $as_unset lt_cv_path_LD
12793 test -z "${LDCXX+set}" || LD
=$LDCXX
12797 for cc_temp
in $compiler""; do
12799 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12800 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12805 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12808 if test -n "$compiler"; then
12809 # We don't want -fno-exception when compiling C++ code, so set the
12810 # no_builtin_flag separately
12811 if test "$GXX" = yes; then
12812 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12814 lt_prog_compiler_no_builtin_flag_CXX
=
12817 if test "$GXX" = yes; then
12818 # Set up default GNU C++ configuration
12822 # Check whether --with-gnu-ld was given.
12823 if test "${with_gnu_ld+set}" = set; then :
12824 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12830 if test "$GCC" = yes; then
12831 # Check if gcc -print-prog-name=ld gives a path.
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12833 $as_echo_n "checking for ld used by $CC... " >&6; }
12836 # gcc leaves a trailing carriage return which upsets mingw
12837 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12839 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12842 # Accept absolute paths.
12844 re_direlt
='/[^/][^/]*/\.\./'
12845 # Canonicalize the pathname of ld
12846 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12847 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12848 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12850 test -z "$LD" && LD
="$ac_prog"
12853 # If it fails, then pretend we aren't using GCC.
12857 # If it is relative, then search for the first ld in PATH.
12858 with_gnu_ld
=unknown
12861 elif test "$with_gnu_ld" = yes; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12863 $as_echo_n "checking for GNU ld... " >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12866 $as_echo_n "checking for non-GNU ld... " >&6; }
12868 if ${lt_cv_path_LD+:} false
; then :
12869 $as_echo_n "(cached) " >&6
12871 if test -z "$LD"; then
12872 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12873 for ac_dir
in $PATH; do
12875 test -z "$ac_dir" && ac_dir
=.
12876 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12877 lt_cv_path_LD
="$ac_dir/$ac_prog"
12878 # Check to see if the program is GNU ld. I'd rather use --version,
12879 # but apparently some variants of GNU ld only accept -v.
12880 # Break only if it was the GNU/non-GNU ld that we prefer.
12881 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12882 *GNU
* |
*'with BFD'*)
12883 test "$with_gnu_ld" != no
&& break
12886 test "$with_gnu_ld" != yes && break
12893 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12897 LD
="$lt_cv_path_LD"
12898 if test -n "$LD"; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12900 $as_echo "$LD" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903 $as_echo "no" >&6; }
12905 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12907 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12908 if ${lt_cv_prog_gnu_ld+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12912 case `$LD -v 2>&1 </dev/null` in
12913 *GNU
* |
*'with BFD'*)
12914 lt_cv_prog_gnu_ld
=yes
12917 lt_cv_prog_gnu_ld
=no
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12922 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12923 with_gnu_ld
=$lt_cv_prog_gnu_ld
12931 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12932 # archiving commands below assume that GNU ld is being used.
12933 if test "$with_gnu_ld" = yes; then
12934 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12935 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'
12937 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12938 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12940 # If archive_cmds runs LD, not CC, wlarc should be empty
12941 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12942 # investigate it a little bit more. (MM)
12945 # ancient GNU ld didn't support --whole-archive et. al.
12946 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12947 $GREP 'no-whole-archive' > /dev
/null
; then
12948 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12950 whole_archive_flag_spec_CXX
=
12956 # A generic and very simple default shared library creation
12957 # command for GNU C++ for the case where it uses the native
12958 # linker, instead of GNU ld. If possible, this setting should
12959 # overridden to take advantage of the native linker features on
12960 # the platform it is being used on.
12961 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12964 # Commands to make compiler produce verbose output that lists
12965 # what "hidden" libraries, object files and flags are used when
12966 # linking a shared library.
12967 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12975 # PORTME: fill in a description of your system's C++ link characteristics
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12977 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12981 # FIXME: insert proper C++ library support
12985 if test "$host_cpu" = ia64
; then
12986 # On IA64, the linker does run time linking by default, so we don't
12987 # have to do anything special.
12988 aix_use_runtimelinking
=no
12989 exp_sym_flag
='-Bexport'
12992 aix_use_runtimelinking
=no
12994 # Test if we are trying to use run time linking or normal
12995 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12996 # need to do runtime linking.
12997 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12998 for ld_flag
in $LDFLAGS; do
13001 aix_use_runtimelinking
=yes
13009 exp_sym_flag
='-bexport'
13010 no_entry_flag
='-bnoentry'
13013 # When large executables or shared objects are built, AIX ld can
13014 # have problems creating the table of contents. If linking a library
13015 # or program results in "error TOC overflow" add -mminimal-toc to
13016 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13017 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13019 archive_cmds_CXX
=''
13020 hardcode_direct_CXX
=yes
13021 hardcode_direct_absolute_CXX
=yes
13022 hardcode_libdir_separator_CXX
=':'
13023 link_all_deplibs_CXX
=yes
13024 file_list_spec_CXX
='${wl}-f,'
13026 if test "$GXX" = yes; then
13027 case $host_os in aix4.
[012]|aix4.
[012].
*)
13028 # We only want to do this on AIX 4.2 and lower, the check
13029 # below for broken collect2 doesn't work under 4.3+
13030 collect2name
=`${CC} -print-prog-name=collect2`
13031 if test -f "$collect2name" &&
13032 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13034 # We have reworked collect2
13037 # We have old collect2
13038 hardcode_direct_CXX
=unsupported
13039 # It fails to find uninstalled libraries when the uninstalled
13040 # path is not listed in the libpath. Setting hardcode_minus_L
13041 # to unsupported forces relinking
13042 hardcode_minus_L_CXX
=yes
13043 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13044 hardcode_libdir_separator_CXX
=
13047 shared_flag
='-shared'
13048 if test "$aix_use_runtimelinking" = yes; then
13049 shared_flag
="$shared_flag "'${wl}-G'
13053 if test "$host_cpu" = ia64
; then
13054 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13055 # chokes on -Wl,-G. The following line is correct:
13058 if test "$aix_use_runtimelinking" = yes; then
13059 shared_flag
='${wl}-G'
13061 shared_flag
='${wl}-bM:SRE'
13066 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13067 # It seems that -bexpall does not export symbols beginning with
13068 # underscore (_), so it is better to generate a list of symbols to
13070 always_export_symbols_CXX
=yes
13071 if test "$aix_use_runtimelinking" = yes; then
13072 # Warning - without using the other runtime loading flags (-brtl),
13073 # -berok will link without error, but may produce a broken library.
13074 allow_undefined_flag_CXX
='-berok'
13075 # Determine the default libpath from the value encoded in an empty
13077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13088 if ac_fn_cxx_try_link
"$LINENO"; then :
13090 lt_aix_libpath_sed
='
13091 /Import File Strings/,/^$/ {
13097 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13098 # Check for a 64-bit object if we didn't find anything.
13099 if test -z "$aix_libpath"; then
13100 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13103 rm -f core conftest.err conftest.
$ac_objext \
13104 conftest
$ac_exeext conftest.
$ac_ext
13105 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13107 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13109 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"
13111 if test "$host_cpu" = ia64
; then
13112 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13113 allow_undefined_flag_CXX
="-z nodefs"
13114 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"
13116 # Determine the default libpath from the value encoded in an
13117 # empty executable.
13118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13129 if ac_fn_cxx_try_link
"$LINENO"; then :
13131 lt_aix_libpath_sed
='
13132 /Import File Strings/,/^$/ {
13138 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13139 # Check for a 64-bit object if we didn't find anything.
13140 if test -z "$aix_libpath"; then
13141 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13144 rm -f core conftest.err conftest.
$ac_objext \
13145 conftest
$ac_exeext conftest.
$ac_ext
13146 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13148 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13149 # Warning - without using the other run time loading flags,
13150 # -berok will link without error, but may produce a broken library.
13151 no_undefined_flag_CXX
=' ${wl}-bernotok'
13152 allow_undefined_flag_CXX
=' ${wl}-berok'
13153 if test "$with_gnu_ld" = yes; then
13154 # We only use this code for GNU lds that support --whole-archive.
13155 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13157 # Exported symbols can be pulled into shared objects from archives
13158 whole_archive_flag_spec_CXX
='$convenience'
13160 archive_cmds_need_lc_CXX
=yes
13161 # This is similar to how AIX traditionally builds its shared
13163 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'
13169 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13170 allow_undefined_flag_CXX
=unsupported
13171 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13172 # support --undefined. This deserves some investigation. FIXME
13173 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13180 case $cc_basename in
13182 # FIXME: insert proper C++ library support
13188 cygwin
* | mingw
* | pw32
* | cegcc
*)
13189 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13190 # as there is no search path for DLLs.
13191 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13192 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13193 allow_undefined_flag_CXX
=unsupported
13194 always_export_symbols_CXX
=no
13195 enable_shared_with_static_runtimes_CXX
=yes
13197 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13198 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'
13199 # If the export-symbols file already is a .def file (1st line
13200 # is EXPORTS), use it as is; otherwise, prepend...
13201 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13202 cp $export_symbols $output_objdir/$soname.def;
13204 echo EXPORTS > $output_objdir/$soname.def;
13205 cat $export_symbols >> $output_objdir/$soname.def;
13207 $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'
13212 darwin
* | rhapsody
*)
13215 archive_cmds_need_lc_CXX
=no
13216 hardcode_direct_CXX
=no
13217 hardcode_automatic_CXX
=yes
13218 hardcode_shlibpath_var_CXX
=unsupported
13219 if test "$lt_cv_ld_force_load" = "yes"; then
13220 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\"`'
13222 whole_archive_flag_spec_CXX
=''
13224 link_all_deplibs_CXX
=yes
13225 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13226 case $cc_basename in
13227 ifort
*) _lt_dar_can_shared
=yes ;;
13228 *) _lt_dar_can_shared
=$GCC ;;
13230 if test "$_lt_dar_can_shared" = "yes"; then
13231 output_verbose_link_cmd
=func_echo_all
13232 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}"
13233 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13234 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}"
13235 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}"
13236 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13237 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}"
13238 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}"
13248 case $cc_basename in
13250 # FIXME: insert proper C++ library support
13254 # Green Hills C++ Compiler
13255 # FIXME: insert proper C++ library support
13259 # FIXME: insert proper C++ library support
13266 # C++ shared libraries reported to be fairly broken before
13272 archive_cmds_need_lc_CXX
=no
13275 freebsd
* | dragonfly
*)
13276 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13285 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13286 link_all_deplibs_CXX
=yes
13290 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13291 hardcode_libdir_separator_CXX
=:
13292 export_dynamic_flag_spec_CXX
='${wl}-E'
13293 hardcode_direct_CXX
=yes
13294 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13295 # but as the default
13296 # location of the library.
13298 case $cc_basename in
13300 # FIXME: insert proper C++ library support
13304 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'
13305 # Commands to make compiler produce verbose output that lists
13306 # what "hidden" libraries, object files and flags are used when
13307 # linking a shared library.
13309 # There doesn't appear to be a way to prevent this compiler from
13310 # explicitly linking system object files so we need to strip them
13311 # from the output so that they don't get included in the library
13313 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"'
13316 if test "$GXX" = yes; then
13317 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'
13319 # FIXME: insert proper C++ library support
13327 if test $with_gnu_ld = no
; then
13328 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13329 hardcode_libdir_separator_CXX
=:
13335 export_dynamic_flag_spec_CXX
='${wl}-E'
13341 hardcode_direct_CXX
=no
13342 hardcode_shlibpath_var_CXX
=no
13345 hardcode_direct_CXX
=yes
13346 hardcode_direct_absolute_CXX
=yes
13347 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13348 # but as the default
13349 # location of the library.
13353 case $cc_basename in
13355 # FIXME: insert proper C++ library support
13361 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13364 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13367 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13370 # Commands to make compiler produce verbose output that lists
13371 # what "hidden" libraries, object files and flags are used when
13372 # linking a shared library.
13374 # There doesn't appear to be a way to prevent this compiler from
13375 # explicitly linking system object files so we need to strip them
13376 # from the output so that they don't get included in the library
13378 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"'
13381 if test "$GXX" = yes; then
13382 if test $with_gnu_ld = no
; then
13385 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13388 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13391 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'
13396 # FIXME: insert proper C++ library support
13404 hardcode_direct_CXX
=no
13405 hardcode_shlibpath_var_CXX
=no
13406 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13407 export_dynamic_flag_spec_CXX
='${wl}-E'
13408 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13409 # Instead, shared libraries are loaded at an image base (0x10000000 by
13410 # default) and relocated if they conflict, which is a slow very memory
13411 # consuming and fragmenting process. To avoid this, we pick a random,
13412 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13413 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13414 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'
13415 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'
13418 case $cc_basename in
13421 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'
13423 # Archives containing C++ object files must be created using
13424 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13425 # necessary to make sure instantiated templates are included
13427 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13430 if test "$GXX" = yes; then
13431 if test "$with_gnu_ld" = no
; then
13432 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'
13434 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'
13437 link_all_deplibs_CXX
=yes
13440 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13441 hardcode_libdir_separator_CXX
=:
13442 inherit_rpath_CXX
=yes
13445 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13446 case $cc_basename in
13448 # Kuck and Associates, Inc. (KAI) C++ Compiler
13450 # KCC will only create a shared library if the output file
13451 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13452 # to its proper name (with version) after linking.
13453 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'
13454 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'
13455 # Commands to make compiler produce verbose output that lists
13456 # what "hidden" libraries, object files and flags are used when
13457 # linking a shared library.
13459 # There doesn't appear to be a way to prevent this compiler from
13460 # explicitly linking system object files so we need to strip them
13461 # from the output so that they don't get included in the library
13463 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"'
13465 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13466 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13468 # Archives containing C++ object files must be created using
13469 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13470 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13475 # version 8.0 and above of icpc choke on multiply defined symbols
13476 # if we add $predep_objects and $postdep_objects, however 7.1 and
13477 # earlier do not add the objects themselves.
13478 case `$CC -V 2>&1` in
13480 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13481 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'
13483 *) # Version 8.0 or newer
13486 ia64
*) tmp_idyn
=' -i_dynamic';;
13488 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13489 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'
13492 archive_cmds_need_lc_CXX
=no
13493 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13494 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13495 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13498 # Portland Group C++ compiler
13500 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13501 prelink_cmds_CXX
='tpldir=Template.dir~
13503 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13504 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13505 old_archive_cmds_CXX
='tpldir=Template.dir~
13507 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13508 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13510 archive_cmds_CXX
='tpldir=Template.dir~
13512 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13513 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13514 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13516 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13517 $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'
13519 *) # Version 6 and above use weak symbols
13520 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13521 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'
13525 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13526 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13527 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'
13531 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13532 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'
13534 runpath_var
=LD_RUN_PATH
13535 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13536 hardcode_libdir_separator_CXX
=:
13538 # Commands to make compiler produce verbose output that lists
13539 # what "hidden" libraries, object files and flags are used when
13540 # linking a shared library.
13542 # There doesn't appear to be a way to prevent this compiler from
13543 # explicitly linking system object files so we need to strip them
13544 # from the output so that they don't get included in the library
13546 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'
13548 xl
* | mpixl
* | bgxl
*)
13549 # IBM XL 8.0 on PPC, with GNU ld
13550 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13551 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13552 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13553 if test "x$supports_anon_versioning" = xyes
; then
13554 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13555 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13556 echo "local: *; };" >> $output_objdir/$libname.ver~
13557 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13561 case `$CC -V 2>&1 | sed 5q` in
13564 no_undefined_flag_CXX
=' -zdefs'
13565 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13566 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'
13567 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13568 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'
13569 compiler_needs_object_CXX
=yes
13571 # Not sure whether something based on
13572 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13574 output_verbose_link_cmd
='func_echo_all'
13576 # Archives containing C++ object files must be created using
13577 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13578 # necessary to make sure instantiated templates are included
13580 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13588 # FIXME: insert proper C++ library support
13593 # FIXME: insert proper C++ library support
13598 case $cc_basename in
13600 # FIXME: insert proper C++ library support
13604 # FIXME: insert proper C++ library support
13611 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13612 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13614 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13615 hardcode_direct_CXX
=yes
13616 hardcode_shlibpath_var_CXX
=no
13618 # Workaround some broken pre-1.5 toolchains
13619 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13627 # C++ shared libraries are fairly broken
13632 if test -f /usr
/libexec
/ld.so
; then
13633 hardcode_direct_CXX
=yes
13634 hardcode_shlibpath_var_CXX
=no
13635 hardcode_direct_absolute_CXX
=yes
13636 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13637 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13638 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13639 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13640 export_dynamic_flag_spec_CXX
='${wl}-E'
13641 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13643 output_verbose_link_cmd
=func_echo_all
13649 osf3
* | osf4
* | osf5
*)
13650 case $cc_basename in
13652 # Kuck and Associates, Inc. (KAI) C++ Compiler
13654 # KCC will only create a shared library if the output file
13655 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13656 # to its proper name (with version) after linking.
13657 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'
13659 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13660 hardcode_libdir_separator_CXX
=:
13662 # Archives containing C++ object files must be created using
13663 # the KAI C++ compiler.
13665 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13666 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13670 # Rational C++ 2.4.1
13671 # FIXME: insert proper C++ library support
13677 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13678 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'
13679 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13682 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13683 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'
13684 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13685 echo "-hidden">> $lib.exp~
13686 $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~
13688 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13692 hardcode_libdir_separator_CXX
=:
13694 # Commands to make compiler produce verbose output that lists
13695 # what "hidden" libraries, object files and flags are used when
13696 # linking a shared library.
13698 # There doesn't appear to be a way to prevent this compiler from
13699 # explicitly linking system object files so we need to strip them
13700 # from the output so that they don't get included in the library
13702 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"'
13705 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13706 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13709 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'
13712 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'
13716 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13717 hardcode_libdir_separator_CXX
=:
13719 # Commands to make compiler produce verbose output that lists
13720 # what "hidden" libraries, object files and flags are used when
13721 # linking a shared library.
13722 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13725 # FIXME: insert proper C++ library support
13733 # FIXME: insert proper C++ library support
13738 case $cc_basename in
13741 # FIXME: insert proper C++ library support
13746 # FIXME: insert proper C++ library support
13750 # FIXME: insert proper C++ library support
13757 case $cc_basename in
13759 # Sun C++ 4.2, 5.x and Centerline C++
13760 archive_cmds_need_lc_CXX
=yes
13761 no_undefined_flag_CXX
=' -zdefs'
13762 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13763 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $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'
13766 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13767 hardcode_shlibpath_var_CXX
=no
13769 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13771 # The compiler driver will combine and reorder linker options,
13772 # but understands `-z linker_flag'.
13773 # Supported since Solaris 2.6 (maybe 2.5.1?)
13774 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13777 link_all_deplibs_CXX
=yes
13779 output_verbose_link_cmd
='func_echo_all'
13781 # Archives containing C++ object files must be created using
13782 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13783 # necessary to make sure instantiated templates are included
13785 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13788 # Green Hills C++ Compiler
13789 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13791 # The C++ compiler must be used to create the archive.
13792 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13795 # GNU C++ compiler with Solaris linker
13796 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13797 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13798 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13799 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13800 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13801 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13803 # Commands to make compiler produce verbose output that lists
13804 # what "hidden" libraries, object files and flags are used when
13805 # linking a shared library.
13806 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13808 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13810 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13811 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13812 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13814 # Commands to make compiler produce verbose output that lists
13815 # what "hidden" libraries, object files and flags are used when
13816 # linking a shared library.
13817 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13820 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13822 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13824 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13832 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13833 no_undefined_flag_CXX
='${wl}-z,text'
13834 archive_cmds_need_lc_CXX
=no
13835 hardcode_shlibpath_var_CXX
=no
13836 runpath_var
='LD_RUN_PATH'
13838 case $cc_basename in
13840 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13841 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13844 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13850 sysv5
* | sco3.2v5
* | sco5v6
*)
13851 # Note: We can NOT use -z defs as we might desire, because we do not
13852 # link with -lc, and that would cause any symbols used from libc to
13853 # always be unresolved, which means just about no library would
13854 # ever link correctly. If we're not using GNU ld we use -z text
13855 # though, which does catch some bad symbols but isn't as heavy-handed
13857 no_undefined_flag_CXX
='${wl}-z,text'
13858 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13859 archive_cmds_need_lc_CXX
=no
13860 hardcode_shlibpath_var_CXX
=no
13861 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13862 hardcode_libdir_separator_CXX
=':'
13863 link_all_deplibs_CXX
=yes
13864 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13865 runpath_var
='LD_RUN_PATH'
13867 case $cc_basename in
13869 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13870 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13871 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13872 '"$old_archive_cmds_CXX"
13873 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13874 '"$reload_cmds_CXX"
13877 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13878 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13884 case $cc_basename in
13886 # NonStop-UX NCC 3.20
13887 # FIXME: insert proper C++ library support
13891 # FIXME: insert proper C++ library support
13898 # FIXME: insert proper C++ library support
13903 # FIXME: insert proper C++ library support
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13909 $as_echo "$ld_shlibs_CXX" >&6; }
13910 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13916 ## There is no encapsulation within the following macros, do not change
13917 ## the running order or otherwise move them around unless you know exactly
13918 ## what you are doing...
13919 # Dependencies to place before and after the object being linked:
13920 predep_objects_CXX
=
13921 postdep_objects_CXX
=
13924 compiler_lib_search_path_CXX
=
13926 cat > conftest.
$ac_ext <<_LT_EOF
13930 Foo (void) { a = 0; }
13936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13937 (eval $ac_compile) 2>&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13940 test $ac_status = 0; }; then
13941 # Parse the compiler output and extract the necessary
13942 # objects, libraries and library flags.
13944 # Sentinel used to keep track of whether or not we are before
13945 # the conftest object file.
13946 pre_test_object_deps_done
=no
13948 for p
in `eval "$output_verbose_link_cmd"`; do
13952 # Some compilers place space between "-{L,R}" and the path.
13953 # Remove the space.
13954 if test $p = "-L" ||
13955 test $p = "-R"; then
13962 if test "$pre_test_object_deps_done" = no
; then
13965 # Internal compiler library paths should come after those
13966 # provided the user. The postdeps already come after the
13967 # user supplied libs so there is no need to process them.
13968 if test -z "$compiler_lib_search_path_CXX"; then
13969 compiler_lib_search_path_CXX
="${prev}${p}"
13971 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13974 # The "-l" case would never come before the object being
13975 # linked, so don't bother handling this case.
13978 if test -z "$postdeps_CXX"; then
13979 postdeps_CXX
="${prev}${p}"
13981 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13987 # This assumes that the test object file only shows up
13988 # once in the compiler output.
13989 if test "$p" = "conftest.$objext"; then
13990 pre_test_object_deps_done
=yes
13994 if test "$pre_test_object_deps_done" = no
; then
13995 if test -z "$predep_objects_CXX"; then
13996 predep_objects_CXX
="$p"
13998 predep_objects_CXX
="$predep_objects_CXX $p"
14001 if test -z "$postdep_objects_CXX"; then
14002 postdep_objects_CXX
="$p"
14004 postdep_objects_CXX
="$postdep_objects_CXX $p"
14009 *) ;; # Ignore the rest.
14017 echo "libtool.m4: error: problem compiling CXX test program"
14020 $RM -f confest.
$objext
14022 # PORTME: override above test on systems where it is broken
14025 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14026 # hack all around it, let's just trust "g++" to DTRT.
14027 predep_objects_CXX
=
14028 postdep_objects_CXX
=
14033 case `$CC -V 2>&1 | sed 5q` in
14037 # The more standards-conforming stlport4 library is
14038 # incompatible with the Cstd library. Avoid specifying
14039 # it if it's in CXXFLAGS. Ignore libCrun as
14040 # -library=stlport4 depends on it.
14041 case " $CXX $CXXFLAGS " in
14042 *" -library=stlport4 "*)
14043 solaris_use_stlport4
=yes
14047 if test "$solaris_use_stlport4" != yes; then
14048 postdeps_CXX
='-library=Cstd -library=Crun'
14055 case $cc_basename in
14057 # The more standards-conforming stlport4 library is
14058 # incompatible with the Cstd library. Avoid specifying
14059 # it if it's in CXXFLAGS. Ignore libCrun as
14060 # -library=stlport4 depends on it.
14061 case " $CXX $CXXFLAGS " in
14062 *" -library=stlport4 "*)
14063 solaris_use_stlport4
=yes
14067 # Adding this requires a known-good setup of shared libraries for
14068 # Sun compiler versions before 5.6, else PIC objects from an old
14069 # archive will be linked into the output, leading to subtle bugs.
14070 if test "$solaris_use_stlport4" != yes; then
14071 postdeps_CXX
='-library=Cstd -library=Crun'
14079 case " $postdeps_CXX " in
14080 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14082 compiler_lib_search_dirs_CXX
=
14083 if test -n "${compiler_lib_search_path_CXX}"; then
14084 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14117 lt_prog_compiler_wl_CXX
=
14118 lt_prog_compiler_pic_CXX
=
14119 lt_prog_compiler_static_CXX
=
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14122 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14124 # C++ specific cases for pic, static, wl, etc.
14125 if test "$GXX" = yes; then
14126 lt_prog_compiler_wl_CXX
='-Wl,'
14127 lt_prog_compiler_static_CXX
='-static'
14131 # All AIX code is PIC.
14132 if test "$host_cpu" = ia64
; then
14133 # AIX 5 now supports IA64 processor
14134 lt_prog_compiler_static_CXX
='-Bstatic'
14136 lt_prog_compiler_pic_CXX
='-fPIC'
14142 # see comment about AmigaOS4 .so support
14143 lt_prog_compiler_pic_CXX
='-fPIC'
14146 # FIXME: we need at least 68020 code to build shared libraries, but
14147 # adding the `-m68020' flag to GCC prevents building anything better,
14149 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14154 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14155 # PIC is the default for these OSes.
14157 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14158 # This hack is so that the source file can tell whether it is being
14159 # built for inclusion in a dll (and should export symbols for example).
14160 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14161 # (--disable-auto-import) libraries
14162 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14164 darwin
* | rhapsody
*)
14165 # PIC is the default on this platform
14166 # Common symbols not allowed in MH_DYLIB files
14167 lt_prog_compiler_pic_CXX
='-fno-common'
14170 # DJGPP does not support shared libraries at all
14171 lt_prog_compiler_pic_CXX
=
14174 # PIC is the default for Haiku.
14175 # The "-static" flag exists, but is broken.
14176 lt_prog_compiler_static_CXX
=
14179 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14180 # Instead, we relocate shared libraries at runtime.
14183 if test -d /usr
/nec
; then
14184 lt_prog_compiler_pic_CXX
=-Kconform_pic
14188 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14189 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14190 # sets the default TLS model and affects inlining.
14195 lt_prog_compiler_pic_CXX
='-fPIC'
14200 # QNX uses GNU C++, but need to define -shared option too, otherwise
14201 # it will coredump.
14202 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14205 lt_prog_compiler_pic_CXX
='-fPIC'
14211 # All AIX code is PIC.
14212 if test "$host_cpu" = ia64
; then
14213 # AIX 5 now supports IA64 processor
14214 lt_prog_compiler_static_CXX
='-Bstatic'
14216 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14220 case $cc_basename in
14222 # Green Hills C++ Compiler
14223 # _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"
14228 case $cc_basename in
14230 lt_prog_compiler_pic_CXX
='-KPIC'
14233 # Green Hills C++ Compiler
14234 lt_prog_compiler_pic_CXX
='-pic'
14240 freebsd
* | dragonfly
*)
14241 # FreeBSD uses GNU C++
14243 hpux9
* | hpux10
* | hpux11
*)
14244 case $cc_basename in
14246 lt_prog_compiler_wl_CXX
='-Wl,'
14247 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14248 if test "$host_cpu" != ia64
; then
14249 lt_prog_compiler_pic_CXX
='+Z'
14253 lt_prog_compiler_wl_CXX
='-Wl,'
14254 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14260 lt_prog_compiler_pic_CXX
='+Z'
14269 # This is c89, which is MS Visual C++ (no shared libs)
14270 # Anyone wants to do a port?
14272 irix5
* | irix6
* | nonstopux
*)
14273 case $cc_basename in
14275 lt_prog_compiler_wl_CXX
='-Wl,'
14276 lt_prog_compiler_static_CXX
='-non_shared'
14277 # CC pic flag -KPIC is the default.
14283 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14284 case $cc_basename in
14287 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14288 lt_prog_compiler_pic_CXX
='-fPIC'
14291 # old Intel C++ for x86_64 which still supported -KPIC.
14292 lt_prog_compiler_wl_CXX
='-Wl,'
14293 lt_prog_compiler_pic_CXX
='-KPIC'
14294 lt_prog_compiler_static_CXX
='-static'
14297 # Intel C++, used to be incompatible with GCC.
14298 # ICC 10 doesn't accept -KPIC any more.
14299 lt_prog_compiler_wl_CXX
='-Wl,'
14300 lt_prog_compiler_pic_CXX
='-fPIC'
14301 lt_prog_compiler_static_CXX
='-static'
14304 # Portland Group C++ compiler
14305 lt_prog_compiler_wl_CXX
='-Wl,'
14306 lt_prog_compiler_pic_CXX
='-fpic'
14307 lt_prog_compiler_static_CXX
='-Bstatic'
14311 # Make sure the PIC flag is empty. It appears that all Alpha
14312 # Linux and Compaq Tru64 Unix objects are PIC.
14313 lt_prog_compiler_pic_CXX
=
14314 lt_prog_compiler_static_CXX
='-non_shared'
14316 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14317 # IBM XL 8.0, 9.0 on PPC and BlueGene
14318 lt_prog_compiler_wl_CXX
='-Wl,'
14319 lt_prog_compiler_pic_CXX
='-qpic'
14320 lt_prog_compiler_static_CXX
='-qstaticlink'
14323 case `$CC -V 2>&1 | sed 5q` in
14326 lt_prog_compiler_pic_CXX
='-KPIC'
14327 lt_prog_compiler_static_CXX
='-Bstatic'
14328 lt_prog_compiler_wl_CXX
='-Qoption ld '
14339 case $cc_basename in
14341 lt_prog_compiler_pic_CXX
='-W c,exportall'
14350 # QNX uses GNU C++, but need to define -shared option too, otherwise
14351 # it will coredump.
14352 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14354 osf3
* | osf4
* | osf5
*)
14355 case $cc_basename in
14357 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14360 # Rational C++ 2.4.1
14361 lt_prog_compiler_pic_CXX
='-pic'
14364 # Digital/Compaq C++
14365 lt_prog_compiler_wl_CXX
='-Wl,'
14366 # Make sure the PIC flag is empty. It appears that all Alpha
14367 # Linux and Compaq Tru64 Unix objects are PIC.
14368 lt_prog_compiler_pic_CXX
=
14369 lt_prog_compiler_static_CXX
='-non_shared'
14378 case $cc_basename in
14380 # Sun C++ 4.2, 5.x and Centerline C++
14381 lt_prog_compiler_pic_CXX
='-KPIC'
14382 lt_prog_compiler_static_CXX
='-Bstatic'
14383 lt_prog_compiler_wl_CXX
='-Qoption ld '
14386 # Green Hills C++ Compiler
14387 lt_prog_compiler_pic_CXX
='-PIC'
14394 case $cc_basename in
14397 lt_prog_compiler_pic_CXX
='-pic'
14398 lt_prog_compiler_static_CXX
='-Bstatic'
14402 lt_prog_compiler_pic_CXX
='-pic'
14408 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14409 case $cc_basename in
14411 lt_prog_compiler_wl_CXX
='-Wl,'
14412 lt_prog_compiler_pic_CXX
='-KPIC'
14413 lt_prog_compiler_static_CXX
='-Bstatic'
14418 case $cc_basename in
14420 # NonStop-UX NCC 3.20
14421 lt_prog_compiler_pic_CXX
='-KPIC'
14430 lt_prog_compiler_can_build_shared_CXX
=no
14436 # For platforms which do not support PIC, -DPIC is meaningless:
14438 lt_prog_compiler_pic_CXX
=
14441 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14445 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14450 # Check to make sure the PIC flag actually works.
14452 if test -n "$lt_prog_compiler_pic_CXX"; then
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14454 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14455 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14456 $as_echo_n "(cached) " >&6
14458 lt_cv_prog_compiler_pic_works_CXX
=no
14459 ac_outfile
=conftest.
$ac_objext
14460 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14461 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14462 # Insert the option either (1) after the last *FLAGS variable, or
14463 # (2) before a word containing "conftest.", or (3) at the end.
14464 # Note that $ac_compile itself does not contain backslashes and begins
14465 # with a dollar sign (not a hyphen), so the echo should work correctly.
14466 # The option is referenced via a variable to avoid confusing sed.
14467 lt_compile
=`echo "$ac_compile" | $SED \
14468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14470 -e 's:$: $lt_compiler_flag:'`
14471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14472 (eval "$lt_compile" 2>conftest.err
)
14474 cat conftest.err
>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 if (exit $ac_status) && test -s "$ac_outfile"; then
14477 # The compiler can only warn and ignore the option if not recognized
14478 # So say no if there are warnings other than the usual output.
14479 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14480 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14481 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14482 lt_cv_prog_compiler_pic_works_CXX
=yes
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14489 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14491 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14492 case $lt_prog_compiler_pic_CXX in
14494 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14497 lt_prog_compiler_pic_CXX
=
14498 lt_prog_compiler_can_build_shared_CXX
=no
14506 # Check to make sure the static flag actually works.
14508 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14510 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14511 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14512 $as_echo_n "(cached) " >&6
14514 lt_cv_prog_compiler_static_works_CXX
=no
14515 save_LDFLAGS
="$LDFLAGS"
14516 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14517 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14518 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14519 # The linker can only warn and ignore the option if not recognized
14520 # So say no if there are warnings
14521 if test -s conftest.err
; then
14522 # Append any errors to the config.log.
14523 cat conftest.err
1>&5
14524 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14525 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14526 if diff conftest.exp conftest.er2
>/dev
/null
; then
14527 lt_cv_prog_compiler_static_works_CXX
=yes
14530 lt_cv_prog_compiler_static_works_CXX
=yes
14534 LDFLAGS
="$save_LDFLAGS"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14538 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14540 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14543 lt_prog_compiler_static_CXX
=
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14550 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14551 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14552 $as_echo_n "(cached) " >&6
14554 lt_cv_prog_compiler_c_o_CXX
=no
14555 $RM -r conftest
2>/dev
/null
14559 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14561 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14562 # Insert the option either (1) after the last *FLAGS variable, or
14563 # (2) before a word containing "conftest.", or (3) at the end.
14564 # Note that $ac_compile itself does not contain backslashes and begins
14565 # with a dollar sign (not a hyphen), so the echo should work correctly.
14566 lt_compile
=`echo "$ac_compile" | $SED \
14567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14569 -e 's:$: $lt_compiler_flag:'`
14570 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14571 (eval "$lt_compile" 2>out
/conftest.err
)
14573 cat out
/conftest.err
>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14577 # The compiler can only warn and ignore the option if not recognized
14578 # So say no if there are warnings
14579 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14580 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14581 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14582 lt_cv_prog_compiler_c_o_CXX
=yes
14587 # SGI C++ compiler will create directory out/ii_files/ for
14588 # template instantiation
14589 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14590 $RM out
/* && rmdir out
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14597 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14603 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14604 $as_echo_n "(cached) " >&6
14606 lt_cv_prog_compiler_c_o_CXX
=no
14607 $RM -r conftest
2>/dev
/null
14611 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14613 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14614 # Insert the option either (1) after the last *FLAGS variable, or
14615 # (2) before a word containing "conftest.", or (3) at the end.
14616 # Note that $ac_compile itself does not contain backslashes and begins
14617 # with a dollar sign (not a hyphen), so the echo should work correctly.
14618 lt_compile
=`echo "$ac_compile" | $SED \
14619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14621 -e 's:$: $lt_compiler_flag:'`
14622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14623 (eval "$lt_compile" 2>out
/conftest.err
)
14625 cat out
/conftest.err
>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14629 # The compiler can only warn and ignore the option if not recognized
14630 # So say no if there are warnings
14631 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14632 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14633 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14634 lt_cv_prog_compiler_c_o_CXX
=yes
14639 # SGI C++ compiler will create directory out/ii_files/ for
14640 # template instantiation
14641 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14642 $RM out
/* && rmdir out
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14649 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14654 hard_links
="nottested"
14655 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14656 # do not overwrite the value of need_locks provided by the user
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14658 $as_echo_n "checking if we can lock with hard links... " >&6; }
14661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14663 ln conftest.a conftest.b
2>&5 || hard_links
=no
14664 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14666 $as_echo "$hard_links" >&6; }
14667 if test "$hard_links" = no
; then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14669 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14679 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14681 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14684 # If we're using GNU nm, then we don't want the "-C" option.
14685 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14686 # Also, AIX nm treats weak defined symbols like other global defined
14687 # symbols, whereas GNU nm marks them as "W".
14688 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14689 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'
14691 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'
14695 export_symbols_cmds_CXX
="$ltdll_cmds"
14697 cygwin
* | mingw
* | cegcc
*)
14698 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'
14701 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14704 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14707 $as_echo "$ld_shlibs_CXX" >&6; }
14708 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14710 with_gnu_ld_CXX
=$with_gnu_ld
14718 # Do we need to explicitly link libc?
14720 case "x$archive_cmds_need_lc_CXX" in
14722 # Assume -lc should be added
14723 archive_cmds_need_lc_CXX
=yes
14725 if test "$enable_shared" = yes && test "$GCC" = yes; then
14726 case $archive_cmds_CXX in
14728 # FIXME: we may have to deal with multi-command sequences.
14731 # Test whether the compiler implicitly links with -lc since on some
14732 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14733 # to ld, don't add -lc before -lgcc.
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14735 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14736 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14737 $as_echo_n "(cached) " >&6
14740 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14743 (eval $ac_compile) 2>&5
14745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14746 test $ac_status = 0; } 2>conftest.err
; then
14749 libobjs
=conftest.
$ac_objext
14751 wl
=$lt_prog_compiler_wl_CXX
14752 pic_flag
=$lt_prog_compiler_pic_CXX
14758 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14759 allow_undefined_flag_CXX
=
14760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14761 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14764 test $ac_status = 0; }
14766 lt_cv_archive_cmds_need_lc_CXX
=no
14768 lt_cv_archive_cmds_need_lc_CXX
=yes
14770 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14772 cat conftest.err
1>&5
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14778 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14779 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14850 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14852 library_names_spec
=
14853 libname_spec
='lib$name'
14857 postuninstall_cmds
=
14861 shlibpath_overrides_runpath
=unknown
14863 dynamic_linker
="$host_os ld.so"
14864 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14865 need_lib_prefix
=unknown
14866 hardcode_into_libs
=no
14868 # when you set need_version to no, make sure it does not cause -set_version
14869 # flags to be left without arguments
14870 need_version
=unknown
14875 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14876 shlibpath_var
=LIBPATH
14878 # AIX 3 has no versioning support, so we append a major version to the name.
14879 soname_spec
='${libname}${release}${shared_ext}$major'
14886 hardcode_into_libs
=yes
14887 if test "$host_cpu" = ia64
; then
14888 # AIX 5 supports IA64
14889 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14890 shlibpath_var
=LD_LIBRARY_PATH
14892 # With GCC up to 2.95.x, collect2 would create an import file
14893 # for dependence libraries. The import file would start with
14894 # the line `#! .'. This would cause the generated library to
14895 # depend on `.', always an invalid library. This was fixed in
14896 # development snapshots of GCC prior to 3.0.
14898 aix4 | aix4.
[01] | aix4.
[01].
*)
14899 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14901 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14904 can_build_shared
=no
14908 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14909 # soname into executable. Probably we can add versioning support to
14910 # collect2, so additional links can be useful in future.
14911 if test "$aix_use_runtimelinking" = yes; then
14912 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14913 # instead of lib<name>.a to let people know that these are not
14914 # typical AIX shared libraries.
14915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917 # We preserve .a as extension for shared libraries through AIX4.2
14918 # and later when we are not doing run time linking.
14919 library_names_spec
='${libname}${release}.a $libname.a'
14920 soname_spec
='${libname}${release}${shared_ext}$major'
14922 shlibpath_var
=LIBPATH
14929 # Since July 2007 AmigaOS4 officially supports .so libraries.
14930 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 library_names_spec
='$libname.ixlibrary $libname.a'
14935 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14936 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'
14942 library_names_spec
='${libname}${shared_ext}'
14943 dynamic_linker
="$host_os ld.so"
14944 shlibpath_var
=LIBRARY_PATH
14950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 soname_spec
='${libname}${release}${shared_ext}$major'
14952 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14953 shlibpath_var
=LD_LIBRARY_PATH
14954 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14955 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14956 # the default ld.so.conf also contains /usr/contrib/lib and
14957 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14958 # libtool to hard-code these into programs
14961 cygwin
* | mingw
* | pw32
* | cegcc
*)
14962 version_type
=windows
14967 case $GCC,$host_os in
14968 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14969 library_names_spec
='$libname.dll.a'
14970 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14971 postinstall_cmds
='base_file=`basename \${file}`~
14972 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14973 dldir=$destdir/`dirname \$dlpath`~
14974 test -d \$dldir || mkdir -p \$dldir~
14975 $install_prog $dir/$dlname \$dldir/$dlname~
14976 chmod a+x \$dldir/$dlname~
14977 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14978 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14980 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14981 dlpath=$dir/\$dldll~
14983 shlibpath_overrides_runpath
=yes
14987 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14988 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14992 # MinGW DLLs use traditional 'lib' prefix
14993 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14996 # pw32 DLLs use 'pw' prefix rather than 'lib'
14997 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15003 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15006 dynamic_linker
='Win32 ld.exe'
15007 # FIXME: first we should search . and the directory the executable is in
15011 darwin
* | rhapsody
*)
15012 dynamic_linker
="$host_os dyld"
15013 version_type
=darwin
15016 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15017 soname_spec
='${libname}${release}${major}$shared_ext'
15018 shlibpath_overrides_runpath
=yes
15019 shlibpath_var
=DYLD_LIBRARY_PATH
15020 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15022 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15030 soname_spec
='${libname}${release}${shared_ext}$major'
15031 shlibpath_var
=LD_LIBRARY_PATH
15034 freebsd
* | dragonfly
*)
15035 # DragonFly does not have aout. When/if they implement a new
15036 # versioning mechanism, adjust this.
15037 if test -x /usr
/bin
/objformat
; then
15038 objformat
=`/usr/bin/objformat`
15041 freebsd
[23].
*) objformat
=aout
;;
15042 *) objformat
=elf
;;
15045 version_type
=freebsd-
$objformat
15046 case $version_type in
15048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15053 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15057 shlibpath_var
=LD_LIBRARY_PATH
15060 shlibpath_overrides_runpath
=yes
15062 freebsd3.
[01]* | freebsdelf3.
[01]*)
15063 shlibpath_overrides_runpath
=yes
15064 hardcode_into_libs
=yes
15066 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15067 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15068 shlibpath_overrides_runpath
=no
15069 hardcode_into_libs
=yes
15071 *) # from 4.6 on, and DragonFly
15072 shlibpath_overrides_runpath
=yes
15073 hardcode_into_libs
=yes
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15083 soname_spec
='${libname}${release}${shared_ext}$major'
15084 shlibpath_var
=LD_LIBRARY_PATH
15085 hardcode_into_libs
=yes
15092 dynamic_linker
="$host_os runtime_loader"
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15094 soname_spec
='${libname}${release}${shared_ext}$major'
15095 shlibpath_var
=LIBRARY_PATH
15096 shlibpath_overrides_runpath
=yes
15097 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15098 hardcode_into_libs
=yes
15101 hpux9
* | hpux10
* | hpux11
*)
15102 # Give a soname corresponding to the major version so that dld.sl refuses to
15103 # link against other versions.
15110 hardcode_into_libs
=yes
15111 dynamic_linker
="$host_os dld.so"
15112 shlibpath_var
=LD_LIBRARY_PATH
15113 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15115 soname_spec
='${libname}${release}${shared_ext}$major'
15116 if test "X$HPUX_IA64_MODE" = X32
; then
15117 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15119 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15121 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15125 hardcode_into_libs
=yes
15126 dynamic_linker
="$host_os dld.sl"
15127 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15128 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15130 soname_spec
='${libname}${release}${shared_ext}$major'
15131 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15132 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15136 dynamic_linker
="$host_os dld.sl"
15137 shlibpath_var
=SHLIB_PATH
15138 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15140 soname_spec
='${libname}${release}${shared_ext}$major'
15143 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15144 postinstall_cmds
='chmod 555 $lib'
15145 # or fails outright, so override atomically:
15146 install_override_mode
=555
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15154 soname_spec
='${libname}${release}${shared_ext}$major'
15155 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15156 shlibpath_var
=LD_LIBRARY_PATH
15157 shlibpath_overrides_runpath
=no
15158 hardcode_into_libs
=yes
15161 irix5
* | irix6
* | nonstopux
*)
15163 nonstopux
*) version_type
=nonstopux
;;
15165 if test "$lt_cv_prog_gnu_ld" = yes; then
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15176 irix5
* | nonstopux
*)
15177 libsuff
= shlibsuff
=
15180 case $LD in # libtool.m4 will add one of these switches to LD
15181 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15182 libsuff
= shlibsuff
= libmagic
=32-bit;;
15183 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15184 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15185 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15186 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15187 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15191 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15192 shlibpath_overrides_runpath
=no
15193 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15194 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15195 hardcode_into_libs
=yes
15198 # No shared lib support for Linux oldld, aout, or coff.
15199 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15203 # This must be Linux ELF.
15204 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15211 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=no
15214 # Some binutils ld are patched to set DT_RUNPATH
15215 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15216 $as_echo_n "(cached) " >&6
15218 lt_cv_shlibpath_overrides_runpath
=no
15219 save_LDFLAGS
=$LDFLAGS
15220 save_libdir
=$libdir
15221 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15222 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15234 if ac_fn_cxx_try_link
"$LINENO"; then :
15235 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15236 lt_cv_shlibpath_overrides_runpath
=yes
15239 rm -f core conftest.err conftest.
$ac_objext \
15240 conftest
$ac_exeext conftest.
$ac_ext
15241 LDFLAGS
=$save_LDFLAGS
15242 libdir
=$save_libdir
15246 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15248 # This implies no fast_install, which is unacceptable.
15249 # Some rework will be needed to allow for fast_install
15250 # before this can be enabled.
15251 hardcode_into_libs
=yes
15253 # Append ld.so.conf contents to the search path
15254 if test -f /etc
/ld.so.conf
; then
15255 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' ' '`
15256 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15259 # We used to test for /lib/ld.so.1 and disable shared libraries on
15260 # powerpc, because MkLinux only supported shared libraries with the
15261 # GNU dynamic linker. Since this was broken with cross compilers,
15262 # most powerpc-linux boxes support dynamic linking these days and
15263 # people can always --disable-shared, the test was removed, and we
15264 # assume the GNU/Linux dynamic linker is in use.
15265 dynamic_linker
='GNU/Linux ld.so'
15272 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15275 dynamic_linker
='NetBSD (a.out) ld.so'
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15278 soname_spec
='${libname}${release}${shared_ext}$major'
15279 dynamic_linker
='NetBSD ld.elf_so'
15281 shlibpath_var
=LD_LIBRARY_PATH
15282 shlibpath_overrides_runpath
=yes
15283 hardcode_into_libs
=yes
15288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15289 shlibpath_var
=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath
=yes
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 shlibpath_overrides_runpath
=no
15301 hardcode_into_libs
=yes
15302 dynamic_linker
='ldqnx.so'
15307 sys_lib_dlsearch_path_spec
="/usr/lib"
15309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15311 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15312 *) need_version
=no
;;
15314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15316 shlibpath_var
=LD_LIBRARY_PATH
15317 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15319 openbsd2.
[89] | openbsd2.
[89].
*)
15320 shlibpath_overrides_runpath
=no
15323 shlibpath_overrides_runpath
=yes
15327 shlibpath_overrides_runpath
=yes
15332 libname_spec
='$name'
15335 library_names_spec
='$libname${shared_ext} $libname.a'
15336 dynamic_linker
='OS/2 ld.exe'
15337 shlibpath_var
=LIBPATH
15340 osf3
* | osf4
* | osf5
*)
15344 soname_spec
='${libname}${release}${shared_ext}$major'
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 shlibpath_var
=LD_LIBRARY_PATH
15347 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15348 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec
='${libname}${release}${shared_ext}$major'
15361 shlibpath_var
=LD_LIBRARY_PATH
15362 shlibpath_overrides_runpath
=yes
15363 hardcode_into_libs
=yes
15364 # ldd complains unless libraries are executable
15365 postinstall_cmds
='chmod +x $lib'
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15371 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15372 shlibpath_var
=LD_LIBRARY_PATH
15373 shlibpath_overrides_runpath
=yes
15374 if test "$with_gnu_ld" = yes; then
15382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383 soname_spec
='${libname}${release}${shared_ext}$major'
15384 shlibpath_var
=LD_LIBRARY_PATH
15385 case $host_vendor in
15387 shlibpath_overrides_runpath
=no
15389 runpath_var
=LD_RUN_PATH
15397 shlibpath_overrides_runpath
=no
15398 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15404 if test -d /usr
/nec
;then
15406 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15407 soname_spec
='$libname${shared_ext}.$major'
15408 shlibpath_var
=LD_LIBRARY_PATH
15412 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15413 version_type
=freebsd-elf
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 shlibpath_var
=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15420 hardcode_into_libs
=yes
15421 if test "$with_gnu_ld" = yes; then
15422 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15424 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15427 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15431 sys_lib_dlsearch_path_spec
='/usr/lib'
15435 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=no
15442 hardcode_into_libs
=yes
15447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15448 soname_spec
='${libname}${release}${shared_ext}$major'
15449 shlibpath_var
=LD_LIBRARY_PATH
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15457 $as_echo "$dynamic_linker" >&6; }
15458 test "$dynamic_linker" = no
&& can_build_shared
=no
15460 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15461 if test "$GCC" = yes; then
15462 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15465 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15466 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15468 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15469 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15510 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15511 hardcode_action_CXX
=
15512 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15513 test -n "$runpath_var_CXX" ||
15514 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15516 # We can hardcode non-existent directories.
15517 if test "$hardcode_direct_CXX" != no
&&
15518 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15519 # have to relink, otherwise we might link with an installed library
15520 # when we should be linking with a yet-to-be-installed one
15521 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15522 test "$hardcode_minus_L_CXX" != no
; then
15523 # Linking always hardcodes the temporary library directory.
15524 hardcode_action_CXX
=relink
15526 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15527 hardcode_action_CXX
=immediate
15530 # We cannot hardcode anything, or else we can only hardcode existing
15532 hardcode_action_CXX
=unsupported
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15535 $as_echo "$hardcode_action_CXX" >&6; }
15537 if test "$hardcode_action_CXX" = relink ||
15538 test "$inherit_rpath_CXX" = yes; then
15539 # Fast installation is not supported
15540 enable_fast_install
=no
15541 elif test "$shlibpath_overrides_runpath" = yes ||
15542 test "$enable_shared" = no
; then
15543 # Fast installation is not necessary
15544 enable_fast_install
=needless
15553 fi # test -n "$compiler"
15559 with_gnu_ld
=$lt_save_with_gnu_ld
15560 lt_cv_path_LDCXX
=$lt_cv_path_LD
15561 lt_cv_path_LD
=$lt_save_path_LD
15562 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15563 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15564 fi # test "$_lt_caught_CXX_error" != yes
15567 ac_cpp
='$CPP $CPPFLAGS'
15568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15584 ac_config_commands
="$ac_config_commands libtool"
15589 # Only expand once:
15596 *-cygwin* |
*-mingw*)
15597 # 'host' will be top-level target in the case of a target lib,
15598 # we must compare to with_cross_host to decide if this is a native
15599 # or cross-compiler and select where to install dlls appropriately.
15600 if test -n "$with_cross_host" &&
15601 test x
"$with_cross_host" != x
"no"; then
15602 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15604 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15617 # For libtool versioning info, format is CURRENT:REVISION:AGE
15618 libtool_VERSION
=1:0:0
15621 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15623 # Add CET specific flags if Intel CET is enabled.
15624 # Check whether --enable-cet was given.
15625 if test "${enable_cet+set}" = set; then :
15626 enableval
=$enable_cet;
15627 case "$enableval" in
15629 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15638 $as_echo_n "checking for CET support... " >&6; }
15641 i
[34567]86-*-linux* | x86_64-
*-linux*)
15642 case "$enable_cet" in
15644 # Check if target supports multi-byte NOPs
15645 # and if assembler supports CET insn.
15646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15653 #if !defined(__SSE2__)
15654 #error target does not support multi-byte NOPs
15663 if ac_fn_c_try_compile
"$LINENO"; then :
15668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 # Check if assembler supports CET.
15672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15683 if ac_fn_c_try_compile
"$LINENO"; then :
15686 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15696 if test x
$enable_cet = xyes
; then
15697 CET_FLAGS
="-fcf-protection -mshstk"
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15699 $as_echo "yes" >&6; }
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15702 $as_echo "no" >&6; }
15705 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15709 if test "${multilib}" = "yes"; then
15710 multilib_arg
="--enable-multilib"
15715 ac_config_files
="$ac_config_files Makefile"
15718 if test "x$VTV_SUPPORTED" = "xyes"; then
15719 ac_config_files
="$ac_config_files testsuite/Makefile"
15723 case "$target_os" in
15732 if test $vtv_cygmin = yes; then
15734 VTV_CYGMIN_FALSE
='#'
15736 VTV_CYGMIN_TRUE
='#'
15741 for ac_func
in _obstack_begin
15743 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15744 if test "x$ac_cv_func__obstack_begin" = xyes
; then :
15745 cat >>confdefs.h
<<_ACEOF
15746 #define HAVE__OBSTACK_BEGIN 1
15752 if test $ac_cv_func__obstack_begin = no
; then
15753 VTV_NO_OBSTACK_TRUE
=
15754 VTV_NO_OBSTACK_FALSE
='#'
15756 VTV_NO_OBSTACK_TRUE
='#'
15757 VTV_NO_OBSTACK_FALSE
=
15761 # Determine what GCC version number to use in filesystem paths.
15763 get_gcc_base_ver
="cat"
15765 # Check whether --with-gcc-major-version-only was given.
15766 if test "${with_gcc_major_version_only+set}" = set; then :
15767 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15768 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
15776 cat >confcache
<<\_ACEOF
15777 # This file is a shell script that caches the results of configure
15778 # tests run on this system so they can be shared between configure
15779 # scripts and configure runs, see configure's option --config-cache.
15780 # It is not useful on other systems. If it contains results you don't
15781 # want to keep, you may remove or edit it.
15783 # config.status only pays attention to the cache file if you give it
15784 # the --recheck option to rerun configure.
15786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15788 # following values.
15792 # The following way of writing the cache mishandles newlines in values,
15793 # but we know of no workaround that is simple, portable, and efficient.
15794 # So, we kill variables containing newlines.
15795 # Ultrix sh set writes to stderr and can't be redirected directly,
15796 # and sets the high bit in the cache file unless we assign to the vars.
15798 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15799 eval ac_val
=\$
$ac_var
15803 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15807 _ | IFS | as_nl
) ;; #(
15808 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15809 *) { eval $ac_var=; unset $ac_var;} ;;
15815 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15816 *${as_nl}ac_space
=\
*)
15817 # `set' does not quote correctly, so add quotes: double-quote
15818 # substitution turns \\\\ into \\, and sed turns \\ into \.
15821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15824 # `set' quotes correctly as required by POSIX, so do not add quotes.
15825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15838 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15839 if test -w "$cache_file"; then
15840 if test "x$cache_file" != "x/dev/null"; then
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15842 $as_echo "$as_me: updating cache $cache_file" >&6;}
15843 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15844 cat confcache
>"$cache_file"
15846 case $cache_file in #(
15848 mv -f confcache
"$cache_file"$$
&&
15849 mv -f "$cache_file"$$
"$cache_file" ;; #(
15851 mv -f confcache
"$cache_file" ;;
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15857 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15862 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15863 # Let make expand exec_prefix.
15864 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15866 # Transform confdefs.h into DEFS.
15867 # Protect against shell expansion while executing Makefile rules.
15868 # Protect against Makefile macro expansion.
15870 # If the first sed substitution is executed (which looks for macros that
15871 # take arguments), then branch to the quote section. Otherwise,
15872 # look for a macro that doesn't take arguments.
15882 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15884 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15888 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15901 DEFS
=`sed -n "$ac_script" confdefs.h`
15907 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15908 # 1. Remove the extension, and $U if already installed.
15909 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15910 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15912 # will be set to the directory where LIBOBJS objects are built.
15913 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15914 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15916 LIBOBJS
=$ac_libobjs
15918 LTLIBOBJS
=$ac_ltlibobjs
15921 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15922 as_fn_error $?
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15926 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15927 if test -n "$am_sleep_pid"; then
15928 # Hide warnings about reused PIDs.
15929 wait $am_sleep_pid 2>/dev
/null
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15932 $as_echo "done" >&6; }
15933 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15934 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15937 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15938 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15941 if test -n "$EXEEXT"; then
15943 am__EXEEXT_FALSE
='#'
15945 am__EXEEXT_TRUE
='#'
15949 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15950 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15953 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15954 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15957 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15958 as_fn_error $?
"conditional \"VTV_CYGMIN\" was never defined.
15959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15961 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
15962 as_fn_error $?
"conditional \"VTV_NO_OBSTACK\" was never defined.
15963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15966 : "${CONFIG_STATUS=./config.status}"
15968 ac_clean_files_save
=$ac_clean_files
15969 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15971 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15973 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15975 # Generated by $as_me.
15976 # Run this file to recreate the current configuration.
15977 # Compiler output produced by configure, useful for debugging
15978 # configure, is in config.log if it exists.
15981 ac_cs_recheck=false
15984 SHELL=\${CONFIG_SHELL-$SHELL}
15987 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15988 ## -------------------- ##
15989 ## M4sh Initialization. ##
15990 ## -------------------- ##
15992 # Be more Bourne compatible
15993 DUALCASE
=1; export DUALCASE
# for MKS sh
15994 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15997 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15998 # is contrary to our usage. Disable this feature.
15999 alias -g '${1+"$@"}'='"$@"'
16000 setopt NO_GLOB_SUBST
16002 case `(set -o) 2>/dev/null` in #(
16014 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16015 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16017 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16018 # Prefer a ksh shell builtin over an external printf program on Solaris,
16019 # but without wasting forks for bash or zsh.
16020 if test -z "$BASH_VERSION$ZSH_VERSION" \
16021 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16022 as_echo='print
-r --'
16023 as_echo_n='print
-rn --'
16024 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16025 as_echo='printf %s
\n'
16026 as_echo_n='printf %s
'
16028 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16029 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16030 as_echo_n='/usr
/ucb
/echo -n'
16032 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16033 as_echo_n_body='eval
16037 expr "X$arg" : "X\\(.*\\)$as_nl";
16038 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16040 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16042 export as_echo_n_body
16043 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16045 export as_echo_body
16046 as_echo='sh
-c $as_echo_body as_echo
'
16049 # The user is always right.
16050 if test "${PATH_SEPARATOR+set}" != set; then
16052 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16053 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16060 # We need space, tab and new line, in precisely that order. Quoting is
16061 # there to prevent editors from complaining about space-tab.
16062 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16063 # splitting by setting IFS to empty value.)
16066 # Find who we are. Look in the path if we contain no directory separator.
16069 *[\\/]* ) as_myself=$0 ;;
16070 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16071 for as_dir in $PATH
16074 test -z "$as_dir" && as_dir=.
16075 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16081 # We did not find ourselves, most probably we were run as `sh COMMAND'
16082 # in which case we are not to be found in the path.
16083 if test "x$as_myself" = x
; then
16086 if test ! -f "$as_myself"; then
16087 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16091 # Unset variables that we do not need and which cause bugs (e.g. in
16092 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16093 # suppresses any "Segmentation fault" message there. '((' could
16094 # trigger a bug in pdksh 5.2.14.
16095 for as_var
in BASH_ENV ENV MAIL MAILPATH
16096 do eval test x\
${$as_var+set} = xset \
16097 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16110 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16113 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16114 # ----------------------------------------
16115 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16116 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16117 # script with STATUS, using 1 if that was 0.
16120 as_status
=$1; test $as_status -eq 0 && as_status
=1
16122 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16123 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16125 $as_echo "$as_me: error: $2" >&2
16126 as_fn_exit
$as_status
16130 # as_fn_set_status STATUS
16131 # -----------------------
16132 # Set $? to STATUS, without forking.
16133 as_fn_set_status
()
16136 } # as_fn_set_status
16138 # as_fn_exit STATUS
16139 # -----------------
16140 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16144 as_fn_set_status
$1
16150 # Portably unset VAR.
16153 { eval $1=; unset $1;}
16155 as_unset
=as_fn_unset
16156 # as_fn_append VAR VALUE
16157 # ----------------------
16158 # Append the text in VALUE to the end of the definition contained in VAR. Take
16159 # advantage of any shell optimizations that allow amortized linear growth over
16160 # repeated appends, instead of the typical quadratic growth present in naive
16162 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16163 eval 'as_fn_append ()
16174 # as_fn_arith ARG...
16175 # ------------------
16176 # Perform arithmetic evaluation on the ARGs, and store the result in the
16177 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16178 # must be portable across $(()) and expr.
16179 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16180 eval 'as_fn_arith ()
16187 as_val
=`expr "$@" || test $? -eq 1`
16192 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16193 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16199 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16200 as_basename
=basename
16205 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16211 as_me
=`$as_basename -- "$0" ||
16212 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16213 X"$0" : 'X\(//\)$' \| \
16214 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16216 sed '/^.*\/\([^/][^/]*\)\/*$/{
16230 # Avoid depending upon Character Ranges.
16231 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16232 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16233 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16234 as_cr_digits
='0123456789'
16235 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16237 ECHO_C
= ECHO_N
= ECHO_T
=
16238 case `echo -n x` in #(((((
16240 case `echo 'xy\c'` in
16241 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16243 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16250 rm -f conf$$ conf$$.exe conf$$.
file
16251 if test -d conf$$.dir
; then
16252 rm -f conf$$.dir
/conf$$.
file
16255 mkdir conf$$.dir
2>/dev
/null
16257 if (echo >conf$$.
file) 2>/dev
/null
; then
16258 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16260 # ... but there are two gotchas:
16261 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16262 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16263 # In both cases, we have to default to `cp -pR'.
16264 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16266 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16274 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16275 rmdir conf$$.dir
2>/dev
/null
16280 # Create "$as_dir" as a directory, including parents if necessary.
16285 -*) as_dir
=.
/$as_dir;;
16287 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16292 *) as_qdir
=$as_dir;;
16294 as_dirs
="'$as_qdir' $as_dirs"
16295 as_dir
=`$as_dirname -- "$as_dir" ||
16296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16297 X"$as_dir" : 'X\(//\)[^/]' \| \
16298 X"$as_dir" : 'X\(//\)$' \| \
16299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16300 $as_echo X"$as_dir" |
16301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16305 /^X\(\/\/\)[^/].*/{
16318 test -d "$as_dir" && break
16320 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16321 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16325 if mkdir
-p .
2>/dev
/null
; then
16326 as_mkdir_p
='mkdir -p "$as_dir"'
16328 test -d .
/-p && rmdir .
/-p
16333 # as_fn_executable_p FILE
16334 # -----------------------
16335 # Test if FILE is an executable regular file.
16336 as_fn_executable_p
()
16338 test -f "$1" && test -x "$1"
16339 } # as_fn_executable_p
16340 as_test_x
='test -x'
16341 as_executable_p
=as_fn_executable_p
16343 # Sed expression to map a string onto a valid CPP name.
16344 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16346 # Sed expression to map a string onto a valid variable name.
16347 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16351 ## ----------------------------------- ##
16352 ## Main body of $CONFIG_STATUS script. ##
16353 ## ----------------------------------- ##
16355 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16358 # Save the log message, to keep $0 and so on meaningful, and to
16359 # report actual input values of CONFIG_FILES etc. instead of their
16360 # values after options handling.
16362 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16363 generated by GNU Autoconf 2.69. Invocation command line was
16365 CONFIG_FILES = $CONFIG_FILES
16366 CONFIG_HEADERS = $CONFIG_HEADERS
16367 CONFIG_LINKS = $CONFIG_LINKS
16368 CONFIG_COMMANDS = $CONFIG_COMMANDS
16371 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16376 case $ac_config_files in *"
16377 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16383 # Files that config.status was made for.
16384 config_files="$ac_config_files"
16385 config_commands="$ac_config_commands"
16389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16391 \`$as_me' instantiates files and other configuration actions
16392 from templates according to the current configuration. Unless the files
16393 and actions are specified as TAGs, all are instantiated by default.
16395 Usage: $0 [OPTION]... [TAG]...
16397 -h, --help print this help, then exit
16398 -V, --version print version number and configuration settings, then exit
16399 --config print configuration, then exit
16400 -q, --quiet, --silent
16401 do not print progress messages
16402 -d, --debug don't remove temporary files
16403 --recheck update $as_me by reconfiguring in the same conditions
16404 --file=FILE[:TEMPLATE]
16405 instantiate the configuration file FILE
16407 Configuration files:
16410 Configuration commands:
16413 Report bugs to the package provider.
16414 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16415 General help using GNU software: <http://www.gnu.org/gethelp/>."
16418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16419 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16421 GNU Vtable Verification Runtime Library config.status 1.0
16422 configured by $0, generated by GNU Autoconf 2.69,
16423 with options \\"\$ac_cs_config\\"
16425 Copyright (C) 2012 Free Software Foundation, Inc.
16426 This config.status script is free software; the Free Software Foundation
16427 gives unlimited permission to copy, distribute and modify it."
16434 test -n "\$AWK" || AWK=awk
16437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16438 # The default lists apply if the user does not specify any file.
16444 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16445 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16449 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16461 # Handling of the options.
16462 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16464 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16465 $as_echo "$ac_cs_version"; exit ;;
16466 --config |
--confi |
--conf |
--con |
--co |
--c )
16467 $as_echo "$ac_cs_config"; exit ;;
16468 --debug |
--debu |
--deb |
--de |
--d |
-d )
16470 --file |
--fil |
--fi |
--f )
16473 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16474 '') as_fn_error $?
"missing file argument" ;;
16476 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16477 ac_need_defaults
=false
;;
16478 --he |
--h |
--help |
--hel |
-h )
16479 $as_echo "$ac_cs_usage"; exit ;;
16480 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16481 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16484 # This is an error.
16485 -*) as_fn_error $?
"unrecognized option: \`$1'
16486 Try \`$0 --help' for more information." ;;
16488 *) as_fn_append ac_config_targets
" $1"
16489 ac_need_defaults
=false
;;
16495 ac_configure_extra_args
=
16497 if $ac_cs_silent; then
16499 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16504 if \$ac_cs_recheck; then
16505 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16507 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16508 CONFIG_SHELL='$SHELL'
16509 export CONFIG_SHELL
16514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16518 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16519 ## Running $as_me. ##
16525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16533 with_multisubdir="$with_multisubdir"
16534 with_multisrctop="$with_multisrctop"
16535 with_target_subdir="$with_target_subdir"
16536 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16537 multi_basedir="$multi_basedir"
16538 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16541 GFORTRAN="$GFORTRAN"
16543 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16546 # The HP-UX ksh and POSIX shell print the target directory to stdout
16547 # if CDPATH is set.
16548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16550 sed_quote_subst='$sed_quote_subst'
16551 double_quote_subst='$double_quote_subst'
16552 delay_variable_subst='$delay_variable_subst'
16553 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16554 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16555 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16556 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16557 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16558 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16559 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16560 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16561 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16562 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16563 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16564 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16565 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16566 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16567 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16568 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16569 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16570 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16571 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16572 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16573 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16574 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16575 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16576 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16577 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16578 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16579 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16580 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16581 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16582 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16583 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16584 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16585 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16586 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16587 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16588 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16589 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16590 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16591 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16592 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16593 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16594 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16595 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16596 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16597 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16598 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16599 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16600 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16601 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"`'
16602 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16603 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16604 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16605 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16606 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16607 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16608 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16609 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16610 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16611 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16612 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16613 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16614 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16615 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16616 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16617 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16618 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16619 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16620 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16621 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16622 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16623 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16624 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16625 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16626 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16627 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16628 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16629 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16630 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16631 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16632 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16633 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16634 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16635 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16636 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16637 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16638 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16639 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16640 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16641 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16642 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16643 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16644 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16645 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16646 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16647 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16648 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16649 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16650 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16651 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16652 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16653 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16654 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16655 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16656 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16657 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16658 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16659 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16660 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16661 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16662 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16663 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16664 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16665 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16666 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16667 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16668 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16669 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16670 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16671 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16672 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16673 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16674 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16675 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16676 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16677 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16678 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16679 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16680 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16681 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16682 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16683 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16684 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16685 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16686 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16687 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16688 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16689 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16690 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16691 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16692 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16693 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16694 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16695 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16696 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16697 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16698 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16699 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16700 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16701 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16702 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16703 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16704 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16705 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16706 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16707 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16708 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16709 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16710 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16711 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16712 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16713 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16714 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16715 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16716 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16717 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16718 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16719 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16720 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16721 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16722 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16723 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16724 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16725 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16726 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16727 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16730 LTCFLAGS='$LTCFLAGS'
16731 compiler='$compiler_DEFAULT'
16733 # A function that is used when there is no print builtin or printf.
16734 func_fallback_echo ()
16736 eval 'cat <<_LTECHO_EOF
16741 # Quote evaled strings.
16755 deplibs_check_method \
16764 lt_cv_sys_global_symbol_pipe \
16765 lt_cv_sys_global_symbol_to_cdecl \
16766 lt_cv_sys_global_symbol_to_c_name_address \
16767 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16768 lt_prog_compiler_no_builtin_flag \
16769 lt_prog_compiler_wl \
16770 lt_prog_compiler_pic \
16771 lt_prog_compiler_static \
16772 lt_cv_prog_compiler_c_o \
16780 export_dynamic_flag_spec \
16781 whole_archive_flag_spec \
16782 compiler_needs_object \
16784 allow_undefined_flag \
16785 no_undefined_flag \
16786 hardcode_libdir_flag_spec \
16787 hardcode_libdir_flag_spec_ld \
16788 hardcode_libdir_separator \
16793 variables_saved_for_relink \
16795 library_names_spec \
16797 install_override_mode \
16801 compiler_lib_search_dirs \
16806 compiler_lib_search_path \
16810 lt_prog_compiler_no_builtin_flag_CXX \
16811 lt_prog_compiler_wl_CXX \
16812 lt_prog_compiler_pic_CXX \
16813 lt_prog_compiler_static_CXX \
16814 lt_cv_prog_compiler_c_o_CXX \
16815 export_dynamic_flag_spec_CXX \
16816 whole_archive_flag_spec_CXX \
16817 compiler_needs_object_CXX \
16819 allow_undefined_flag_CXX \
16820 no_undefined_flag_CXX \
16821 hardcode_libdir_flag_spec_CXX \
16822 hardcode_libdir_flag_spec_ld_CXX \
16823 hardcode_libdir_separator_CXX \
16824 fix_srcfile_path_CXX \
16825 exclude_expsyms_CXX \
16826 include_expsyms_CXX \
16827 file_list_spec_CXX \
16828 compiler_lib_search_dirs_CXX \
16829 predep_objects_CXX \
16830 postdep_objects_CXX \
16833 compiler_lib_search_path_CXX; do
16834 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16835 *[\\\\\\\`\\"\\\$]*)
16836 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16839 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16844 # Double-quote double-evaled strings.
16845 for var in reload_cmds \
16846 old_postinstall_cmds \
16847 old_postuninstall_cmds \
16849 extract_expsyms_cmds \
16850 old_archive_from_new_cmds \
16851 old_archive_from_expsyms_cmds \
16853 archive_expsym_cmds \
16855 module_expsym_cmds \
16856 export_symbols_cmds \
16859 postuninstall_cmds \
16861 sys_lib_search_path_spec \
16862 sys_lib_dlsearch_path_spec \
16864 old_archive_cmds_CXX \
16865 old_archive_from_new_cmds_CXX \
16866 old_archive_from_expsyms_cmds_CXX \
16868 archive_expsym_cmds_CXX \
16870 module_expsym_cmds_CXX \
16871 export_symbols_cmds_CXX \
16872 prelink_cmds_CXX; do
16873 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16874 *[\\\\\\\`\\"\\\$]*)
16875 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16878 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16883 ac_aux_dir='$ac_aux_dir'
16884 xsi_shell='$xsi_shell'
16885 lt_shell_append='$lt_shell_append'
16887 # See if we are running on zsh, and set the options which allow our
16888 # commands through without removal of \ escapes INIT.
16889 if test -n "\${ZSH_VERSION+set}" ; then
16890 setopt NO_GLOB_SUBST
16896 TIMESTAMP='$TIMESTAMP'
16907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16909 # Handling of arguments.
16910 for ac_config_target
in $ac_config_targets
16912 case $ac_config_target in
16913 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16914 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16915 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16916 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16917 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16919 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16924 # If the user did not use the arguments to specify the items to instantiate,
16925 # then the envvar interface is used. Set only those that are not.
16926 # We use the long form for the default assignment because of an extremely
16927 # bizarre bug on SunOS 4.1.3.
16928 if $ac_need_defaults; then
16929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16933 # Have a temporary directory for convenience. Make it in the build tree
16934 # simply because there is no reason against having it here, and in addition,
16935 # creating and moving files from /tmp can sometimes cause problems.
16936 # Hook for its removal unless debugging.
16937 # Note that there is a small window in which the directory will not be cleaned:
16938 # after its creation but before its name has been assigned to `$tmp'.
16942 trap 'exit_status=$?
16943 : "${ac_tmp:=$tmp}"
16944 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16946 trap 'as_fn_exit 1' 1 2 13 15
16948 # Create a (secure) tmp directory for tmp files.
16951 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16955 tmp
=.
/conf$$
-$RANDOM
16956 (umask 077 && mkdir
"$tmp")
16957 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16960 # Set up the scripts for CONFIG_FILES section.
16961 # No need to generate them if there are no CONFIG_FILES.
16962 # This happens for instance with `./config.status config.h'.
16963 if test -n "$CONFIG_FILES"; then
16966 ac_cr
=`echo X | tr X '\015'`
16967 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16968 # But we know of no other shell where ac_cr would be empty at this
16969 # point, so we can use a bashism as a fallback.
16970 if test "x$ac_cr" = x
; then
16971 eval ac_cr
=\$
\'\\r
\'
16973 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16974 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16977 ac_cs_awk_cr
=$ac_cr
16980 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16985 echo "cat >conf$$subs.awk <<_ACEOF" &&
16986 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16988 } >conf$$subs.sh ||
16989 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16990 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16992 for ac_last_try in false false false false false :; do
16993 . ./conf$$subs.sh ||
16994 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16996 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16997 if test $ac_delim_n = $ac_delim_num; then
16999 elif $ac_last_try; then
17000 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17002 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17005 rm -f conf$$subs.sh
17007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17008 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17012 s/^/S["/; s
/!.
*/"]=/
17022 s/\(.\{148\}\)..*/\1/
17024 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17029 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17036 s/\(.\{148\}\)..*/\1/
17038 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17042 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17047 ' <conf$$subs.awk | sed '
17052 ' >>$CONFIG_STATUS || ac_write_fail=1
17053 rm -f conf$$subs.awk
17054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17056 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17057 for (key in S) S_is_set[key] = 1
17063 nfields = split(line, field, "@
")
17065 len = length(field[1])
17066 for (i = 2; i < nfields; i++) {
17068 keylen = length(key)
17069 if (S_is_set[key]) {
17071 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17072 len += length(value) + length(field[++i])
17083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17084 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17085 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17088 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17089 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17092 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17093 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17094 # trailing colons and then remove the whole line if VPATH becomes empty
17095 # (actually we leave an empty line to preserve line numbers).
17096 if test "x
$srcdir" = x.; then
17097 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17116 fi # test -n "$CONFIG_FILES"
17119 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17124 :[FHLC]) ac_mode=$ac_tag; continue;;
17126 case $ac_mode$ac_tag in
17128 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17129 :[FH]-) ac_tag=-:-;;
17130 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17147 -) ac_f="$ac_tmp/stdin";;
17148 *) # Look for the file first in the build tree, then in the source tree
17149 # (if the path is not absolute). The absolute path cannot be DOS-style,
17150 # because $ac_f cannot contain `:'.
17154 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17156 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17158 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17159 as_fn_append ac_file_inputs " '$ac_f'"
17162 # Let's still pretend it is `configure' which instantiates (i.e., don't
17163 # use $as_me), people would be surprised to read:
17164 # /* config.h. Generated by config.status. */
17165 configure_input='Generated from '`
17166 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17168 if test x"$ac_file" != x-; then
17169 configure_input="$ac_file.
$configure_input"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17171 $as_echo "$as_me: creating
$ac_file" >&6;}
17173 # Neutralize special characters interpreted by sed in replacement strings.
17174 case $configure_input in #(
17175 *\&* | *\|* | *\\* )
17176 ac_sed_conf_input=`$as_echo "$configure_input" |
17177 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17178 *) ac_sed_conf_input=$configure_input;;
17182 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17183 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17188 ac_dir=`$as_dirname -- "$ac_file" ||
17189 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17190 X"$ac_file" : 'X\(//\)[^/]' \| \
17191 X"$ac_file" : 'X\(//\)$' \| \
17192 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17193 $as_echo X"$ac_file" |
17194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17198 /^X\(\/\/\)[^/].*/{
17211 as_dir="$ac_dir"; as_fn_mkdir_p
17215 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17217 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17218 # A "..
" for each directory in $ac_dir_suffix.
17219 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17220 case $ac_top_builddir_sub in
17221 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17222 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17225 ac_abs_top_builddir=$ac_pwd
17226 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17227 # for backward compatibility:
17228 ac_top_builddir=$ac_top_build_prefix
17231 .) # We are building in place.
17233 ac_top_srcdir=$ac_top_builddir_sub
17234 ac_abs_top_srcdir=$ac_pwd ;;
17235 [\\/]* | ?:[\\/]* ) # Absolute name.
17236 ac_srcdir=$srcdir$ac_dir_suffix;
17237 ac_top_srcdir=$srcdir
17238 ac_abs_top_srcdir=$srcdir ;;
17239 *) # Relative name.
17240 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17241 ac_top_srcdir=$ac_top_build_prefix$srcdir
17242 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17244 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17254 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17255 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17257 ac_MKDIR_P=$MKDIR_P
17259 [\\/$]* | ?:[\\/]* ) ;;
17260 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17265 # If the template does not know about datarootdir, expand it.
17266 # FIXME: This hack should be removed a few years after 2.60.
17267 ac_datarootdir_hack=; ac_datarootdir_seen=
17278 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17279 *datarootdir*) ac_datarootdir_seen=yes;;
17280 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17282 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17285 ac_datarootdir_hack='
17286 s&@datadir@&$datadir&g
17287 s&@docdir@&$docdir&g
17288 s&@infodir@&$infodir&g
17289 s&@localedir@&$localedir&g
17290 s&@mandir@&$mandir&g
17291 s&\\\${datarootdir}&$datarootdir&g' ;;
17295 # Neutralize VPATH when `$srcdir' = `.'.
17296 # Shell code in configure.ac might set extrasub.
17297 # FIXME: do we really want to maintain this feature?
17298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17299 ac_sed_extra="$ac_vpsub
17302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17304 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17305 s|@configure_input@|
$ac_sed_conf_input|
;t t
17306 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17307 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17308 s
&@srcdir@
&$ac_srcdir&;t t
17309 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17310 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17311 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17312 s
&@builddir@
&$ac_builddir&;t t
17313 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17314 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17315 s
&@INSTALL@
&$ac_INSTALL&;t t
17316 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17317 $ac_datarootdir_hack
17319 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17320 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17322 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17323 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17324 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17325 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17327 which seems to be undefined. Please make sure it is defined" >&5
17328 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17329 which seems to be undefined. Please make sure it is defined" >&2;}
17331 rm -f "$ac_tmp/stdin"
17333 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17334 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17340 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17341 $as_echo "$as_me: executing $ac_file commands" >&6;}
17346 case $ac_file$ac_mode in
17348 # Only add multilib support code if we just rebuilt the top-level
17350 case " $CONFIG_FILES " in
17352 ac_file=Makefile . ${multi_basedir}/config-ml.in
17355 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17356 # Older Autoconf quotes --file arguments for eval, but not when files
17357 # are listed without --file. Let's play safe and only
enable the
eval
17358 # if we detect the quoting.
17359 case $CONFIG_FILES in
17360 *\'*) eval set x
"$CONFIG_FILES" ;;
17361 *) set x
$CONFIG_FILES ;;
17366 # Strip MF so we end up with the name of the file.
17367 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17368 # Check whether this is an Automake generated Makefile or not.
17369 # We used to match only the files named 'Makefile.in', but
17370 # some people rename them; so instead we look at the file content.
17371 # Grep'ing the first line is not enough: some people post-process
17372 # each Makefile.in and add a new line on top of each file to say so.
17373 # Grep'ing the whole file is not good either: AIX grep has a line
17374 # limit of 2048, but all sed's we know have understand at least 4000.
17375 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17376 dirpart
=`$as_dirname -- "$mf" ||
17377 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17378 X"$mf" : 'X\(//\)[^/]' \| \
17379 X"$mf" : 'X\(//\)$' \| \
17380 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17386 /^X\(\/\/\)[^/].*/{
17402 # Extract the definition of DEPDIR, am__include, and am__quote
17403 # from the Makefile without running 'make'.
17404 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17405 test -z "$DEPDIR" && continue
17406 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17407 test -z "$am__include" && continue
17408 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17409 # Find all dependency output files, they are included files with
17410 # $(DEPDIR) in their names. We invoke sed twice because it is the
17411 # simplest approach to changing $(DEPDIR) to its actual value in the
17413 for file in `sed -n "
17414 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17415 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17416 # Make sure the directory exists.
17417 test -f "$dirpart/$file" && continue
17418 fdir
=`$as_dirname -- "$file" ||
17419 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17420 X"$file" : 'X\(//\)[^/]' \| \
17421 X"$file" : 'X\(//\)$' \| \
17422 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17423 $as_echo X"$file" |
17424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17428 /^X\(\/\/\)[^/].*/{
17441 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17442 # echo "creating $dirpart/$file"
17443 echo '# dummy' > "$dirpart/$file"
17450 # See if we are running on zsh, and set the options which allow our
17451 # commands through without removal of \ escapes.
17452 if test -n "${ZSH_VERSION+set}" ; then
17453 setopt NO_GLOB_SUBST
17456 cfgfile
="${ofile}T"
17457 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17460 cat <<_LT_EOF >> "$cfgfile"
17463 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17464 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17465 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17466 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17468 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17469 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17470 # Written by Gordon Matzigkeit, 1996
17472 # This file is part of GNU Libtool.
17474 # GNU Libtool is free software; you can redistribute it and/or
17475 # modify it under the terms of the GNU General Public License as
17476 # published by the Free Software Foundation; either version 2 of
17477 # the License, or (at your option) any later version.
17479 # As a special exception to the GNU General Public License,
17480 # if you distribute this file as part of a program or library that
17481 # is built using GNU Libtool, you may include this file under the
17482 # same distribution terms that you use for the rest of that program.
17484 # GNU Libtool is distributed in the hope that it will be useful,
17485 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17486 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17487 # GNU General Public License for more details.
17489 # You should have received a copy of the GNU General Public License
17490 # along with GNU Libtool; see the file COPYING. If not, a copy
17491 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17492 # obtained by writing to the Free Software Foundation, Inc.,
17493 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17496 # The names of the tagged configurations supported by this script.
17497 available_tags="CXX "
17499 # ### BEGIN LIBTOOL CONFIG
17501 # Which release of libtool.m4 was used?
17502 macro_version=$macro_version
17503 macro_revision=$macro_revision
17505 # Whether or not to build shared libraries.
17506 build_libtool_libs=$enable_shared
17508 # Whether or not to build static libraries.
17509 build_old_libs=$enable_static
17511 # What type of objects to build.
17514 # Whether or not to optimize for fast installation.
17515 fast_install=$enable_fast_install
17517 # Shell to use when invoking shell scripts.
17520 # An echo program that protects backslashes.
17524 host_alias=$host_alias
17528 # The build system.
17529 build_alias=$build_alias
17533 # A sed program that does not truncate output.
17536 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17537 Xsed="\$SED -e 1s/^X//"
17539 # A grep program that handles long lines.
17545 # A literal string matcher.
17548 # A BSD- or MS-compatible name lister.
17551 # Whether we need soft or hard links.
17554 # What is the maximum length of a command?
17555 max_cmd_len=$max_cmd_len
17557 # Object file suffix (normally "o").
17560 # Executable file suffix (normally "").
17563 # whether the shell understands "unset".
17566 # turn spaces into newlines.
17569 # turn newlines into spaces.
17572 # An object symbol dumper.
17573 OBJDUMP=$lt_OBJDUMP
17575 # Method to check whether dependent libraries are shared objects.
17576 deplibs_check_method=$lt_deplibs_check_method
17578 # Command to use when deplibs_check_method == "file_magic".
17579 file_magic_cmd=$lt_file_magic_cmd
17583 AR_FLAGS=$lt_AR_FLAGS
17585 # A symbol stripping program.
17588 # Commands used to install an old-style archive.
17590 old_postinstall_cmds=$lt_old_postinstall_cmds
17591 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17593 # Whether to use a lock for old archive extraction.
17594 lock_old_archive_extraction=$lock_old_archive_extraction
17599 # LTCC compiler flags.
17600 LTCFLAGS=$lt_CFLAGS
17602 # Take the output of nm and produce a listing of raw symbols and C names.
17603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17605 # Transform the output of nm in a proper C declaration.
17606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17608 # Transform the output of nm in a C name address pair.
17609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17611 # Transform the output of nm in a C name address pair when lib prefix is needed.
17612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17614 # The name of the directory that contains temporary libtool files.
17617 # Used to examine libraries when file_magic_cmd begins with "file".
17618 MAGIC_CMD=$MAGIC_CMD
17620 # Must we lock files when doing compilation?
17621 need_locks=$lt_need_locks
17623 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17624 DSYMUTIL=$lt_DSYMUTIL
17626 # Tool to change global to local symbols on Mac OS X.
17629 # Tool to manipulate fat objects and archives on Mac OS X.
17632 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17635 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17636 OTOOL64=$lt_OTOOL64
17638 # Old archive suffix (normally "a").
17641 # Shared library suffix (normally ".so").
17642 shrext_cmds=$lt_shrext_cmds
17644 # The commands to extract the exported symbol list from a shared archive.
17645 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17647 # Variables whose values should be saved in libtool wrapper scripts and
17648 # restored at link time.
17649 variables_saved_for_relink=$lt_variables_saved_for_relink
17651 # Do we need the "lib" prefix for modules?
17652 need_lib_prefix=$need_lib_prefix
17654 # Do we need a version for libraries?
17655 need_version=$need_version
17657 # Library versioning type.
17658 version_type=$version_type
17660 # Shared library runtime path variable.
17661 runpath_var=$runpath_var
17663 # Shared library path variable.
17664 shlibpath_var=$shlibpath_var
17666 # Is shlibpath searched before the hard-coded library search path?
17667 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17669 # Format of library name prefix.
17670 libname_spec=$lt_libname_spec
17672 # List of archive names. First name is the real one, the rest are links.
17673 # The last name is the one that the linker finds with -lNAME
17674 library_names_spec=$lt_library_names_spec
17676 # The coded name of the library, if different from the real name.
17677 soname_spec=$lt_soname_spec
17679 # Permission mode override for installation of shared libraries.
17680 install_override_mode=$lt_install_override_mode
17682 # Command to use after installation of a shared archive.
17683 postinstall_cmds=$lt_postinstall_cmds
17685 # Command to use after uninstallation of a shared archive.
17686 postuninstall_cmds=$lt_postuninstall_cmds
17688 # Commands used to finish a libtool library installation in a directory.
17689 finish_cmds=$lt_finish_cmds
17691 # As "finish_cmds", except a single script fragment to be evaled but
17693 finish_eval=$lt_finish_eval
17695 # Whether we should hardcode library paths into libraries.
17696 hardcode_into_libs=$hardcode_into_libs
17698 # Compile-time system search path for libraries.
17699 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17701 # Run-time system search path for libraries.
17702 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17704 # Whether dlopen is supported.
17705 dlopen_support=$enable_dlopen
17707 # Whether dlopen of programs is supported.
17708 dlopen_self=$enable_dlopen_self
17710 # Whether dlopen of statically linked programs is supported.
17711 dlopen_self_static=$enable_dlopen_self_static
17713 # Commands to strip libraries.
17714 old_striplib=$lt_old_striplib
17715 striplib=$lt_striplib
17718 # The linker used to build libraries.
17721 # How to create reloadable object files.
17722 reload_flag=$lt_reload_flag
17723 reload_cmds=$lt_reload_cmds
17725 # Commands used to build an old-style archive.
17726 old_archive_cmds=$lt_old_archive_cmds
17728 # A language specific compiler.
17731 # Is the compiler the GNU compiler?
17734 # Compiler flag to turn off builtin functions.
17735 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17737 # How to pass a linker flag through the compiler.
17738 wl=$lt_lt_prog_compiler_wl
17740 # Additional compiler flags for building library objects.
17741 pic_flag=$lt_lt_prog_compiler_pic
17743 # Compiler flag to prevent dynamic linking.
17744 link_static_flag=$lt_lt_prog_compiler_static
17746 # Does compiler simultaneously support -c and -o options?
17747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17749 # Whether or not to add -lc for building shared libraries.
17750 build_libtool_need_lc=$archive_cmds_need_lc
17752 # Whether or not to disallow shared libs when runtime libs are static.
17753 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17755 # Compiler flag to allow reflexive dlopens.
17756 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17758 # Compiler flag to generate shared objects directly from archives.
17759 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17761 # Whether the compiler copes with passing no objects directly.
17762 compiler_needs_object=$lt_compiler_needs_object
17764 # Create an old-style archive from a shared archive.
17765 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17767 # Create a temporary old-style archive to link instead of a shared archive.
17768 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17770 # Commands used to build a shared archive.
17771 archive_cmds=$lt_archive_cmds
17772 archive_expsym_cmds=$lt_archive_expsym_cmds
17774 # Commands used to build a loadable module if different from building
17775 # a shared archive.
17776 module_cmds=$lt_module_cmds
17777 module_expsym_cmds=$lt_module_expsym_cmds
17779 # Whether we are building with GNU ld or not.
17780 with_gnu_ld=$lt_with_gnu_ld
17782 # Flag that allows shared libraries with undefined symbols to be built.
17783 allow_undefined_flag=$lt_allow_undefined_flag
17785 # Flag that enforces no undefined symbols.
17786 no_undefined_flag=$lt_no_undefined_flag
17788 # Flag to hardcode \$libdir into a binary during linking.
17789 # This must work even if \$libdir does not exist
17790 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17792 # If ld is used when linking, flag to hardcode \$libdir into a binary
17793 # during linking. This must work even if \$libdir does not exist.
17794 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17796 # Whether we need a single "-rpath" flag with a separated argument.
17797 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17799 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17800 # DIR into the resulting binary.
17801 hardcode_direct=$hardcode_direct
17803 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17804 # DIR into the resulting binary and the resulting library dependency is
17805 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17806 # library is relocated.
17807 hardcode_direct_absolute=$hardcode_direct_absolute
17809 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17810 # into the resulting binary.
17811 hardcode_minus_L=$hardcode_minus_L
17813 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17814 # into the resulting binary.
17815 hardcode_shlibpath_var=$hardcode_shlibpath_var
17817 # Set to "yes" if building a shared library automatically hardcodes DIR
17818 # into the library and all subsequent libraries and executables linked
17820 hardcode_automatic=$hardcode_automatic
17822 # Set to yes if linker adds runtime paths of dependent libraries
17823 # to runtime path list.
17824 inherit_rpath=$inherit_rpath
17826 # Whether libtool must link a program against all its dependency libraries.
17827 link_all_deplibs=$link_all_deplibs
17829 # Fix the shell variable \$srcfile for the compiler.
17830 fix_srcfile_path=$lt_fix_srcfile_path
17832 # Set to "yes" if exported symbols are required.
17833 always_export_symbols=$always_export_symbols
17835 # The commands to list exported symbols.
17836 export_symbols_cmds=$lt_export_symbols_cmds
17838 # Symbols that should not be listed in the preloaded symbols.
17839 exclude_expsyms=$lt_exclude_expsyms
17841 # Symbols that must always be exported.
17842 include_expsyms=$lt_include_expsyms
17844 # Commands necessary for linking programs (against libraries) with templates.
17845 prelink_cmds=$lt_prelink_cmds
17847 # Specify filename containing input files.
17848 file_list_spec=$lt_file_list_spec
17850 # How to hardcode a shared library path into an executable.
17851 hardcode_action=$hardcode_action
17853 # The directories searched by this compiler when creating a shared library.
17854 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17856 # Dependencies to place before and after the objects being linked to
17857 # create a shared library.
17858 predep_objects=$lt_predep_objects
17859 postdep_objects=$lt_postdep_objects
17860 predeps=$lt_predeps
17861 postdeps=$lt_postdeps
17863 # The library search path used internally by the compiler when linking
17864 # a shared library.
17865 compiler_lib_search_path=$lt_compiler_lib_search_path
17867 # ### END LIBTOOL CONFIG
17873 cat <<\_LT_EOF
>> "$cfgfile"
17874 # AIX sometimes has problems with the GCC collect2 program. For some
17875 # reason, if we set the COLLECT_NAMES environment variable, the problems
17876 # vanish in a puff of smoke.
17877 if test "X${COLLECT_NAMES+set}" != Xset
; then
17879 export COLLECT_NAMES
17886 ltmain
="$ac_aux_dir/ltmain.sh"
17889 # We use sed instead of cat because bash on DJGPP gets confused if
17890 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17891 # text mode, it properly converts lines to CR/LF. This bash problem
17892 # is reportedly fixed, but why not run on old versions too?
17893 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17894 ||
(rm -f "$cfgfile"; exit 1)
17898 cat << \_LT_EOF
>> "$cfgfile"
17900 # func_dirname file append nondir_replacement
17901 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17902 # otherwise set result to NONDIR_REPLACEMENT.
17906 */*) func_dirname_result
="${1%/*}${2}" ;;
17907 * ) func_dirname_result
="${3}" ;;
17911 # func_basename file
17914 func_basename_result
="${1##*/}"
17917 # func_dirname_and_basename file append nondir_replacement
17918 # perform func_basename and func_dirname in a single function
17920 # dirname: Compute the dirname of FILE. If nonempty,
17921 # add APPEND to the result, otherwise set result
17922 # to NONDIR_REPLACEMENT.
17923 # value returned in "$func_dirname_result"
17924 # basename: Compute filename of FILE.
17925 # value retuned in "$func_basename_result"
17926 # Implementation must be kept synchronized with func_dirname
17927 # and func_basename. For efficiency, we do not delegate to
17928 # those functions but instead duplicate the functionality here.
17929 func_dirname_and_basename
()
17932 */*) func_dirname_result
="${1%/*}${2}" ;;
17933 * ) func_dirname_result
="${3}" ;;
17935 func_basename_result
="${1##*/}"
17938 # func_stripname prefix suffix name
17939 # strip PREFIX and SUFFIX off of NAME.
17940 # PREFIX and SUFFIX must not contain globbing or regex special
17941 # characters, hashes, percent signs, but SUFFIX may contain a leading
17942 # dot (in which case that matches only a dot).
17945 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17946 # positional parameters, so assign one to ordinary parameter first.
17947 func_stripname_result
=${3}
17948 func_stripname_result
=${func_stripname_result#"${1}"}
17949 func_stripname_result
=${func_stripname_result%"${2}"}
17955 func_opt_split_opt
=${1%%=*}
17956 func_opt_split_arg
=${1#*=}
17963 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17964 *) func_lo2o_result
=${1} ;;
17968 # func_xform libobj-or-source
17971 func_xform_result
=${1%.*}.lo
17974 # func_arith arithmetic-term...
17977 func_arith_result
=$
(( $
* ))
17981 # STRING may not start with a hyphen.
17984 func_len_result
=${#1}
17989 *) # Bourne compatible functions.
17990 cat << \_LT_EOF
>> "$cfgfile"
17992 # func_dirname file append nondir_replacement
17993 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17994 # otherwise set result to NONDIR_REPLACEMENT.
17997 # Extract subdirectory from the argument.
17998 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17999 if test "X$func_dirname_result" = "X${1}"; then
18000 func_dirname_result
="${3}"
18002 func_dirname_result
="$func_dirname_result${2}"
18006 # func_basename file
18009 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18013 # func_stripname prefix suffix name
18014 # strip PREFIX and SUFFIX off of NAME.
18015 # PREFIX and SUFFIX must not contain globbing or regex special
18016 # characters, hashes, percent signs, but SUFFIX may contain a leading
18017 # dot (in which case that matches only a dot).
18018 # func_strip_suffix prefix name
18022 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18023 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18028 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18029 my_sed_long_arg
='1s/^-[^=]*=//'
18034 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18035 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18041 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18044 # func_xform libobj-or-source
18047 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18050 # func_arith arithmetic-term...
18053 func_arith_result
=`expr "$@"`
18057 # STRING may not start with a hyphen.
18060 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18066 case $lt_shell_append in
18068 cat << \_LT_EOF
>> "$cfgfile"
18070 # func_append var value
18071 # Append VALUE to the end of shell variable VAR.
18079 cat << \_LT_EOF
>> "$cfgfile"
18081 # func_append var value
18082 # Append VALUE to the end of shell variable VAR.
18093 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18094 ||
(rm -f "$cfgfile"; exit 1)
18096 mv -f "$cfgfile" "$ofile" ||
18097 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18101 cat <<_LT_EOF >> "$ofile"
18103 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18105 # The linker used to build libraries.
18108 # How to create reloadable object files.
18109 reload_flag=$lt_reload_flag_CXX
18110 reload_cmds=$lt_reload_cmds_CXX
18112 # Commands used to build an old-style archive.
18113 old_archive_cmds=$lt_old_archive_cmds_CXX
18115 # A language specific compiler.
18116 CC=$lt_compiler_CXX
18118 # Is the compiler the GNU compiler?
18121 # Compiler flag to turn off builtin functions.
18122 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18124 # How to pass a linker flag through the compiler.
18125 wl=$lt_lt_prog_compiler_wl_CXX
18127 # Additional compiler flags for building library objects.
18128 pic_flag=$lt_lt_prog_compiler_pic_CXX
18130 # Compiler flag to prevent dynamic linking.
18131 link_static_flag=$lt_lt_prog_compiler_static_CXX
18133 # Does compiler simultaneously support -c and -o options?
18134 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18136 # Whether or not to add -lc for building shared libraries.
18137 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18139 # Whether or not to disallow shared libs when runtime libs are static.
18140 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18142 # Compiler flag to allow reflexive dlopens.
18143 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18145 # Compiler flag to generate shared objects directly from archives.
18146 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18148 # Whether the compiler copes with passing no objects directly.
18149 compiler_needs_object=$lt_compiler_needs_object_CXX
18151 # Create an old-style archive from a shared archive.
18152 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18154 # Create a temporary old-style archive to link instead of a shared archive.
18155 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18157 # Commands used to build a shared archive.
18158 archive_cmds=$lt_archive_cmds_CXX
18159 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18161 # Commands used to build a loadable module if different from building
18162 # a shared archive.
18163 module_cmds=$lt_module_cmds_CXX
18164 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18166 # Whether we are building with GNU ld or not.
18167 with_gnu_ld=$lt_with_gnu_ld_CXX
18169 # Flag that allows shared libraries with undefined symbols to be built.
18170 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18172 # Flag that enforces no undefined symbols.
18173 no_undefined_flag=$lt_no_undefined_flag_CXX
18175 # Flag to hardcode \$libdir into a binary during linking.
18176 # This must work even if \$libdir does not exist
18177 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18179 # If ld is used when linking, flag to hardcode \$libdir into a binary
18180 # during linking. This must work even if \$libdir does not exist.
18181 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18183 # Whether we need a single "-rpath" flag with a separated argument.
18184 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18186 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18187 # DIR into the resulting binary.
18188 hardcode_direct=$hardcode_direct_CXX
18190 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18191 # DIR into the resulting binary and the resulting library dependency is
18192 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18193 # library is relocated.
18194 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18196 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18197 # into the resulting binary.
18198 hardcode_minus_L=$hardcode_minus_L_CXX
18200 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18201 # into the resulting binary.
18202 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18204 # Set to "yes" if building a shared library automatically hardcodes DIR
18205 # into the library and all subsequent libraries and executables linked
18207 hardcode_automatic=$hardcode_automatic_CXX
18209 # Set to yes if linker adds runtime paths of dependent libraries
18210 # to runtime path list.
18211 inherit_rpath=$inherit_rpath_CXX
18213 # Whether libtool must link a program against all its dependency libraries.
18214 link_all_deplibs=$link_all_deplibs_CXX
18216 # Fix the shell variable \$srcfile for the compiler.
18217 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18219 # Set to "yes" if exported symbols are required.
18220 always_export_symbols=$always_export_symbols_CXX
18222 # The commands to list exported symbols.
18223 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18225 # Symbols that should not be listed in the preloaded symbols.
18226 exclude_expsyms=$lt_exclude_expsyms_CXX
18228 # Symbols that must always be exported.
18229 include_expsyms=$lt_include_expsyms_CXX
18231 # Commands necessary for linking programs (against libraries) with templates.
18232 prelink_cmds=$lt_prelink_cmds_CXX
18234 # Specify filename containing input files.
18235 file_list_spec=$lt_file_list_spec_CXX
18237 # How to hardcode a shared library path into an executable.
18238 hardcode_action=$hardcode_action_CXX
18240 # The directories searched by this compiler when creating a shared library.
18241 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18243 # Dependencies to place before and after the objects being linked to
18244 # create a shared library.
18245 predep_objects=$lt_predep_objects_CXX
18246 postdep_objects=$lt_postdep_objects_CXX
18247 predeps=$lt_predeps_CXX
18248 postdeps=$lt_postdeps_CXX
18250 # The library search path used internally by the compiler when linking
18251 # a shared library.
18252 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18254 # ### END LIBTOOL TAG CONFIG: CXX
18258 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18259 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18261 sed -f vpsed$$
$ac_file > tmp$$
18264 echo 'MULTISUBDIR =' >> $ac_file
18266 .
${multi_basedir}/config-ml.
in
18267 { ml_norecursion
=; unset ml_norecursion
;}
18276 ac_clean_files
=$ac_clean_files_save
18278 test $ac_write_fail = 0 ||
18279 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18282 # configure is writing to config.log, and then calls config.status.
18283 # config.status does its own redirection, appending to config.log.
18284 # Unfortunately, on DOS this fails, as config.log is still kept open
18285 # by configure, so config.status won't be able to write to it; its
18286 # output is simply discarded. So we exec the FD to /dev/null,
18287 # effectively closing config.log, so it can be properly (re)opened and
18288 # appended to by config.status. When coming back to configure, we
18289 # need to make the FD available again.
18290 if test "$no_create" != yes; then
18292 ac_config_status_args
=
18293 test "$silent" = yes &&
18294 ac_config_status_args
="$ac_config_status_args --quiet"
18296 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18299 # would make configure fail if this is the last instruction.
18300 $ac_cs_success || as_fn_exit
1
18302 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18304 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}