2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Vtable Verification Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Vtable Verification Runtime Library'
558 PACKAGE_TARNAME
='libvtv'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU Vtable Verification Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libvtv/'
564 ac_unique_file
="vtv_rts.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
661 MAINTAINER_MODE_FALSE
672 INSTALL_STRIP_PROGRAM
687 LIBSTDCXX_RAW_CXX_LDFLAGS
688 LIBSTDCXX_RAW_CXX_CXXFLAGS
702 ENABLE_VTABLE_VERIFY_FALSE
703 ENABLE_VTABLE_VERIFY_TRUE
731 program_transform_name
744 enable_option_checking
745 enable_version_specific_runtime_libs
748 enable_maintainer_mode
749 enable_dependency_tracking
757 ac_precious_vars
='build_alias
765 # Initialize some variables set by options.
767 ac_init_version
=false
768 ac_unrecognized_opts
=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name
=s
,x
,x
,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir
='${exec_prefix}/bin'
794 sbindir
='${exec_prefix}/sbin'
795 libexecdir
='${exec_prefix}/libexec'
796 datarootdir
='${prefix}/share'
797 datadir
='${datarootdir}'
798 sysconfdir
='${prefix}/etc'
799 sharedstatedir
='${prefix}/com'
800 localstatedir
='${prefix}/var'
801 includedir
='${prefix}/include'
802 oldincludedir
='/usr/include'
803 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir
='${datarootdir}/info'
809 libdir
='${exec_prefix}/lib'
810 localedir
='${datarootdir}/locale'
811 mandir
='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\
$ac_option
825 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829 # Accept the important Cygnus configure options, so we can diagnose typos.
831 case $ac_dashdash$ac_option in
835 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
837 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
840 -build |
--build |
--buil |
--bui |
--bu)
841 ac_prev
=build_alias
;;
842 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
843 build_alias
=$ac_optarg ;;
845 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
846 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
847 ac_prev
=cache_file
;;
848 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
849 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
850 cache_file
=$ac_optarg ;;
853 cache_file
=config.cache
;;
855 -datadir |
--datadir |
--datadi |
--datad)
857 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
858 datadir
=$ac_optarg ;;
860 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
861 |
--dataroo |
--dataro |
--datar)
862 ac_prev
=datarootdir
;;
863 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
864 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
865 datarootdir
=$ac_optarg ;;
867 -disable-* |
--disable-*)
868 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
871 as_fn_error
"invalid feature name: $ac_useropt"
872 ac_useropt_orig
=$ac_useropt
873 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
879 ac_unrecognized_sep
=', ';;
881 eval enable_
$ac_useropt=no
;;
883 -docdir |
--docdir |
--docdi |
--doc |
--do)
885 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
888 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
890 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
893 -enable-* |
--enable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 as_fn_error
"invalid feature name: $ac_useropt"
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1101 as_fn_error
"invalid package name: $ac_useropt"
1102 ac_useropt_orig
=$ac_useropt
1103 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1109 ac_unrecognized_sep
=', ';;
1111 eval with_
$ac_useropt=\
$ac_optarg ;;
1113 -without-* |
--without-*)
1114 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error
"invalid package name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=no
;;
1130 # Obsolete; use --with-x.
1133 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1134 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1135 ac_prev
=x_includes
;;
1136 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1137 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1138 x_includes
=$ac_optarg ;;
1140 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1141 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1142 ac_prev
=x_libraries
;;
1143 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1144 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1145 x_libraries
=$ac_optarg ;;
1147 -*) as_fn_error
"unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information."
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 case $ac_envvar in #(
1155 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1156 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1158 eval $ac_envvar=\
$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1174 as_fn_error
"missing argument to $ac_option"
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1180 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1185 # Check all directory arguments for consistency.
1186 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1191 eval ac_val
=\$
$ac_var
1192 # Remove trailing slashes.
1195 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\
$ac_val;;
1198 # Be sure to have absolute directory names.
1200 [\\/$
]* | ?
:[\\/]* ) continue;;
1201 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1203 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1206 # There might be people who depend on the old broken behavior: `$host'
1207 # used to hold the argument of --host etc.
1208 # FIXME: To remove some day.
1211 target
=$target_alias
1213 # FIXME: To remove some day.
1214 if test "x$host_alias" != x
; then
1215 if test "x$build_alias" = x
; then
1216 cross_compiling
=maybe
1217 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used." >&2
1219 elif test "x$build_alias" != "x$host_alias"; then
1225 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1227 test "$silent" = yes && exec 6>/dev
/null
1230 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di
=`ls -di .` &&
1232 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error
"working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error
"pwd does not report name of working directory"
1238 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted
=yes
1241 # Try the directory containing this script, then the parent directory.
1242 ac_confdir
=`$as_dirname -- "$as_myself" ||
1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1244 X"$as_myself" : 'X\(//\)[^/]' \| \
1245 X"$as_myself" : 'X\(//\)$' \| \
1246 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1247 $as_echo X"$as_myself" |
1248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1270 ac_srcdir_defaulted
=no
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1274 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1276 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1288 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 for ac_var
in $ac_precious_vars; do
1291 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1293 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1298 # Report the --help message.
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1304 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1311 Defaults for the options are specified in brackets.
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1335 For better control, use the options below.
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1362 --program-prefix=PREFIX prepend PREFIX to installed program names
1363 --program-suffix=SUFFIX append SUFFIX to installed program names
1364 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1367 --build=BUILD configure
for building on BUILD
[guessed
]
1368 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1369 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1380 --disable-option-checking ignore unrecognized
--enable/--with options
1381 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1382 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1383 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1384 --enable-vtable-verify Enable vtable verification feature
1385 --enable-multilib build many library versions
(default
)
1386 --enable-maintainer-mode enable make rules and dependencies not useful
1387 (and sometimes confusing
) to the casual installer
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1391 --enable-static[=PKGS
] build static libraries
[default
=yes]
1392 --enable-fast-install[=PKGS
]
1393 optimize
for fast installation
[default
=yes]
1394 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1397 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1398 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1399 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1401 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1403 Some influential environment variables
:
1404 CC C compiler
command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1407 nonstandard directory
<lib dir
>
1408 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1409 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1410 you have headers
in a nonstandard directory
<include dir
>
1411 CXX C
++ compiler
command
1412 CXXFLAGS C
++ compiler flags
1414 CXXCPP C
++ preprocessor
1416 Use these variables to override the choices made by
`configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to the package provider.
1420 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1421 General help using GNU software: <http://www.gnu.org/gethelp/>.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir=$ac_pwd
1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir=$ac_top_build_prefix
1451 .) # We are building in place.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 GNU Vtable Verification Runtime Library configure 1.0
1485 generated by GNU Autoconf 2.64
1487 Copyright (C) 2009 Free Software Foundation, Inc.
1488 This configure script is free software; the Free Software Foundation
1489 gives unlimited permission to copy, distribute and modify it.
1494 ## ------------------------ ##
1495 ## Autoconf initialization. ##
1496 ## ------------------------ ##
1498 # ac_fn_c_try_compile LINENO
1499 # --------------------------
1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1501 ac_fn_c_try_compile ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 rm -f conftest.$ac_objext
1505 if { { ac_try="$ac_compile"
1507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1508 *) ac_try_echo
=$ac_try;;
1510 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 $as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_compile") 2>conftest.err
1514 if test -s conftest.err
; then
1515 grep -v '^ *+' conftest.err
>conftest.er1
1516 cat conftest.er1
>&5
1517 mv -f conftest.er1 conftest.err
1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520 test $ac_status = 0; } && {
1521 test -z "$ac_c_werror_flag" ||
1522 test ! -s conftest.err
1523 } && test -s conftest.
$ac_objext; then :
1526 $as_echo "$as_me: failed program was:" >&5
1527 sed 's/^/| /' conftest.
$ac_ext >&5
1531 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1534 } # ac_fn_c_try_compile
1536 # ac_fn_cxx_try_compile LINENO
1537 # ----------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_cxx_try_compile
()
1541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1542 rm -f conftest.
$ac_objext
1543 if { { ac_try
="$ac_compile"
1545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_cxx_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.$ac_objext; then :
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1572 } # ac_fn_cxx_try_compile
1574 # ac_fn_c_try_link LINENO
1575 # -----------------------
1576 # Try to link conftest.$ac_ext, and return whether this succeeded.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 rm -f conftest.$ac_objext conftest$ac_exeext
1581 if { { ac_try="$ac_link"
1583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1584 *) ac_try_echo
=$ac_try;;
1586 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_link") 2>conftest.err
1590 if test -s conftest.err
; then
1591 grep -v '^ *+' conftest.err
>conftest.er1
1592 cat conftest.er1
>&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest
$ac_exeext && {
1600 test "$cross_compiling" = yes ||
1601 $as_test_x conftest
$ac_exeext
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.
$ac_ext >&5
1610 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1611 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1612 # interfere with the next link command; also delete a directory that is
1613 # left behind by Apple's compiler. We do this before executing the actions.
1614 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1618 } # ac_fn_c_try_link
1620 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1621 # -------------------------------------------------------
1622 # Tests whether HEADER exists and can be compiled using the include files in
1623 # INCLUDES, setting the cache variable VAR accordingly.
1624 ac_fn_c_check_header_compile
()
1626 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1630 $as_echo_n "(cached) " >&6
1632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1637 if ac_fn_c_try_compile
"$LINENO"; then :
1642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 $as_echo "$ac_res" >&6; }
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1649 } # ac_fn_c_check_header_compile
1651 # ac_fn_c_try_cpp LINENO
1652 # ----------------------
1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } >/dev/null && {
1673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 # ac_fn_c_try_run LINENO
1689 # ----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1691 # that executables *can* be run.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1706 { { case "(($ac_try" in
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_try") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; }; }; then :
1718 $as_echo "$as_me: program exited with status $ac_status" >&5
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=$ac_status
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730 # ac_fn_c_check_func LINENO FUNC VAR
1731 # ----------------------------------
1732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1733 ac_fn_c_check_func ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1739 $as_echo_n "(cached) " >&6
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1745 #define $2 innocuous_$2
1747 /* System header to define __stub macros and hopefully few prototypes,
1748 which can conflict with char $2 (); below.
1749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1750 <limits.h> exists even on freestanding compilers. */
1753 # include <limits.h>
1755 # include <assert.h>
1760 /* Override any GCC internal prototype to avoid an error.
1761 Use char because int might match the return type of a GCC
1762 builtin and then its argument prototype would still apply. */
1767 /* The GNU C library defines this for functions which it implements
1768 to always fail with ENOSYS. Some functions are actually named
1769 something starting with __ and the normal name is an alias. */
1770 #if defined __stub_$2 || defined __stub___$2
1782 if ac_fn_c_try_link "$LINENO"; then :
1787 rm -f core conftest.err conftest.$ac_objext \
1788 conftest$ac_exeext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 } # ac_fn_c_check_func
1797 # ac_fn_cxx_try_cpp LINENO
1798 # ------------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_cpp ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } >/dev
/null
&& {
1819 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1832 } # ac_fn_cxx_try_cpp
1834 # ac_fn_cxx_try_link LINENO
1835 # -------------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 ac_fn_cxx_try_link
()
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 rm -f conftest.
$ac_objext conftest
$ac_exeext
1841 if { { ac_try
="$ac_link"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_cxx_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 $as_test_x conftest$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_cxx_try_link
1879 cat >config.log <<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1883 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1884 generated by GNU Autoconf 2.64. Invocation command line was
1896 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1897 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1898 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1899 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1900 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1902 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1903 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1905 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1906 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1907 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1908 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1909 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1910 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1911 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 $as_echo "PATH: $as_dir"
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1944 ac_must_keep_next=false
1950 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1952 | -silent | --silent | --silen | --sile | --sil)
1955 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1958 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1960 as_fn_append ac_configure_args1 " '$ac_arg'"
1961 if test $ac_must_keep_next = true; then
1962 ac_must_keep_next=false # Got value, back to normal.
1965 *=* | --config-cache | -C | -disable-* | --disable-* \
1966 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1967 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1968 | -with-* | --with-* | -without-* | --without-* | --x)
1969 case "$ac_configure_args0 " in
1970 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973 -* ) ac_must_keep_next=true ;;
1976 as_fn_append ac_configure_args " '$ac_arg'"
1981 { ac_configure_args0=; unset ac_configure_args0;}
1982 { ac_configure_args1=; unset ac_configure_args1;}
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log. We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990 # Save into config.log some information that might help in debugging.
1995 ## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2033 ## ----------------- ##
2034 ## Output variables. ##
2035 ## ----------------- ##
2038 for ac_var in $ac_subst_vars
2040 eval ac_val=\$$ac_var
2042 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -n "$ac_subst_files"; then
2050 ## ------------------- ##
2051 ## File substitutions. ##
2052 ## ------------------- ##
2055 for ac_var in $ac_subst_files
2057 eval ac_val=\$$ac_var
2059 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -s confdefs.h; then
2076 test "$ac_signal" != 0 &&
2077 $as_echo "$as_me: caught signal $ac_signal"
2078 $as_echo "$as_me: exit $exit_status"
2080 rm -f core *.core core.conftest.* &&
2081 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2084 for ac_signal in 1 2 13 15; do
2085 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2090 rm -f -r conftest* confdefs.h
2092 $as_echo "/* confdefs.h */" > confdefs.h
2094 # Predefined preprocessor variables.
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_NAME "$PACKAGE_NAME"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_STRING "$PACKAGE_STRING"
2112 cat >>confdefs.h <<_ACEOF
2113 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_URL "$PACKAGE_URL"
2121 # Let the site file select an alternate cache file if it wants to.
2122 # Prefer an explicitly selected file to automatically selected ones.
2125 if test -n "$CONFIG_SITE"; then
2126 ac_site_file1=$CONFIG_SITE
2127 elif test "x$prefix" != xNONE; then
2128 ac_site_file1=$prefix/share/config.site
2129 ac_site_file2=$prefix/etc/config.site
2131 ac_site_file1=$ac_default_prefix/share/config.site
2132 ac_site_file2=$ac_default_prefix/etc/config.site
2134 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2136 test "x$ac_site_file" = xNONE && continue
2137 if test -r "$ac_site_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2139 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2140 sed 's/^/| /' "$ac_site_file" >&5
2145 if test -r "$cache_file"; then
2146 # Some versions of bash will fail to source /dev/null (special
2147 # files actually), so we avoid doing that.
2148 if test -f "$cache_file"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2153 *) . "./$cache_file";;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
2162 # Check that the precious variables saved in the cache have kept the same
2164 ac_cache_corrupted=false
2165 for ac_var in $ac_precious_vars; do
2166 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2167 eval ac_new_set=\$ac_env_${ac_var}_set
2168 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2169 eval ac_new_val=\$ac_env_${ac_var}_value
2170 case $ac_old_set,$ac_new_set in
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2173 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2174 ac_cache_corrupted=: ;;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2177 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2178 ac_cache_corrupted=: ;;
2181 if test "x$ac_old_val" != "x$ac_new_val"; then
2182 # differences in whitespace do not lead to failure.
2183 ac_old_val_w=`echo x
$ac_old_val`
2184 ac_new_val_w=`echo x
$ac_new_val`
2185 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2188 ac_cache_corrupted=:
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2192 eval $ac_var=\$ac_old_val
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2195 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2200 # Pass precious variables to config.status.
2201 if test "$ac_new_set" = set; then
2203 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2204 *) ac_arg=$ac_var=$ac_new_val ;;
2206 case " $ac_configure_args " in
2207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2208 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2212 if $ac_cache_corrupted; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2217 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2219 ## -------------------- ##
2220 ## Main body of script. ##
2221 ## -------------------- ##
2224 ac_cpp='$CPP $CPPFLAGS'
2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 #AC_INIT(package-unused, version-unused, libvtv)
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2240 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2241 # Check whether --enable-version-specific-runtime-libs was given.
2242 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2243 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2244 yes) version_specific_libs=yes ;;
2245 no) version_specific_libs=no ;;
2246 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2249 version_specific_libs=no
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2253 $as_echo "$version_specific_libs" >&6; }
2255 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
2257 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
2258 # Check whether --enable-vtable-verify was given.
2259 if test "${enable_vtable_verify+set}" = set; then :
2260 enableval=$enable_vtable_verify; case "$enableval" in
2261 yes) enable_vtable_verify=yes ;;
2262 no) enable_vtable_verify=no ;;
2263 *) enable_vtable_verify=no;;
2266 enable_vtable_verify=no
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
2270 $as_echo "$enable_vtable_verify" >&6; }
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
2275 $as_echo_n "checking for host support for vtable verification... " >&6; }
2276 . ${srcdir}/configure.tgt
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
2278 $as_echo "$VTV_SUPPORTED" >&6; }
2280 # Decide if it's usable.
2281 use_vtable_verify=no
2282 if test "x$VTV_SUPPORTED" = "xyes"; then
2283 if test "x$enable_vtable_verify" = "xyes"; then
2284 use_vtable_verify=yes
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
2286 $as_echo "$as_me: using vtable verification" >&6;}
2289 if test $use_vtable_verify = yes; then
2290 ENABLE_VTABLE_VERIFY_TRUE=
2291 ENABLE_VTABLE_VERIFY_FALSE='#'
2293 ENABLE_VTABLE_VERIFY_TRUE='#'
2294 ENABLE_VTABLE_VERIFY_FALSE=
2298 # Do not delete or change the following two lines. For why, see
2299 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2301 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2302 for ac_t in install-sh install.sh shtool; do
2303 if test -f "$ac_dir/$ac_t"; then
2305 ac_install_sh="$ac_aux_dir/$ac_t -c"
2310 if test -z "$ac_aux_dir"; then
2311 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2314 # These three variables are undocumented and unsupported,
2315 # and are intended to be withdrawn in a future Autoconf release.
2316 # They can cause serious problems if a builder's source tree is in a directory
2317 # whose full name contains unusual characters.
2318 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2319 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2320 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2323 # Make sure we can run config.sub.
2324 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2325 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2328 $as_echo_n "checking build system type... " >&6; }
2329 if test "${ac_cv_build+set}" = set; then :
2330 $as_echo_n "(cached) " >&6
2332 ac_build_alias=$build_alias
2333 test "x$ac_build_alias" = x &&
2334 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2335 test "x$ac_build_alias" = x &&
2336 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2337 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2338 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2342 $as_echo "$ac_cv_build" >&6; }
2343 case $ac_cv_build in
2345 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2348 ac_save_IFS=$IFS; IFS='-'
2354 # Remember, the first character of IFS is used to create $*,
2355 # except with old shells:
2358 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2362 $as_echo_n "checking host system type... " >&6; }
2363 if test "${ac_cv_host+set}" = set; then :
2364 $as_echo_n "(cached) " >&6
2366 if test "x$host_alias" = x; then
2367 ac_cv_host=$ac_cv_build
2369 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2370 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2375 $as_echo "$ac_cv_host" >&6; }
2378 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2381 ac_save_IFS=$IFS; IFS='-'
2387 # Remember, the first character of IFS is used to create $*,
2388 # except with old shells:
2391 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2395 $as_echo_n "checking target system type... " >&6; }
2396 if test "${ac_cv_target+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2399 if test "x$target_alias" = x; then
2400 ac_cv_target=$ac_cv_host
2402 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2403 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2408 $as_echo "$ac_cv_target" >&6; }
2409 case $ac_cv_target in
2411 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2413 target=$ac_cv_target
2414 ac_save_IFS=$IFS; IFS='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2427 # The aliases save the names the user supplied, while $host etc.
2428 # will get canonicalized.
2429 test -n "$target_alias" &&
2430 test "$program_prefix$program_suffix$program_transform_name" = \
2432 program_prefix=${target_alias}-
2434 target_alias=${target_alias-$host_alias}
2436 case ${build_alias} in
2437 "") build_noncanonical=${build} ;;
2438 *) build_noncanonical=${build_alias} ;;
2441 case ${host_alias} in
2442 "") host_noncanonical=${build_noncanonical} ;;
2443 *) host_noncanonical=${host_alias} ;;
2446 case ${target_alias} in
2447 "") target_noncanonical=${host_noncanonical} ;;
2448 *) target_noncanonical=${target_alias} ;;
2455 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2456 -I\$(top_builddir)/../libstdc++-v3/include \
2457 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2458 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2459 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2460 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2465 am__api_version='1.11'
2467 # Find a good install program. We prefer a C program (faster),
2468 # so one script is as good as another. But avoid the broken or
2469 # incompatible versions:
2470 # SysV /etc/install, /usr/sbin/install
2471 # SunOS /usr/etc/install
2472 # IRIX /sbin/install
2474 # AmigaOS /C/install, which installs bootblocks on floppy discs
2475 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2476 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2477 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2478 # OS/2's system install, which has a completely different semantic
2479 # ./install, which can be erroneously created by make from ./install.sh.
2480 # Reject install programs that cannot install multiple files.
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2482 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2483 if test -z "$INSTALL"; then
2484 if test "${ac_cv_path_install+set}" = set; then :
2485 $as_echo_n "(cached) " >&6
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 # Account for people who put trailing slashes in PATH elements.
2493 case $as_dir/ in #((
2494 ./ | .// | /[cC]/* | \
2495 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2496 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2499 # OSF1 and SCO ODT 3.0 have their own names for install.
2500 # Don't use installbsd from OSF since it installs stuff as root
2502 for ac_prog in ginstall scoinst install; do
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2505 if test $ac_prog = install &&
2506 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2507 # AIX install. It has an incompatible calling convention.
2509 elif test $ac_prog = install &&
2510 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2511 # program-specific install script used by HP pwplus--don't use.
2514 rm -rf conftest.one conftest.two conftest.dir
2515 echo one > conftest.one
2516 echo two > conftest.two
2518 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2519 test -s conftest.one && test -s conftest.two &&
2520 test -s conftest.dir/conftest.one &&
2521 test -s conftest.dir/conftest.two
2523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2536 rm -rf conftest.one conftest.two conftest.dir
2539 if test "${ac_cv_path_install+set}" = set; then
2540 INSTALL=$ac_cv_path_install
2542 # As a last resort, use the slow shell script. Don't cache a
2543 # value for INSTALL within a source directory, because that will
2544 # break other packages using the cache if that directory is
2545 # removed, or if the value is a relative name.
2546 INSTALL=$ac_install_sh
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2550 $as_echo "$INSTALL" >&6; }
2552 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2553 # It thinks the first close brace ends the variable substitution.
2554 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2556 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2558 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2561 $as_echo_n "checking whether build environment is sane... " >&6; }
2564 echo timestamp > conftest.file
2565 # Reject unsafe characters in $srcdir or the absolute working directory
2566 # name. Accept space and tab only in the latter.
2570 *[\\\"\#\$\&\'\`$am_lf]*)
2571 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2574 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2575 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2578 # Do `set' in a subshell so we don't clobber the current shell's
2579 # arguments. Must try -L first in case configure is actually a
2580 # symlink; some systems play weird games with the mod time of symlinks
2581 # (eg FreeBSD returns the mod time of the symlink's containing
2584 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2585 if test "$*" = "X"; then
2587 set X
`ls -t "$srcdir/configure" conftest.file`
2590 if test "$*" != "X $srcdir/configure conftest.file" \
2591 && test "$*" != "X conftest.file $srcdir/configure"; then
2593 # If neither matched, then we have a broken ls. This can happen
2594 # if, for instance, CONFIG_SHELL is bash and it inherits a
2595 # broken ls alias from the environment. This has actually
2596 # happened. Such a system could not be considered "sane".
2597 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" "$LINENO" 5
2601 test "$2" = conftest.
file
2607 as_fn_error
"newly created file is older than distributed files!
2608 Check your system clock" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2611 $as_echo "yes" >&6; }
2612 test "$program_prefix" != NONE
&&
2613 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2614 # Use a double $ so make ignores it.
2615 test "$program_suffix" != NONE
&&
2616 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2617 # Double any \ or $.
2618 # By default was `s,x,x', remove it if useless.
2619 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2620 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2622 # expand $ac_aux_dir to an absolute path
2623 am_aux_dir
=`cd $ac_aux_dir && pwd`
2625 if test x
"${MISSING+set}" != xset
; then
2628 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2630 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2633 # Use eval to expand $SHELL
2634 if eval "$MISSING --run true"; then
2635 am_missing_run
="$MISSING --run "
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2639 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2642 if test x
"${install_sh}" != xset
; then
2645 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2647 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2651 # Installed binaries are usually stripped using `strip' when the user
2652 # run `make install-strip'. However `strip' might not be the right
2653 # tool to use in cross-compilation environments, therefore Automake
2654 # will honor the `STRIP' environment variable to overrule this program.
2655 if test "$cross_compiling" != no
; then
2656 if test -n "$ac_tool_prefix"; then
2657 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2658 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_STRIP+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$STRIP"; then
2665 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_exec_ext
in '' $ac_executable_extensions; do
2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 STRIP
=$ac_cv_prog_STRIP
2685 if test -n "$STRIP"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2687 $as_echo "$STRIP" >&6; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2695 if test -z "$ac_cv_prog_STRIP"; then
2697 # Extract the first word of "strip", so it can be a program name with args.
2698 set dummy strip
; ac_word
=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$ac_ct_STRIP"; then
2705 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_STRIP
="strip"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2725 if test -n "$ac_ct_STRIP"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2727 $as_echo "$ac_ct_STRIP" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2733 if test "x$ac_ct_STRIP" = x
; then
2736 case $cross_compiling:$ac_tool_warned in
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2740 ac_tool_warned
=yes ;;
2745 STRIP
="$ac_cv_prog_STRIP"
2749 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2752 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2753 if test -z "$MKDIR_P"; then
2754 if test "${ac_cv_path_mkdir+set}" = set; then :
2755 $as_echo_n "(cached) " >&6
2757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2758 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2761 test -z "$as_dir" && as_dir
=.
2762 for ac_prog
in mkdir gmkdir
; do
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2765 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2766 'mkdir (GNU coreutils) '* | \
2767 'mkdir (coreutils) '* | \
2768 'mkdir (fileutils) '4.1*)
2769 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2779 if test "${ac_cv_path_mkdir+set}" = set; then
2780 MKDIR_P
="$ac_cv_path_mkdir -p"
2782 # As a last resort, use the slow shell script. Don't cache a
2783 # value for MKDIR_P within a source directory, because that will
2784 # break other packages using the cache if that directory is
2785 # removed, or if the value is a relative name.
2786 test -d .
/--version && rmdir .
/--version
2787 MKDIR_P
="$ac_install_sh -d"
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2791 $as_echo "$MKDIR_P" >&6; }
2795 [\\/$
]* | ?
:[\\/]*) ;;
2796 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2799 for ac_prog
in gawk mawk nawk
awk
2801 # Extract the first word of "$ac_prog", so it can be a program name with args.
2802 set dummy
$ac_prog; ac_word
=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if test "${ac_cv_prog_AWK+set}" = set; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$AWK"; then
2809 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818 ac_cv_prog_AWK
="$ac_prog"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 if test -n "$AWK"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2831 $as_echo "$AWK" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2838 test -n "$AWK" && break
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2842 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2844 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2845 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2846 $as_echo_n "(cached) " >&6
2848 cat >conftest.
make <<\_ACEOF
2851 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2853 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2854 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2856 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2858 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2862 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2864 $as_echo "yes" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 SET_MAKE
="MAKE=${MAKE-make}"
2872 rm -rf .tst
2>/dev
/null
2873 mkdir .tst
2>/dev
/null
2874 if test -d .tst
; then
2879 rmdir .tst
2>/dev
/null
2881 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2882 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2883 # is not polluted with repeated "-I."
2884 am__isrc
=' -I$(srcdir)'
2885 # test to see if srcdir already configured
2886 if test -f $srcdir/config.status
; then
2887 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2891 # test whether we have cygpath
2892 if test -z "$CYGPATH_W"; then
2893 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2894 CYGPATH_W
='cygpath -w'
2901 # Define the identity of the package.
2906 cat >>confdefs.h
<<_ACEOF
2907 #define PACKAGE "$PACKAGE"
2911 cat >>confdefs.h
<<_ACEOF
2912 #define VERSION "$VERSION"
2915 # Some tools Automake needs.
2917 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2920 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2923 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2926 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2929 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2931 # We need awk for the "check" target. The system "awk" is bad on
2933 # Always define AMTAR for backward compatibility.
2935 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2937 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2943 # Default to --enable-multilib
2944 # Check whether --enable-multilib was given.
2945 if test "${enable_multilib+set}" = set; then :
2946 enableval
=$enable_multilib; case "$enableval" in
2947 yes) multilib
=yes ;;
2949 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2956 # We may get other options which we leave undocumented:
2957 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2958 # See config-ml.in if you want the gory details.
2960 if test "$srcdir" = "."; then
2961 if test "$with_target_subdir" != "."; then
2962 multi_basedir
="$srcdir/$with_multisrctop../.."
2964 multi_basedir
="$srcdir/$with_multisrctop.."
2967 multi_basedir
="$srcdir/.."
2971 # Even if the default multilib is not a cross compilation,
2972 # it may be that some of the other multilibs are.
2973 if test $cross_compiling = no
&& test $multilib = yes \
2974 && test "x${with_multisubdir}" != x
; then
2975 cross_compiling
=maybe
2978 ac_config_commands
="$ac_config_commands default-1"
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2982 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2983 # Check whether --enable-maintainer-mode was given.
2984 if test "${enable_maintainer_mode+set}" = set; then :
2985 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2987 USE_MAINTAINER_MODE
=no
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2991 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2992 if test $USE_MAINTAINER_MODE = yes; then
2993 MAINTAINER_MODE_TRUE
=
2994 MAINTAINER_MODE_FALSE
='#'
2996 MAINTAINER_MODE_TRUE
='#'
2997 MAINTAINER_MODE_FALSE
=
3000 MAINT
=$MAINTAINER_MODE_TRUE
3006 # These need to be absolute paths, yet at the same time need to
3007 # canonicalize only relative paths, because then amd will not unmount
3008 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
3009 libvtv_builddir
=`${PWDCMD-pwd}`
3011 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
3012 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
3014 toplevel_builddir
=${libvtv_builddir}/..
3015 toplevel_srcdir
=${libvtv_srcdir}/..
3022 # Calculate toolexeclibdir
3023 # Also toolexecdir, though it's only used in toolexeclibdir
3024 case ${version_specific_libs} in
3026 # Need the gcc compiler version to know where to install libraries
3027 # and header files if --enable-version-specific-runtime-libs option
3029 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3030 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3033 if test -n "$with_cross_host" &&
3034 test x
"$with_cross_host" != x
"no"; then
3035 # Install a library built with a cross compiler in tooldir, not libdir.
3036 toolexecdir
='$(exec_prefix)/$(target_alias)'
3037 toolexeclibdir
='$(toolexecdir)/lib'
3039 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3040 toolexeclibdir
='$(libdir)'
3042 multi_os_directory
=`$CC -print-multi-os-directory`
3043 case $multi_os_directory in
3044 .
) ;; # Avoid trailing /.
3045 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3052 # Check for programs.
3056 ac_cpp
='$CPP $CPPFLAGS'
3057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3060 if test -n "$ac_tool_prefix"; then
3061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3062 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if test "${ac_cv_prog_CC+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC
="$CC" # Let the user override the test.
3071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir
=.
3076 for ac_exec_ext
in '' $ac_executable_extensions; do
3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3099 if test -z "$ac_cv_prog_CC"; then
3101 # Extract the first word of "gcc", so it can be a program name with args.
3102 set dummy gcc
; ac_word
=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$ac_ct_CC"; then
3109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 ac_cv_prog_ac_ct_CC
="gcc"
3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3129 if test -n "$ac_ct_CC"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3131 $as_echo "$ac_ct_CC" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3137 if test "x$ac_ct_CC" = x
; then
3140 case $cross_compiling:$ac_tool_warned in
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144 ac_tool_warned
=yes ;;
3152 if test -z "$CC"; then
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3155 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_CC+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC
="$CC" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3193 if test -z "$CC"; then
3194 # Extract the first word of "cc", so it can be a program name with args.
3195 set dummy cc
; ac_word
=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if test "${ac_cv_prog_CC+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$CC"; then
3202 ac_cv_prog_CC
="$CC" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3213 ac_prog_rejected
=yes
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test $ac_prog_rejected = yes; then
3225 # We found a bogon in the path, so make sure we never use it.
3226 set dummy
$ac_cv_prog_CC
3228 if test $# != 0; then
3229 # We chose a different compiler from the bogus one.
3230 # However, it has the same basename, so the bogon will be chosen
3231 # first if we set CC to just the basename; use the full file name.
3233 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3239 if test -n "$CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241 $as_echo "$CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3249 if test -z "$CC"; then
3250 if test -n "$ac_tool_prefix"; then
3251 for ac_prog
in cl.exe
3253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3254 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC
="$CC" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$CC"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3283 $as_echo "$CC" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3290 test -n "$CC" && break
3293 if test -z "$CC"; then
3295 for ac_prog
in cl.exe
3297 # Extract the first word of "$ac_prog", so it can be a program name with args.
3298 set dummy
$ac_prog; ac_word
=$2
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300 $as_echo_n "checking for $ac_word... " >&6; }
3301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3302 $as_echo_n "(cached) " >&6
3304 if test -n "$ac_ct_CC"; then
3305 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3311 test -z "$as_dir" && as_dir
=.
3312 for ac_exec_ext
in '' $ac_executable_extensions; do
3313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3314 ac_cv_prog_ac_ct_CC
="$ac_prog"
3315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3325 if test -n "$ac_ct_CC"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3327 $as_echo "$ac_ct_CC" >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3334 test -n "$ac_ct_CC" && break
3337 if test "x$ac_ct_CC" = x
; then
3340 case $cross_compiling:$ac_tool_warned in
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344 ac_tool_warned
=yes ;;
3353 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error
"no acceptable C compiler found in \$PATH
3356 See \`config.log' for more details." "$LINENO" 5; }
3358 # Provide some information about the compiler.
3359 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3362 for ac_option
in --version -v -V -qversion; do
3363 { { ac_try
="$ac_compiler $ac_option >&5"
3365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369 $as_echo "$ac_try_echo"; } >&5
3370 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3372 if test -s conftest.err; then
3374 ... rest of stderr output deleted ...
3375 10q' conftest.err >conftest.er1
3376 cat conftest.er1 >&5
3377 rm -f conftest.er1 conftest.err
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 ac_clean_files_save=$ac_clean_files
3395 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3396 # Try to create an executable without -o first, disregard a.out.
3397 # It will help us diagnose broken compilers, and finding out an intuition
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3400 $as_echo_n "checking for C compiler default output file name... " >&6; }
3401 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3403 # The possible output files:
3404 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3407 for ac_file in $ac_files
3410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3411 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3416 if { { ac_try="$ac_link_default"
3418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3419 *) ac_try_echo
=$ac_try;;
3421 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link_default") 2>&5
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }; then :
3427 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3428 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3429 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3430 # so that the user can short-circuit this test for compilers unknown to
3432 for ac_file
in $ac_files ''
3434 test -f "$ac_file" ||
continue
3436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3439 # We found the default executable, but exeext='' is most
3443 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3445 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3447 # We set ac_cv_exeext here because the later test for it is not
3448 # safe: cross compilers may not add the suffix if given an `-o'
3449 # argument, so we may need to know it at that point already.
3450 # Even if this section looks crufty: it has the advantage of
3457 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3463 $as_echo "$ac_file" >&6; }
3464 if test -z "$ac_file"; then :
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.
$ac_ext >&5
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 { as_fn_set_status
77
3471 as_fn_error
"C compiler cannot create executables
3472 See \`config.log' for more details." "$LINENO" 5; }; }
3474 ac_exeext
=$ac_cv_exeext
3476 # Check that the compiler produces executables we can run. If not, either
3477 # the compiler is broken, or we cross compile.
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3479 $as_echo_n "checking whether the C compiler works... " >&6; }
3480 # If not cross compiling, check that we can run a simple program.
3481 if test "$cross_compiling" != yes; then
3482 if { ac_try
='./$ac_file'
3483 { { case "(($ac_try" in
3484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_try") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; }; then
3495 if test "$cross_compiling" = maybe; then
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error "cannot run C compiled programs.
3501 If you meant to cross compile
, use \
`--host'.
3502 See \`config.log
' for more details." "$LINENO" 5; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507 $as_echo "yes" >&6; }
3509 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3510 ac_clean_files=$ac_clean_files_save
3511 # Check that the compiler produces executables we can run. If not, either
3512 # the compiler is broken, or we cross compile.
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3514 $as_echo_n "checking whether we are cross compiling... " >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3516 $as_echo "$cross_compiling" >&6; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3519 $as_echo_n "checking for suffix of executables... " >&6; }
3520 if { { ac_try="$ac_link"
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_link") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; then :
3531 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3532 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3533 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3535 for ac_file
in conftest.exe conftest conftest.
*; do
3536 test -f "$ac_file" ||
continue
3538 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3539 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3547 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3548 See \`config.log' for more details." "$LINENO" 5; }
3550 rm -f conftest
$ac_cv_exeext
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3552 $as_echo "$ac_cv_exeext" >&6; }
3554 rm -f conftest.
$ac_ext
3555 EXEEXT
=$ac_cv_exeext
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3558 $as_echo_n "checking for suffix of object files... " >&6; }
3559 if test "${ac_cv_objext+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 rm -f conftest.o conftest.obj
3574 if { { ac_try
="$ac_compile"
3576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581 (eval "$ac_compile") 2>&5
3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584 test $ac_status = 0; }; then :
3585 for ac_file in conftest.o conftest.obj conftest.*; do
3586 test -f "$ac_file" || continue;
3588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3589 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3594 $as_echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error "cannot compute suffix of object files
: cannot compile
3600 See \
`config.log' for more details." "$LINENO" 5; }
3602 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3605 $as_echo "$ac_cv_objext" >&6; }
3606 OBJEXT=$ac_cv_objext
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3609 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3610 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3627 if ac_fn_c_try_compile "$LINENO"; then :
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3637 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3638 if test $ac_compiler_gnu = yes; then
3643 ac_test_CFLAGS=${CFLAGS+set}
3644 ac_save_CFLAGS=$CFLAGS
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3646 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3647 if test "${ac_cv_prog_cc_g+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3650 ac_save_c_werror_flag=$ac_c_werror_flag
3651 ac_c_werror_flag=yes
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 if ac_fn_c_try_compile "$LINENO"; then :
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 if ac_fn_c_try_compile "$LINENO"; then :
3683 ac_c_werror_flag=$ac_save_c_werror_flag
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 ac_c_werror_flag=$ac_save_c_werror_flag
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3707 $as_echo "$ac_cv_prog_cc_g" >&6; }
3708 if test "$ac_test_CFLAGS" = set; then
3709 CFLAGS=$ac_save_CFLAGS
3710 elif test $ac_cv_prog_cc_g = yes; then
3711 if test "$GCC" = yes; then
3717 if test "$GCC" = yes; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3724 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3725 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3726 $as_echo_n "(cached) " >&6
3728 ac_cv_prog_cc_c89=no
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3734 #include <sys/types.h>
3735 #include <sys/stat.h>
3736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3737 struct buf { int x; };
3738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3739 static char *e (p, i)
3745 static char *f (char * (*g) (char **, int), char **p, ...)
3750 s = g (p, va_arg (v,int));
3755 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3756 function prototypes and stuff, but not '\xHH' hex character constants.
3757 These don't provoke an error unfortunately, instead are silently treated
3758 as 'x'. The following induces an error, until -std is added to get
3759 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3760 array size at least. It's necessary to write '\x00'==0 to get something
3761 that's true only with -std. */
3762 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3764 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3765 inside strings and character constants. */
3767 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3769 int test (int i, double x);
3770 struct s1 {int (*f) (int a);};
3771 struct s2 {int (*f) (double a);};
3772 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3784 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3786 CC="$ac_save_CC $ac_arg"
3787 if ac_fn_c_try_compile "$LINENO"; then :
3788 ac_cv_prog_cc_c89=$ac_arg
3790 rm -f core conftest.err conftest.$ac_objext
3791 test "x$ac_cv_prog_cc_c89" != "xno" && break
3793 rm -f conftest.$ac_ext
3798 case "x$ac_cv_prog_cc_c89" in
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3801 $as_echo "none needed" >&6; } ;;
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3804 $as_echo "unsupported" >&6; } ;;
3806 CC="$CC $ac_cv_prog_cc_c89"
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3810 if test "x$ac_cv_prog_cc_c89" != xno; then :
3815 ac_cpp='$CPP $CPPFLAGS'
3816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3819 DEPDIR="${am__leading_dot}deps"
3821 ac_config_commands="$ac_config_commands depfiles"
3824 am_make=${MAKE-make}
3825 cat > confinc << 'END'
3827 @echo this is the am__doit target
3830 # If we don't find an include directive, just comment out the code.
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3832 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3836 # First try GNU make style include.
3837 echo "include confinc" > confmf
3838 # Ignore all kinds of additional output from `make'.
3839 case `$am_make -s -f confmf 2> /dev/null` in #(
3840 *the\ am__doit\ target*)
3846 # Now try BSD make style include.
3847 if test "$am__include" = "#"; then
3848 echo '.include
"confinc"' > confmf
3849 case `$am_make -s -f confmf 2> /dev/null` in #(
3850 *the\ am__doit\ target*)
3851 am__include=.include
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3860 $as_echo "$_am_result" >&6; }
3861 rm -f confinc confmf
3863 # Check whether --enable-dependency-tracking was given.
3864 if test "${enable_dependency_tracking+set}" = set; then :
3865 enableval=$enable_dependency_tracking;
3868 if test "x$enable_dependency_tracking" != xno; then
3869 am_depcomp="$ac_aux_dir/depcomp"
3872 if test "x$enable_dependency_tracking" != xno
; then
3882 depcc
="$CC" am_compiler_list
=
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3885 $as_echo_n "checking dependency style of $depcc... " >&6; }
3886 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3890 # We make a subdir and do the tests there. Otherwise we can end up
3891 # making bogus files that we don't know about and never remove. For
3892 # instance it was reported that on HP-UX the gcc test will end up
3893 # making a dummy file named `D' -- because `-MD' means `put the output
3896 # Copy depcomp to subdir because otherwise we won't find it if we're
3897 # using a relative directory.
3898 cp "$am_depcomp" conftest.dir
3900 # We will build objects and dependencies in a subdirectory because
3901 # it helps to detect inapplicable dependency modes. For instance
3902 # both Tru64's cc and ICC support -MD to output dependencies as a
3903 # side effect of compilation, but ICC will put the dependencies in
3904 # the current directory while Tru64 will put them in the object
3908 am_cv_CC_dependencies_compiler_type
=none
3909 if test "$am_compiler_list" = ""; then
3910 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3913 case " $depcc " in #(
3914 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3917 for depmode
in $am_compiler_list; do
3918 # Setup a source with many dependencies, because some compilers
3919 # like to wrap large dependency lists on column 80 (with \), and
3920 # we should not choose a depcomp mode which is confused by this.
3922 # We need to recreate these files for each test, as the compiler may
3923 # overwrite some of them when testing with obscure command lines.
3924 # This happens at least with the AIX C compiler.
3926 for i
in 1 2 3 4 5 6; do
3927 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3928 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3929 # Solaris 8's {/usr,}/bin/sh.
3930 touch sub
/conftst
$i.h
3932 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3934 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3935 # mode. It turns out that the SunPro C++ compiler does not properly
3936 # handle `-M -o', and we need to detect this. Also, some Intel
3937 # versions had trouble with output in subdirs
3938 am__obj
=sub
/conftest.
${OBJEXT-o}
3939 am__minus_obj
="-o $am__obj"
3942 # This depmode causes a compiler race in universal mode.
3943 test "$am__universal" = false ||
continue
3946 # after this tag, mechanisms are not by side-effect, so they'll
3947 # only be used when explicitly requested
3948 if test "x$enable_dependency_tracking" = xyes
; then
3954 msvisualcpp | msvcmsys
)
3955 # This compiler won't grok `-c -o', but also, the minuso test has
3956 # not run yet. These depmodes are late enough in the game, and
3957 # so weak that their functioning should not be impacted.
3958 am__obj
=conftest.
${OBJEXT-o}
3963 if depmode
=$depmode \
3964 source=sub
/conftest.c object
=$am__obj \
3965 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3966 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3967 >/dev
/null
2>conftest.err
&&
3968 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3969 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3970 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3971 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3972 # icc doesn't choke on unknown options, it will just issue warnings
3973 # or remarks (even with -Werror). So we grep stderr for any message
3974 # that says an option was ignored or not supported.
3975 # When given -MP, icc 7.0 and 7.1 complain thusly:
3976 # icc: Command line warning: ignoring option '-M'; no argument required
3977 # The diagnosis changed in icc 8.0:
3978 # icc: Command line remark: option '-MP' not supported
3979 if (grep 'ignoring option' conftest.err ||
3980 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3981 am_cv_CC_dependencies_compiler_type
=$depmode
3990 am_cv_CC_dependencies_compiler_type
=none
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3995 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3996 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3999 test "x$enable_dependency_tracking" != xno \
4000 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4002 am__fastdepCC_FALSE
='#'
4004 am__fastdepCC_TRUE
='#'
4005 am__fastdepCC_FALSE
=
4010 ac_cpp
='$CXXCPP $CPPFLAGS'
4011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4014 if test -z "$CXX"; then
4015 if test -n "$CCC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_CXX+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CXX"; then
4029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CXX"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4051 $as_echo "$CXX" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CXX" && break
4061 if test -z "$CXX"; then
4063 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy
$ac_prog; ac_word
=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$ac_ct_CXX"; then
4073 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4093 if test -n "$ac_ct_CXX"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4095 $as_echo "$ac_ct_CXX" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CXX" && break
4105 if test "x$ac_ct_CXX" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4120 # Provide some information about the compiler.
4121 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4124 for ac_option
in --version -v -V -qversion; do
4125 { { ac_try
="$ac_compiler $ac_option >&5"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4134 if test -s conftest.err; then
4136 ... rest of stderr output deleted ...
4137 10q' conftest.err >conftest.er1
4138 cat conftest.er1 >&5
4139 rm -f conftest.er1 conftest.err
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4147 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4164 if ac_fn_cxx_try_compile "$LINENO"; then :
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4174 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4180 ac_test_CXXFLAGS=${CXXFLAGS+set}
4181 ac_save_CXXFLAGS=$CXXFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4183 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4188 ac_cxx_werror_flag=yes
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 if ac_fn_cxx_try_compile "$LINENO"; then :
4203 ac_cv_prog_cxx_g=yes
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_cxx_try_compile "$LINENO"; then :
4220 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_cxx_try_compile "$LINENO"; then :
4234 ac_cv_prog_cxx_g=yes
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4244 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4245 if test "$ac_test_CXXFLAGS" = set; then
4246 CXXFLAGS=$ac_save_CXXFLAGS
4247 elif test $ac_cv_prog_cxx_g = yes; then
4248 if test "$GXX" = yes; then
4254 if test "$GXX" = yes; then
4261 ac_cpp='$CPP $CPPFLAGS'
4262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4266 depcc="$CXX" am_compiler_list=
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4269 $as_echo_n "checking dependency style of $depcc... " >&6; }
4270 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4274 # We make a subdir and do the tests there. Otherwise we can end up
4275 # making bogus files that we don't know about and never remove. For
4276 # instance it was reported that on HP-UX the gcc test will end up
4277 # making a dummy file named `D
' -- because `-MD' means
`put the output
4280 # Copy depcomp to subdir because otherwise we won't find it if we're
4281 # using a relative directory.
4282 cp "$am_depcomp" conftest.dir
4284 # We will build objects and dependencies in a subdirectory because
4285 # it helps to detect inapplicable dependency modes. For instance
4286 # both Tru64's cc and ICC support -MD to output dependencies as a
4287 # side effect of compilation, but ICC will put the dependencies in
4288 # the current directory while Tru64 will put them in the object
4292 am_cv_CXX_dependencies_compiler_type=none
4293 if test "$am_compiler_list" = ""; then
4294 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4297 case " $depcc " in #(
4298 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4301 for depmode in $am_compiler_list; do
4302 # Setup a source with many dependencies, because some compilers
4303 # like to wrap large dependency lists on column 80 (with \), and
4304 # we should not choose a depcomp mode which is confused by this.
4306 # We need to recreate these files for each test, as the compiler may
4307 # overwrite some of them when testing with obscure command lines.
4308 # This happens at least with the AIX C compiler.
4310 for i in 1 2 3 4 5 6; do
4311 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4312 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4313 # Solaris 8's
{/usr
,}/bin
/sh.
4314 touch sub
/conftst
$i.h
4316 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4318 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4319 # mode. It turns out that the SunPro C++ compiler does not properly
4320 # handle `-M -o', and we need to detect this. Also, some Intel
4321 # versions had trouble with output in subdirs
4322 am__obj
=sub
/conftest.
${OBJEXT-o}
4323 am__minus_obj
="-o $am__obj"
4326 # This depmode causes a compiler race in universal mode.
4327 test "$am__universal" = false ||
continue
4330 # after this tag, mechanisms are not by side-effect, so they'll
4331 # only be used when explicitly requested
4332 if test "x$enable_dependency_tracking" = xyes
; then
4338 msvisualcpp | msvcmsys
)
4339 # This compiler won't grok `-c -o', but also, the minuso test has
4340 # not run yet. These depmodes are late enough in the game, and
4341 # so weak that their functioning should not be impacted.
4342 am__obj
=conftest.
${OBJEXT-o}
4347 if depmode
=$depmode \
4348 source=sub
/conftest.c object
=$am__obj \
4349 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4350 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4351 >/dev
/null
2>conftest.err
&&
4352 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4353 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4354 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4355 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4356 # icc doesn't choke on unknown options, it will just issue warnings
4357 # or remarks (even with -Werror). So we grep stderr for any message
4358 # that says an option was ignored or not supported.
4359 # When given -MP, icc 7.0 and 7.1 complain thusly:
4360 # icc: Command line warning: ignoring option '-M'; no argument required
4361 # The diagnosis changed in icc 8.0:
4362 # icc: Command line remark: option '-MP' not supported
4363 if (grep 'ignoring option' conftest.err ||
4364 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4365 am_cv_CXX_dependencies_compiler_type
=$depmode
4374 am_cv_CXX_dependencies_compiler_type
=none
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4379 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4380 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4383 test "x$enable_dependency_tracking" != xno \
4384 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4385 am__fastdepCXX_TRUE
=
4386 am__fastdepCXX_FALSE
='#'
4388 am__fastdepCXX_TRUE
='#'
4389 am__fastdepCXX_FALSE
=
4395 if test "x$CC" != xcc
; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4397 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4400 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4402 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4403 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4404 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4405 $as_echo_n "(cached) " >&6
4407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4418 # Make sure it works both with $CC and with simple cc.
4419 # We do the test twice because some compilers refuse to overwrite an
4420 # existing .o file with -o, though they will create one.
4421 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4423 if { { case "(($ac_try" in
4424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4428 $as_echo "$ac_try_echo"; } >&5
4429 (eval "$ac_try") 2>&5
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 test $ac_status = 0; } &&
4433 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4435 *) ac_try_echo
=$ac_try;;
4437 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4438 $as_echo "$ac_try_echo"; } >&5
4439 (eval "$ac_try") 2>&5
4441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4442 test $ac_status = 0; };
4444 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4445 if test "x$CC" != xcc
; then
4446 # Test first that cc exists at all.
4447 if { ac_try
='cc -c conftest.$ac_ext >&5'
4448 { { case "(($ac_try" in
4449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_try") 2>&5
4456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457 test $ac_status = 0; }; }; then
4458 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4460 if { { case "(($ac_try" in
4461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4462 *) ac_try_echo
=$ac_try;;
4464 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4465 $as_echo "$ac_try_echo"; } >&5
4466 (eval "$ac_try") 2>&5
4468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4469 test $ac_status = 0; } &&
4470 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_try") 2>&5
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; };
4484 # cc exists but doesn't like -o.
4485 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4490 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4492 rm -f core conftest*
4495 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4497 $as_echo "yes" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4502 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4506 # FIXME: we rely on the cache variable name because
4507 # there is no other way.
4509 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4510 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4511 if test "$am_t" != yes; then
4512 # Losing compiler, so override with the script.
4513 # FIXME: It is wrong to rewrite CC.
4514 # But if we don't then we get into trouble of one sort or another.
4515 # A longer-term fix would be to have automake use am__CC in this case,
4516 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4517 CC="$am_aux_dir/compile $CC"
4525 # Newer automakes demand CCAS and CCASFLAGS.
4527 : ${CCASFLAGS='$(CFLAGS)'}
4531 if test -n "$ac_tool_prefix"; then
4532 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4533 set dummy ${ac_tool_prefix}as; ac_word=$2
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4535 $as_echo_n "checking for $ac_word... " >&6; }
4536 if test "${ac_cv_prog_AS+set}" = set; then :
4537 $as_echo_n "(cached) " >&6
4539 if test -n "$AS"; then
4540 ac_cv_prog_AS="$AS" # Let the user override the test.
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4549 ac_cv_prog_AS="${ac_tool_prefix}as"
4550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 if test -n "$AS"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4562 $as_echo "$AS" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4570 if test -z "$ac_cv_prog_AS"; then
4572 # Extract the first word of "as", so it can be a program name with args.
4573 set dummy as; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4577 $as_echo_n "(cached) " >&6
4579 if test -n "$ac_ct_AS"; then
4580 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589 ac_cv_prog_ac_ct_AS="as"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4600 if test -n "$ac_ct_AS"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4602 $as_echo "$ac_ct_AS" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4608 if test "x$ac_ct_AS" = x; then
4611 case $cross_compiling:$ac_tool_warned in
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4615 ac_tool_warned=yes ;;
4623 if test -n "$ac_tool_prefix"; then
4624 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4625 set dummy ${ac_tool_prefix}ar; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_AR+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$AR"; then
4632 ac_cv_prog_AR="$AR" # Let the user override the test.
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_AR="${ac_tool_prefix}ar"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$AR"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4654 $as_echo "$AR" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4662 if test -z "$ac_cv_prog_AR"; then
4664 # Extract the first word of "ar", so it can be a program name with args.
4665 set dummy ar; ac_word=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$ac_ct_AR"; then
4672 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_ac_ct_AR="ar"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4692 if test -n "$ac_ct_AR"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4694 $as_echo "$ac_ct_AR" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 if test "x$ac_ct_AR" = x; then
4703 case $cross_compiling:$ac_tool_warned in
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned=yes ;;
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4717 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$RANLIB"; then
4724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 RANLIB=$ac_cv_prog_RANLIB
4744 if test -n "$RANLIB"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4746 $as_echo "$RANLIB" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4754 if test -z "$ac_cv_prog_RANLIB"; then
4755 ac_ct_RANLIB=$RANLIB
4756 # Extract the first word of "ranlib", so it can be a program name with args.
4757 set dummy ranlib; ac_word=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4761 $as_echo_n "(cached) " >&6
4763 if test -n "$ac_ct_RANLIB"; then
4764 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773 ac_cv_prog_ac_ct_RANLIB="ranlib"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4784 if test -n "$ac_ct_RANLIB"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4786 $as_echo "$ac_ct_RANLIB" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4792 if test "x$ac_ct_RANLIB" = x; then
4795 case $cross_compiling:$ac_tool_warned in
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799 ac_tool_warned=yes ;;
4801 RANLIB=$ac_ct_RANLIB
4804 RANLIB="$ac_cv_prog_RANLIB"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4816 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4821 macro_version='2.2.7a'
4822 macro_revision='1.3134'
4836 ltmain="$ac_aux_dir/ltmain.sh"
4838 # Backslashify metacharacters that are still active within
4839 # double-quoted strings.
4840 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4842 # Same as above, but do not quote variable references.
4843 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4845 # Sed substitution to delay expansion of an escaped shell variable in a
4846 # double_quote_subst'ed string.
4847 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4849 # Sed substitution to delay expansion of an escaped single quote.
4850 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4852 # Sed substitution to avoid accidental globbing in evaled expressions
4853 no_glob_subst='s/\*/\\\*/g'
4855 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4860 $as_echo_n "checking how to print
strings...
" >&6; }
4861 # Test print first, because it will be a builtin if present.
4862 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4863 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4865 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4868 # Use this function as a fallback that always works.
4869 func_fallback_echo ()
4871 eval 'cat <<_LTECHO_EOF
4875 ECHO='func_fallback_echo'
4878 # func_echo_all arg...
4879 # Invoke $ECHO with all args, space-separated.
4886 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4887 $as_echo "printf" >&6; } ;;
4888 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4889 $as_echo "print
-r" >&6; } ;;
4890 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4891 $as_echo "cat" >&6; } ;;
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4908 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4909 if test "${ac_cv_path_SED+set}" = set; then :
4910 $as_echo_n "(cached
) " >&6
4912 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4913 for ac_i in 1 2 3 4 5 6 7; do
4914 ac_script="$ac_script$as_nl$ac_script"
4916 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4917 { ac_script=; unset ac_script;}
4918 if test -z "$SED"; then
4919 ac_path_SED_found=false
4920 # Loop through the user's path and test for each of PROGNAME-LIST
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir=.
4926 for ac_prog in sed gsed; do
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4929 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4930 # Check for GNU ac_path_SED and select it if it is found.
4931 # Check for GNU $ac_path_SED
4932 case `"$ac_path_SED" --version 2>&1` in
4934 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4937 $as_echo_n 0123456789 >"conftest.
in"
4940 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4941 mv "conftest.tmp
" "conftest.
in"
4942 cp "conftest.
in" "conftest.
nl"
4943 $as_echo '' >> "conftest.
nl"
4944 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4945 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4946 as_fn_arith $ac_count + 1 && ac_count=$as_val
4947 if test $ac_count -gt ${ac_path_SED_max-0}; then
4948 # Best one so far, save it but keep looking for a better one
4949 ac_cv_path_SED="$ac_path_SED"
4950 ac_path_SED_max=$ac_count
4952 # 10*(2^10) chars as input seems more than enough
4953 test $ac_count -gt 10 && break
4955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4958 $ac_path_SED_found && break 3
4963 if test -z "$ac_cv_path_SED"; then
4964 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4972 $as_echo "$ac_cv_path_SED" >&6; }
4973 SED="$ac_cv_path_SED"
4976 test -z "$SED" && SED=sed
4977 Xsed="$SED -e 1s
/^X
//"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4990 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4991 if test "${ac_cv_path_GREP+set}" = set; then :
4992 $as_echo_n "(cached
) " >&6
4994 if test -z "$GREP"; then
4995 ac_path_GREP_found=false
4996 # Loop through the user's path and test for each of PROGNAME-LIST
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5001 test -z "$as_dir" && as_dir=.
5002 for ac_prog in grep ggrep; do
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5006 # Check for GNU ac_path_GREP and select it if it is found.
5007 # Check for GNU $ac_path_GREP
5008 case `"$ac_path_GREP" --version 2>&1` in
5010 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5013 $as_echo_n 0123456789 >"conftest.
in"
5016 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5017 mv "conftest.tmp
" "conftest.
in"
5018 cp "conftest.
in" "conftest.
nl"
5019 $as_echo 'GREP' >> "conftest.
nl"
5020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5021 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5022 as_fn_arith $ac_count + 1 && ac_count=$as_val
5023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5024 # Best one so far, save it but keep looking for a better one
5025 ac_cv_path_GREP="$ac_path_GREP"
5026 ac_path_GREP_max=$ac_count
5028 # 10*(2^10) chars as input seems more than enough
5029 test $ac_count -gt 10 && break
5031 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5034 $ac_path_GREP_found && break 3
5039 if test -z "$ac_cv_path_GREP"; then
5040 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5043 ac_cv_path_GREP=$GREP
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5048 $as_echo "$ac_cv_path_GREP" >&6; }
5049 GREP="$ac_cv_path_GREP"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5053 $as_echo_n "checking
for egrep...
" >&6; }
5054 if test "${ac_cv_path_EGREP+set}" = set; then :
5055 $as_echo_n "(cached
) " >&6
5057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5058 then ac_cv_path_EGREP="$GREP -E"
5060 if test -z "$EGREP"; then
5061 ac_path_EGREP_found=false
5062 # Loop through the user's path and test for each of PROGNAME-LIST
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5067 test -z "$as_dir" && as_dir=.
5068 for ac_prog in egrep; do
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5071 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5072 # Check for GNU ac_path_EGREP and select it if it is found.
5073 # Check for GNU $ac_path_EGREP
5074 case `"$ac_path_EGREP" --version 2>&1` in
5076 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5079 $as_echo_n 0123456789 >"conftest.
in"
5082 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5083 mv "conftest.tmp
" "conftest.
in"
5084 cp "conftest.
in" "conftest.
nl"
5085 $as_echo 'EGREP' >> "conftest.
nl"
5086 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5087 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5088 as_fn_arith $ac_count + 1 && ac_count=$as_val
5089 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5090 # Best one so far, save it but keep looking for a better one
5091 ac_cv_path_EGREP="$ac_path_EGREP"
5092 ac_path_EGREP_max=$ac_count
5094 # 10*(2^10) chars as input seems more than enough
5095 test $ac_count -gt 10 && break
5097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5100 $ac_path_EGREP_found && break 3
5105 if test -z "$ac_cv_path_EGREP"; then
5106 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5109 ac_cv_path_EGREP=$EGREP
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5115 $as_echo "$ac_cv_path_EGREP" >&6; }
5116 EGREP="$ac_cv_path_EGREP"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5120 $as_echo_n "checking
for fgrep...
" >&6; }
5121 if test "${ac_cv_path_FGREP+set}" = set; then :
5122 $as_echo_n "(cached
) " >&6
5124 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5125 then ac_cv_path_FGREP="$GREP -F"
5127 if test -z "$FGREP"; then
5128 ac_path_FGREP_found=false
5129 # Loop through the user's path and test for each of PROGNAME-LIST
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5134 test -z "$as_dir" && as_dir=.
5135 for ac_prog in fgrep; do
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5138 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5139 # Check for GNU ac_path_FGREP and select it if it is found.
5140 # Check for GNU $ac_path_FGREP
5141 case `"$ac_path_FGREP" --version 2>&1` in
5143 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5146 $as_echo_n 0123456789 >"conftest.
in"
5149 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5150 mv "conftest.tmp
" "conftest.
in"
5151 cp "conftest.
in" "conftest.
nl"
5152 $as_echo 'FGREP' >> "conftest.
nl"
5153 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5154 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5155 as_fn_arith $ac_count + 1 && ac_count=$as_val
5156 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5157 # Best one so far, save it but keep looking for a better one
5158 ac_cv_path_FGREP="$ac_path_FGREP"
5159 ac_path_FGREP_max=$ac_count
5161 # 10*(2^10) chars as input seems more than enough
5162 test $ac_count -gt 10 && break
5164 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5167 $ac_path_FGREP_found && break 3
5172 if test -z "$ac_cv_path_FGREP"; then
5173 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5176 ac_cv_path_FGREP=$FGREP
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5182 $as_echo "$ac_cv_path_FGREP" >&6; }
5183 FGREP="$ac_cv_path_FGREP"
5186 test -z "$GREP" && GREP=grep
5206 # Check whether --with-gnu-ld was given.
5207 if test "${with_gnu_ld+set}" = set; then :
5208 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5214 if test "$GCC" = yes; then
5215 # Check if gcc -print-prog-name=ld gives a path.
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5217 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5220 # gcc leaves a trailing carriage return which upsets mingw
5221 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5223 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5226 # Accept absolute paths.
5228 re_direlt='/[^/][^/]*/\.\./'
5229 # Canonicalize the pathname of ld
5230 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5231 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5232 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5234 test -z "$LD" && LD="$ac_prog"
5237 # If it fails, then pretend we aren't using GCC.
5241 # If it is relative, then search for the first ld in PATH.
5245 elif test "$with_gnu_ld" = yes; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5247 $as_echo_n "checking
for GNU ld...
" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5250 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5252 if test "${lt_cv_path_LD+set}" = set; then :
5253 $as_echo_n "(cached
) " >&6
5255 if test -z "$LD"; then
5256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5257 for ac_dir in $PATH; do
5259 test -z "$ac_dir" && ac_dir=.
5260 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5261 lt_cv_path_LD="$ac_dir/$ac_prog"
5262 # Check to see if the program is GNU ld. I'd rather use --version,
5263 # but apparently some variants of GNU ld only accept -v.
5264 # Break only if it was the GNU/non-GNU ld that we prefer.
5265 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5266 *GNU* | *'with BFD'*)
5267 test "$with_gnu_ld" != no && break
5270 test "$with_gnu_ld" != yes && break
5277 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5282 if test -n "$LD"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5284 $as_echo "$LD" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5287 $as_echo "no
" >&6; }
5289 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5291 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5292 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5293 $as_echo_n "(cached
) " >&6
5295 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5296 case `$LD -v 2>&1 </dev/null` in
5297 *GNU* | *'with BFD'*)
5298 lt_cv_prog_gnu_ld=yes
5301 lt_cv_prog_gnu_ld=no
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5306 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5307 with_gnu_ld=$lt_cv_prog_gnu_ld
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5318 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5319 if test "${lt_cv_path_NM+set}" = set; then :
5320 $as_echo_n "(cached
) " >&6
5322 if test -n "$NM"; then
5323 # Let the user override the test.
5326 lt_nm_to_check="${ac_tool_prefix}nm
"
5327 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5328 lt_nm_to_check="$lt_nm_to_check nm
"
5330 for lt_tmp_nm in $lt_nm_to_check; do
5331 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5332 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5334 test -z "$ac_dir" && ac_dir=.
5335 tmp_nm="$ac_dir/$lt_tmp_nm"
5336 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5337 # Check to see if the nm accepts a BSD-compat flag.
5338 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5339 # nm: unknown option "B
" ignored
5340 # Tru64's nm complains that /dev/null is an invalid object file
5341 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5342 */dev/null* | *'Invalid file or object type'*)
5343 lt_cv_path_NM="$tmp_nm -B"
5347 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5349 lt_cv_path_NM="$tmp_nm -p"
5353 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5354 continue # so that we can try to find one that supports BSD flags
5363 : ${lt_cv_path_NM=no}
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5367 $as_echo "$lt_cv_path_NM" >&6; }
5368 if test "$lt_cv_path_NM" != "no
"; then
5371 # Didn't find any BSD compatible name lister, look for dumpbin.
5372 if test -n "$DUMPBIN"; then :
5373 # Let the user override the test.
5375 if test -n "$ac_tool_prefix"; then
5376 for ac_prog in dumpbin "link
-dump"
5378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5381 $as_echo_n "checking
for $ac_word...
" >&6; }
5382 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5383 $as_echo_n "(cached
) " >&6
5385 if test -n "$DUMPBIN"; then
5386 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5405 DUMPBIN=$ac_cv_prog_DUMPBIN
5406 if test -n "$DUMPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5408 $as_echo "$DUMPBIN" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5411 $as_echo "no
" >&6; }
5415 test -n "$DUMPBIN" && break
5418 if test -z "$DUMPBIN"; then
5419 ac_ct_DUMPBIN=$DUMPBIN
5420 for ac_prog in dumpbin "link
-dump"
5422 # Extract the first word of "$ac_prog", so it can be a program name with args.
5423 set dummy $ac_prog; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5425 $as_echo_n "checking
for $ac_word...
" >&6; }
5426 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5427 $as_echo_n "(cached
) " >&6
5429 if test -n "$ac_ct_DUMPBIN"; then
5430 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5449 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5450 if test -n "$ac_ct_DUMPBIN"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5452 $as_echo "$ac_ct_DUMPBIN" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5455 $as_echo "no
" >&6; }
5459 test -n "$ac_ct_DUMPBIN" && break
5462 if test "x
$ac_ct_DUMPBIN" = x; then
5465 case $cross_compiling:$ac_tool_warned in
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5468 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5469 ac_tool_warned=yes ;;
5471 DUMPBIN=$ac_ct_DUMPBIN
5475 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5477 DUMPBIN="$DUMPBIN -symbols"
5485 if test "$DUMPBIN" != ":"; then
5489 test -z "$NM" && NM=nm
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5497 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5498 if test "${lt_cv_nm_interface+set}" = set; then :
5499 $as_echo_n "(cached
) " >&6
5501 lt_cv_nm_interface="BSD nm
"
5502 echo "int some_variable
= 0;" > conftest.$ac_ext
5503 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5504 (eval "$ac_compile" 2>conftest.err)
5505 cat conftest.err >&5
5506 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5507 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5508 cat conftest.err >&5
5509 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5510 cat conftest.out >&5
5511 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5512 lt_cv_nm_interface="MS dumpbin
"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5517 $as_echo "$lt_cv_nm_interface" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5520 $as_echo_n "checking whether
ln -s works...
" >&6; }
5522 if test "$LN_S" = "ln -s"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5524 $as_echo "yes" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5527 $as_echo "no
, using
$LN_S" >&6; }
5530 # find the maximum length of command line arguments
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5532 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5533 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5534 $as_echo_n "(cached
) " >&6
5541 # On DJGPP, this test can blow up pretty badly due to problems in libc
5542 # (any single argument exceeding 2000 bytes causes a buffer overrun
5543 # during glob expansion). Even if it were fixed, the result of this
5544 # check would be larger than it should be.
5545 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5549 # Under GNU Hurd, this test is not required because there is
5550 # no limit to the length of command line arguments.
5551 # Libtool will interpret -1 as no limit whatsoever
5552 lt_cv_sys_max_cmd_len=-1;
5555 cygwin* | mingw* | cegcc*)
5556 # On Win9x/ME, this test blows up -- it succeeds, but takes
5557 # about 5 minutes as the teststring grows exponentially.
5558 # Worse, since 9x/ME are not pre-emptively multitasking,
5559 # you end up with a "frozen
" computer, even though with patience
5560 # the test eventually succeeds (with a max line length of 256k).
5561 # Instead, let's just punt: use the minimum linelength reported by
5562 # all of the supported platforms: 8192 (on NT/2K/XP).
5563 lt_cv_sys_max_cmd_len=8192;
5567 # On MiNT this can take a long time and run out of memory.
5568 lt_cv_sys_max_cmd_len=8192;
5572 # On AmigaOS with pdksh, this test takes hours, literally.
5573 # So we just punt and use a minimum line length of 8192.
5574 lt_cv_sys_max_cmd_len=8192;
5577 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5578 # This has been around since 386BSD, at least. Likely further.
5579 if test -x /sbin/sysctl; then
5580 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5581 elif test -x /usr/sbin/sysctl; then
5582 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5584 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5586 # And add a safety zone
5587 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5592 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5593 lt_cv_sys_max_cmd_len=196608
5597 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5598 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5599 # nice to cause kernel panics so lets avoid the loop below.
5600 # First set a reasonable default.
5601 lt_cv_sys_max_cmd_len=16384
5603 if test -x /sbin/sysconfig; then
5604 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5605 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5610 lt_cv_sys_max_cmd_len=102400
5612 sysv5* | sco5v6* | sysv4.2uw2*)
5613 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5614 if test -n "$kargmax"; then
5615 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5617 lt_cv_sys_max_cmd_len=32768
5621 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5622 if test -n "$lt_cv_sys_max_cmd_len"; then
5623 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5626 # Make teststring a little bigger before we do anything with it.
5627 # a 1K string should be a reasonable start.
5628 for i in 1 2 3 4 5 6 7 8 ; do
5629 teststring=$teststring$teststring
5631 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5632 # If test is not a shell built-in, we'll probably end up computing a
5633 # maximum length that is only half of the actual maximum length, but
5635 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5636 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5637 test $i != 17 # 1/2 MB should be enough
5640 teststring=$teststring$teststring
5642 # Only check the string length outside the loop.
5643 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5645 # Add a significant safety factor because C++ compilers can tack on
5646 # massive amounts of additional arguments before passing them to the
5647 # linker. It appears as though 1/2 is a usable value.
5648 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5655 if test -n $lt_cv_sys_max_cmd_len ; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5657 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5660 $as_echo "none
" >&6; }
5662 max_cmd_len=$lt_cv_sys_max_cmd_len
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5674 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5675 # Try some XSI features
5678 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5680 && eval 'test $(( 1 + 1 )) -eq 2 \
5681 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5684 $as_echo "$xsi_shell" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5688 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5690 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5692 && lt_shell_append
=yes
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5694 $as_echo "$lt_shell_append" >&6; }
5697 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5707 # test EBCDIC or ASCII
5708 case `echo X|tr X '\101'` in
5709 A
) # ASCII based system
5710 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5711 lt_SP2NL
='tr \040 \012'
5712 lt_NL2SP
='tr \015\012 \040\040'
5714 *) # EBCDIC based system
5715 lt_SP2NL
='tr \100 \n'
5716 lt_NL2SP
='tr \r\n \100\100'
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5729 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5730 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5731 $as_echo_n "(cached) " >&6
5733 lt_cv_ld_reload_flag
='-r'
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5736 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5737 reload_flag
=$lt_cv_ld_reload_flag
5738 case $reload_flag in
5740 *) reload_flag
=" $reload_flag" ;;
5742 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5745 if test "$GCC" = yes; then
5746 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5748 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5761 if test -n "$ac_tool_prefix"; then
5762 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5763 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -n "$OBJDUMP"; then
5770 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5779 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 OBJDUMP
=$ac_cv_prog_OBJDUMP
5790 if test -n "$OBJDUMP"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5792 $as_echo "$OBJDUMP" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if test -z "$ac_cv_prog_OBJDUMP"; then
5801 ac_ct_OBJDUMP
=$OBJDUMP
5802 # Extract the first word of "objdump", so it can be a program name with args.
5803 set dummy objdump
; ac_word
=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5809 if test -n "$ac_ct_OBJDUMP"; then
5810 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir
=.
5817 for ac_exec_ext
in '' $ac_executable_extensions; do
5818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5830 if test -n "$ac_ct_OBJDUMP"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5832 $as_echo "$ac_ct_OBJDUMP" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5838 if test "x$ac_ct_OBJDUMP" = x
; then
5841 case $cross_compiling:$ac_tool_warned in
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5845 ac_tool_warned
=yes ;;
5847 OBJDUMP
=$ac_ct_OBJDUMP
5850 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5853 test -z "$OBJDUMP" && OBJDUMP
=objdump
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5864 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5865 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5866 $as_echo_n "(cached) " >&6
5868 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5869 lt_cv_file_magic_test_file
=
5870 lt_cv_deplibs_check_method
='unknown'
5871 # Need to set the preceding variable on all platforms that support
5872 # interlibrary dependencies.
5873 # 'none' -- dependencies not supported.
5874 # `unknown' -- same as none, but documents that we really don't know.
5875 # 'pass_all' -- all dependencies passed with no checks.
5876 # 'test_compile' -- check by making test program.
5877 # 'file_magic [[regex]]' -- check by looking for files in library path
5878 # which responds to the $file_magic_cmd with a given extended regex.
5879 # If you have `file' or equivalent on your system and you're not sure
5880 # whether `pass_all' will *always* work, you probably want this one.
5884 lt_cv_deplibs_check_method
=pass_all
5888 lt_cv_deplibs_check_method
=pass_all
5892 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5893 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5894 lt_cv_file_magic_test_file
=/shlib
/libc.so
5898 # func_win32_libid is a shell function defined in ltmain.sh
5899 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5900 lt_cv_file_magic_cmd
='func_win32_libid'
5904 # Base MSYS/MinGW do not provide the 'file' command needed by
5905 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5906 # unless we find 'file', for example because we are cross-compiling.
5907 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5908 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5909 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5910 lt_cv_file_magic_cmd
='func_win32_libid'
5912 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5913 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5918 # use the weaker test based on 'objdump'. See mingw*.
5919 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5920 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5923 darwin
* | rhapsody
*)
5924 lt_cv_deplibs_check_method
=pass_all
5927 freebsd
* | dragonfly
*)
5928 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5931 # Not sure whether the presence of OpenBSD here was a mistake.
5932 # Let's accept both of them until this is cleared up.
5933 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5934 lt_cv_file_magic_cmd
=/usr
/bin
/file
5935 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5939 lt_cv_deplibs_check_method
=pass_all
5944 lt_cv_deplibs_check_method
=pass_all
5948 lt_cv_deplibs_check_method
=pass_all
5951 hpux10.20
* | hpux11
*)
5952 lt_cv_file_magic_cmd
=/usr
/bin
/file
5955 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5959 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]'
5960 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5963 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5964 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5970 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5974 irix5
* | irix6
* | nonstopux
*)
5976 *-32|
*"-32 ") libmagic
=32-bit;;
5977 *-n32|
*"-n32 ") libmagic
=N32
;;
5978 *-64|
*"-64 ") libmagic
=64-bit;;
5979 *) libmagic
=never-match
;;
5981 lt_cv_deplibs_check_method
=pass_all
5984 # This must be Linux ELF.
5985 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5986 lt_cv_deplibs_check_method
=pass_all
5990 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5991 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5993 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5998 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999 lt_cv_file_magic_cmd
=/usr
/bin
/file
6000 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6004 lt_cv_deplibs_check_method
=pass_all
6008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6009 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6011 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6015 osf3
* | osf4
* | osf5
*)
6016 lt_cv_deplibs_check_method
=pass_all
6020 lt_cv_deplibs_check_method
=pass_all
6024 lt_cv_deplibs_check_method
=pass_all
6027 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6028 lt_cv_deplibs_check_method
=pass_all
6032 case $host_vendor in
6034 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]'
6035 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6038 lt_cv_deplibs_check_method
=pass_all
6041 lt_cv_file_magic_cmd
='/bin/file'
6042 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6045 lt_cv_file_magic_cmd
='/bin/file'
6046 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6047 lt_cv_file_magic_test_file
=/lib
/libc.so
6050 lt_cv_deplibs_check_method
=pass_all
6053 lt_cv_deplibs_check_method
=pass_all
6059 lt_cv_deplibs_check_method
=pass_all
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6065 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6066 file_magic_cmd
=$lt_cv_file_magic_cmd
6067 deplibs_check_method
=$lt_cv_deplibs_check_method
6068 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6083 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_AR+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$AR"; then
6090 ac_cv_prog_AR
="$AR" # Let the user override the test.
6092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir
=.
6097 for ac_exec_ext
in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 if test -n "$AR"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6112 $as_echo "$AR" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_AR"; then
6122 # Extract the first word of "ar", so it can be a program name with args.
6123 set dummy
ar; ac_word
=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$ac_ct_AR"; then
6130 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir
=.
6137 for ac_exec_ext
in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_AR
="ar"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6150 if test -n "$ac_ct_AR"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6152 $as_echo "$ac_ct_AR" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_AR" = x
; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned
=yes ;;
6173 test -z "$AR" && AR
=ar
6174 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6188 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if test "${ac_cv_prog_STRIP+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6194 if test -n "$STRIP"; then
6195 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir
=.
6202 for ac_exec_ext
in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 STRIP
=$ac_cv_prog_STRIP
6215 if test -n "$STRIP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6217 $as_echo "$STRIP" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6225 if test -z "$ac_cv_prog_STRIP"; then
6227 # Extract the first word of "strip", so it can be a program name with args.
6228 set dummy strip
; ac_word
=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6232 $as_echo_n "(cached) " >&6
6234 if test -n "$ac_ct_STRIP"; then
6235 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6241 test -z "$as_dir" && as_dir
=.
6242 for ac_exec_ext
in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_prog_ac_ct_STRIP
="strip"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6255 if test -n "$ac_ct_STRIP"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6257 $as_echo "$ac_ct_STRIP" >&6; }
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6263 if test "x$ac_ct_STRIP" = x
; then
6266 case $cross_compiling:$ac_tool_warned in
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned
=yes ;;
6275 STRIP
="$ac_cv_prog_STRIP"
6278 test -z "$STRIP" && STRIP
=:
6285 if test -n "$ac_tool_prefix"; then
6286 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6287 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6291 $as_echo_n "(cached) " >&6
6293 if test -n "$RANLIB"; then
6294 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir
=.
6301 for ac_exec_ext
in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 RANLIB
=$ac_cv_prog_RANLIB
6314 if test -n "$RANLIB"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6316 $as_echo "$RANLIB" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6324 if test -z "$ac_cv_prog_RANLIB"; then
6325 ac_ct_RANLIB
=$RANLIB
6326 # Extract the first word of "ranlib", so it can be a program name with args.
6327 set dummy ranlib
; ac_word
=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6331 $as_echo_n "(cached) " >&6
6333 if test -n "$ac_ct_RANLIB"; then
6334 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir
=.
6341 for ac_exec_ext
in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6354 if test -n "$ac_ct_RANLIB"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6356 $as_echo "$ac_ct_RANLIB" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6362 if test "x$ac_ct_RANLIB" = x
; then
6365 case $cross_compiling:$ac_tool_warned in
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 ac_tool_warned
=yes ;;
6371 RANLIB
=$ac_ct_RANLIB
6374 RANLIB
="$ac_cv_prog_RANLIB"
6377 test -z "$RANLIB" && RANLIB
=:
6384 # Determine commands to create old-style static archives.
6385 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6386 old_postinstall_cmds
='chmod 644 $oldlib'
6387 old_postuninstall_cmds
=
6389 if test -n "$RANLIB"; then
6392 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6395 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6398 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6403 lock_old_archive_extraction
=yes ;;
6405 lock_old_archive_extraction
=no
;;
6446 # If no C compiler was specified, use CC.
6449 # If no C compiler flags were specified, use CFLAGS.
6450 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6452 # Allow CC to be a program name with arguments.
6456 # Check for command to grab the raw symbol name followed by C symbol from nm.
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6458 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6459 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6463 # These are sane defaults that work on at least a few old systems.
6464 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6466 # Character class describing NM global symbol codes.
6467 symcode
='[BCDEGRST]'
6469 # Regexp to match symbols that can be accessed directly from C.
6470 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6472 # Define system-specific variables.
6477 cygwin
* | mingw
* | pw32
* | cegcc
*)
6478 symcode
='[ABCDGISTW]'
6481 if test "$host_cpu" = ia64
; then
6482 symcode
='[ABCDEGRST]'
6486 symcode
='[BCDEGRST]'
6489 symcode
='[BCDEGQRST]'
6500 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6508 # If we're using GNU nm, then use its standard symbol codes.
6509 case `$NM -V 2>&1` in
6510 *GNU
* |
*'with BFD'*)
6511 symcode
='[ABCDGIRSTW]' ;;
6514 # Transform an extracted symbol line into a proper C declaration.
6515 # Some systems (esp. on ia64) link data and code symbols differently,
6516 # so use this general approach.
6517 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6519 # Transform an extracted symbol line into symbol name and symbol address
6520 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6521 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'"
6523 # Handle CRLF in mingw tool chain
6527 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6531 # Try without a prefix underscore, then with it.
6532 for ac_symprfx
in "" "_"; do
6534 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6535 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6537 # Write the raw and C identifiers.
6538 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6539 # Fake it for dumpbin and say T for any non-static function
6540 # and D for any global variable.
6541 # Also find C++ and __fastcall symbols from MSVC++,
6542 # which start with @ or ?.
6543 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6544 " {last_section=section; section=\$ 3};"\
6545 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6546 " \$ 0!~/External *\|/{next};"\
6547 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6548 " {if(hide[section]) next};"\
6549 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6550 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6551 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6552 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6553 " ' prfx=^$ac_symprfx"
6555 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6558 # Check to see that the pipe works correctly.
6562 cat > conftest.
$ac_ext <<_LT_EOF
6567 void nm_test_func(void);
6568 void nm_test_func(void){}
6572 int main(){nm_test_var='a';nm_test_func();return(0);}
6575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6576 (eval $ac_compile) 2>&5
6578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6579 test $ac_status = 0; }; then
6580 # Now try to grab the symbols.
6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6583 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586 test $ac_status = 0; } && test -s "$nlist"; then
6587 # Try sorting and uniquifying the output.
6588 if sort "$nlist" |
uniq > "$nlist"T
; then
6589 mv -f "$nlist"T
"$nlist"
6594 # Make sure that we snagged all the symbols we need.
6595 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6596 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6597 cat <<_LT_EOF > conftest.$ac_ext
6603 # Now generate the symbol file.
6604 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6606 cat <<_LT_EOF >> conftest.$ac_ext
6608 /* The mapping between symbol names and symbols. */
6613 lt__PROGRAM__LTX_preloaded_symbols[] =
6615 { "@PROGRAM@", (void *) 0 },
6617 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6618 cat <<\_LT_EOF
>> conftest.
$ac_ext
6622 /* This works around a problem
in FreeBSD linker
*/
6623 #ifdef FREEBSD_WORKAROUND
6624 static const void
*lt_preloaded_setup
() {
6625 return lt__PROGRAM__LTX_preloaded_symbols
;
6633 # Now try linking the two files.
6634 mv conftest.
$ac_objext conftstm.
$ac_objext
6635 lt_save_LIBS
="$LIBS"
6636 lt_save_CFLAGS
="$CFLAGS"
6637 LIBS
="conftstm.$ac_objext"
6638 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6640 (eval $ac_link) 2>&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6646 LIBS
="$lt_save_LIBS"
6647 CFLAGS
="$lt_save_CFLAGS"
6649 echo "cannot find nm_test_func in $nlist" >&5
6652 echo "cannot find nm_test_var in $nlist" >&5
6655 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6658 echo "$progname: failed program was:" >&5
6659 cat conftest.
$ac_ext >&5
6661 rm -rf conftest
* conftst
*
6663 # Do not use the global_symbol_pipe unless it works.
6664 if test "$pipe_works" = yes; then
6667 lt_cv_sys_global_symbol_pipe
=
6673 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6674 lt_cv_sys_global_symbol_to_cdecl
=
6676 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6678 $as_echo "failed" >&6; }
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6681 $as_echo "ok" >&6; }
6706 # Check whether --enable-libtool-lock was given.
6707 if test "${enable_libtool_lock+set}" = set; then :
6708 enableval
=$enable_libtool_lock;
6711 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6713 # Some flags need to be propagated to the compiler or linker for good
6717 # Find out which ABI we are using.
6718 echo 'int i;' > conftest.
$ac_ext
6719 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6720 (eval $ac_compile) 2>&5
6722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723 test $ac_status = 0; }; then
6724 case `/usr/bin/file conftest.$ac_objext` in
6736 # Find out which ABI we are using.
6737 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6739 (eval $ac_compile) 2>&5
6741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6742 test $ac_status = 0; }; then
6743 if test "$lt_cv_prog_gnu_ld" = yes; then
6744 case `/usr/bin/file conftest.$ac_objext` in
6746 LD
="${LD-ld} -melf32bsmip"
6749 LD
="${LD-ld} -melf32bmipn32"
6752 LD
="${LD-ld} -melf64bmip"
6756 case `/usr/bin/file conftest.$ac_objext` in
6772 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6773 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6774 # Find out which ABI we are using.
6775 echo 'int i;' > conftest.
$ac_ext
6776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6777 (eval $ac_compile) 2>&5
6779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6780 test $ac_status = 0; }; then
6781 case `/usr/bin/file conftest.o` in
6784 x86_64-
*kfreebsd
*-gnu)
6785 LD
="${LD-ld} -m elf_i386_fbsd"
6788 case `/usr/bin/file conftest.o` in
6790 LD
="${LD-ld} -m elf32_x86_64"
6793 LD
="${LD-ld} -m elf_i386"
6797 ppc64-
*linux
*|powerpc64-
*linux
*)
6798 LD
="${LD-ld} -m elf32ppclinux"
6801 LD
="${LD-ld} -m elf_s390"
6804 LD
="${LD-ld} -m elf32_sparc"
6810 x86_64-
*kfreebsd
*-gnu)
6811 LD
="${LD-ld} -m elf_x86_64_fbsd"
6814 LD
="${LD-ld} -m elf_x86_64"
6816 ppc
*-*linux
*|powerpc
*-*linux
*)
6817 LD
="${LD-ld} -m elf64ppc"
6819 s390
*-*linux
*|s390
*-*tpf
*)
6820 LD
="${LD-ld} -m elf64_s390"
6823 LD
="${LD-ld} -m elf64_sparc"
6833 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6834 SAVE_CFLAGS
="$CFLAGS"
6835 CFLAGS
="$CFLAGS -belf"
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6837 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6838 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6839 $as_echo_n "(cached) " >&6
6842 ac_cpp
='$CPP $CPPFLAGS'
6843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6858 if ac_fn_c_try_link
"$LINENO"; then :
6859 lt_cv_cc_needs_belf
=yes
6861 lt_cv_cc_needs_belf
=no
6863 rm -f core conftest.err conftest.
$ac_objext \
6864 conftest
$ac_exeext conftest.
$ac_ext
6866 ac_cpp
='$CPP $CPPFLAGS'
6867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6873 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6874 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6875 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6876 CFLAGS
="$SAVE_CFLAGS"
6880 # Find out which ABI we are using.
6881 echo 'int i;' > conftest.
$ac_ext
6882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6883 (eval $ac_compile) 2>&5
6885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886 test $ac_status = 0; }; then
6887 case `/usr/bin/file conftest.o` in
6889 case $lt_cv_prog_gnu_ld in
6890 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6892 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6904 need_locks
="$enable_libtool_lock"
6908 rhapsody
* | darwin
*)
6909 if test -n "$ac_tool_prefix"; then
6910 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6911 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 $as_echo_n "checking for $ac_word... " >&6; }
6914 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6915 $as_echo_n "(cached) " >&6
6917 if test -n "$DSYMUTIL"; then
6918 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir
=.
6925 for ac_exec_ext
in '' $ac_executable_extensions; do
6926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6938 if test -n "$DSYMUTIL"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6940 $as_echo "$DSYMUTIL" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6948 if test -z "$ac_cv_prog_DSYMUTIL"; then
6949 ac_ct_DSYMUTIL
=$DSYMUTIL
6950 # Extract the first word of "dsymutil", so it can be a program name with args.
6951 set dummy dsymutil
; ac_word
=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 $as_echo_n "checking for $ac_word... " >&6; }
6954 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6955 $as_echo_n "(cached) " >&6
6957 if test -n "$ac_ct_DSYMUTIL"; then
6958 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir
=.
6965 for ac_exec_ext
in '' $ac_executable_extensions; do
6966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6967 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6978 if test -n "$ac_ct_DSYMUTIL"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6980 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6986 if test "x$ac_ct_DSYMUTIL" = x
; then
6989 case $cross_compiling:$ac_tool_warned in
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6993 ac_tool_warned
=yes ;;
6995 DSYMUTIL
=$ac_ct_DSYMUTIL
6998 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7003 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7007 $as_echo_n "(cached) " >&6
7009 if test -n "$NMEDIT"; then
7010 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 NMEDIT
=$ac_cv_prog_NMEDIT
7030 if test -n "$NMEDIT"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7032 $as_echo "$NMEDIT" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7040 if test -z "$ac_cv_prog_NMEDIT"; then
7041 ac_ct_NMEDIT
=$NMEDIT
7042 # Extract the first word of "nmedit", so it can be a program name with args.
7043 set dummy nmedit
; ac_word
=$2
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045 $as_echo_n "checking for $ac_word... " >&6; }
7046 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7047 $as_echo_n "(cached) " >&6
7049 if test -n "$ac_ct_NMEDIT"; then
7050 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir
=.
7057 for ac_exec_ext
in '' $ac_executable_extensions; do
7058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7070 if test -n "$ac_ct_NMEDIT"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7072 $as_echo "$ac_ct_NMEDIT" >&6; }
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 $as_echo "no" >&6; }
7078 if test "x$ac_ct_NMEDIT" = x
; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085 ac_tool_warned
=yes ;;
7087 NMEDIT
=$ac_ct_NMEDIT
7090 NMEDIT
="$ac_cv_prog_NMEDIT"
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7095 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_LIPO+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$LIPO"; then
7102 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir
=.
7109 for ac_exec_ext
in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 LIPO
=$ac_cv_prog_LIPO
7122 if test -n "$LIPO"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7124 $as_echo "$LIPO" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7132 if test -z "$ac_cv_prog_LIPO"; then
7134 # Extract the first word of "lipo", so it can be a program name with args.
7135 set dummy lipo
; ac_word
=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$ac_ct_LIPO"; then
7142 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_prog_ac_ct_LIPO
="lipo"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7162 if test -n "$ac_ct_LIPO"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7164 $as_echo "$ac_ct_LIPO" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7170 if test "x$ac_ct_LIPO" = x
; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned
=yes ;;
7182 LIPO
="$ac_cv_prog_LIPO"
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7187 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$OTOOL"; then
7194 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 OTOOL
=$ac_cv_prog_OTOOL
7214 if test -n "$OTOOL"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7216 $as_echo "$OTOOL" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7224 if test -z "$ac_cv_prog_OTOOL"; then
7226 # Extract the first word of "otool", so it can be a program name with args.
7227 set dummy otool
; ac_word
=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7231 $as_echo_n "(cached) " >&6
7233 if test -n "$ac_ct_OTOOL"; then
7234 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir
=.
7241 for ac_exec_ext
in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_ac_ct_OTOOL
="otool"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7254 if test -n "$ac_ct_OTOOL"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7256 $as_echo "$ac_ct_OTOOL" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7262 if test "x$ac_ct_OTOOL" = x
; then
7265 case $cross_compiling:$ac_tool_warned in
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269 ac_tool_warned
=yes ;;
7274 OTOOL
="$ac_cv_prog_OTOOL"
7277 if test -n "$ac_tool_prefix"; then
7278 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7279 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7283 $as_echo_n "(cached) " >&6
7285 if test -n "$OTOOL64"; then
7286 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir
=.
7293 for ac_exec_ext
in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 OTOOL64
=$ac_cv_prog_OTOOL64
7306 if test -n "$OTOOL64"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7308 $as_echo "$OTOOL64" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7316 if test -z "$ac_cv_prog_OTOOL64"; then
7317 ac_ct_OTOOL64
=$OTOOL64
7318 # Extract the first word of "otool64", so it can be a program name with args.
7319 set dummy otool64
; ac_word
=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$ac_ct_OTOOL64"; then
7326 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir
=.
7333 for ac_exec_ext
in '' $ac_executable_extensions; do
7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7346 if test -n "$ac_ct_OTOOL64"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7348 $as_echo "$ac_ct_OTOOL64" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7354 if test "x$ac_ct_OTOOL64" = x
; then
7357 case $cross_compiling:$ac_tool_warned in
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7361 ac_tool_warned
=yes ;;
7363 OTOOL64
=$ac_ct_OTOOL64
7366 OTOOL64
="$ac_cv_prog_OTOOL64"
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7396 $as_echo_n "checking for -single_module linker flag... " >&6; }
7397 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7398 $as_echo_n "(cached) " >&6
7400 lt_cv_apple_cc_single_mod
=no
7401 if test -z "${LT_MULTI_MODULE}"; then
7402 # By default we will add the -single_module flag. You can override
7403 # by either setting the environment variable LT_MULTI_MODULE
7404 # non-empty at configure time, or by adding -multi_module to the
7406 rm -rf libconftest.dylib
*
7407 echo "int foo(void){return 1;}" > conftest.c
7408 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7409 -dynamiclib -Wl,-single_module conftest.c" >&5
7410 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7411 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7413 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7414 lt_cv_apple_cc_single_mod
=yes
7416 cat conftest.err
>&5
7418 rm -rf libconftest.dylib
*
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7423 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7425 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7426 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7427 $as_echo_n "(cached) " >&6
7429 lt_cv_ld_exported_symbols_list
=no
7430 save_LDFLAGS
=$LDFLAGS
7431 echo "_main" > conftest.sym
7432 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7444 if ac_fn_c_try_link
"$LINENO"; then :
7445 lt_cv_ld_exported_symbols_list
=yes
7447 lt_cv_ld_exported_symbols_list
=no
7449 rm -f core conftest.err conftest.
$ac_objext \
7450 conftest
$ac_exeext conftest.
$ac_ext
7451 LDFLAGS
="$save_LDFLAGS"
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7455 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7457 $as_echo_n "checking for -force_load linker flag... " >&6; }
7458 if test "${lt_cv_ld_force_load+set}" = set; then :
7459 $as_echo_n "(cached) " >&6
7461 lt_cv_ld_force_load
=no
7462 cat > conftest.c
<< _LT_EOF
7463 int forced_loaded() { return 2;}
7465 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7466 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7467 echo "$AR cru libconftest.a conftest.o" >&5
7468 $AR cru libconftest.a conftest.o
2>&5
7469 cat > conftest.c
<< _LT_EOF
7470 int main() { return 0;}
7472 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7473 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7475 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7476 lt_cv_ld_force_load
=yes
7478 cat conftest.err
>&5
7480 rm -f conftest.err libconftest.a conftest conftest.c
7481 rm -rf conftest.dSYM
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7485 $as_echo "$lt_cv_ld_force_load" >&6; }
7487 rhapsody
* | darwin1.
[012])
7488 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7490 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7491 darwin
*) # darwin 5.x on
7492 # if running on 10.5 or later, the deployment target defaults
7493 # to the OS version, if on x86, and 10.4, the deployment
7494 # target defaults to 10.4. Don't you love it?
7495 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7496 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7497 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7499 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7501 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7505 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7506 _lt_dar_single_mod
='$single_module'
7508 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7509 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7511 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7513 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7514 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7522 ac_cpp
='$CPP $CPPFLAGS'
7523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7527 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7528 # On Suns, sometimes $CPP names a directory.
7529 if test -n "$CPP" && test -d "$CPP"; then
7532 if test -z "$CPP"; then
7533 if test "${ac_cv_prog_CPP+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7536 # Double quotes because CPP needs to be expanded
7537 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7540 for ac_c_preproc_warn_flag
in '' yes
7542 # Use a header file that comes with gcc, so configuring glibc
7543 # with a fresh cross-compiler works.
7544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7545 # <limits.h> exists even on freestanding compilers.
7546 # On the NeXT, cc -E runs the code through the compiler's parser,
7547 # not just through cpp. "Syntax error" is here to catch this case.
7548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7551 # include <limits.h>
7553 # include <assert.h>
7557 if ac_fn_c_try_cpp
"$LINENO"; then :
7560 # Broken: fails on valid input.
7563 rm -f conftest.err conftest.
$ac_ext
7565 # OK, works on sane cases. Now check whether nonexistent headers
7566 # can be detected and how.
7567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7569 #include <ac_nonexistent.h>
7571 if ac_fn_c_try_cpp
"$LINENO"; then :
7572 # Broken: success on invalid input.
7575 # Passes both tests.
7579 rm -f conftest.err conftest.
$ac_ext
7582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7583 rm -f conftest.err conftest.
$ac_ext
7584 if $ac_preproc_ok; then :
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7597 $as_echo "$CPP" >&6; }
7599 for ac_c_preproc_warn_flag
in '' yes
7601 # Use a header file that comes with gcc, so configuring glibc
7602 # with a fresh cross-compiler works.
7603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604 # <limits.h> exists even on freestanding compilers.
7605 # On the NeXT, cc -E runs the code through the compiler's parser,
7606 # not just through cpp. "Syntax error" is here to catch this case.
7607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7610 # include <limits.h>
7612 # include <assert.h>
7616 if ac_fn_c_try_cpp
"$LINENO"; then :
7619 # Broken: fails on valid input.
7622 rm -f conftest.err conftest.
$ac_ext
7624 # OK, works on sane cases. Now check whether nonexistent headers
7625 # can be detected and how.
7626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7628 #include <ac_nonexistent.h>
7630 if ac_fn_c_try_cpp
"$LINENO"; then :
7631 # Broken: success on invalid input.
7634 # Passes both tests.
7638 rm -f conftest.err conftest.
$ac_ext
7641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7642 rm -f conftest.err conftest.
$ac_ext
7643 if $ac_preproc_ok; then :
7646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7648 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7649 See \`config.log' for more details." "$LINENO" 5; }
7653 ac_cpp
='$CPP $CPPFLAGS'
7654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7660 $as_echo_n "checking for ANSI C header files... " >&6; }
7661 if test "${ac_cv_header_stdc+set}" = set; then :
7662 $as_echo_n "(cached) " >&6
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7679 if ac_fn_c_try_compile
"$LINENO"; then :
7680 ac_cv_header_stdc
=yes
7682 ac_cv_header_stdc
=no
7684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7686 if test $ac_cv_header_stdc = yes; then
7687 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7694 $EGREP "memchr" >/dev
/null
2>&1; then :
7697 ac_cv_header_stdc
=no
7703 if test $ac_cv_header_stdc = yes; then
7704 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7711 $EGREP "free" >/dev
/null
2>&1; then :
7714 ac_cv_header_stdc
=no
7720 if test $ac_cv_header_stdc = yes; then
7721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7722 if test "$cross_compiling" = yes; then :
7725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7729 #if ((' ' & 0x0FF) == 0x020)
7730 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7731 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7733 # define ISLOWER(c) \
7734 (('a' <= (c) && (c) <= 'i') \
7735 || ('j' <= (c) && (c) <= 'r') \
7736 || ('s' <= (c) && (c) <= 'z'))
7737 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7740 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7745 for (i = 0; i < 256; i++)
7746 if (XOR (islower (i), ISLOWER (i))
7747 || toupper (i) != TOUPPER (i))
7752 if ac_fn_c_try_run
"$LINENO"; then :
7755 ac_cv_header_stdc
=no
7757 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7758 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7764 $as_echo "$ac_cv_header_stdc" >&6; }
7765 if test $ac_cv_header_stdc = yes; then
7767 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7772 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7773 inttypes.h stdint.h unistd.h
7775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7778 eval as_val
=\$
$as_ac_Header
7779 if test "x$as_val" = x
""yes; then :
7780 cat >>confdefs.h
<<_ACEOF
7781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7789 for ac_header
in dlfcn.h
7791 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7793 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7794 cat >>confdefs.h
<<_ACEOF
7795 #define HAVE_DLFCN_H 1
7815 # Check whether --enable-shared was given.
7816 if test "${enable_shared+set}" = set; then :
7817 enableval
=$enable_shared; p
=${PACKAGE-default}
7819 yes) enable_shared
=yes ;;
7820 no
) enable_shared
=no
;;
7823 # Look at the argument we got. We use all the common list separators.
7824 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7825 for pkg
in $enableval; do
7827 if test "X$pkg" = "X$p"; then
7846 # Check whether --enable-static was given.
7847 if test "${enable_static+set}" = set; then :
7848 enableval
=$enable_static; p
=${PACKAGE-default}
7850 yes) enable_static
=yes ;;
7851 no
) enable_static
=no
;;
7854 # Look at the argument we got. We use all the common list separators.
7855 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7856 for pkg
in $enableval; do
7858 if test "X$pkg" = "X$p"; then
7878 # Check whether --with-pic was given.
7879 if test "${with_pic+set}" = set; then :
7880 withval
=$with_pic; pic_mode
="$withval"
7886 test -z "$pic_mode" && pic_mode
=default
7894 # Check whether --enable-fast-install was given.
7895 if test "${enable_fast_install+set}" = set; then :
7896 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7898 yes) enable_fast_install
=yes ;;
7899 no
) enable_fast_install
=no
;;
7901 enable_fast_install
=no
7902 # Look at the argument we got. We use all the common list separators.
7903 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7904 for pkg
in $enableval; do
7906 if test "X$pkg" = "X$p"; then
7907 enable_fast_install
=yes
7914 enable_fast_install
=yes
7927 # This can be used to rebuild libtool when needed
7928 LIBTOOL_DEPS
="$ltmain"
7930 # Always use our own libtool.
7931 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7958 test -z "$LN_S" && LN_S
="ln -s"
7973 if test -n "${ZSH_VERSION+set}" ; then
7974 setopt NO_GLOB_SUBST
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7978 $as_echo_n "checking for objdir... " >&6; }
7979 if test "${lt_cv_objdir+set}" = set; then :
7980 $as_echo_n "(cached) " >&6
7982 rm -f .libs
2>/dev
/null
7983 mkdir .libs
2>/dev
/null
7984 if test -d .libs
; then
7987 # MS-DOS does not allow filenames that begin with a dot.
7990 rmdir .libs
2>/dev
/null
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7993 $as_echo "$lt_cv_objdir" >&6; }
7994 objdir
=$lt_cv_objdir
8000 cat >>confdefs.h
<<_ACEOF
8001 #define LT_OBJDIR "$lt_cv_objdir/"
8009 # AIX sometimes has problems with the GCC collect2 program. For some
8010 # reason, if we set the COLLECT_NAMES environment variable, the problems
8011 # vanish in a puff of smoke.
8012 if test "X${COLLECT_NAMES+set}" != Xset
; then
8014 export COLLECT_NAMES
8021 can_build_shared
=yes
8023 # All known linkers require a `.a' archive for static linking (except MSVC,
8024 # which needs '.lib').
8027 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8030 old_CFLAGS
="$CFLAGS"
8032 # Set sane defaults for various variables
8033 test -z "$CC" && CC
=cc
8034 test -z "$LTCC" && LTCC
=$CC
8035 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8036 test -z "$LD" && LD
=ld
8037 test -z "$ac_objext" && ac_objext
=o
8039 for cc_temp
in $compiler""; do
8041 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8042 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8047 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8050 # Only perform the check for file, if the check method requires it
8051 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8052 case $deplibs_check_method in
8054 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8056 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8057 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8058 $as_echo_n "(cached) " >&6
8062 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8065 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8066 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8067 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8068 for ac_dir
in $ac_dummy; do
8070 test -z "$ac_dir" && ac_dir
=.
8071 if test -f $ac_dir/${ac_tool_prefix}file; then
8072 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8073 if test -n "$file_magic_test_file"; then
8074 case $deplibs_check_method in
8076 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8077 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8078 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8079 $EGREP "$file_magic_regex" > /dev
/null
; then
8084 *** Warning: the command libtool uses to detect shared libraries,
8085 *** $file_magic_cmd, produces output that libtool cannot recognize.
8086 *** The result is that libtool may fail to recognize shared libraries
8087 *** as such. This will affect the creation of libtool libraries that
8088 *** depend on shared libraries, but programs linked with such libtool
8089 *** libraries will work regardless of this problem. Nevertheless, you
8090 *** may want to report the problem to your system manager and/or to
8091 *** bug-libtool@gnu.org
8101 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8106 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8107 if test -n "$MAGIC_CMD"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8109 $as_echo "$MAGIC_CMD" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8119 if test -z "$lt_cv_path_MAGIC_CMD"; then
8120 if test -n "$ac_tool_prefix"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8122 $as_echo_n "checking for file... " >&6; }
8123 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8128 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8131 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8132 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8133 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8134 for ac_dir
in $ac_dummy; do
8136 test -z "$ac_dir" && ac_dir
=.
8137 if test -f $ac_dir/file; then
8138 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8139 if test -n "$file_magic_test_file"; then
8140 case $deplibs_check_method in
8142 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8143 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8144 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8145 $EGREP "$file_magic_regex" > /dev
/null
; then
8150 *** Warning: the command libtool uses to detect shared libraries,
8151 *** $file_magic_cmd, produces output that libtool cannot recognize.
8152 *** The result is that libtool may fail to recognize shared libraries
8153 *** as such. This will affect the creation of libtool libraries that
8154 *** depend on shared libraries, but programs linked with such libtool
8155 *** libraries will work regardless of this problem. Nevertheless, you
8156 *** may want to report the problem to your system manager and/or to
8157 *** bug-libtool@gnu.org
8167 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8172 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8173 if test -n "$MAGIC_CMD"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8175 $as_echo "$MAGIC_CMD" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8191 # Use C for the default configuration in the libtool script
8195 ac_cpp
='$CPP $CPPFLAGS'
8196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8201 # Source file extension for C test sources.
8204 # Object file extension for compiled C test sources.
8208 # Code to be used in simple compile tests
8209 lt_simple_compile_test_code
="int some_variable = 0;"
8211 # Code to be used in simple link tests
8212 lt_simple_link_test_code
='int main(){return(0);}'
8220 # If no C compiler was specified, use CC.
8223 # If no C compiler flags were specified, use CFLAGS.
8224 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8226 # Allow CC to be a program name with arguments.
8229 # Save the default compiler, since it gets overwritten when the other
8230 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8231 compiler_DEFAULT
=$CC
8233 # save warnings/boilerplate of simple test code
8234 ac_outfile
=conftest.
$ac_objext
8235 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8236 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8237 _lt_compiler_boilerplate
=`cat conftest.err`
8240 ac_outfile
=conftest.
$ac_objext
8241 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8242 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8243 _lt_linker_boilerplate
=`cat conftest.err`
8248 ## There is no encapsulation within the following macros, do not change
8249 ## the running order or otherwise move them around unless you know exactly
8250 ## what you are doing...
8251 if test -n "$compiler"; then
8253 lt_prog_compiler_no_builtin_flag
=
8255 if test "$GCC" = yes; then
8256 case $cc_basename in
8258 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8260 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8264 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8265 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8266 $as_echo_n "(cached) " >&6
8268 lt_cv_prog_compiler_rtti_exceptions
=no
8269 ac_outfile
=conftest.
$ac_objext
8270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8271 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8272 # Insert the option either (1) after the last *FLAGS variable, or
8273 # (2) before a word containing "conftest.", or (3) at the end.
8274 # Note that $ac_compile itself does not contain backslashes and begins
8275 # with a dollar sign (not a hyphen), so the echo should work correctly.
8276 # The option is referenced via a variable to avoid confusing sed.
8277 lt_compile
=`echo "$ac_compile" | $SED \
8278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8280 -e 's:$: $lt_compiler_flag:'`
8281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8282 (eval "$lt_compile" 2>conftest.err
)
8284 cat conftest.err
>&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 if (exit $ac_status) && test -s "$ac_outfile"; then
8287 # The compiler can only warn and ignore the option if not recognized
8288 # So say no if there are warnings other than the usual output.
8289 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8290 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8291 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8292 lt_cv_prog_compiler_rtti_exceptions
=yes
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8299 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8301 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8302 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8314 lt_prog_compiler_wl
=
8315 lt_prog_compiler_pic
=
8316 lt_prog_compiler_static
=
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8319 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8321 if test "$GCC" = yes; then
8322 lt_prog_compiler_wl
='-Wl,'
8323 lt_prog_compiler_static
='-static'
8327 # All AIX code is PIC.
8328 if test "$host_cpu" = ia64
; then
8329 # AIX 5 now supports IA64 processor
8330 lt_prog_compiler_static
='-Bstatic'
8332 lt_prog_compiler_pic
='-fPIC'
8338 # see comment about AmigaOS4 .so support
8339 lt_prog_compiler_pic
='-fPIC'
8342 # FIXME: we need at least 68020 code to build shared libraries, but
8343 # adding the `-m68020' flag to GCC prevents building anything better,
8345 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8350 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8351 # PIC is the default for these OSes.
8354 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8355 # This hack is so that the source file can tell whether it is being
8356 # built for inclusion in a dll (and should export symbols for example).
8357 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8358 # (--disable-auto-import) libraries
8359 lt_prog_compiler_pic
='-DDLL_EXPORT'
8362 darwin
* | rhapsody
*)
8363 # PIC is the default on this platform
8364 # Common symbols not allowed in MH_DYLIB files
8365 lt_prog_compiler_pic
='-fno-common'
8369 # PIC is the default for Haiku.
8370 # The "-static" flag exists, but is broken.
8371 lt_prog_compiler_static
=
8375 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8376 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8377 # sets the default TLS model and affects inlining.
8383 lt_prog_compiler_pic
='-fPIC'
8389 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8390 # Instead, we relocate shared libraries at runtime.
8394 # Just because we use GCC doesn't mean we suddenly get shared libraries
8395 # on systems that don't support them.
8396 lt_prog_compiler_can_build_shared
=no
8401 # QNX uses GNU C++, but need to define -shared option too, otherwise
8403 lt_prog_compiler_pic
='-fPIC -shared'
8407 if test -d /usr
/nec
; then
8408 lt_prog_compiler_pic
=-Kconform_pic
8413 lt_prog_compiler_pic
='-fPIC'
8417 case $cc_basename in
8418 nvcc
*) # Cuda Compiler Driver 2.2
8419 lt_prog_compiler_wl
='-Xlinker '
8420 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8424 # PORTME Check for flag to pass linker flags through the system compiler.
8427 lt_prog_compiler_wl
='-Wl,'
8428 if test "$host_cpu" = ia64
; then
8429 # AIX 5 now supports IA64 processor
8430 lt_prog_compiler_static
='-Bstatic'
8432 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8436 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8437 # This hack is so that the source file can tell whether it is being
8438 # built for inclusion in a dll (and should export symbols for example).
8439 lt_prog_compiler_pic
='-DDLL_EXPORT'
8442 hpux9
* | hpux10
* | hpux11
*)
8443 lt_prog_compiler_wl
='-Wl,'
8444 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8451 lt_prog_compiler_pic
='+Z'
8454 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8455 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8458 irix5
* | irix6
* | nonstopux
*)
8459 lt_prog_compiler_wl
='-Wl,'
8460 # PIC (with -KPIC) is the default.
8461 lt_prog_compiler_static
='-non_shared'
8464 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8465 case $cc_basename in
8466 # old Intel for x86_64 which still supported -KPIC.
8468 lt_prog_compiler_wl
='-Wl,'
8469 lt_prog_compiler_pic
='-KPIC'
8470 lt_prog_compiler_static
='-static'
8472 # icc used to be incompatible with GCC.
8473 # ICC 10 doesn't accept -KPIC any more.
8475 lt_prog_compiler_wl
='-Wl,'
8476 lt_prog_compiler_pic
='-fPIC'
8477 lt_prog_compiler_static
='-static'
8479 # Lahey Fortran 8.1.
8481 lt_prog_compiler_wl
='-Wl,'
8482 lt_prog_compiler_pic
='--shared'
8483 lt_prog_compiler_static
='--static'
8485 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8486 # Portland Group compilers (*not* the Pentium gcc compiler,
8487 # which looks to be a dead project)
8488 lt_prog_compiler_wl
='-Wl,'
8489 lt_prog_compiler_pic
='-fpic'
8490 lt_prog_compiler_static
='-Bstatic'
8493 lt_prog_compiler_wl
='-Wl,'
8494 # All Alpha code is PIC.
8495 lt_prog_compiler_static
='-non_shared'
8497 xl
* | bgxl
* | bgf
* | mpixl
*)
8498 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8499 lt_prog_compiler_wl
='-Wl,'
8500 lt_prog_compiler_pic
='-qpic'
8501 lt_prog_compiler_static
='-qstaticlink'
8504 case `$CC -V 2>&1 | sed 5q` in
8505 *Sun\ F
* |
*Sun
*Fortran
*)
8506 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8507 lt_prog_compiler_pic
='-KPIC'
8508 lt_prog_compiler_static
='-Bstatic'
8509 lt_prog_compiler_wl
=''
8513 lt_prog_compiler_pic
='-KPIC'
8514 lt_prog_compiler_static
='-Bstatic'
8515 lt_prog_compiler_wl
='-Wl,'
8523 lt_prog_compiler_pic
='-KPIC'
8524 lt_prog_compiler_static
='-Bstatic'
8528 # QNX uses GNU C++, but need to define -shared option too, otherwise
8530 lt_prog_compiler_pic
='-fPIC -shared'
8533 osf3
* | osf4
* | osf5
*)
8534 lt_prog_compiler_wl
='-Wl,'
8535 # All OSF/1 code is PIC.
8536 lt_prog_compiler_static
='-non_shared'
8540 lt_prog_compiler_static
='-non_shared'
8544 lt_prog_compiler_pic
='-KPIC'
8545 lt_prog_compiler_static
='-Bstatic'
8546 case $cc_basename in
8548 lt_prog_compiler_wl
='-Qoption ld ';;
8550 lt_prog_compiler_wl
='-Wl,';;
8555 lt_prog_compiler_wl
='-Qoption ld '
8556 lt_prog_compiler_pic
='-PIC'
8557 lt_prog_compiler_static
='-Bstatic'
8560 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8561 lt_prog_compiler_wl
='-Wl,'
8562 lt_prog_compiler_pic
='-KPIC'
8563 lt_prog_compiler_static
='-Bstatic'
8567 if test -d /usr
/nec
;then
8568 lt_prog_compiler_pic
='-Kconform_pic'
8569 lt_prog_compiler_static
='-Bstatic'
8573 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8574 lt_prog_compiler_wl
='-Wl,'
8575 lt_prog_compiler_pic
='-KPIC'
8576 lt_prog_compiler_static
='-Bstatic'
8580 lt_prog_compiler_wl
='-Wl,'
8581 lt_prog_compiler_can_build_shared
=no
8585 lt_prog_compiler_pic
='-pic'
8586 lt_prog_compiler_static
='-Bstatic'
8590 lt_prog_compiler_can_build_shared
=no
8596 # For platforms which do not support PIC, -DPIC is meaningless:
8598 lt_prog_compiler_pic
=
8601 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8605 $as_echo "$lt_prog_compiler_pic" >&6; }
8613 # Check to make sure the PIC flag actually works.
8615 if test -n "$lt_prog_compiler_pic"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8617 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8618 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8619 $as_echo_n "(cached) " >&6
8621 lt_cv_prog_compiler_pic_works
=no
8622 ac_outfile
=conftest.
$ac_objext
8623 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8624 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8625 # Insert the option either (1) after the last *FLAGS variable, or
8626 # (2) before a word containing "conftest.", or (3) at the end.
8627 # Note that $ac_compile itself does not contain backslashes and begins
8628 # with a dollar sign (not a hyphen), so the echo should work correctly.
8629 # The option is referenced via a variable to avoid confusing sed.
8630 lt_compile
=`echo "$ac_compile" | $SED \
8631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8633 -e 's:$: $lt_compiler_flag:'`
8634 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8635 (eval "$lt_compile" 2>conftest.err
)
8637 cat conftest.err
>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 if (exit $ac_status) && test -s "$ac_outfile"; then
8640 # The compiler can only warn and ignore the option if not recognized
8641 # So say no if there are warnings other than the usual output.
8642 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8643 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8644 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8645 lt_cv_prog_compiler_pic_works
=yes
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8652 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8654 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8655 case $lt_prog_compiler_pic in
8657 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8660 lt_prog_compiler_pic
=
8661 lt_prog_compiler_can_build_shared
=no
8672 # Check to make sure the static flag actually works.
8674 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8676 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8677 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8678 $as_echo_n "(cached) " >&6
8680 lt_cv_prog_compiler_static_works
=no
8681 save_LDFLAGS
="$LDFLAGS"
8682 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8683 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8684 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8685 # The linker can only warn and ignore the option if not recognized
8686 # So say no if there are warnings
8687 if test -s conftest.err
; then
8688 # Append any errors to the config.log.
8689 cat conftest.err
1>&5
8690 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8691 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8692 if diff conftest.exp conftest.er2
>/dev
/null
; then
8693 lt_cv_prog_compiler_static_works
=yes
8696 lt_cv_prog_compiler_static_works
=yes
8700 LDFLAGS
="$save_LDFLAGS"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8704 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8706 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8709 lt_prog_compiler_static
=
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8720 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8721 $as_echo_n "(cached) " >&6
8723 lt_cv_prog_compiler_c_o
=no
8724 $RM -r conftest
2>/dev
/null
8728 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8730 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8731 # Insert the option either (1) after the last *FLAGS variable, or
8732 # (2) before a word containing "conftest.", or (3) at the end.
8733 # Note that $ac_compile itself does not contain backslashes and begins
8734 # with a dollar sign (not a hyphen), so the echo should work correctly.
8735 lt_compile
=`echo "$ac_compile" | $SED \
8736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738 -e 's:$: $lt_compiler_flag:'`
8739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740 (eval "$lt_compile" 2>out
/conftest.err
)
8742 cat out
/conftest.err
>&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8746 # The compiler can only warn and ignore the option if not recognized
8747 # So say no if there are warnings
8748 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8749 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8750 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8751 lt_cv_prog_compiler_c_o
=yes
8756 # SGI C++ compiler will create directory out/ii_files/ for
8757 # template instantiation
8758 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8759 $RM out
/* && rmdir out
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8766 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8775 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8776 $as_echo_n "(cached) " >&6
8778 lt_cv_prog_compiler_c_o
=no
8779 $RM -r conftest
2>/dev
/null
8783 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8785 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8786 # Insert the option either (1) after the last *FLAGS variable, or
8787 # (2) before a word containing "conftest.", or (3) at the end.
8788 # Note that $ac_compile itself does not contain backslashes and begins
8789 # with a dollar sign (not a hyphen), so the echo should work correctly.
8790 lt_compile
=`echo "$ac_compile" | $SED \
8791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8793 -e 's:$: $lt_compiler_flag:'`
8794 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8795 (eval "$lt_compile" 2>out
/conftest.err
)
8797 cat out
/conftest.err
>&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8801 # The compiler can only warn and ignore the option if not recognized
8802 # So say no if there are warnings
8803 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8804 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8805 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8806 lt_cv_prog_compiler_c_o
=yes
8811 # SGI C++ compiler will create directory out/ii_files/ for
8812 # template instantiation
8813 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8814 $RM out
/* && rmdir out
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8826 hard_links
="nottested"
8827 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8828 # do not overwrite the value of need_locks provided by the user
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8830 $as_echo_n "checking if we can lock with hard links... " >&6; }
8833 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8835 ln conftest.a conftest.b
2>&5 || hard_links
=no
8836 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8838 $as_echo "$hard_links" >&6; }
8839 if test "$hard_links" = no
; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8841 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8857 allow_undefined_flag
=
8858 always_export_symbols
=no
8860 archive_expsym_cmds
=
8861 compiler_needs_object
=no
8862 enable_shared_with_static_runtimes
=no
8863 export_dynamic_flag_spec
=
8864 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8865 hardcode_automatic
=no
8867 hardcode_direct_absolute
=no
8868 hardcode_libdir_flag_spec
=
8869 hardcode_libdir_flag_spec_ld
=
8870 hardcode_libdir_separator
=
8872 hardcode_shlibpath_var
=unsupported
8874 link_all_deplibs
=unknown
8877 old_archive_from_new_cmds
=
8878 old_archive_from_expsyms_cmds
=
8879 thread_safe_flag_spec
=
8880 whole_archive_flag_spec
=
8881 # include_expsyms should be a list of space-separated symbols to be *always*
8882 # included in the symbol list
8884 # exclude_expsyms can be an extended regexp of symbols to exclude
8885 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8886 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8887 # as well as any symbol that contains `d'.
8888 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8889 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8890 # platforms (ab)use it in PIC code, but their linkers get confused if
8891 # the symbol is explicitly referenced. Since portable code cannot
8892 # rely on this symbol name, it's probably fine to never include it in
8893 # preloaded symbol tables.
8894 # Exclude shared library initialization/finalization symbols.
8895 extract_expsyms_cmds
=
8898 cygwin
* | mingw
* | pw32
* | cegcc
*)
8899 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8900 # When not using gcc, we currently assume that we are using
8901 # Microsoft Visual C++.
8902 if test "$GCC" != yes; then
8907 # we just hope/assume this is gcc and not c89 (= MSVC++)
8917 # On some targets, GNU ld is compatible enough with the native linker
8918 # that we're better off using the native interface for both.
8919 lt_use_gnu_ld_interface
=no
8920 if test "$with_gnu_ld" = yes; then
8923 # The AIX port of GNU ld has always aspired to compatibility
8924 # with the native linker. However, as the warning in the GNU ld
8925 # block says, versions before 2.19.5* couldn't really create working
8926 # shared libraries, regardless of the interface used.
8927 case `$LD -v 2>&1` in
8928 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8929 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8930 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8932 lt_use_gnu_ld_interface
=yes
8937 lt_use_gnu_ld_interface
=yes
8942 if test "$lt_use_gnu_ld_interface" = yes; then
8943 # If archive_cmds runs LD, not CC, wlarc should be empty
8946 # Set some defaults for GNU ld with shared library support. These
8947 # are reset later if shared libraries are not supported. Putting them
8948 # here allows them to be overridden if necessary.
8949 runpath_var
=LD_RUN_PATH
8950 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8951 export_dynamic_flag_spec
='${wl}--export-dynamic'
8952 # ancient GNU ld didn't support --whole-archive et. al.
8953 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8954 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8956 whole_archive_flag_spec
=
8958 supports_anon_versioning
=no
8959 case `$LD -v 2>&1` in
8960 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8961 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8962 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8963 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8964 *\
2.11.
*) ;; # other 2.11 versions
8965 *) supports_anon_versioning
=yes ;;
8968 # See if GNU ld supports shared libraries.
8971 # On AIX/PPC, the GNU linker is very broken
8972 if test "$host_cpu" != ia64
; then
8976 *** Warning: the GNU linker, at least up to release 2.19, is reported
8977 *** to be unable to reliably create shared libraries on AIX.
8978 *** Therefore, libtool is disabling shared libraries support. If you
8979 *** really care for shared libraries, you may want to install binutils
8980 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8981 *** You will then need to restart the configuration process.
8990 # see comment about AmigaOS4 .so support
8991 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8992 archive_expsym_cmds
=''
8995 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)'
8996 hardcode_libdir_flag_spec
='-L$libdir'
8997 hardcode_minus_L
=yes
9003 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9004 allow_undefined_flag
=unsupported
9005 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9006 # support --undefined. This deserves some investigation. FIXME
9007 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9013 cygwin
* | mingw
* | pw32
* | cegcc
*)
9014 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9015 # as there is no search path for DLLs.
9016 hardcode_libdir_flag_spec
='-L$libdir'
9017 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9018 allow_undefined_flag
=unsupported
9019 always_export_symbols
=no
9020 enable_shared_with_static_runtimes
=yes
9021 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9023 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9024 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9025 # If the export-symbols file already is a .def file (1st line
9026 # is EXPORTS), use it as is; otherwise, prepend...
9027 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9028 cp $export_symbols $output_objdir/$soname.def;
9030 echo EXPORTS > $output_objdir/$soname.def;
9031 cat $export_symbols >> $output_objdir/$soname.def;
9033 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 link_all_deplibs
=yes
9046 hardcode_shlibpath_var
=no
9047 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9048 export_dynamic_flag_spec
='${wl}-E'
9049 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9050 # Instead, shared libraries are loaded at an image base (0x10000000 by
9051 # default) and relocated if they conflict, which is a slow very memory
9052 # consuming and fragmenting process. To avoid this, we pick a random,
9053 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9054 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9055 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9056 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'
9059 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9061 if test "$host_os" = linux-dietlibc
; then
9062 case $cc_basename in
9063 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9066 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9067 && test "$tmp_diet" = no
9070 tmp_sharedflag
='-shared'
9071 case $cc_basename,$host_cpu in
9072 pgcc
*) # Portland Group C compiler
9073 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'
9074 tmp_addflag
=' $pic_flag'
9076 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9077 # Portland Group f77 and f90 compilers
9078 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'
9079 tmp_addflag
=' $pic_flag -Mnomain' ;;
9080 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9081 tmp_addflag
=' -i_dynamic' ;;
9082 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9083 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9084 ifc
* | ifort
*) # Intel Fortran compiler
9085 tmp_addflag
=' -nofor_main' ;;
9086 lf95
*) # Lahey Fortran 8.1
9087 whole_archive_flag_spec
=
9088 tmp_sharedflag
='--shared' ;;
9089 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9090 tmp_sharedflag
='-qmkshrobj'
9092 nvcc
*) # Cuda Compiler Driver 2.2
9093 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'
9094 compiler_needs_object
=yes
9097 case `$CC -V 2>&1 | sed 5q` in
9098 *Sun\ C
*) # Sun C 5.9
9099 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'
9100 compiler_needs_object
=yes
9101 tmp_sharedflag
='-G' ;;
9102 *Sun\ F
*) # Sun Fortran 8.3
9103 tmp_sharedflag
='-G' ;;
9105 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 if test "x$supports_anon_versioning" = xyes
; then
9108 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9109 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9110 echo "local: *; };" >> $output_objdir/$libname.ver~
9111 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9114 case $cc_basename in
9115 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9116 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9117 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9118 hardcode_libdir_flag_spec
=
9119 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9120 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9121 if test "x$supports_anon_versioning" = xyes
; then
9122 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9123 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9124 echo "local: *; };" >> $output_objdir/$libname.ver~
9125 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9135 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9136 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9139 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9145 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9149 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9150 *** create shared libraries on Solaris systems. Therefore, libtool
9151 *** is disabling shared libraries support. We urge you to upgrade GNU
9152 *** binutils to release 2.9.1 or newer. Another option is to modify
9153 *** your PATH or compiler configuration so that the native linker is
9154 *** used, and then restart.
9157 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9158 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9165 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9166 case `$LD -v 2>&1` in
9167 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9171 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9172 *** reliably create shared libraries on SCO systems. Therefore, libtool
9173 *** is disabling shared libraries support. We urge you to upgrade GNU
9174 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9175 *** your PATH or compiler configuration so that the native linker is
9176 *** used, and then restart.
9181 # For security reasons, it is highly recommended that you always
9182 # use absolute paths for naming shared libraries, and exclude the
9183 # DT_RUNPATH tag from executables and libraries. But doing so
9184 # requires that you compile everything twice, which is a pain.
9185 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9187 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9197 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9200 hardcode_shlibpath_var
=no
9204 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9213 if test "$ld_shlibs" = no
; then
9215 hardcode_libdir_flag_spec
=
9216 export_dynamic_flag_spec
=
9217 whole_archive_flag_spec
=
9220 # PORTME fill in a description of your system's linker (not GNU ld)
9223 allow_undefined_flag
=unsupported
9224 always_export_symbols
=yes
9225 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'
9226 # Note: this linker hardcodes the directories in LIBPATH if there
9227 # are no directories specified by -L.
9228 hardcode_minus_L
=yes
9229 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9230 # Neither direct hardcoding nor static linking is supported with a
9232 hardcode_direct
=unsupported
9237 if test "$host_cpu" = ia64
; then
9238 # On IA64, the linker does run time linking by default, so we don't
9239 # have to do anything special.
9240 aix_use_runtimelinking
=no
9241 exp_sym_flag
='-Bexport'
9244 # If we're using GNU nm, then we don't want the "-C" option.
9245 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9246 # Also, AIX nm treats weak defined symbols like other global
9247 # defined symbols, whereas GNU nm marks them as "W".
9248 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9249 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'
9251 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9253 aix_use_runtimelinking
=no
9255 # Test if we are trying to use run time linking or normal
9256 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9257 # need to do runtime linking.
9258 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9259 for ld_flag
in $LDFLAGS; do
9260 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9261 aix_use_runtimelinking
=yes
9268 exp_sym_flag
='-bexport'
9269 no_entry_flag
='-bnoentry'
9272 # When large executables or shared objects are built, AIX ld can
9273 # have problems creating the table of contents. If linking a library
9274 # or program results in "error TOC overflow" add -mminimal-toc to
9275 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9276 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9280 hardcode_direct_absolute
=yes
9281 hardcode_libdir_separator
=':'
9282 link_all_deplibs
=yes
9283 file_list_spec
='${wl}-f,'
9285 if test "$GCC" = yes; then
9286 case $host_os in aix4.
[012]|aix4.
[012].
*)
9287 # We only want to do this on AIX 4.2 and lower, the check
9288 # below for broken collect2 doesn't work under 4.3+
9289 collect2name
=`${CC} -print-prog-name=collect2`
9290 if test -f "$collect2name" &&
9291 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9293 # We have reworked collect2
9296 # We have old collect2
9297 hardcode_direct
=unsupported
9298 # It fails to find uninstalled libraries when the uninstalled
9299 # path is not listed in the libpath. Setting hardcode_minus_L
9300 # to unsupported forces relinking
9301 hardcode_minus_L
=yes
9302 hardcode_libdir_flag_spec
='-L$libdir'
9303 hardcode_libdir_separator
=
9307 shared_flag
='-shared'
9308 if test "$aix_use_runtimelinking" = yes; then
9309 shared_flag
="$shared_flag "'${wl}-G'
9313 if test "$host_cpu" = ia64
; then
9314 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9315 # chokes on -Wl,-G. The following line is correct:
9318 if test "$aix_use_runtimelinking" = yes; then
9319 shared_flag
='${wl}-G'
9321 shared_flag
='${wl}-bM:SRE'
9326 export_dynamic_flag_spec
='${wl}-bexpall'
9327 # It seems that -bexpall does not export symbols beginning with
9328 # underscore (_), so it is better to generate a list of symbols to export.
9329 always_export_symbols
=yes
9330 if test "$aix_use_runtimelinking" = yes; then
9331 # Warning - without using the other runtime loading flags (-brtl),
9332 # -berok will link without error, but may produce a broken library.
9333 allow_undefined_flag
='-berok'
9334 # Determine the default libpath from the value encoded in an
9336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9347 if ac_fn_c_try_link
"$LINENO"; then :
9349 lt_aix_libpath_sed
='
9350 /Import File Strings/,/^$/ {
9356 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9357 # Check for a 64-bit object if we didn't find anything.
9358 if test -z "$aix_libpath"; then
9359 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9362 rm -f core conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9364 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9366 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9367 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"
9369 if test "$host_cpu" = ia64
; then
9370 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9371 allow_undefined_flag
="-z nodefs"
9372 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"
9374 # Determine the default libpath from the value encoded in an
9376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9377 /* end confdefs.h. */
9387 if ac_fn_c_try_link
"$LINENO"; then :
9389 lt_aix_libpath_sed
='
9390 /Import File Strings/,/^$/ {
9396 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9397 # Check for a 64-bit object if we didn't find anything.
9398 if test -z "$aix_libpath"; then
9399 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9406 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9407 # Warning - without using the other run time loading flags,
9408 # -berok will link without error, but may produce a broken library.
9409 no_undefined_flag
=' ${wl}-bernotok'
9410 allow_undefined_flag
=' ${wl}-berok'
9411 if test "$with_gnu_ld" = yes; then
9412 # We only use this code for GNU lds that support --whole-archive.
9413 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9415 # Exported symbols can be pulled into shared objects from archives
9416 whole_archive_flag_spec
='$convenience'
9418 archive_cmds_need_lc
=yes
9419 # This is similar to how AIX traditionally builds its shared libraries.
9420 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'
9428 # see comment about AmigaOS4 .so support
9429 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430 archive_expsym_cmds
=''
9433 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)'
9434 hardcode_libdir_flag_spec
='-L$libdir'
9435 hardcode_minus_L
=yes
9441 export_dynamic_flag_spec
=-rdynamic
9444 cygwin
* | mingw
* | pw32
* | cegcc
*)
9445 # When not using gcc, we currently assume that we are using
9446 # Microsoft Visual C++.
9447 # hardcode_libdir_flag_spec is actually meaningless, as there is
9448 # no search path for DLLs.
9449 hardcode_libdir_flag_spec
=' '
9450 allow_undefined_flag
=unsupported
9451 # Tell ltmain to make .lib files, not .a files.
9453 # Tell ltmain to make .dll files, not .so files.
9455 # FIXME: Setting linknames here is a bad hack.
9456 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9457 # The linker will automatically build a .lib file if we build a DLL.
9458 old_archive_from_new_cmds
='true'
9459 # FIXME: Should let the user specify the lib program.
9460 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9461 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9462 enable_shared_with_static_runtimes
=yes
9465 darwin
* | rhapsody
*)
9468 archive_cmds_need_lc
=no
9470 hardcode_automatic
=yes
9471 hardcode_shlibpath_var
=unsupported
9472 if test "$lt_cv_ld_force_load" = "yes"; then
9473 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\"`'
9475 whole_archive_flag_spec
=''
9477 link_all_deplibs
=yes
9478 allow_undefined_flag
="$_lt_dar_allow_undefined"
9479 case $cc_basename in
9480 ifort
*) _lt_dar_can_shared
=yes ;;
9481 *) _lt_dar_can_shared
=$GCC ;;
9483 if test "$_lt_dar_can_shared" = "yes"; then
9484 output_verbose_link_cmd
=func_echo_all
9485 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9486 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9487 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}"
9488 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}"
9497 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498 hardcode_libdir_flag_spec
='-L$libdir'
9499 hardcode_shlibpath_var
=no
9502 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9503 # support. Future versions do this automatically, but an explicit c++rt0.o
9504 # does not break anything, and helps significantly (at the cost of a little
9507 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9508 hardcode_libdir_flag_spec
='-R$libdir'
9510 hardcode_shlibpath_var
=no
9513 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9515 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9517 hardcode_minus_L
=yes
9518 hardcode_shlibpath_var
=no
9521 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9522 freebsd
* | dragonfly
*)
9523 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9524 hardcode_libdir_flag_spec
='-R$libdir'
9526 hardcode_shlibpath_var
=no
9530 if test "$GCC" = yes; then
9531 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'
9533 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'
9535 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9536 hardcode_libdir_separator
=:
9539 # hardcode_minus_L: Not really in the search PATH,
9540 # but as the default location of the library.
9541 hardcode_minus_L
=yes
9542 export_dynamic_flag_spec
='${wl}-E'
9546 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9547 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9549 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9551 if test "$with_gnu_ld" = no
; then
9552 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9553 hardcode_libdir_flag_spec_ld
='+b $libdir'
9554 hardcode_libdir_separator
=:
9556 hardcode_direct_absolute
=yes
9557 export_dynamic_flag_spec
='${wl}-E'
9558 # hardcode_minus_L: Not really in the search PATH,
9559 # but as the default location of the library.
9560 hardcode_minus_L
=yes
9565 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9568 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9574 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9587 # Older versions of the 11.00 compiler do not understand -b yet
9588 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9590 $as_echo_n "checking if $CC understands -b... " >&6; }
9591 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9592 $as_echo_n "(cached) " >&6
9594 lt_cv_prog_compiler__b
=no
9595 save_LDFLAGS
="$LDFLAGS"
9596 LDFLAGS
="$LDFLAGS -b"
9597 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9598 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9599 # The linker can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 if test -s conftest.err
; then
9602 # Append any errors to the config.log.
9603 cat conftest.err
1>&5
9604 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9605 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9606 if diff conftest.exp conftest.er2
>/dev
/null
; then
9607 lt_cv_prog_compiler__b
=yes
9610 lt_cv_prog_compiler__b
=yes
9614 LDFLAGS
="$save_LDFLAGS"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9618 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9620 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9621 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9629 if test "$with_gnu_ld" = no
; then
9630 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9631 hardcode_libdir_separator
=:
9636 hardcode_shlibpath_var
=no
9640 hardcode_direct_absolute
=yes
9641 export_dynamic_flag_spec
='${wl}-E'
9643 # hardcode_minus_L: Not really in the search PATH,
9644 # but as the default location of the library.
9645 hardcode_minus_L
=yes
9651 irix5
* | irix6
* | nonstopux
*)
9652 if test "$GCC" = yes; then
9653 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'
9654 # Try to use the -exported_symbol ld option, if it does not
9655 # work, assume that -exports_file does not work either and
9656 # implicitly export all symbols.
9657 save_LDFLAGS
="$LDFLAGS"
9658 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9663 if ac_fn_c_try_link
"$LINENO"; then :
9664 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'
9667 rm -f core conftest.err conftest.
$ac_objext \
9668 conftest
$ac_exeext conftest.
$ac_ext
9669 LDFLAGS
="$save_LDFLAGS"
9671 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'
9672 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'
9674 archive_cmds_need_lc
='no'
9675 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9676 hardcode_libdir_separator
=:
9678 link_all_deplibs
=yes
9682 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9683 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9685 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9687 hardcode_libdir_flag_spec
='-R$libdir'
9689 hardcode_shlibpath_var
=no
9693 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9696 hardcode_libdir_separator
=:
9697 hardcode_shlibpath_var
=no
9704 if test -f /usr
/libexec
/ld.so
; then
9706 hardcode_shlibpath_var
=no
9707 hardcode_direct_absolute
=yes
9708 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9709 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9711 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9712 export_dynamic_flag_spec
='${wl}-E'
9715 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9716 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-R$libdir'
9720 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9721 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9731 hardcode_libdir_flag_spec
='-L$libdir'
9732 hardcode_minus_L
=yes
9733 allow_undefined_flag
=unsupported
9734 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'
9735 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9739 if test "$GCC" = yes; then
9740 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9741 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'
9743 allow_undefined_flag
=' -expect_unresolved \*'
9744 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'
9746 archive_cmds_need_lc
='no'
9747 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9748 hardcode_libdir_separator
=:
9751 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9752 if test "$GCC" = yes; then
9753 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9754 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'
9755 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9757 allow_undefined_flag
=' -expect_unresolved \*'
9758 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'
9759 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~
9760 $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'
9762 # Both c and cxx compiler support -rpath directly
9763 hardcode_libdir_flag_spec
='-rpath $libdir'
9765 archive_cmds_need_lc
='no'
9766 hardcode_libdir_separator
=:
9770 no_undefined_flag
=' -z defs'
9771 if test "$GCC" = yes; then
9773 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9775 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9777 case `$CC -V 2>&1` in
9780 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9782 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9786 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9787 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9788 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9792 hardcode_libdir_flag_spec
='-R$libdir'
9793 hardcode_shlibpath_var
=no
9795 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9797 # The compiler driver will combine and reorder linker options,
9798 # but understands `-z linker_flag'. GCC discards it without `$wl',
9799 # but is careful enough not to reorder.
9800 # Supported since Solaris 2.6 (maybe 2.5.1?)
9801 if test "$GCC" = yes; then
9802 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9804 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9808 link_all_deplibs
=yes
9812 if test "x$host_vendor" = xsequent
; then
9813 # Use $CC to link under sequent, because it throws in some extra .o
9814 # files that make .init and .fini sections work.
9815 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9819 hardcode_libdir_flag_spec
='-L$libdir'
9821 hardcode_minus_L
=yes
9822 hardcode_shlibpath_var
=no
9826 case $host_vendor in
9828 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_direct
=yes # is this really true???
9832 ## LD is ld it makes a PLAMLIB
9833 ## CC just makes a GrossModule.
9834 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9835 reload_cmds
='$CC -r -o $output$reload_objs'
9839 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9840 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9843 runpath_var
='LD_RUN_PATH'
9844 hardcode_shlibpath_var
=no
9848 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_shlibpath_var
=no
9850 export_dynamic_flag_spec
='-Bexport'
9854 if test -d /usr
/nec
; then
9855 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856 hardcode_shlibpath_var
=no
9857 runpath_var
=LD_RUN_PATH
9858 hardcode_runpath_var
=yes
9863 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9864 no_undefined_flag
='${wl}-z,text'
9865 archive_cmds_need_lc
=no
9866 hardcode_shlibpath_var
=no
9867 runpath_var
='LD_RUN_PATH'
9869 if test "$GCC" = yes; then
9870 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 sysv5
* | sco3.2v5
* | sco5v6
*)
9879 # Note: We can NOT use -z defs as we might desire, because we do not
9880 # link with -lc, and that would cause any symbols used from libc to
9881 # always be unresolved, which means just about no library would
9882 # ever link correctly. If we're not using GNU ld we use -z text
9883 # though, which does catch some bad symbols but isn't as heavy-handed
9885 no_undefined_flag
='${wl}-z,text'
9886 allow_undefined_flag
='${wl}-z,nodefs'
9887 archive_cmds_need_lc
=no
9888 hardcode_shlibpath_var
=no
9889 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9890 hardcode_libdir_separator
=':'
9891 link_all_deplibs
=yes
9892 export_dynamic_flag_spec
='${wl}-Bexport'
9893 runpath_var
='LD_RUN_PATH'
9895 if test "$GCC" = yes; then
9896 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9900 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906 hardcode_libdir_flag_spec
='-L$libdir'
9907 hardcode_shlibpath_var
=no
9915 if test x
$host_vendor = xsni
; then
9917 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9918 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9925 $as_echo "$ld_shlibs" >&6; }
9926 test "$ld_shlibs" = no
&& can_build_shared
=no
9928 with_gnu_ld
=$with_gnu_ld
9945 # Do we need to explicitly link libc?
9947 case "x$archive_cmds_need_lc" in
9949 # Assume -lc should be added
9950 archive_cmds_need_lc
=yes
9952 if test "$enable_shared" = yes && test "$GCC" = yes; then
9953 case $archive_cmds in
9955 # FIXME: we may have to deal with multi-command sequences.
9958 # Test whether the compiler implicitly links with -lc since on some
9959 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9960 # to ld, don't add -lc before -lgcc.
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9962 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9963 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9964 $as_echo_n "(cached) " >&6
9967 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9970 (eval $ac_compile) 2>&5
9972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9973 test $ac_status = 0; } 2>conftest.err
; then
9976 libobjs
=conftest.
$ac_objext
9978 wl
=$lt_prog_compiler_wl
9979 pic_flag
=$lt_prog_compiler_pic
9985 lt_save_allow_undefined_flag
=$allow_undefined_flag
9986 allow_undefined_flag
=
9987 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9988 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9991 test $ac_status = 0; }
9993 lt_cv_archive_cmds_need_lc
=no
9995 lt_cv_archive_cmds_need_lc
=yes
9997 allow_undefined_flag
=$lt_save_allow_undefined_flag
9999 cat conftest.err
1>&5
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10005 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10006 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10170 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10172 if test "$GCC" = yes; then
10174 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10175 *) lt_awk_arg
="/^libraries:/" ;;
10178 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10179 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10181 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10182 case $lt_search_path_spec in
10184 # if the path contains ";" then we assume it to be the separator
10185 # otherwise default to the standard path separator (i.e. ":") - it is
10186 # assumed that no part of a normal pathname contains ";" but that should
10187 # okay in the real world where ";" in dirpaths is itself problematic.
10188 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10191 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10194 # Ok, now we have the path, separated by spaces, we can step through it
10195 # and add multilib dir if necessary.
10196 lt_tmp_lt_search_path_spec
=
10197 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10198 for lt_sys_path
in $lt_search_path_spec; do
10199 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10200 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10202 test -d "$lt_sys_path" && \
10203 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10206 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10207 BEGIN {RS=" "; FS="/|\n";} {
10210 for (lt_i = NF; lt_i > 0; lt_i--) {
10211 if ($lt_i != "" && $lt_i != ".") {
10212 if ($lt_i == "..") {
10215 if (lt_count == 0) {
10216 lt_foo="/" $lt_i lt_foo;
10223 if (lt_foo != "") { lt_freq[lt_foo]++; }
10224 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10226 # AWK program above erroneously prepends '/' to C:/dos/paths
10229 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10230 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10232 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10234 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10236 library_names_spec
=
10237 libname_spec
='lib$name'
10241 postuninstall_cmds
=
10245 shlibpath_overrides_runpath
=unknown
10247 dynamic_linker
="$host_os ld.so"
10248 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10249 need_lib_prefix
=unknown
10250 hardcode_into_libs
=no
10252 # when you set need_version to no, make sure it does not cause -set_version
10253 # flags to be left without arguments
10254 need_version
=unknown
10259 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10260 shlibpath_var
=LIBPATH
10262 # AIX 3 has no versioning support, so we append a major version to the name.
10263 soname_spec
='${libname}${release}${shared_ext}$major'
10270 hardcode_into_libs
=yes
10271 if test "$host_cpu" = ia64
; then
10272 # AIX 5 supports IA64
10273 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10274 shlibpath_var
=LD_LIBRARY_PATH
10276 # With GCC up to 2.95.x, collect2 would create an import file
10277 # for dependence libraries. The import file would start with
10278 # the line `#! .'. This would cause the generated library to
10279 # depend on `.', always an invalid library. This was fixed in
10280 # development snapshots of GCC prior to 3.0.
10282 aix4 | aix4.
[01] | aix4.
[01].
*)
10283 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10285 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10288 can_build_shared
=no
10292 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10293 # soname into executable. Probably we can add versioning support to
10294 # collect2, so additional links can be useful in future.
10295 if test "$aix_use_runtimelinking" = yes; then
10296 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10297 # instead of lib<name>.a to let people know that these are not
10298 # typical AIX shared libraries.
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301 # We preserve .a as extension for shared libraries through AIX4.2
10302 # and later when we are not doing run time linking.
10303 library_names_spec
='${libname}${release}.a $libname.a'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10306 shlibpath_var
=LIBPATH
10313 # Since July 2007 AmigaOS4 officially supports .so libraries.
10314 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 library_names_spec
='$libname.ixlibrary $libname.a'
10319 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10320 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'
10326 library_names_spec
='${libname}${shared_ext}'
10327 dynamic_linker
="$host_os ld.so"
10328 shlibpath_var
=LIBRARY_PATH
10334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 soname_spec
='${libname}${release}${shared_ext}$major'
10336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10337 shlibpath_var
=LD_LIBRARY_PATH
10338 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10339 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10340 # the default ld.so.conf also contains /usr/contrib/lib and
10341 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10342 # libtool to hard-code these into programs
10345 cygwin
* | mingw
* | pw32
* | cegcc
*)
10346 version_type
=windows
10351 case $GCC,$host_os in
10352 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10353 library_names_spec
='$libname.dll.a'
10354 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10355 postinstall_cmds
='base_file=`basename \${file}`~
10356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10357 dldir=$destdir/`dirname \$dlpath`~
10358 test -d \$dldir || mkdir -p \$dldir~
10359 $install_prog $dir/$dlname \$dldir/$dlname~
10360 chmod a+x \$dldir/$dlname~
10361 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10362 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10364 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10365 dlpath=$dir/\$dldll~
10367 shlibpath_overrides_runpath
=yes
10371 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10372 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10374 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10377 # MinGW DLLs use traditional 'lib' prefix
10378 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10381 # pw32 DLLs use 'pw' prefix rather than 'lib'
10382 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10388 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10391 dynamic_linker
='Win32 ld.exe'
10392 # FIXME: first we should search . and the directory the executable is in
10396 darwin
* | rhapsody
*)
10397 dynamic_linker
="$host_os dyld"
10398 version_type
=darwin
10401 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10402 soname_spec
='${libname}${release}${major}$shared_ext'
10403 shlibpath_overrides_runpath
=yes
10404 shlibpath_var
=DYLD_LIBRARY_PATH
10405 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10407 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10408 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10417 shlibpath_var
=LD_LIBRARY_PATH
10420 freebsd
* | dragonfly
*)
10421 # DragonFly does not have aout. When/if they implement a new
10422 # versioning mechanism, adjust this.
10423 if test -x /usr
/bin
/objformat
; then
10424 objformat
=`/usr/bin/objformat`
10427 freebsd
[23].
*) objformat
=aout
;;
10428 *) objformat
=elf
;;
10431 version_type
=freebsd-
$objformat
10432 case $version_type in
10434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10443 shlibpath_var
=LD_LIBRARY_PATH
10446 shlibpath_overrides_runpath
=yes
10448 freebsd3.
[01]* | freebsdelf3.
[01]*)
10449 shlibpath_overrides_runpath
=yes
10450 hardcode_into_libs
=yes
10452 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10453 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10454 shlibpath_overrides_runpath
=no
10455 hardcode_into_libs
=yes
10457 *) # from 4.6 on, and DragonFly
10458 shlibpath_overrides_runpath
=yes
10459 hardcode_into_libs
=yes
10468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10469 soname_spec
='${libname}${release}${shared_ext}$major'
10470 shlibpath_var
=LD_LIBRARY_PATH
10471 hardcode_into_libs
=yes
10478 dynamic_linker
="$host_os runtime_loader"
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10480 soname_spec
='${libname}${release}${shared_ext}$major'
10481 shlibpath_var
=LIBRARY_PATH
10482 shlibpath_overrides_runpath
=yes
10483 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10484 hardcode_into_libs
=yes
10487 hpux9
* | hpux10
* | hpux11
*)
10488 # Give a soname corresponding to the major version so that dld.sl refuses to
10489 # link against other versions.
10496 hardcode_into_libs
=yes
10497 dynamic_linker
="$host_os dld.so"
10498 shlibpath_var
=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501 soname_spec
='${libname}${release}${shared_ext}$major'
10502 if test "X$HPUX_IA64_MODE" = X32
; then
10503 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10505 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10507 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10511 hardcode_into_libs
=yes
10512 dynamic_linker
="$host_os dld.sl"
10513 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10514 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516 soname_spec
='${libname}${release}${shared_ext}$major'
10517 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10518 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10522 dynamic_linker
="$host_os dld.sl"
10523 shlibpath_var
=SHLIB_PATH
10524 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec
='${libname}${release}${shared_ext}$major'
10529 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10530 postinstall_cmds
='chmod 555 $lib'
10531 # or fails outright, so override atomically:
10532 install_override_mode
=555
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10540 soname_spec
='${libname}${release}${shared_ext}$major'
10541 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10542 shlibpath_var
=LD_LIBRARY_PATH
10543 shlibpath_overrides_runpath
=no
10544 hardcode_into_libs
=yes
10547 irix5
* | irix6
* | nonstopux
*)
10549 nonstopux
*) version_type
=nonstopux
;;
10551 if test "$lt_cv_prog_gnu_ld" = yes; then
10559 soname_spec
='${libname}${release}${shared_ext}$major'
10560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10562 irix5
* | nonstopux
*)
10563 libsuff
= shlibsuff
=
10566 case $LD in # libtool.m4 will add one of these switches to LD
10567 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10568 libsuff
= shlibsuff
= libmagic
=32-bit;;
10569 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10570 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10571 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10572 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10573 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10577 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10578 shlibpath_overrides_runpath
=no
10579 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10580 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10581 hardcode_into_libs
=yes
10584 # No shared lib support for Linux oldld, aout, or coff.
10585 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10589 # This must be Linux ELF.
10590 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10597 shlibpath_var
=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath
=no
10600 # Some binutils ld are patched to set DT_RUNPATH
10601 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10602 $as_echo_n "(cached) " >&6
10604 lt_cv_shlibpath_overrides_runpath
=no
10605 save_LDFLAGS
=$LDFLAGS
10606 save_libdir
=$libdir
10607 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10608 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10620 if ac_fn_c_try_link
"$LINENO"; then :
10621 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10622 lt_cv_shlibpath_overrides_runpath
=yes
10625 rm -f core conftest.err conftest.
$ac_objext \
10626 conftest
$ac_exeext conftest.
$ac_ext
10627 LDFLAGS
=$save_LDFLAGS
10628 libdir
=$save_libdir
10632 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10634 # This implies no fast_install, which is unacceptable.
10635 # Some rework will be needed to allow for fast_install
10636 # before this can be enabled.
10637 hardcode_into_libs
=yes
10639 # Append ld.so.conf contents to the search path
10640 if test -f /etc
/ld.so.conf
; then
10641 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' ' '`
10642 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10645 # We used to test for /lib/ld.so.1 and disable shared libraries on
10646 # powerpc, because MkLinux only supported shared libraries with the
10647 # GNU dynamic linker. Since this was broken with cross compilers,
10648 # most powerpc-linux boxes support dynamic linking these days and
10649 # people can always --disable-shared, the test was removed, and we
10650 # assume the GNU/Linux dynamic linker is in use.
10651 dynamic_linker
='GNU/Linux ld.so'
10658 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10660 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10661 dynamic_linker
='NetBSD (a.out) ld.so'
10663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10664 soname_spec
='${libname}${release}${shared_ext}$major'
10665 dynamic_linker
='NetBSD ld.elf_so'
10667 shlibpath_var
=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath
=yes
10669 hardcode_into_libs
=yes
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 shlibpath_var
=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath
=yes
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684 soname_spec
='${libname}${release}${shared_ext}$major'
10685 shlibpath_var
=LD_LIBRARY_PATH
10686 shlibpath_overrides_runpath
=no
10687 hardcode_into_libs
=yes
10688 dynamic_linker
='ldqnx.so'
10693 sys_lib_dlsearch_path_spec
="/usr/lib"
10695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10697 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10698 *) need_version
=no
;;
10700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10702 shlibpath_var
=LD_LIBRARY_PATH
10703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10705 openbsd2.
[89] | openbsd2.
[89].
*)
10706 shlibpath_overrides_runpath
=no
10709 shlibpath_overrides_runpath
=yes
10713 shlibpath_overrides_runpath
=yes
10718 libname_spec
='$name'
10721 library_names_spec
='$libname${shared_ext} $libname.a'
10722 dynamic_linker
='OS/2 ld.exe'
10723 shlibpath_var
=LIBPATH
10726 osf3
* | osf4
* | osf5
*)
10730 soname_spec
='${libname}${release}${shared_ext}$major'
10731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732 shlibpath_var
=LD_LIBRARY_PATH
10733 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10734 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec
='${libname}${release}${shared_ext}$major'
10747 shlibpath_var
=LD_LIBRARY_PATH
10748 shlibpath_overrides_runpath
=yes
10749 hardcode_into_libs
=yes
10750 # ldd complains unless libraries are executable
10751 postinstall_cmds
='chmod +x $lib'
10756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10757 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10758 shlibpath_var
=LD_LIBRARY_PATH
10759 shlibpath_overrides_runpath
=yes
10760 if test "$with_gnu_ld" = yes; then
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10770 shlibpath_var
=LD_LIBRARY_PATH
10771 case $host_vendor in
10773 shlibpath_overrides_runpath
=no
10775 runpath_var
=LD_RUN_PATH
10783 shlibpath_overrides_runpath
=no
10784 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10790 if test -d /usr
/nec
;then
10792 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10793 soname_spec
='$libname${shared_ext}.$major'
10794 shlibpath_var
=LD_LIBRARY_PATH
10798 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10799 version_type
=freebsd-elf
10802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10803 soname_spec
='${libname}${release}${shared_ext}$major'
10804 shlibpath_var
=LD_LIBRARY_PATH
10805 shlibpath_overrides_runpath
=yes
10806 hardcode_into_libs
=yes
10807 if test "$with_gnu_ld" = yes; then
10808 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10810 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10813 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10817 sys_lib_dlsearch_path_spec
='/usr/lib'
10821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 shlibpath_var
=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath
=no
10828 hardcode_into_libs
=yes
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 soname_spec
='${libname}${release}${shared_ext}$major'
10835 shlibpath_var
=LD_LIBRARY_PATH
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10843 $as_echo "$dynamic_linker" >&6; }
10844 test "$dynamic_linker" = no
&& can_build_shared
=no
10846 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10847 if test "$GCC" = yes; then
10848 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10852 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10855 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10950 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10952 if test -n "$hardcode_libdir_flag_spec" ||
10953 test -n "$runpath_var" ||
10954 test "X$hardcode_automatic" = "Xyes" ; then
10956 # We can hardcode non-existent directories.
10957 if test "$hardcode_direct" != no
&&
10958 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10959 # have to relink, otherwise we might link with an installed library
10960 # when we should be linking with a yet-to-be-installed one
10961 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10962 test "$hardcode_minus_L" != no
; then
10963 # Linking always hardcodes the temporary library directory.
10964 hardcode_action
=relink
10966 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10967 hardcode_action
=immediate
10970 # We cannot hardcode anything, or else we can only hardcode existing
10972 hardcode_action
=unsupported
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10975 $as_echo "$hardcode_action" >&6; }
10977 if test "$hardcode_action" = relink ||
10978 test "$inherit_rpath" = yes; then
10979 # Fast installation is not supported
10980 enable_fast_install
=no
10981 elif test "$shlibpath_overrides_runpath" = yes ||
10982 test "$enable_shared" = no
; then
10983 # Fast installation is not necessary
10984 enable_fast_install
=needless
10992 if test "x$enable_dlopen" != xyes
; then
10993 enable_dlopen
=unknown
10994 enable_dlopen_self
=unknown
10995 enable_dlopen_self_static
=unknown
11002 lt_cv_dlopen
="load_add_on"
11004 lt_cv_dlopen_self
=yes
11007 mingw
* | pw32
* | cegcc
*)
11008 lt_cv_dlopen
="LoadLibrary"
11013 lt_cv_dlopen
="dlopen"
11018 # if libdl is installed we need to link against it
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11021 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11022 $as_echo_n "(cached) " >&6
11024 ac_check_lib_save_LIBS
=$LIBS
11026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11044 if ac_fn_c_try_link
"$LINENO"; then :
11045 ac_cv_lib_dl_dlopen
=yes
11047 ac_cv_lib_dl_dlopen
=no
11049 rm -f core conftest.err conftest.
$ac_objext \
11050 conftest
$ac_exeext conftest.
$ac_ext
11051 LIBS
=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11055 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11056 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11059 lt_cv_dlopen
="dyld"
11061 lt_cv_dlopen_self
=yes
11068 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11069 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11070 lt_cv_dlopen
="shl_load"
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11073 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11074 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11075 $as_echo_n "(cached) " >&6
11077 ac_check_lib_save_LIBS
=$LIBS
11079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11092 return shl_load ();
11097 if ac_fn_c_try_link
"$LINENO"; then :
11098 ac_cv_lib_dld_shl_load
=yes
11100 ac_cv_lib_dld_shl_load
=no
11102 rm -f core conftest.err conftest.
$ac_objext \
11103 conftest
$ac_exeext conftest.
$ac_ext
11104 LIBS
=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11108 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11109 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11111 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11112 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11113 lt_cv_dlopen
="dlopen"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11116 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11140 if ac_fn_c_try_link
"$LINENO"; then :
11141 ac_cv_lib_dl_dlopen
=yes
11143 ac_cv_lib_dl_dlopen
=no
11145 rm -f core conftest.err conftest.
$ac_objext \
11146 conftest
$ac_exeext conftest.
$ac_ext
11147 LIBS
=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11150 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11151 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11152 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11155 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11156 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS
=$LIBS
11160 LIBS
="-lsvld $LIBS"
11161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11179 if ac_fn_c_try_link
"$LINENO"; then :
11180 ac_cv_lib_svld_dlopen
=yes
11182 ac_cv_lib_svld_dlopen
=no
11184 rm -f core conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11186 LIBS
=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11189 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11190 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11191 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11194 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11195 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11196 $as_echo_n "(cached) " >&6
11198 ac_check_lib_save_LIBS
=$LIBS
11200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11213 return dld_link ();
11218 if ac_fn_c_try_link
"$LINENO"; then :
11219 ac_cv_lib_dld_dld_link
=yes
11221 ac_cv_lib_dld_dld_link
=no
11223 rm -f core conftest.err conftest.
$ac_objext \
11224 conftest
$ac_exeext conftest.
$ac_ext
11225 LIBS
=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11228 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11229 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11230 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11251 if test "x$lt_cv_dlopen" != xno
; then
11257 case $lt_cv_dlopen in
11259 save_CPPFLAGS
="$CPPFLAGS"
11260 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11262 save_LDFLAGS
="$LDFLAGS"
11263 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11266 LIBS
="$lt_cv_dlopen_libs $LIBS"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11269 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11270 if test "${lt_cv_dlopen_self+set}" = set; then :
11271 $as_echo_n "(cached) " >&6
11273 if test "$cross_compiling" = yes; then :
11274 lt_cv_dlopen_self
=cross
11276 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11277 lt_status
=$lt_dlunknown
11278 cat > conftest.
$ac_ext <<_LT_EOF
11279 #line 11279 "configure"
11280 #include "confdefs.h"
11289 # define LT_DLGLOBAL RTLD_GLOBAL
11292 # define LT_DLGLOBAL DL_GLOBAL
11294 # define LT_DLGLOBAL 0
11298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11299 find out it does not work in some platform. */
11300 #ifndef LT_DLLAZY_OR_NOW
11302 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11305 # define LT_DLLAZY_OR_NOW DL_LAZY
11308 # define LT_DLLAZY_OR_NOW RTLD_NOW
11311 # define LT_DLLAZY_OR_NOW DL_NOW
11313 # define LT_DLLAZY_OR_NOW 0
11320 /* When -fvisbility=hidden is used, assume the code has been annotated
11321 correspondingly for the symbols needed. */
11322 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11323 void fnord () __attribute__((visibility("default")));
11326 void fnord () { int i=42; }
11329 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11330 int status = $lt_dlunknown;
11334 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11337 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11338 else puts (dlerror ());
11340 /* dlclose (self); */
11348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11349 (eval $ac_link) 2>&5
11351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11352 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11353 (.
/conftest
; exit; ) >&5 2>/dev
/null
11355 case x
$lt_status in
11356 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11357 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11358 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11361 # compilation failed
11362 lt_cv_dlopen_self
=no
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11370 $as_echo "$lt_cv_dlopen_self" >&6; }
11372 if test "x$lt_cv_dlopen_self" = xyes
; then
11373 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11375 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11376 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11377 $as_echo_n "(cached) " >&6
11379 if test "$cross_compiling" = yes; then :
11380 lt_cv_dlopen_self_static
=cross
11382 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11383 lt_status
=$lt_dlunknown
11384 cat > conftest.
$ac_ext <<_LT_EOF
11385 #line 11385 "configure"
11386 #include "confdefs.h"
11395 # define LT_DLGLOBAL RTLD_GLOBAL
11398 # define LT_DLGLOBAL DL_GLOBAL
11400 # define LT_DLGLOBAL 0
11404 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11405 find out it does not work in some platform. */
11406 #ifndef LT_DLLAZY_OR_NOW
11408 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11411 # define LT_DLLAZY_OR_NOW DL_LAZY
11414 # define LT_DLLAZY_OR_NOW RTLD_NOW
11417 # define LT_DLLAZY_OR_NOW DL_NOW
11419 # define LT_DLLAZY_OR_NOW 0
11426 /* When -fvisbility=hidden is used, assume the code has been annotated
11427 correspondingly for the symbols needed. */
11428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11429 void fnord () __attribute__((visibility("default")));
11432 void fnord () { int i=42; }
11435 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11436 int status = $lt_dlunknown;
11440 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11443 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11444 else puts (dlerror ());
11446 /* dlclose (self); */
11454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11455 (eval $ac_link) 2>&5
11457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11458 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11459 (.
/conftest
; exit; ) >&5 2>/dev
/null
11461 case x
$lt_status in
11462 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11463 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11464 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11467 # compilation failed
11468 lt_cv_dlopen_self_static
=no
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11476 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11479 CPPFLAGS
="$save_CPPFLAGS"
11480 LDFLAGS
="$save_LDFLAGS"
11485 case $lt_cv_dlopen_self in
11486 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11487 *) enable_dlopen_self
=unknown
;;
11490 case $lt_cv_dlopen_self_static in
11491 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11492 *) enable_dlopen_self_static
=unknown
;;
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11515 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11516 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11517 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11518 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11520 $as_echo "yes" >&6; }
11522 # FIXME - insert some real tests, host_os isn't really good enough
11525 if test -n "$STRIP" ; then
11526 striplib
="$STRIP -x"
11527 old_striplib
="$STRIP -S"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11529 $as_echo "yes" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532 $as_echo "no" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11553 # Report which library types will actually be built
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11555 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11557 $as_echo "$can_build_shared" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11560 $as_echo_n "checking whether to build shared libraries... " >&6; }
11561 test "$can_build_shared" = "no" && enable_shared
=no
11563 # On AIX, shared libraries and static libraries use the same namespace, and
11564 # are all built from PIC.
11567 test "$enable_shared" = yes && enable_static
=no
11568 if test -n "$RANLIB"; then
11569 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11570 postinstall_cmds
='$RANLIB $lib'
11575 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11576 test "$enable_shared" = yes && enable_static
=no
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11581 $as_echo "$enable_shared" >&6; }
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11584 $as_echo_n "checking whether to build static libraries... " >&6; }
11585 # Make sure either enable_shared or enable_static is yes.
11586 test "$enable_shared" = yes || enable_static
=yes
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11588 $as_echo "$enable_static" >&6; }
11595 ac_cpp
='$CPP $CPPFLAGS'
11596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11602 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11603 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11604 (test "X$CXX" != "Xg++"))) ; then
11606 ac_cpp
='$CXXCPP $CPPFLAGS'
11607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11611 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11612 if test -z "$CXXCPP"; then
11613 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11616 # Double quotes because CXXCPP needs to be expanded
11617 for CXXCPP
in "$CXX -E" "/lib/cpp"
11619 ac_preproc_ok
=false
11620 for ac_cxx_preproc_warn_flag
in '' yes
11622 # Use a header file that comes with gcc, so configuring glibc
11623 # with a fresh cross-compiler works.
11624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11625 # <limits.h> exists even on freestanding compilers.
11626 # On the NeXT, cc -E runs the code through the compiler's parser,
11627 # not just through cpp. "Syntax error" is here to catch this case.
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 # include <limits.h>
11633 # include <assert.h>
11637 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11640 # Broken: fails on valid input.
11643 rm -f conftest.err conftest.
$ac_ext
11645 # OK, works on sane cases. Now check whether nonexistent headers
11646 # can be detected and how.
11647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11649 #include <ac_nonexistent.h>
11651 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11652 # Broken: success on invalid input.
11655 # Passes both tests.
11659 rm -f conftest.err conftest.
$ac_ext
11662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11663 rm -f conftest.err conftest.
$ac_ext
11664 if $ac_preproc_ok; then :
11669 ac_cv_prog_CXXCPP
=$CXXCPP
11672 CXXCPP
=$ac_cv_prog_CXXCPP
11674 ac_cv_prog_CXXCPP
=$CXXCPP
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11677 $as_echo "$CXXCPP" >&6; }
11678 ac_preproc_ok
=false
11679 for ac_cxx_preproc_warn_flag
in '' yes
11681 # Use a header file that comes with gcc, so configuring glibc
11682 # with a fresh cross-compiler works.
11683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11684 # <limits.h> exists even on freestanding compilers.
11685 # On the NeXT, cc -E runs the code through the compiler's parser,
11686 # not just through cpp. "Syntax error" is here to catch this case.
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 # include <limits.h>
11692 # include <assert.h>
11696 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11699 # Broken: fails on valid input.
11702 rm -f conftest.err conftest.
$ac_ext
11704 # OK, works on sane cases. Now check whether nonexistent headers
11705 # can be detected and how.
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 #include <ac_nonexistent.h>
11710 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11711 # Broken: success on invalid input.
11714 # Passes both tests.
11718 rm -f conftest.err conftest.
$ac_ext
11721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11722 rm -f conftest.err conftest.
$ac_ext
11723 if $ac_preproc_ok; then :
11726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11728 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11729 See \`config.log' for more details." "$LINENO" 5; }
11733 ac_cpp
='$CPP $CPPFLAGS'
11734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11739 _lt_caught_CXX_error
=yes
11743 ac_cpp
='$CXXCPP $CPPFLAGS'
11744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11748 archive_cmds_need_lc_CXX
=no
11749 allow_undefined_flag_CXX
=
11750 always_export_symbols_CXX
=no
11751 archive_expsym_cmds_CXX
=
11752 compiler_needs_object_CXX
=no
11753 export_dynamic_flag_spec_CXX
=
11754 hardcode_direct_CXX
=no
11755 hardcode_direct_absolute_CXX
=no
11756 hardcode_libdir_flag_spec_CXX
=
11757 hardcode_libdir_flag_spec_ld_CXX
=
11758 hardcode_libdir_separator_CXX
=
11759 hardcode_minus_L_CXX
=no
11760 hardcode_shlibpath_var_CXX
=unsupported
11761 hardcode_automatic_CXX
=no
11762 inherit_rpath_CXX
=no
11764 module_expsym_cmds_CXX
=
11765 link_all_deplibs_CXX
=unknown
11766 old_archive_cmds_CXX
=$old_archive_cmds
11767 reload_flag_CXX
=$reload_flag
11768 reload_cmds_CXX
=$reload_cmds
11769 no_undefined_flag_CXX
=
11770 whole_archive_flag_spec_CXX
=
11771 enable_shared_with_static_runtimes_CXX
=no
11773 # Source file extension for C++ test sources.
11776 # Object file extension for compiled C++ test sources.
11780 # No sense in running all these tests if we already determined that
11781 # the CXX compiler isn't working. Some variables (like enable_shared)
11782 # are currently assumed to apply to all compilers on this platform,
11783 # and will be corrupted by setting them based on a non-working compiler.
11784 if test "$_lt_caught_CXX_error" != yes; then
11785 # Code to be used in simple compile tests
11786 lt_simple_compile_test_code
="int some_variable = 0;"
11788 # Code to be used in simple link tests
11789 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11791 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11798 # If no C compiler was specified, use CC.
11801 # If no C compiler flags were specified, use CFLAGS.
11802 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11804 # Allow CC to be a program name with arguments.
11808 # save warnings/boilerplate of simple test code
11809 ac_outfile
=conftest.
$ac_objext
11810 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11811 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11812 _lt_compiler_boilerplate
=`cat conftest.err`
11815 ac_outfile
=conftest.
$ac_objext
11816 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11817 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11818 _lt_linker_boilerplate
=`cat conftest.err`
11822 # Allow CC to be a program name with arguments.
11827 lt_save_with_gnu_ld
=$with_gnu_ld
11828 lt_save_path_LD
=$lt_cv_path_LD
11829 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11830 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11832 $as_unset lt_cv_prog_gnu_ld
11834 if test -n "${lt_cv_path_LDCXX+set}"; then
11835 lt_cv_path_LD
=$lt_cv_path_LDCXX
11837 $as_unset lt_cv_path_LD
11839 test -z "${LDCXX+set}" || LD
=$LDCXX
11843 for cc_temp
in $compiler""; do
11845 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11846 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11851 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11854 if test -n "$compiler"; then
11855 # We don't want -fno-exception when compiling C++ code, so set the
11856 # no_builtin_flag separately
11857 if test "$GXX" = yes; then
11858 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11860 lt_prog_compiler_no_builtin_flag_CXX
=
11863 if test "$GXX" = yes; then
11864 # Set up default GNU C++ configuration
11868 # Check whether --with-gnu-ld was given.
11869 if test "${with_gnu_ld+set}" = set; then :
11870 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11876 if test "$GCC" = yes; then
11877 # Check if gcc -print-prog-name=ld gives a path.
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11879 $as_echo_n "checking for ld used by $CC... " >&6; }
11882 # gcc leaves a trailing carriage return which upsets mingw
11883 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11885 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11888 # Accept absolute paths.
11890 re_direlt
='/[^/][^/]*/\.\./'
11891 # Canonicalize the pathname of ld
11892 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11893 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11894 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11896 test -z "$LD" && LD
="$ac_prog"
11899 # If it fails, then pretend we aren't using GCC.
11903 # If it is relative, then search for the first ld in PATH.
11904 with_gnu_ld
=unknown
11907 elif test "$with_gnu_ld" = yes; then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11909 $as_echo_n "checking for GNU ld... " >&6; }
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11912 $as_echo_n "checking for non-GNU ld... " >&6; }
11914 if test "${lt_cv_path_LD+set}" = set; then :
11915 $as_echo_n "(cached) " >&6
11917 if test -z "$LD"; then
11918 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11919 for ac_dir
in $PATH; do
11921 test -z "$ac_dir" && ac_dir
=.
11922 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11923 lt_cv_path_LD
="$ac_dir/$ac_prog"
11924 # Check to see if the program is GNU ld. I'd rather use --version,
11925 # but apparently some variants of GNU ld only accept -v.
11926 # Break only if it was the GNU/non-GNU ld that we prefer.
11927 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11928 *GNU
* |
*'with BFD'*)
11929 test "$with_gnu_ld" != no
&& break
11932 test "$with_gnu_ld" != yes && break
11939 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11943 LD
="$lt_cv_path_LD"
11944 if test -n "$LD"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11946 $as_echo "$LD" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11951 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11953 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11954 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11955 $as_echo_n "(cached) " >&6
11957 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11958 case `$LD -v 2>&1 </dev/null` in
11959 *GNU
* |
*'with BFD'*)
11960 lt_cv_prog_gnu_ld
=yes
11963 lt_cv_prog_gnu_ld
=no
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11968 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11969 with_gnu_ld
=$lt_cv_prog_gnu_ld
11977 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11978 # archiving commands below assume that GNU ld is being used.
11979 if test "$with_gnu_ld" = yes; then
11980 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11981 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11983 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11984 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11986 # If archive_cmds runs LD, not CC, wlarc should be empty
11987 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11988 # investigate it a little bit more. (MM)
11991 # ancient GNU ld didn't support --whole-archive et. al.
11992 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11993 $GREP 'no-whole-archive' > /dev
/null
; then
11994 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11996 whole_archive_flag_spec_CXX
=
12002 # A generic and very simple default shared library creation
12003 # command for GNU C++ for the case where it uses the native
12004 # linker, instead of GNU ld. If possible, this setting should
12005 # overridden to take advantage of the native linker features on
12006 # the platform it is being used on.
12007 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12010 # Commands to make compiler produce verbose output that lists
12011 # what "hidden" libraries, object files and flags are used when
12012 # linking a shared library.
12013 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12021 # PORTME: fill in a description of your system's C++ link characteristics
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12023 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12027 # FIXME: insert proper C++ library support
12031 if test "$host_cpu" = ia64
; then
12032 # On IA64, the linker does run time linking by default, so we don't
12033 # have to do anything special.
12034 aix_use_runtimelinking
=no
12035 exp_sym_flag
='-Bexport'
12038 aix_use_runtimelinking
=no
12040 # Test if we are trying to use run time linking or normal
12041 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12042 # need to do runtime linking.
12043 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12044 for ld_flag
in $LDFLAGS; do
12047 aix_use_runtimelinking
=yes
12055 exp_sym_flag
='-bexport'
12056 no_entry_flag
='-bnoentry'
12059 # When large executables or shared objects are built, AIX ld can
12060 # have problems creating the table of contents. If linking a library
12061 # or program results in "error TOC overflow" add -mminimal-toc to
12062 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12063 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12065 archive_cmds_CXX
=''
12066 hardcode_direct_CXX
=yes
12067 hardcode_direct_absolute_CXX
=yes
12068 hardcode_libdir_separator_CXX
=':'
12069 link_all_deplibs_CXX
=yes
12070 file_list_spec_CXX
='${wl}-f,'
12072 if test "$GXX" = yes; then
12073 case $host_os in aix4.
[012]|aix4.
[012].
*)
12074 # We only want to do this on AIX 4.2 and lower, the check
12075 # below for broken collect2 doesn't work under 4.3+
12076 collect2name
=`${CC} -print-prog-name=collect2`
12077 if test -f "$collect2name" &&
12078 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12080 # We have reworked collect2
12083 # We have old collect2
12084 hardcode_direct_CXX
=unsupported
12085 # It fails to find uninstalled libraries when the uninstalled
12086 # path is not listed in the libpath. Setting hardcode_minus_L
12087 # to unsupported forces relinking
12088 hardcode_minus_L_CXX
=yes
12089 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12090 hardcode_libdir_separator_CXX
=
12093 shared_flag
='-shared'
12094 if test "$aix_use_runtimelinking" = yes; then
12095 shared_flag
="$shared_flag "'${wl}-G'
12099 if test "$host_cpu" = ia64
; then
12100 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12101 # chokes on -Wl,-G. The following line is correct:
12104 if test "$aix_use_runtimelinking" = yes; then
12105 shared_flag
='${wl}-G'
12107 shared_flag
='${wl}-bM:SRE'
12112 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12113 # It seems that -bexpall does not export symbols beginning with
12114 # underscore (_), so it is better to generate a list of symbols to
12116 always_export_symbols_CXX
=yes
12117 if test "$aix_use_runtimelinking" = yes; then
12118 # Warning - without using the other runtime loading flags (-brtl),
12119 # -berok will link without error, but may produce a broken library.
12120 allow_undefined_flag_CXX
='-berok'
12121 # Determine the default libpath from the value encoded in an empty
12123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12134 if ac_fn_cxx_try_link
"$LINENO"; then :
12136 lt_aix_libpath_sed
='
12137 /Import File Strings/,/^$/ {
12143 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12144 # Check for a 64-bit object if we didn't find anything.
12145 if test -z "$aix_libpath"; then
12146 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12149 rm -f core conftest.err conftest.
$ac_objext \
12150 conftest
$ac_exeext conftest.
$ac_ext
12151 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12153 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12155 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"
12157 if test "$host_cpu" = ia64
; then
12158 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12159 allow_undefined_flag_CXX
="-z nodefs"
12160 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"
12162 # Determine the default libpath from the value encoded in an
12163 # empty executable.
12164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12175 if ac_fn_cxx_try_link
"$LINENO"; then :
12177 lt_aix_libpath_sed
='
12178 /Import File Strings/,/^$/ {
12184 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12185 # Check for a 64-bit object if we didn't find anything.
12186 if test -z "$aix_libpath"; then
12187 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12190 rm -f core conftest.err conftest.
$ac_objext \
12191 conftest
$ac_exeext conftest.
$ac_ext
12192 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12194 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12195 # Warning - without using the other run time loading flags,
12196 # -berok will link without error, but may produce a broken library.
12197 no_undefined_flag_CXX
=' ${wl}-bernotok'
12198 allow_undefined_flag_CXX
=' ${wl}-berok'
12199 if test "$with_gnu_ld" = yes; then
12200 # We only use this code for GNU lds that support --whole-archive.
12201 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12203 # Exported symbols can be pulled into shared objects from archives
12204 whole_archive_flag_spec_CXX
='$convenience'
12206 archive_cmds_need_lc_CXX
=yes
12207 # This is similar to how AIX traditionally builds its shared
12209 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'
12215 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12216 allow_undefined_flag_CXX
=unsupported
12217 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12218 # support --undefined. This deserves some investigation. FIXME
12219 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12226 case $cc_basename in
12228 # FIXME: insert proper C++ library support
12234 cygwin
* | mingw
* | pw32
* | cegcc
*)
12235 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12236 # as there is no search path for DLLs.
12237 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12238 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12239 allow_undefined_flag_CXX
=unsupported
12240 always_export_symbols_CXX
=no
12241 enable_shared_with_static_runtimes_CXX
=yes
12243 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12244 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'
12245 # If the export-symbols file already is a .def file (1st line
12246 # is EXPORTS), use it as is; otherwise, prepend...
12247 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12248 cp $export_symbols $output_objdir/$soname.def;
12250 echo EXPORTS > $output_objdir/$soname.def;
12251 cat $export_symbols >> $output_objdir/$soname.def;
12253 $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'
12258 darwin
* | rhapsody
*)
12261 archive_cmds_need_lc_CXX
=no
12262 hardcode_direct_CXX
=no
12263 hardcode_automatic_CXX
=yes
12264 hardcode_shlibpath_var_CXX
=unsupported
12265 if test "$lt_cv_ld_force_load" = "yes"; then
12266 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\"`'
12268 whole_archive_flag_spec_CXX
=''
12270 link_all_deplibs_CXX
=yes
12271 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12272 case $cc_basename in
12273 ifort
*) _lt_dar_can_shared
=yes ;;
12274 *) _lt_dar_can_shared
=$GCC ;;
12276 if test "$_lt_dar_can_shared" = "yes"; then
12277 output_verbose_link_cmd
=func_echo_all
12278 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}"
12279 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12280 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}"
12281 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}"
12282 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12283 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}"
12284 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}"
12294 case $cc_basename in
12296 # FIXME: insert proper C++ library support
12300 # Green Hills C++ Compiler
12301 # FIXME: insert proper C++ library support
12305 # FIXME: insert proper C++ library support
12312 # C++ shared libraries reported to be fairly broken before
12318 archive_cmds_need_lc_CXX
=no
12321 freebsd
* | dragonfly
*)
12322 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12331 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12332 link_all_deplibs_CXX
=yes
12336 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12337 hardcode_libdir_separator_CXX
=:
12338 export_dynamic_flag_spec_CXX
='${wl}-E'
12339 hardcode_direct_CXX
=yes
12340 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12341 # but as the default
12342 # location of the library.
12344 case $cc_basename in
12346 # FIXME: insert proper C++ library support
12350 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'
12351 # Commands to make compiler produce verbose output that lists
12352 # what "hidden" libraries, object files and flags are used when
12353 # linking a shared library.
12355 # There doesn't appear to be a way to prevent this compiler from
12356 # explicitly linking system object files so we need to strip them
12357 # from the output so that they don't get included in the library
12359 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"'
12362 if test "$GXX" = yes; then
12363 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'
12365 # FIXME: insert proper C++ library support
12373 if test $with_gnu_ld = no
; then
12374 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12375 hardcode_libdir_separator_CXX
=:
12381 export_dynamic_flag_spec_CXX
='${wl}-E'
12387 hardcode_direct_CXX
=no
12388 hardcode_shlibpath_var_CXX
=no
12391 hardcode_direct_CXX
=yes
12392 hardcode_direct_absolute_CXX
=yes
12393 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12394 # but as the default
12395 # location of the library.
12399 case $cc_basename in
12401 # FIXME: insert proper C++ library support
12407 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12410 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12413 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12416 # Commands to make compiler produce verbose output that lists
12417 # what "hidden" libraries, object files and flags are used when
12418 # linking a shared library.
12420 # There doesn't appear to be a way to prevent this compiler from
12421 # explicitly linking system object files so we need to strip them
12422 # from the output so that they don't get included in the library
12424 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"'
12427 if test "$GXX" = yes; then
12428 if test $with_gnu_ld = no
; then
12431 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12434 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12437 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'
12442 # FIXME: insert proper C++ library support
12450 hardcode_direct_CXX
=no
12451 hardcode_shlibpath_var_CXX
=no
12452 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12453 export_dynamic_flag_spec_CXX
='${wl}-E'
12454 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12455 # Instead, shared libraries are loaded at an image base (0x10000000 by
12456 # default) and relocated if they conflict, which is a slow very memory
12457 # consuming and fragmenting process. To avoid this, we pick a random,
12458 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12459 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12460 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'
12461 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'
12464 case $cc_basename in
12467 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'
12469 # Archives containing C++ object files must be created using
12470 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12471 # necessary to make sure instantiated templates are included
12473 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12476 if test "$GXX" = yes; then
12477 if test "$with_gnu_ld" = no
; then
12478 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'
12480 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'
12483 link_all_deplibs_CXX
=yes
12486 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12487 hardcode_libdir_separator_CXX
=:
12488 inherit_rpath_CXX
=yes
12491 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12492 case $cc_basename in
12494 # Kuck and Associates, Inc. (KAI) C++ Compiler
12496 # KCC will only create a shared library if the output file
12497 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12498 # to its proper name (with version) after linking.
12499 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'
12500 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'
12501 # Commands to make compiler produce verbose output that lists
12502 # what "hidden" libraries, object files and flags are used when
12503 # linking a shared library.
12505 # There doesn't appear to be a way to prevent this compiler from
12506 # explicitly linking system object files so we need to strip them
12507 # from the output so that they don't get included in the library
12509 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"'
12511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12512 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12514 # Archives containing C++ object files must be created using
12515 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12516 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12521 # version 8.0 and above of icpc choke on multiply defined symbols
12522 # if we add $predep_objects and $postdep_objects, however 7.1 and
12523 # earlier do not add the objects themselves.
12524 case `$CC -V 2>&1` in
12526 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12527 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'
12529 *) # Version 8.0 or newer
12532 ia64
*) tmp_idyn
=' -i_dynamic';;
12534 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12535 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'
12538 archive_cmds_need_lc_CXX
=no
12539 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12540 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12541 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12544 # Portland Group C++ compiler
12546 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12547 prelink_cmds_CXX
='tpldir=Template.dir~
12549 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12550 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12551 old_archive_cmds_CXX
='tpldir=Template.dir~
12553 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12554 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12556 archive_cmds_CXX
='tpldir=Template.dir~
12558 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12559 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12560 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12562 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12563 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12565 *) # Version 6 and above use weak symbols
12566 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12567 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'
12571 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12572 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12573 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'
12577 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12578 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'
12580 runpath_var
=LD_RUN_PATH
12581 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12582 hardcode_libdir_separator_CXX
=:
12584 # Commands to make compiler produce verbose output that lists
12585 # what "hidden" libraries, object files and flags are used when
12586 # linking a shared library.
12588 # There doesn't appear to be a way to prevent this compiler from
12589 # explicitly linking system object files so we need to strip them
12590 # from the output so that they don't get included in the library
12592 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'
12594 xl
* | mpixl
* | bgxl
*)
12595 # IBM XL 8.0 on PPC, with GNU ld
12596 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12597 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12598 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12599 if test "x$supports_anon_versioning" = xyes
; then
12600 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12601 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12602 echo "local: *; };" >> $output_objdir/$libname.ver~
12603 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12607 case `$CC -V 2>&1 | sed 5q` in
12610 no_undefined_flag_CXX
=' -zdefs'
12611 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12612 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'
12613 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12614 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'
12615 compiler_needs_object_CXX
=yes
12617 # Not sure whether something based on
12618 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12620 output_verbose_link_cmd
='func_echo_all'
12622 # Archives containing C++ object files must be created using
12623 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12624 # necessary to make sure instantiated templates are included
12626 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12634 # FIXME: insert proper C++ library support
12639 # FIXME: insert proper C++ library support
12644 case $cc_basename in
12646 # FIXME: insert proper C++ library support
12650 # FIXME: insert proper C++ library support
12657 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12658 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12660 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12661 hardcode_direct_CXX
=yes
12662 hardcode_shlibpath_var_CXX
=no
12664 # Workaround some broken pre-1.5 toolchains
12665 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12673 # C++ shared libraries are fairly broken
12678 if test -f /usr
/libexec
/ld.so
; then
12679 hardcode_direct_CXX
=yes
12680 hardcode_shlibpath_var_CXX
=no
12681 hardcode_direct_absolute_CXX
=yes
12682 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12683 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12684 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12685 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12686 export_dynamic_flag_spec_CXX
='${wl}-E'
12687 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12689 output_verbose_link_cmd
=func_echo_all
12695 osf3
* | osf4
* | osf5
*)
12696 case $cc_basename in
12698 # Kuck and Associates, Inc. (KAI) C++ Compiler
12700 # KCC will only create a shared library if the output file
12701 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12702 # to its proper name (with version) after linking.
12703 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'
12705 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12706 hardcode_libdir_separator_CXX
=:
12708 # Archives containing C++ object files must be created using
12709 # the KAI C++ compiler.
12711 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12712 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12716 # Rational C++ 2.4.1
12717 # FIXME: insert proper C++ library support
12723 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12724 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'
12725 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12728 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12729 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'
12730 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12731 echo "-hidden">> $lib.exp~
12732 $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~
12734 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12738 hardcode_libdir_separator_CXX
=:
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12748 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"'
12751 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12752 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12755 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'
12758 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'
12762 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12763 hardcode_libdir_separator_CXX
=:
12765 # Commands to make compiler produce verbose output that lists
12766 # what "hidden" libraries, object files and flags are used when
12767 # linking a shared library.
12768 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12771 # FIXME: insert proper C++ library support
12779 # FIXME: insert proper C++ library support
12784 case $cc_basename in
12787 # FIXME: insert proper C++ library support
12792 # FIXME: insert proper C++ library support
12796 # FIXME: insert proper C++ library support
12803 case $cc_basename in
12805 # Sun C++ 4.2, 5.x and Centerline C++
12806 archive_cmds_need_lc_CXX
=yes
12807 no_undefined_flag_CXX
=' -zdefs'
12808 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12809 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12810 $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'
12812 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12813 hardcode_shlibpath_var_CXX
=no
12815 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12817 # The compiler driver will combine and reorder linker options,
12818 # but understands `-z linker_flag'.
12819 # Supported since Solaris 2.6 (maybe 2.5.1?)
12820 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12823 link_all_deplibs_CXX
=yes
12825 output_verbose_link_cmd
='func_echo_all'
12827 # Archives containing C++ object files must be created using
12828 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12829 # necessary to make sure instantiated templates are included
12831 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12834 # Green Hills C++ Compiler
12835 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12837 # The C++ compiler must be used to create the archive.
12838 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12841 # GNU C++ compiler with Solaris linker
12842 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12843 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12844 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12845 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12846 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12847 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12849 # Commands to make compiler produce verbose output that lists
12850 # what "hidden" libraries, object files and flags are used when
12851 # linking a shared library.
12852 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12854 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12856 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12857 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12858 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12863 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12866 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12868 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12870 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12878 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12879 no_undefined_flag_CXX
='${wl}-z,text'
12880 archive_cmds_need_lc_CXX
=no
12881 hardcode_shlibpath_var_CXX
=no
12882 runpath_var
='LD_RUN_PATH'
12884 case $cc_basename in
12886 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12887 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12890 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12891 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12896 sysv5
* | sco3.2v5
* | sco5v6
*)
12897 # Note: We can NOT use -z defs as we might desire, because we do not
12898 # link with -lc, and that would cause any symbols used from libc to
12899 # always be unresolved, which means just about no library would
12900 # ever link correctly. If we're not using GNU ld we use -z text
12901 # though, which does catch some bad symbols but isn't as heavy-handed
12903 no_undefined_flag_CXX
='${wl}-z,text'
12904 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12905 archive_cmds_need_lc_CXX
=no
12906 hardcode_shlibpath_var_CXX
=no
12907 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12908 hardcode_libdir_separator_CXX
=':'
12909 link_all_deplibs_CXX
=yes
12910 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12911 runpath_var
='LD_RUN_PATH'
12913 case $cc_basename in
12915 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12916 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12917 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12918 '"$old_archive_cmds_CXX"
12919 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12920 '"$reload_cmds_CXX"
12923 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12924 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12930 case $cc_basename in
12932 # NonStop-UX NCC 3.20
12933 # FIXME: insert proper C++ library support
12937 # FIXME: insert proper C++ library support
12944 # FIXME: insert proper C++ library support
12949 # FIXME: insert proper C++ library support
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12955 $as_echo "$ld_shlibs_CXX" >&6; }
12956 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12962 ## There is no encapsulation within the following macros, do not change
12963 ## the running order or otherwise move them around unless you know exactly
12964 ## what you are doing...
12965 # Dependencies to place before and after the object being linked:
12966 predep_objects_CXX
=
12967 postdep_objects_CXX
=
12970 compiler_lib_search_path_CXX
=
12972 cat > conftest.
$ac_ext <<_LT_EOF
12976 Foo (void) { a = 0; }
12982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12983 (eval $ac_compile) 2>&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12986 test $ac_status = 0; }; then
12987 # Parse the compiler output and extract the necessary
12988 # objects, libraries and library flags.
12990 # Sentinel used to keep track of whether or not we are before
12991 # the conftest object file.
12992 pre_test_object_deps_done
=no
12994 for p
in `eval "$output_verbose_link_cmd"`; do
12998 # Some compilers place space between "-{L,R}" and the path.
12999 # Remove the space.
13000 if test $p = "-L" ||
13001 test $p = "-R"; then
13008 if test "$pre_test_object_deps_done" = no
; then
13011 # Internal compiler library paths should come after those
13012 # provided the user. The postdeps already come after the
13013 # user supplied libs so there is no need to process them.
13014 if test -z "$compiler_lib_search_path_CXX"; then
13015 compiler_lib_search_path_CXX
="${prev}${p}"
13017 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13020 # The "-l" case would never come before the object being
13021 # linked, so don't bother handling this case.
13024 if test -z "$postdeps_CXX"; then
13025 postdeps_CXX
="${prev}${p}"
13027 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13033 # This assumes that the test object file only shows up
13034 # once in the compiler output.
13035 if test "$p" = "conftest.$objext"; then
13036 pre_test_object_deps_done
=yes
13040 if test "$pre_test_object_deps_done" = no
; then
13041 if test -z "$predep_objects_CXX"; then
13042 predep_objects_CXX
="$p"
13044 predep_objects_CXX
="$predep_objects_CXX $p"
13047 if test -z "$postdep_objects_CXX"; then
13048 postdep_objects_CXX
="$p"
13050 postdep_objects_CXX
="$postdep_objects_CXX $p"
13055 *) ;; # Ignore the rest.
13063 echo "libtool.m4: error: problem compiling CXX test program"
13066 $RM -f confest.
$objext
13068 # PORTME: override above test on systems where it is broken
13071 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13072 # hack all around it, let's just trust "g++" to DTRT.
13073 predep_objects_CXX
=
13074 postdep_objects_CXX
=
13079 case `$CC -V 2>&1 | sed 5q` in
13083 # The more standards-conforming stlport4 library is
13084 # incompatible with the Cstd library. Avoid specifying
13085 # it if it's in CXXFLAGS. Ignore libCrun as
13086 # -library=stlport4 depends on it.
13087 case " $CXX $CXXFLAGS " in
13088 *" -library=stlport4 "*)
13089 solaris_use_stlport4
=yes
13093 if test "$solaris_use_stlport4" != yes; then
13094 postdeps_CXX
='-library=Cstd -library=Crun'
13101 case $cc_basename in
13103 # The more standards-conforming stlport4 library is
13104 # incompatible with the Cstd library. Avoid specifying
13105 # it if it's in CXXFLAGS. Ignore libCrun as
13106 # -library=stlport4 depends on it.
13107 case " $CXX $CXXFLAGS " in
13108 *" -library=stlport4 "*)
13109 solaris_use_stlport4
=yes
13113 # Adding this requires a known-good setup of shared libraries for
13114 # Sun compiler versions before 5.6, else PIC objects from an old
13115 # archive will be linked into the output, leading to subtle bugs.
13116 if test "$solaris_use_stlport4" != yes; then
13117 postdeps_CXX
='-library=Cstd -library=Crun'
13125 case " $postdeps_CXX " in
13126 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13128 compiler_lib_search_dirs_CXX
=
13129 if test -n "${compiler_lib_search_path_CXX}"; then
13130 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13163 lt_prog_compiler_wl_CXX
=
13164 lt_prog_compiler_pic_CXX
=
13165 lt_prog_compiler_static_CXX
=
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13168 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13170 # C++ specific cases for pic, static, wl, etc.
13171 if test "$GXX" = yes; then
13172 lt_prog_compiler_wl_CXX
='-Wl,'
13173 lt_prog_compiler_static_CXX
='-static'
13177 # All AIX code is PIC.
13178 if test "$host_cpu" = ia64
; then
13179 # AIX 5 now supports IA64 processor
13180 lt_prog_compiler_static_CXX
='-Bstatic'
13182 lt_prog_compiler_pic_CXX
='-fPIC'
13188 # see comment about AmigaOS4 .so support
13189 lt_prog_compiler_pic_CXX
='-fPIC'
13192 # FIXME: we need at least 68020 code to build shared libraries, but
13193 # adding the `-m68020' flag to GCC prevents building anything better,
13195 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13200 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13201 # PIC is the default for these OSes.
13203 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13204 # This hack is so that the source file can tell whether it is being
13205 # built for inclusion in a dll (and should export symbols for example).
13206 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13207 # (--disable-auto-import) libraries
13208 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13210 darwin
* | rhapsody
*)
13211 # PIC is the default on this platform
13212 # Common symbols not allowed in MH_DYLIB files
13213 lt_prog_compiler_pic_CXX
='-fno-common'
13216 # DJGPP does not support shared libraries at all
13217 lt_prog_compiler_pic_CXX
=
13220 # PIC is the default for Haiku.
13221 # The "-static" flag exists, but is broken.
13222 lt_prog_compiler_static_CXX
=
13225 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13226 # Instead, we relocate shared libraries at runtime.
13229 if test -d /usr
/nec
; then
13230 lt_prog_compiler_pic_CXX
=-Kconform_pic
13234 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13235 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13236 # sets the default TLS model and affects inlining.
13241 lt_prog_compiler_pic_CXX
='-fPIC'
13246 # QNX uses GNU C++, but need to define -shared option too, otherwise
13247 # it will coredump.
13248 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13251 lt_prog_compiler_pic_CXX
='-fPIC'
13257 # All AIX code is PIC.
13258 if test "$host_cpu" = ia64
; then
13259 # AIX 5 now supports IA64 processor
13260 lt_prog_compiler_static_CXX
='-Bstatic'
13262 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13266 case $cc_basename in
13268 # Green Hills C++ Compiler
13269 # _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"
13274 case $cc_basename in
13276 lt_prog_compiler_pic_CXX
='-KPIC'
13279 # Green Hills C++ Compiler
13280 lt_prog_compiler_pic_CXX
='-pic'
13286 freebsd
* | dragonfly
*)
13287 # FreeBSD uses GNU C++
13289 hpux9
* | hpux10
* | hpux11
*)
13290 case $cc_basename in
13292 lt_prog_compiler_wl_CXX
='-Wl,'
13293 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13294 if test "$host_cpu" != ia64
; then
13295 lt_prog_compiler_pic_CXX
='+Z'
13299 lt_prog_compiler_wl_CXX
='-Wl,'
13300 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13306 lt_prog_compiler_pic_CXX
='+Z'
13315 # This is c89, which is MS Visual C++ (no shared libs)
13316 # Anyone wants to do a port?
13318 irix5
* | irix6
* | nonstopux
*)
13319 case $cc_basename in
13321 lt_prog_compiler_wl_CXX
='-Wl,'
13322 lt_prog_compiler_static_CXX
='-non_shared'
13323 # CC pic flag -KPIC is the default.
13329 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13330 case $cc_basename in
13333 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13334 lt_prog_compiler_pic_CXX
='-fPIC'
13337 # old Intel C++ for x86_64 which still supported -KPIC.
13338 lt_prog_compiler_wl_CXX
='-Wl,'
13339 lt_prog_compiler_pic_CXX
='-KPIC'
13340 lt_prog_compiler_static_CXX
='-static'
13343 # Intel C++, used to be incompatible with GCC.
13344 # ICC 10 doesn't accept -KPIC any more.
13345 lt_prog_compiler_wl_CXX
='-Wl,'
13346 lt_prog_compiler_pic_CXX
='-fPIC'
13347 lt_prog_compiler_static_CXX
='-static'
13350 # Portland Group C++ compiler
13351 lt_prog_compiler_wl_CXX
='-Wl,'
13352 lt_prog_compiler_pic_CXX
='-fpic'
13353 lt_prog_compiler_static_CXX
='-Bstatic'
13357 # Make sure the PIC flag is empty. It appears that all Alpha
13358 # Linux and Compaq Tru64 Unix objects are PIC.
13359 lt_prog_compiler_pic_CXX
=
13360 lt_prog_compiler_static_CXX
='-non_shared'
13362 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13363 # IBM XL 8.0, 9.0 on PPC and BlueGene
13364 lt_prog_compiler_wl_CXX
='-Wl,'
13365 lt_prog_compiler_pic_CXX
='-qpic'
13366 lt_prog_compiler_static_CXX
='-qstaticlink'
13369 case `$CC -V 2>&1 | sed 5q` in
13372 lt_prog_compiler_pic_CXX
='-KPIC'
13373 lt_prog_compiler_static_CXX
='-Bstatic'
13374 lt_prog_compiler_wl_CXX
='-Qoption ld '
13385 case $cc_basename in
13387 lt_prog_compiler_pic_CXX
='-W c,exportall'
13396 # QNX uses GNU C++, but need to define -shared option too, otherwise
13397 # it will coredump.
13398 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13400 osf3
* | osf4
* | osf5
*)
13401 case $cc_basename in
13403 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13406 # Rational C++ 2.4.1
13407 lt_prog_compiler_pic_CXX
='-pic'
13410 # Digital/Compaq C++
13411 lt_prog_compiler_wl_CXX
='-Wl,'
13412 # Make sure the PIC flag is empty. It appears that all Alpha
13413 # Linux and Compaq Tru64 Unix objects are PIC.
13414 lt_prog_compiler_pic_CXX
=
13415 lt_prog_compiler_static_CXX
='-non_shared'
13424 case $cc_basename in
13426 # Sun C++ 4.2, 5.x and Centerline C++
13427 lt_prog_compiler_pic_CXX
='-KPIC'
13428 lt_prog_compiler_static_CXX
='-Bstatic'
13429 lt_prog_compiler_wl_CXX
='-Qoption ld '
13432 # Green Hills C++ Compiler
13433 lt_prog_compiler_pic_CXX
='-PIC'
13440 case $cc_basename in
13443 lt_prog_compiler_pic_CXX
='-pic'
13444 lt_prog_compiler_static_CXX
='-Bstatic'
13448 lt_prog_compiler_pic_CXX
='-pic'
13454 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13455 case $cc_basename in
13457 lt_prog_compiler_wl_CXX
='-Wl,'
13458 lt_prog_compiler_pic_CXX
='-KPIC'
13459 lt_prog_compiler_static_CXX
='-Bstatic'
13464 case $cc_basename in
13466 # NonStop-UX NCC 3.20
13467 lt_prog_compiler_pic_CXX
='-KPIC'
13476 lt_prog_compiler_can_build_shared_CXX
=no
13482 # For platforms which do not support PIC, -DPIC is meaningless:
13484 lt_prog_compiler_pic_CXX
=
13487 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13491 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13496 # Check to make sure the PIC flag actually works.
13498 if test -n "$lt_prog_compiler_pic_CXX"; then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13500 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13501 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13502 $as_echo_n "(cached) " >&6
13504 lt_cv_prog_compiler_pic_works_CXX
=no
13505 ac_outfile
=conftest.
$ac_objext
13506 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13507 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13508 # Insert the option either (1) after the last *FLAGS variable, or
13509 # (2) before a word containing "conftest.", or (3) at the end.
13510 # Note that $ac_compile itself does not contain backslashes and begins
13511 # with a dollar sign (not a hyphen), so the echo should work correctly.
13512 # The option is referenced via a variable to avoid confusing sed.
13513 lt_compile
=`echo "$ac_compile" | $SED \
13514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13516 -e 's:$: $lt_compiler_flag:'`
13517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13518 (eval "$lt_compile" 2>conftest.err
)
13520 cat conftest.err
>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 if (exit $ac_status) && test -s "$ac_outfile"; then
13523 # The compiler can only warn and ignore the option if not recognized
13524 # So say no if there are warnings other than the usual output.
13525 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13526 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13527 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13528 lt_cv_prog_compiler_pic_works_CXX
=yes
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13535 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13537 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13538 case $lt_prog_compiler_pic_CXX in
13540 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13543 lt_prog_compiler_pic_CXX
=
13544 lt_prog_compiler_can_build_shared_CXX
=no
13552 # Check to make sure the static flag actually works.
13554 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13556 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13557 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13558 $as_echo_n "(cached) " >&6
13560 lt_cv_prog_compiler_static_works_CXX
=no
13561 save_LDFLAGS
="$LDFLAGS"
13562 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13563 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13564 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13565 # The linker can only warn and ignore the option if not recognized
13566 # So say no if there are warnings
13567 if test -s conftest.err
; then
13568 # Append any errors to the config.log.
13569 cat conftest.err
1>&5
13570 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13571 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13572 if diff conftest.exp conftest.er2
>/dev
/null
; then
13573 lt_cv_prog_compiler_static_works_CXX
=yes
13576 lt_cv_prog_compiler_static_works_CXX
=yes
13580 LDFLAGS
="$save_LDFLAGS"
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13584 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13586 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13589 lt_prog_compiler_static_CXX
=
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13596 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13597 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13598 $as_echo_n "(cached) " >&6
13600 lt_cv_prog_compiler_c_o_CXX
=no
13601 $RM -r conftest
2>/dev
/null
13605 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13607 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13608 # Insert the option either (1) after the last *FLAGS variable, or
13609 # (2) before a word containing "conftest.", or (3) at the end.
13610 # Note that $ac_compile itself does not contain backslashes and begins
13611 # with a dollar sign (not a hyphen), so the echo should work correctly.
13612 lt_compile
=`echo "$ac_compile" | $SED \
13613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13615 -e 's:$: $lt_compiler_flag:'`
13616 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13617 (eval "$lt_compile" 2>out
/conftest.err
)
13619 cat out
/conftest.err
>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13623 # The compiler can only warn and ignore the option if not recognized
13624 # So say no if there are warnings
13625 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13626 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13627 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13628 lt_cv_prog_compiler_c_o_CXX
=yes
13633 # SGI C++ compiler will create directory out/ii_files/ for
13634 # template instantiation
13635 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13636 $RM out
/* && rmdir out
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13643 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13649 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13650 $as_echo_n "(cached) " >&6
13652 lt_cv_prog_compiler_c_o_CXX
=no
13653 $RM -r conftest
2>/dev
/null
13657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13659 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13660 # Insert the option either (1) after the last *FLAGS variable, or
13661 # (2) before a word containing "conftest.", or (3) at the end.
13662 # Note that $ac_compile itself does not contain backslashes and begins
13663 # with a dollar sign (not a hyphen), so the echo should work correctly.
13664 lt_compile
=`echo "$ac_compile" | $SED \
13665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13667 -e 's:$: $lt_compiler_flag:'`
13668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13669 (eval "$lt_compile" 2>out
/conftest.err
)
13671 cat out
/conftest.err
>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13675 # The compiler can only warn and ignore the option if not recognized
13676 # So say no if there are warnings
13677 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13678 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13679 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13680 lt_cv_prog_compiler_c_o_CXX
=yes
13685 # SGI C++ compiler will create directory out/ii_files/ for
13686 # template instantiation
13687 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13688 $RM out
/* && rmdir out
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13695 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13700 hard_links
="nottested"
13701 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13702 # do not overwrite the value of need_locks provided by the user
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13704 $as_echo_n "checking if we can lock with hard links... " >&6; }
13707 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13709 ln conftest.a conftest.b
2>&5 || hard_links
=no
13710 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13712 $as_echo "$hard_links" >&6; }
13713 if test "$hard_links" = no
; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13715 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13725 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13727 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13730 # If we're using GNU nm, then we don't want the "-C" option.
13731 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13732 # Also, AIX nm treats weak defined symbols like other global defined
13733 # symbols, whereas GNU nm marks them as "W".
13734 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13735 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'
13737 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13741 export_symbols_cmds_CXX
="$ltdll_cmds"
13743 cygwin
* | mingw
* | cegcc
*)
13744 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'
13747 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13750 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13753 $as_echo "$ld_shlibs_CXX" >&6; }
13754 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13756 with_gnu_ld_CXX
=$with_gnu_ld
13764 # Do we need to explicitly link libc?
13766 case "x$archive_cmds_need_lc_CXX" in
13768 # Assume -lc should be added
13769 archive_cmds_need_lc_CXX
=yes
13771 if test "$enable_shared" = yes && test "$GCC" = yes; then
13772 case $archive_cmds_CXX in
13774 # FIXME: we may have to deal with multi-command sequences.
13777 # Test whether the compiler implicitly links with -lc since on some
13778 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13779 # to ld, don't add -lc before -lgcc.
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13781 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13782 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13783 $as_echo_n "(cached) " >&6
13786 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13789 (eval $ac_compile) 2>&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13792 test $ac_status = 0; } 2>conftest.err
; then
13795 libobjs
=conftest.
$ac_objext
13797 wl
=$lt_prog_compiler_wl_CXX
13798 pic_flag
=$lt_prog_compiler_pic_CXX
13804 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13805 allow_undefined_flag_CXX
=
13806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13807 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13810 test $ac_status = 0; }
13812 lt_cv_archive_cmds_need_lc_CXX
=no
13814 lt_cv_archive_cmds_need_lc_CXX
=yes
13816 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13818 cat conftest.err
1>&5
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13824 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13825 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13896 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13898 library_names_spec
=
13899 libname_spec
='lib$name'
13903 postuninstall_cmds
=
13907 shlibpath_overrides_runpath
=unknown
13909 dynamic_linker
="$host_os ld.so"
13910 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13911 need_lib_prefix
=unknown
13912 hardcode_into_libs
=no
13914 # when you set need_version to no, make sure it does not cause -set_version
13915 # flags to be left without arguments
13916 need_version
=unknown
13921 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13922 shlibpath_var
=LIBPATH
13924 # AIX 3 has no versioning support, so we append a major version to the name.
13925 soname_spec
='${libname}${release}${shared_ext}$major'
13932 hardcode_into_libs
=yes
13933 if test "$host_cpu" = ia64
; then
13934 # AIX 5 supports IA64
13935 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13936 shlibpath_var
=LD_LIBRARY_PATH
13938 # With GCC up to 2.95.x, collect2 would create an import file
13939 # for dependence libraries. The import file would start with
13940 # the line `#! .'. This would cause the generated library to
13941 # depend on `.', always an invalid library. This was fixed in
13942 # development snapshots of GCC prior to 3.0.
13944 aix4 | aix4.
[01] | aix4.
[01].
*)
13945 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13947 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13950 can_build_shared
=no
13954 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13955 # soname into executable. Probably we can add versioning support to
13956 # collect2, so additional links can be useful in future.
13957 if test "$aix_use_runtimelinking" = yes; then
13958 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13959 # instead of lib<name>.a to let people know that these are not
13960 # typical AIX shared libraries.
13961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13963 # We preserve .a as extension for shared libraries through AIX4.2
13964 # and later when we are not doing run time linking.
13965 library_names_spec
='${libname}${release}.a $libname.a'
13966 soname_spec
='${libname}${release}${shared_ext}$major'
13968 shlibpath_var
=LIBPATH
13975 # Since July 2007 AmigaOS4 officially supports .so libraries.
13976 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13980 library_names_spec
='$libname.ixlibrary $libname.a'
13981 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13982 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'
13988 library_names_spec
='${libname}${shared_ext}'
13989 dynamic_linker
="$host_os ld.so"
13990 shlibpath_var
=LIBRARY_PATH
13996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13997 soname_spec
='${libname}${release}${shared_ext}$major'
13998 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13999 shlibpath_var
=LD_LIBRARY_PATH
14000 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14001 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14002 # the default ld.so.conf also contains /usr/contrib/lib and
14003 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14004 # libtool to hard-code these into programs
14007 cygwin
* | mingw
* | pw32
* | cegcc
*)
14008 version_type
=windows
14013 case $GCC,$host_os in
14014 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14015 library_names_spec
='$libname.dll.a'
14016 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14017 postinstall_cmds
='base_file=`basename \${file}`~
14018 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14019 dldir=$destdir/`dirname \$dlpath`~
14020 test -d \$dldir || mkdir -p \$dldir~
14021 $install_prog $dir/$dlname \$dldir/$dlname~
14022 chmod a+x \$dldir/$dlname~
14023 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14024 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14026 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14027 dlpath=$dir/\$dldll~
14029 shlibpath_overrides_runpath
=yes
14033 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14034 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14038 # MinGW DLLs use traditional 'lib' prefix
14039 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14042 # pw32 DLLs use 'pw' prefix rather than 'lib'
14043 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14049 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14052 dynamic_linker
='Win32 ld.exe'
14053 # FIXME: first we should search . and the directory the executable is in
14057 darwin
* | rhapsody
*)
14058 dynamic_linker
="$host_os dyld"
14059 version_type
=darwin
14062 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14063 soname_spec
='${libname}${release}${major}$shared_ext'
14064 shlibpath_overrides_runpath
=yes
14065 shlibpath_var
=DYLD_LIBRARY_PATH
14066 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14068 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14076 soname_spec
='${libname}${release}${shared_ext}$major'
14077 shlibpath_var
=LD_LIBRARY_PATH
14080 freebsd
* | dragonfly
*)
14081 # DragonFly does not have aout. When/if they implement a new
14082 # versioning mechanism, adjust this.
14083 if test -x /usr
/bin
/objformat
; then
14084 objformat
=`/usr/bin/objformat`
14087 freebsd
[23].
*) objformat
=aout
;;
14088 *) objformat
=elf
;;
14091 version_type
=freebsd-
$objformat
14092 case $version_type in
14094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14103 shlibpath_var
=LD_LIBRARY_PATH
14106 shlibpath_overrides_runpath
=yes
14108 freebsd3.
[01]* | freebsdelf3.
[01]*)
14109 shlibpath_overrides_runpath
=yes
14110 hardcode_into_libs
=yes
14112 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14113 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14114 shlibpath_overrides_runpath
=no
14115 hardcode_into_libs
=yes
14117 *) # from 4.6 on, and DragonFly
14118 shlibpath_overrides_runpath
=yes
14119 hardcode_into_libs
=yes
14128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14129 soname_spec
='${libname}${release}${shared_ext}$major'
14130 shlibpath_var
=LD_LIBRARY_PATH
14131 hardcode_into_libs
=yes
14138 dynamic_linker
="$host_os runtime_loader"
14139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14140 soname_spec
='${libname}${release}${shared_ext}$major'
14141 shlibpath_var
=LIBRARY_PATH
14142 shlibpath_overrides_runpath
=yes
14143 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14144 hardcode_into_libs
=yes
14147 hpux9
* | hpux10
* | hpux11
*)
14148 # Give a soname corresponding to the major version so that dld.sl refuses to
14149 # link against other versions.
14156 hardcode_into_libs
=yes
14157 dynamic_linker
="$host_os dld.so"
14158 shlibpath_var
=LD_LIBRARY_PATH
14159 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14161 soname_spec
='${libname}${release}${shared_ext}$major'
14162 if test "X$HPUX_IA64_MODE" = X32
; then
14163 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14165 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14167 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14171 hardcode_into_libs
=yes
14172 dynamic_linker
="$host_os dld.sl"
14173 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 soname_spec
='${libname}${release}${shared_ext}$major'
14177 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14178 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14182 dynamic_linker
="$host_os dld.sl"
14183 shlibpath_var
=SHLIB_PATH
14184 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186 soname_spec
='${libname}${release}${shared_ext}$major'
14189 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14190 postinstall_cmds
='chmod 555 $lib'
14191 # or fails outright, so override atomically:
14192 install_override_mode
=555
14199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14200 soname_spec
='${libname}${release}${shared_ext}$major'
14201 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14202 shlibpath_var
=LD_LIBRARY_PATH
14203 shlibpath_overrides_runpath
=no
14204 hardcode_into_libs
=yes
14207 irix5
* | irix6
* | nonstopux
*)
14209 nonstopux
*) version_type
=nonstopux
;;
14211 if test "$lt_cv_prog_gnu_ld" = yes; then
14219 soname_spec
='${libname}${release}${shared_ext}$major'
14220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14222 irix5
* | nonstopux
*)
14223 libsuff
= shlibsuff
=
14226 case $LD in # libtool.m4 will add one of these switches to LD
14227 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14228 libsuff
= shlibsuff
= libmagic
=32-bit;;
14229 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14230 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14231 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14232 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14233 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14237 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14238 shlibpath_overrides_runpath
=no
14239 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14240 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14241 hardcode_into_libs
=yes
14244 # No shared lib support for Linux oldld, aout, or coff.
14245 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14249 # This must be Linux ELF.
14250 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14255 soname_spec
='${libname}${release}${shared_ext}$major'
14256 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14257 shlibpath_var
=LD_LIBRARY_PATH
14258 shlibpath_overrides_runpath
=no
14260 # Some binutils ld are patched to set DT_RUNPATH
14261 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14262 $as_echo_n "(cached) " >&6
14264 lt_cv_shlibpath_overrides_runpath
=no
14265 save_LDFLAGS
=$LDFLAGS
14266 save_libdir
=$libdir
14267 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14268 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14280 if ac_fn_cxx_try_link
"$LINENO"; then :
14281 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14282 lt_cv_shlibpath_overrides_runpath
=yes
14285 rm -f core conftest.err conftest.
$ac_objext \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 LDFLAGS
=$save_LDFLAGS
14288 libdir
=$save_libdir
14292 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14294 # This implies no fast_install, which is unacceptable.
14295 # Some rework will be needed to allow for fast_install
14296 # before this can be enabled.
14297 hardcode_into_libs
=yes
14299 # Append ld.so.conf contents to the search path
14300 if test -f /etc
/ld.so.conf
; then
14301 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' ' '`
14302 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14305 # We used to test for /lib/ld.so.1 and disable shared libraries on
14306 # powerpc, because MkLinux only supported shared libraries with the
14307 # GNU dynamic linker. Since this was broken with cross compilers,
14308 # most powerpc-linux boxes support dynamic linking these days and
14309 # people can always --disable-shared, the test was removed, and we
14310 # assume the GNU/Linux dynamic linker is in use.
14311 dynamic_linker
='GNU/Linux ld.so'
14318 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14320 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14321 dynamic_linker
='NetBSD (a.out) ld.so'
14323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14324 soname_spec
='${libname}${release}${shared_ext}$major'
14325 dynamic_linker
='NetBSD ld.elf_so'
14327 shlibpath_var
=LD_LIBRARY_PATH
14328 shlibpath_overrides_runpath
=yes
14329 hardcode_into_libs
=yes
14334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 shlibpath_var
=LD_LIBRARY_PATH
14336 shlibpath_overrides_runpath
=yes
14343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14344 soname_spec
='${libname}${release}${shared_ext}$major'
14345 shlibpath_var
=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath
=no
14347 hardcode_into_libs
=yes
14348 dynamic_linker
='ldqnx.so'
14353 sys_lib_dlsearch_path_spec
="/usr/lib"
14355 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14357 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14358 *) need_version
=no
;;
14360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14362 shlibpath_var
=LD_LIBRARY_PATH
14363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14365 openbsd2.
[89] | openbsd2.
[89].
*)
14366 shlibpath_overrides_runpath
=no
14369 shlibpath_overrides_runpath
=yes
14373 shlibpath_overrides_runpath
=yes
14378 libname_spec
='$name'
14381 library_names_spec
='$libname${shared_ext} $libname.a'
14382 dynamic_linker
='OS/2 ld.exe'
14383 shlibpath_var
=LIBPATH
14386 osf3
* | osf4
* | osf5
*)
14390 soname_spec
='${libname}${release}${shared_ext}$major'
14391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392 shlibpath_var
=LD_LIBRARY_PATH
14393 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14394 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14406 soname_spec
='${libname}${release}${shared_ext}$major'
14407 shlibpath_var
=LD_LIBRARY_PATH
14408 shlibpath_overrides_runpath
=yes
14409 hardcode_into_libs
=yes
14410 # ldd complains unless libraries are executable
14411 postinstall_cmds
='chmod +x $lib'
14416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14417 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14418 shlibpath_var
=LD_LIBRARY_PATH
14419 shlibpath_overrides_runpath
=yes
14420 if test "$with_gnu_ld" = yes; then
14428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec
='${libname}${release}${shared_ext}$major'
14430 shlibpath_var
=LD_LIBRARY_PATH
14431 case $host_vendor in
14433 shlibpath_overrides_runpath
=no
14435 runpath_var
=LD_RUN_PATH
14443 shlibpath_overrides_runpath
=no
14444 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14450 if test -d /usr
/nec
;then
14452 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14453 soname_spec
='$libname${shared_ext}.$major'
14454 shlibpath_var
=LD_LIBRARY_PATH
14458 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14459 version_type
=freebsd-elf
14462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14463 soname_spec
='${libname}${release}${shared_ext}$major'
14464 shlibpath_var
=LD_LIBRARY_PATH
14465 shlibpath_overrides_runpath
=yes
14466 hardcode_into_libs
=yes
14467 if test "$with_gnu_ld" = yes; then
14468 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14470 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14473 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14477 sys_lib_dlsearch_path_spec
='/usr/lib'
14481 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486 shlibpath_var
=LD_LIBRARY_PATH
14487 shlibpath_overrides_runpath
=no
14488 hardcode_into_libs
=yes
14493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 soname_spec
='${libname}${release}${shared_ext}$major'
14495 shlibpath_var
=LD_LIBRARY_PATH
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14503 $as_echo "$dynamic_linker" >&6; }
14504 test "$dynamic_linker" = no
&& can_build_shared
=no
14506 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14507 if test "$GCC" = yes; then
14508 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14511 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14512 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14514 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14515 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14556 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14557 hardcode_action_CXX
=
14558 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14559 test -n "$runpath_var_CXX" ||
14560 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14562 # We can hardcode non-existent directories.
14563 if test "$hardcode_direct_CXX" != no
&&
14564 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14565 # have to relink, otherwise we might link with an installed library
14566 # when we should be linking with a yet-to-be-installed one
14567 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14568 test "$hardcode_minus_L_CXX" != no
; then
14569 # Linking always hardcodes the temporary library directory.
14570 hardcode_action_CXX
=relink
14572 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14573 hardcode_action_CXX
=immediate
14576 # We cannot hardcode anything, or else we can only hardcode existing
14578 hardcode_action_CXX
=unsupported
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14581 $as_echo "$hardcode_action_CXX" >&6; }
14583 if test "$hardcode_action_CXX" = relink ||
14584 test "$inherit_rpath_CXX" = yes; then
14585 # Fast installation is not supported
14586 enable_fast_install
=no
14587 elif test "$shlibpath_overrides_runpath" = yes ||
14588 test "$enable_shared" = no
; then
14589 # Fast installation is not necessary
14590 enable_fast_install
=needless
14599 fi # test -n "$compiler"
14605 with_gnu_ld
=$lt_save_with_gnu_ld
14606 lt_cv_path_LDCXX
=$lt_cv_path_LD
14607 lt_cv_path_LD
=$lt_save_path_LD
14608 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14609 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14610 fi # test "$_lt_caught_CXX_error" != yes
14613 ac_cpp
='$CPP $CPPFLAGS'
14614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14630 ac_config_commands
="$ac_config_commands libtool"
14635 # Only expand once:
14641 # For libtool versioning info, format is CURRENT:REVISION:AGE
14642 libtool_VERSION
=1:0:0
14645 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
14648 if test "${multilib}" = "yes"; then
14649 multilib_arg
="--enable-multilib"
14654 ac_config_files
="$ac_config_files Makefile"
14657 if test "x$VTV_SUPPORTED" = "xyes"; then
14658 ac_config_files
="$ac_config_files ./Makefile testsuite/Makefile"
14662 cat >confcache
<<\_ACEOF
14663 # This file is a shell script that caches the results of configure
14664 # tests run on this system so they can be shared between configure
14665 # scripts and configure runs, see configure's option --config-cache.
14666 # It is not useful on other systems. If it contains results you don't
14667 # want to keep, you may remove or edit it.
14669 # config.status only pays attention to the cache file if you give it
14670 # the --recheck option to rerun configure.
14672 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14673 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14674 # following values.
14678 # The following way of writing the cache mishandles newlines in values,
14679 # but we know of no workaround that is simple, portable, and efficient.
14680 # So, we kill variables containing newlines.
14681 # Ultrix sh set writes to stderr and can't be redirected directly,
14682 # and sets the high bit in the cache file unless we assign to the vars.
14684 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14685 eval ac_val
=\$
$ac_var
14689 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14690 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14693 _ | IFS | as_nl
) ;; #(
14694 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14695 *) { eval $ac_var=; unset $ac_var;} ;;
14701 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14702 *${as_nl}ac_space
=\
*)
14703 # `set' does not quote correctly, so add quotes: double-quote
14704 # substitution turns \\\\ into \\, and sed turns \\ into \.
14707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14710 # `set' quotes correctly as required by POSIX, so do not add quotes.
14711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14722 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14724 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14725 if test -w "$cache_file"; then
14726 test "x$cache_file" != "x/dev/null" &&
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14728 $as_echo "$as_me: updating cache $cache_file" >&6;}
14729 cat confcache
>$cache_file
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14732 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14737 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14738 # Let make expand exec_prefix.
14739 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14741 # Transform confdefs.h into DEFS.
14742 # Protect against shell expansion while executing Makefile rules.
14743 # Protect against Makefile macro expansion.
14745 # If the first sed substitution is executed (which looks for macros that
14746 # take arguments), then branch to the quote section. Otherwise,
14747 # look for a macro that doesn't take arguments.
14757 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14759 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14763 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14776 DEFS
=`sed -n "$ac_script" confdefs.h`
14781 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14782 # 1. Remove the extension, and $U if already installed.
14783 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14784 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14785 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14786 # will be set to the directory where LIBOBJS objects are built.
14787 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14788 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14790 LIBOBJS
=$ac_libobjs
14792 LTLIBOBJS
=$ac_ltlibobjs
14795 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
14796 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
14797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14799 if test -n "$EXEEXT"; then
14801 am__EXEEXT_FALSE
='#'
14803 am__EXEEXT_TRUE
='#'
14807 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14808 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14811 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14812 as_fn_error
"conditional \"AMDEP\" was never defined.
14813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14815 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14816 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14819 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14820 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14824 : ${CONFIG_STATUS=./config.status}
14826 ac_clean_files_save
=$ac_clean_files
14827 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14833 # Generated by $as_me.
14834 # Run this file to recreate the current configuration.
14835 # Compiler output produced by configure, useful for debugging
14836 # configure, is in config.log if it exists.
14839 ac_cs_recheck=false
14842 SHELL=\${CONFIG_SHELL-$SHELL}
14845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14846 ## -------------------- ##
14847 ## M4sh Initialization. ##
14848 ## -------------------- ##
14850 # Be more Bourne compatible
14851 DUALCASE
=1; export DUALCASE
# for MKS sh
14852 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14856 # is contrary to our usage. Disable this feature.
14857 alias -g '${1+"$@"}'='"$@"'
14858 setopt NO_GLOB_SUBST
14860 case `(set -o) 2>/dev/null` in #(
14872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14873 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14876 # Prefer a ksh shell builtin over an external printf program on Solaris,
14877 # but without wasting forks for bash or zsh.
14878 if test -z "$BASH_VERSION$ZSH_VERSION" \
14879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14880 as_echo='print
-r --'
14881 as_echo_n='print
-rn --'
14882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14883 as_echo='printf %s
\n'
14884 as_echo_n='printf %s
'
14886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14887 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14888 as_echo_n='/usr
/ucb
/echo -n'
14890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14891 as_echo_n_body='eval
14895 expr "X$arg" : "X\\(.*\\)$as_nl";
14896 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14898 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14900 export as_echo_n_body
14901 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14903 export as_echo_body
14904 as_echo='sh
-c $as_echo_body as_echo
'
14907 # The user is always right.
14908 if test "${PATH_SEPARATOR+set}" != set; then
14910 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14911 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14918 # We need space, tab and new line, in precisely that order. Quoting is
14919 # there to prevent editors from complaining about space-tab.
14920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14921 # splitting by setting IFS to empty value.)
14924 # Find who we are. Look in the path if we contain no directory separator.
14926 *[\\/]* ) as_myself=$0 ;;
14927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14928 for as_dir in $PATH
14931 test -z "$as_dir" && as_dir=.
14932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14938 # We did not find ourselves, most probably we were run as `sh COMMAND'
14939 # in which case we are not to be found in the path.
14940 if test "x$as_myself" = x
; then
14943 if test ! -f "$as_myself"; then
14944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14948 # Unset variables that we do not need and which cause bugs (e.g. in
14949 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14950 # suppresses any "Segmentation fault" message there. '((' could
14951 # trigger a bug in pdksh 5.2.14.
14952 for as_var
in BASH_ENV ENV MAIL MAILPATH
14953 do eval test x\
${$as_var+set} = xset \
14954 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14967 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14970 # as_fn_error ERROR [LINENO LOG_FD]
14971 # ---------------------------------
14972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14974 # script with status $?, using 1 if that was 0.
14977 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14979 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14980 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14982 $as_echo "$as_me: error: $1" >&2
14983 as_fn_exit
$as_status
14987 # as_fn_set_status STATUS
14988 # -----------------------
14989 # Set $? to STATUS, without forking.
14990 as_fn_set_status
()
14993 } # as_fn_set_status
14995 # as_fn_exit STATUS
14996 # -----------------
14997 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15001 as_fn_set_status
$1
15007 # Portably unset VAR.
15010 { eval $1=; unset $1;}
15012 as_unset
=as_fn_unset
15013 # as_fn_append VAR VALUE
15014 # ----------------------
15015 # Append the text in VALUE to the end of the definition contained in VAR. Take
15016 # advantage of any shell optimizations that allow amortized linear growth over
15017 # repeated appends, instead of the typical quadratic growth present in naive
15019 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15020 eval 'as_fn_append ()
15031 # as_fn_arith ARG...
15032 # ------------------
15033 # Perform arithmetic evaluation on the ARGs, and store the result in the
15034 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15035 # must be portable across $(()) and expr.
15036 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15037 eval 'as_fn_arith ()
15044 as_val
=`expr "$@" || test $? -eq 1`
15049 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15050 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15056 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15057 as_basename
=basename
15062 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15068 as_me
=`$as_basename -- "$0" ||
15069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15070 X"$0" : 'X\(//\)$' \| \
15071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15073 sed '/^.*\/\([^/][^/]*\)\/*$/{
15087 # Avoid depending upon Character Ranges.
15088 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15089 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15090 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15091 as_cr_digits
='0123456789'
15092 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15094 ECHO_C
= ECHO_N
= ECHO_T
=
15095 case `echo -n x` in #(((((
15097 case `echo 'xy\c'` in
15098 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15100 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15107 rm -f conf$$ conf$$.exe conf$$.
file
15108 if test -d conf$$.dir
; then
15109 rm -f conf$$.dir
/conf$$.
file
15112 mkdir conf$$.dir
2>/dev
/null
15114 if (echo >conf$$.
file) 2>/dev
/null
; then
15115 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15117 # ... but there are two gotchas:
15118 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15119 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15120 # In both cases, we have to default to `cp -p'.
15121 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15123 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15131 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15132 rmdir conf$$.dir
2>/dev
/null
15137 # Create "$as_dir" as a directory, including parents if necessary.
15142 -*) as_dir
=.
/$as_dir;;
15144 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15148 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15149 *) as_qdir
=$as_dir;;
15151 as_dirs
="'$as_qdir' $as_dirs"
15152 as_dir
=`$as_dirname -- "$as_dir" ||
15153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15154 X"$as_dir" : 'X\(//\)[^/]' \| \
15155 X"$as_dir" : 'X\(//\)$' \| \
15156 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15157 $as_echo X"$as_dir" |
15158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15162 /^X\(\/\/\)[^/].*/{
15175 test -d "$as_dir" && break
15177 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15178 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15182 if mkdir
-p .
2>/dev
/null
; then
15183 as_mkdir_p
='mkdir -p "$as_dir"'
15185 test -d .
/-p && rmdir .
/-p
15189 if test -x / >/dev
/null
2>&1; then
15190 as_test_x
='test -x'
15192 if ls -dL / >/dev
/null
2>&1; then
15199 if test -d "$1"; then
15205 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15206 ???[sx]*):;;*)false;;esac;fi
15210 as_executable_p
=$as_test_x
15212 # Sed expression to map a string onto a valid CPP name.
15213 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15215 # Sed expression to map a string onto a valid variable name.
15216 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15220 ## ----------------------------------- ##
15221 ## Main body of $CONFIG_STATUS script. ##
15222 ## ----------------------------------- ##
15224 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15227 # Save the log message, to keep $0 and so on meaningful, and to
15228 # report actual input values of CONFIG_FILES etc. instead of their
15229 # values after options handling.
15231 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
15232 generated by GNU Autoconf 2.64. Invocation command line was
15234 CONFIG_FILES = $CONFIG_FILES
15235 CONFIG_HEADERS = $CONFIG_HEADERS
15236 CONFIG_LINKS = $CONFIG_LINKS
15237 CONFIG_COMMANDS = $CONFIG_COMMANDS
15240 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15245 case $ac_config_files in *"
15246 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15252 # Files that config.status was made for.
15253 config_files="$ac_config_files"
15254 config_commands="$ac_config_commands"
15258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15260 \`$as_me' instantiates files and other configuration actions
15261 from templates according to the current configuration. Unless the files
15262 and actions are specified as TAGs, all are instantiated by default.
15264 Usage: $0 [OPTION]... [TAG]...
15266 -h, --help print this help, then exit
15267 -V, --version print version number and configuration settings, then exit
15268 -q, --quiet, --silent
15269 do not print progress messages
15270 -d, --debug don't remove temporary files
15271 --recheck update $as_me by reconfiguring in the same conditions
15272 --file=FILE[:TEMPLATE]
15273 instantiate the configuration file FILE
15275 Configuration files:
15278 Configuration commands:
15281 Report bugs to the package provider.
15282 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
15283 General help using GNU software: <http://www.gnu.org/gethelp/>."
15286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15288 GNU Vtable Verification Runtime Library config.status 1.0
15289 configured by $0, generated by GNU Autoconf 2.64,
15290 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15292 Copyright (C) 2009 Free Software Foundation, Inc.
15293 This config.status script is free software; the Free Software Foundation
15294 gives unlimited permission to copy, distribute and modify it."
15301 test -n "\$AWK" || AWK=awk
15304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15305 # The default lists apply if the user does not specify any file.
15311 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15312 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15323 # Handling of the options.
15324 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15326 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15327 $as_echo "$ac_cs_version"; exit ;;
15328 --debug |
--debu |
--deb |
--de |
--d |
-d )
15330 --file |
--fil |
--fi |
--f )
15333 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15335 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15336 ac_need_defaults
=false
;;
15337 --he |
--h |
--help |
--hel |
-h )
15338 $as_echo "$ac_cs_usage"; exit ;;
15339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15340 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15343 # This is an error.
15344 -*) as_fn_error
"unrecognized option: \`$1'
15345 Try \`$0 --help' for more information." ;;
15347 *) as_fn_append ac_config_targets
" $1"
15348 ac_need_defaults
=false
;;
15354 ac_configure_extra_args
=
15356 if $ac_cs_silent; then
15358 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15363 if \$ac_cs_recheck; then
15364 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15367 CONFIG_SHELL='$SHELL'
15368 export CONFIG_SHELL
15373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15378 ## Running $as_me. ##
15384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15392 with_multisubdir="$with_multisubdir"
15393 with_multisrctop="$with_multisrctop"
15394 with_target_subdir="$with_target_subdir"
15395 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15396 multi_basedir="$multi_basedir"
15397 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15400 GFORTRAN="$GFORTRAN"
15402 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15405 # The HP-UX ksh and POSIX shell print the target directory to stdout
15406 # if CDPATH is set.
15407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15409 sed_quote_subst='$sed_quote_subst'
15410 double_quote_subst='$double_quote_subst'
15411 delay_variable_subst='$delay_variable_subst'
15412 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15413 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15414 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15415 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15416 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15417 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15418 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15419 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15420 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15421 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15422 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15423 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15424 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15425 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15426 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15427 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15428 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15429 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15430 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15431 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15432 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15433 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15434 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15435 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15436 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15437 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15438 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15439 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15440 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15441 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15442 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15443 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15444 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15445 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15446 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15447 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15448 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15449 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15450 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15451 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15452 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15453 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15454 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15455 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15456 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15457 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15458 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15459 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15460 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"`'
15461 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15462 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15463 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15464 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15465 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15466 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15467 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15468 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15469 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15470 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15471 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15472 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15473 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15474 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15475 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15476 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15477 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15478 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15479 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15480 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15481 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15482 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15483 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15484 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15485 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15486 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15487 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15488 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15489 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15490 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15491 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15492 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15493 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15494 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15495 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15496 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15497 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15498 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15499 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15500 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15501 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15502 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15503 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15504 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15505 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15506 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15507 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15508 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15509 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15510 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15511 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15512 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15513 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15514 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15515 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15516 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15517 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15518 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15519 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15520 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15521 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15522 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15523 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15524 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15525 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15526 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15527 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15528 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15529 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15530 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15531 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15532 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15533 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15534 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15535 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15536 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15537 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15538 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15539 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15540 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15541 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15542 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15543 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15544 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15545 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15546 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15547 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15548 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15549 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15550 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15551 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15552 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15553 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15554 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15555 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15556 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15557 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15558 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15559 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15560 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15561 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15562 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15563 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15564 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15565 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15566 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15567 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15568 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15569 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15570 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15571 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15572 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15573 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15574 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15575 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15576 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15577 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15578 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15579 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15580 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15581 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15582 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15583 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15584 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15585 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15586 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15589 LTCFLAGS='$LTCFLAGS'
15590 compiler='$compiler_DEFAULT'
15592 # A function that is used when there is no print builtin or printf.
15593 func_fallback_echo ()
15595 eval 'cat <<_LTECHO_EOF
15600 # Quote evaled strings.
15614 deplibs_check_method \
15623 lt_cv_sys_global_symbol_pipe \
15624 lt_cv_sys_global_symbol_to_cdecl \
15625 lt_cv_sys_global_symbol_to_c_name_address \
15626 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15627 lt_prog_compiler_no_builtin_flag \
15628 lt_prog_compiler_wl \
15629 lt_prog_compiler_pic \
15630 lt_prog_compiler_static \
15631 lt_cv_prog_compiler_c_o \
15639 export_dynamic_flag_spec \
15640 whole_archive_flag_spec \
15641 compiler_needs_object \
15643 allow_undefined_flag \
15644 no_undefined_flag \
15645 hardcode_libdir_flag_spec \
15646 hardcode_libdir_flag_spec_ld \
15647 hardcode_libdir_separator \
15652 variables_saved_for_relink \
15654 library_names_spec \
15656 install_override_mode \
15660 compiler_lib_search_dirs \
15665 compiler_lib_search_path \
15669 lt_prog_compiler_no_builtin_flag_CXX \
15670 lt_prog_compiler_wl_CXX \
15671 lt_prog_compiler_pic_CXX \
15672 lt_prog_compiler_static_CXX \
15673 lt_cv_prog_compiler_c_o_CXX \
15674 export_dynamic_flag_spec_CXX \
15675 whole_archive_flag_spec_CXX \
15676 compiler_needs_object_CXX \
15678 allow_undefined_flag_CXX \
15679 no_undefined_flag_CXX \
15680 hardcode_libdir_flag_spec_CXX \
15681 hardcode_libdir_flag_spec_ld_CXX \
15682 hardcode_libdir_separator_CXX \
15683 fix_srcfile_path_CXX \
15684 exclude_expsyms_CXX \
15685 include_expsyms_CXX \
15686 file_list_spec_CXX \
15687 compiler_lib_search_dirs_CXX \
15688 predep_objects_CXX \
15689 postdep_objects_CXX \
15692 compiler_lib_search_path_CXX; do
15693 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15694 *[\\\\\\\`\\"\\\$]*)
15695 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15698 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15703 # Double-quote double-evaled strings.
15704 for var in reload_cmds \
15705 old_postinstall_cmds \
15706 old_postuninstall_cmds \
15708 extract_expsyms_cmds \
15709 old_archive_from_new_cmds \
15710 old_archive_from_expsyms_cmds \
15712 archive_expsym_cmds \
15714 module_expsym_cmds \
15715 export_symbols_cmds \
15718 postuninstall_cmds \
15720 sys_lib_search_path_spec \
15721 sys_lib_dlsearch_path_spec \
15723 old_archive_cmds_CXX \
15724 old_archive_from_new_cmds_CXX \
15725 old_archive_from_expsyms_cmds_CXX \
15727 archive_expsym_cmds_CXX \
15729 module_expsym_cmds_CXX \
15730 export_symbols_cmds_CXX \
15731 prelink_cmds_CXX; do
15732 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15733 *[\\\\\\\`\\"\\\$]*)
15734 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15737 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15742 ac_aux_dir='$ac_aux_dir'
15743 xsi_shell='$xsi_shell'
15744 lt_shell_append='$lt_shell_append'
15746 # See if we are running on zsh, and set the options which allow our
15747 # commands through without removal of \ escapes INIT.
15748 if test -n "\${ZSH_VERSION+set}" ; then
15749 setopt NO_GLOB_SUBST
15755 TIMESTAMP='$TIMESTAMP'
15766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15768 # Handling of arguments.
15769 for ac_config_target
in $ac_config_targets
15771 case $ac_config_target in
15772 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15773 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15774 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15775 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15776 "./Makefile") CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
15777 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15779 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15784 # If the user did not use the arguments to specify the items to instantiate,
15785 # then the envvar interface is used. Set only those that are not.
15786 # We use the long form for the default assignment because of an extremely
15787 # bizarre bug on SunOS 4.1.3.
15788 if $ac_need_defaults; then
15789 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15790 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15793 # Have a temporary directory for convenience. Make it in the build tree
15794 # simply because there is no reason against having it here, and in addition,
15795 # creating and moving files from /tmp can sometimes cause problems.
15796 # Hook for its removal unless debugging.
15797 # Note that there is a small window in which the directory will not be cleaned:
15798 # after its creation but before its name has been assigned to `$tmp'.
15802 trap 'exit_status=$?
15803 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15805 trap 'as_fn_exit 1' 1 2 13 15
15807 # Create a (secure) tmp directory for tmp files.
15810 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15811 test -n "$tmp" && test -d "$tmp"
15814 tmp
=.
/conf$$
-$RANDOM
15815 (umask 077 && mkdir
"$tmp")
15816 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15818 # Set up the scripts for CONFIG_FILES section.
15819 # No need to generate them if there are no CONFIG_FILES.
15820 # This happens for instance with `./config.status config.h'.
15821 if test -n "$CONFIG_FILES"; then
15824 ac_cr
=`echo X | tr X '\015'`
15825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15826 # But we know of no other shell where ac_cr would be empty at this
15827 # point, so we can use a bashism as a fallback.
15828 if test "x$ac_cr" = x
; then
15829 eval ac_cr
=\$
\'\\r
\'
15831 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15835 ac_cs_awk_cr
=$ac_cr
15838 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15843 echo "cat >conf$$subs.awk <<_ACEOF" &&
15844 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15846 } >conf$$subs.sh ||
15847 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15848 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15850 for ac_last_try in false false false false false :; do
15851 . ./conf$$subs.sh ||
15852 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15854 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15855 if test $ac_delim_n = $ac_delim_num; then
15857 elif $ac_last_try; then
15858 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15860 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15863 rm -f conf$$subs.sh
15865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15866 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15870 s/^/S["/; s
/!.
*/"]=/
15880 s/\(.\{148\}\).*/\1/
15882 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15887 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15894 s/\(.\{148\}\).*/\1/
15896 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15900 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15905 ' <conf$$subs.awk | sed '
15910 ' >>$CONFIG_STATUS || ac_write_fail=1
15911 rm -f conf$$subs.awk
15912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15914 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15915 for (key in S) S_is_set[key] = 1
15921 nfields = split(line, field, "@
")
15923 len = length(field[1])
15924 for (i = 2; i < nfields; i++) {
15926 keylen = length(key)
15927 if (S_is_set[key]) {
15929 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15930 len += length(value) + length(field[++i])
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15942 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15943 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15946 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15947 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15950 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15951 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15952 # trailing colons and then remove the whole line if VPATH becomes empty
15953 # (actually we leave an empty line to preserve line numbers).
15954 if test "x
$srcdir" = x.; then
15955 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15956 s/:*\$(srcdir):*/:/
15957 s/:*\${srcdir}:*/:/
15959 s/^\([^=]*=[ ]*\):*/\1/
15965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15966 fi # test -n "$CONFIG_FILES"
15969 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15974 :[FHLC]) ac_mode=$ac_tag; continue;;
15976 case $ac_mode$ac_tag in
15978 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15979 :[FH]-) ac_tag=-:-;;
15980 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15997 -) ac_f="$tmp/stdin";;
15998 *) # Look for the file first in the build tree, then in the source tree
15999 # (if the path is not absolute). The absolute path cannot be DOS-style,
16000 # because $ac_f cannot contain `:'.
16004 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16006 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16008 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16009 as_fn_append ac_file_inputs " '$ac_f'"
16012 # Let's still pretend it is `configure' which instantiates (i.e., don't
16013 # use $as_me), people would be surprised to read:
16014 # /* config.h. Generated by config.status. */
16015 configure_input='Generated from '`
16016 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16018 if test x"$ac_file" != x-; then
16019 configure_input="$ac_file.
$configure_input"
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16021 $as_echo "$as_me: creating
$ac_file" >&6;}
16023 # Neutralize special characters interpreted by sed in replacement strings.
16024 case $configure_input in #(
16025 *\&* | *\|* | *\\* )
16026 ac_sed_conf_input=`$as_echo "$configure_input" |
16027 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16028 *) ac_sed_conf_input=$configure_input;;
16032 *:-:* | *:-) cat >"$tmp/stdin
" \
16033 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16038 ac_dir=`$as_dirname -- "$ac_file" ||
16039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16040 X"$ac_file" : 'X\(//\)[^/]' \| \
16041 X"$ac_file" : 'X\(//\)$' \| \
16042 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16043 $as_echo X"$ac_file" |
16044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16048 /^X\(\/\/\)[^/].*/{
16061 as_dir="$ac_dir"; as_fn_mkdir_p
16065 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16067 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16068 # A "..
" for each directory in $ac_dir_suffix.
16069 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16070 case $ac_top_builddir_sub in
16071 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16072 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16075 ac_abs_top_builddir=$ac_pwd
16076 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16077 # for backward compatibility:
16078 ac_top_builddir=$ac_top_build_prefix
16081 .) # We are building in place.
16083 ac_top_srcdir=$ac_top_builddir_sub
16084 ac_abs_top_srcdir=$ac_pwd ;;
16085 [\\/]* | ?:[\\/]* ) # Absolute name.
16086 ac_srcdir=$srcdir$ac_dir_suffix;
16087 ac_top_srcdir=$srcdir
16088 ac_abs_top_srcdir=$srcdir ;;
16089 *) # Relative name.
16090 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16091 ac_top_srcdir=$ac_top_build_prefix$srcdir
16092 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16094 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16104 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16105 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16107 ac_MKDIR_P=$MKDIR_P
16109 [\\/$]* | ?:[\\/]* ) ;;
16110 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16115 # If the template does not know about datarootdir, expand it.
16116 # FIXME: This hack should be removed a few years after 2.60.
16117 ac_datarootdir_hack=; ac_datarootdir_seen=
16128 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16129 *datarootdir*) ac_datarootdir_seen=yes;;
16130 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16132 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16135 ac_datarootdir_hack='
16136 s&@datadir@&$datadir&g
16137 s&@docdir@&$docdir&g
16138 s&@infodir@&$infodir&g
16139 s&@localedir@&$localedir&g
16140 s&@mandir@&$mandir&g
16141 s&\\\${datarootdir}&$datarootdir&g' ;;
16145 # Neutralize VPATH when `$srcdir' = `.'.
16146 # Shell code in configure.ac might set extrasub.
16147 # FIXME: do we really want to maintain this feature?
16148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16149 ac_sed_extra="$ac_vpsub
16152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16154 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16155 s|@configure_input@|
$ac_sed_conf_input|
;t t
16156 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16157 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16158 s
&@srcdir@
&$ac_srcdir&;t t
16159 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16160 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16161 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16162 s
&@builddir@
&$ac_builddir&;t t
16163 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16164 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16165 s
&@INSTALL@
&$ac_INSTALL&;t t
16166 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16167 $ac_datarootdir_hack
16169 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16170 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16172 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16173 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16174 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16176 which seems to be undefined. Please make sure it is defined." >&5
16177 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16178 which seems to be undefined. Please make sure it is defined." >&2;}
16182 -) cat "$tmp/out" && rm -f "$tmp/out";;
16183 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16185 || as_fn_error "could not create $ac_file" "$LINENO" 5
16189 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16190 $as_echo "$as_me: executing $ac_file commands" >&6;}
16195 case $ac_file$ac_mode in
16197 # Only add multilib support code if we just rebuilt the top-level
16199 case " $CONFIG_FILES " in
16201 ac_file=Makefile . ${multi_basedir}/config-ml.in
16204 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16205 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16206 # are listed without --file. Let's play safe and only
enable the
eval
16207 # if we detect the quoting.
16208 case $CONFIG_FILES in
16209 *\'*) eval set x
"$CONFIG_FILES" ;;
16210 *) set x
$CONFIG_FILES ;;
16215 # Strip MF so we end up with the name of the file.
16216 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16217 # Check whether this is an Automake generated Makefile or not.
16218 # We used to match only the files named `Makefile.in', but
16219 # some people rename them; so instead we look at the file content.
16220 # Grep'ing the first line is not enough: some people post-process
16221 # each Makefile.in and add a new line on top of each file to say so.
16222 # Grep'ing the whole file is not good either: AIX grep has a line
16223 # limit of 2048, but all sed's we know have understand at least 4000.
16224 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16225 dirpart
=`$as_dirname -- "$mf" ||
16226 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16227 X"$mf" : 'X\(//\)[^/]' \| \
16228 X"$mf" : 'X\(//\)$' \| \
16229 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16235 /^X\(\/\/\)[^/].*/{
16251 # Extract the definition of DEPDIR, am__include, and am__quote
16252 # from the Makefile without running `make'.
16253 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16254 test -z "$DEPDIR" && continue
16255 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16256 test -z "am__include" && continue
16257 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16258 # When using ansi2knr, U may be empty or an underscore; expand it
16259 U
=`sed -n 's/^U = //p' < "$mf"`
16260 # Find all dependency output files, they are included files with
16261 # $(DEPDIR) in their names. We invoke sed twice because it is the
16262 # simplest approach to changing $(DEPDIR) to its actual value in the
16264 for file in `sed -n "
16265 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16266 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16267 # Make sure the directory exists.
16268 test -f "$dirpart/$file" && continue
16269 fdir
=`$as_dirname -- "$file" ||
16270 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16271 X"$file" : 'X\(//\)[^/]' \| \
16272 X"$file" : 'X\(//\)$' \| \
16273 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16274 $as_echo X"$file" |
16275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16279 /^X\(\/\/\)[^/].*/{
16292 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16293 # echo "creating $dirpart/$file"
16294 echo '# dummy' > "$dirpart/$file"
16301 # See if we are running on zsh, and set the options which allow our
16302 # commands through without removal of \ escapes.
16303 if test -n "${ZSH_VERSION+set}" ; then
16304 setopt NO_GLOB_SUBST
16307 cfgfile
="${ofile}T"
16308 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16311 cat <<_LT_EOF >> "$cfgfile"
16314 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16315 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16316 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16317 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16319 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16320 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16321 # Written by Gordon Matzigkeit, 1996
16323 # This file is part of GNU Libtool.
16325 # GNU Libtool is free software; you can redistribute it and/or
16326 # modify it under the terms of the GNU General Public License as
16327 # published by the Free Software Foundation; either version 2 of
16328 # the License, or (at your option) any later version.
16330 # As a special exception to the GNU General Public License,
16331 # if you distribute this file as part of a program or library that
16332 # is built using GNU Libtool, you may include this file under the
16333 # same distribution terms that you use for the rest of that program.
16335 # GNU Libtool is distributed in the hope that it will be useful,
16336 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16337 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16338 # GNU General Public License for more details.
16340 # You should have received a copy of the GNU General Public License
16341 # along with GNU Libtool; see the file COPYING. If not, a copy
16342 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16343 # obtained by writing to the Free Software Foundation, Inc.,
16344 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16347 # The names of the tagged configurations supported by this script.
16348 available_tags="CXX "
16350 # ### BEGIN LIBTOOL CONFIG
16352 # Which release of libtool.m4 was used?
16353 macro_version=$macro_version
16354 macro_revision=$macro_revision
16356 # Whether or not to build shared libraries.
16357 build_libtool_libs=$enable_shared
16359 # Whether or not to build static libraries.
16360 build_old_libs=$enable_static
16362 # What type of objects to build.
16365 # Whether or not to optimize for fast installation.
16366 fast_install=$enable_fast_install
16368 # Shell to use when invoking shell scripts.
16371 # An echo program that protects backslashes.
16375 host_alias=$host_alias
16379 # The build system.
16380 build_alias=$build_alias
16384 # A sed program that does not truncate output.
16387 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16388 Xsed="\$SED -e 1s/^X//"
16390 # A grep program that handles long lines.
16396 # A literal string matcher.
16399 # A BSD- or MS-compatible name lister.
16402 # Whether we need soft or hard links.
16405 # What is the maximum length of a command?
16406 max_cmd_len=$max_cmd_len
16408 # Object file suffix (normally "o").
16411 # Executable file suffix (normally "").
16414 # whether the shell understands "unset".
16417 # turn spaces into newlines.
16420 # turn newlines into spaces.
16423 # An object symbol dumper.
16424 OBJDUMP=$lt_OBJDUMP
16426 # Method to check whether dependent libraries are shared objects.
16427 deplibs_check_method=$lt_deplibs_check_method
16429 # Command to use when deplibs_check_method == "file_magic".
16430 file_magic_cmd=$lt_file_magic_cmd
16434 AR_FLAGS=$lt_AR_FLAGS
16436 # A symbol stripping program.
16439 # Commands used to install an old-style archive.
16441 old_postinstall_cmds=$lt_old_postinstall_cmds
16442 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16444 # Whether to use a lock for old archive extraction.
16445 lock_old_archive_extraction=$lock_old_archive_extraction
16450 # LTCC compiler flags.
16451 LTCFLAGS=$lt_CFLAGS
16453 # Take the output of nm and produce a listing of raw symbols and C names.
16454 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16456 # Transform the output of nm in a proper C declaration.
16457 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16459 # Transform the output of nm in a C name address pair.
16460 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16462 # Transform the output of nm in a C name address pair when lib prefix is needed.
16463 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16465 # The name of the directory that contains temporary libtool files.
16468 # Used to examine libraries when file_magic_cmd begins with "file".
16469 MAGIC_CMD=$MAGIC_CMD
16471 # Must we lock files when doing compilation?
16472 need_locks=$lt_need_locks
16474 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16475 DSYMUTIL=$lt_DSYMUTIL
16477 # Tool to change global to local symbols on Mac OS X.
16480 # Tool to manipulate fat objects and archives on Mac OS X.
16483 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16486 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16487 OTOOL64=$lt_OTOOL64
16489 # Old archive suffix (normally "a").
16492 # Shared library suffix (normally ".so").
16493 shrext_cmds=$lt_shrext_cmds
16495 # The commands to extract the exported symbol list from a shared archive.
16496 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16498 # Variables whose values should be saved in libtool wrapper scripts and
16499 # restored at link time.
16500 variables_saved_for_relink=$lt_variables_saved_for_relink
16502 # Do we need the "lib" prefix for modules?
16503 need_lib_prefix=$need_lib_prefix
16505 # Do we need a version for libraries?
16506 need_version=$need_version
16508 # Library versioning type.
16509 version_type=$version_type
16511 # Shared library runtime path variable.
16512 runpath_var=$runpath_var
16514 # Shared library path variable.
16515 shlibpath_var=$shlibpath_var
16517 # Is shlibpath searched before the hard-coded library search path?
16518 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16520 # Format of library name prefix.
16521 libname_spec=$lt_libname_spec
16523 # List of archive names. First name is the real one, the rest are links.
16524 # The last name is the one that the linker finds with -lNAME
16525 library_names_spec=$lt_library_names_spec
16527 # The coded name of the library, if different from the real name.
16528 soname_spec=$lt_soname_spec
16530 # Permission mode override for installation of shared libraries.
16531 install_override_mode=$lt_install_override_mode
16533 # Command to use after installation of a shared archive.
16534 postinstall_cmds=$lt_postinstall_cmds
16536 # Command to use after uninstallation of a shared archive.
16537 postuninstall_cmds=$lt_postuninstall_cmds
16539 # Commands used to finish a libtool library installation in a directory.
16540 finish_cmds=$lt_finish_cmds
16542 # As "finish_cmds", except a single script fragment to be evaled but
16544 finish_eval=$lt_finish_eval
16546 # Whether we should hardcode library paths into libraries.
16547 hardcode_into_libs=$hardcode_into_libs
16549 # Compile-time system search path for libraries.
16550 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16552 # Run-time system search path for libraries.
16553 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16555 # Whether dlopen is supported.
16556 dlopen_support=$enable_dlopen
16558 # Whether dlopen of programs is supported.
16559 dlopen_self=$enable_dlopen_self
16561 # Whether dlopen of statically linked programs is supported.
16562 dlopen_self_static=$enable_dlopen_self_static
16564 # Commands to strip libraries.
16565 old_striplib=$lt_old_striplib
16566 striplib=$lt_striplib
16569 # The linker used to build libraries.
16572 # How to create reloadable object files.
16573 reload_flag=$lt_reload_flag
16574 reload_cmds=$lt_reload_cmds
16576 # Commands used to build an old-style archive.
16577 old_archive_cmds=$lt_old_archive_cmds
16579 # A language specific compiler.
16582 # Is the compiler the GNU compiler?
16585 # Compiler flag to turn off builtin functions.
16586 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16588 # How to pass a linker flag through the compiler.
16589 wl=$lt_lt_prog_compiler_wl
16591 # Additional compiler flags for building library objects.
16592 pic_flag=$lt_lt_prog_compiler_pic
16594 # Compiler flag to prevent dynamic linking.
16595 link_static_flag=$lt_lt_prog_compiler_static
16597 # Does compiler simultaneously support -c and -o options?
16598 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16600 # Whether or not to add -lc for building shared libraries.
16601 build_libtool_need_lc=$archive_cmds_need_lc
16603 # Whether or not to disallow shared libs when runtime libs are static.
16604 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16606 # Compiler flag to allow reflexive dlopens.
16607 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16609 # Compiler flag to generate shared objects directly from archives.
16610 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16612 # Whether the compiler copes with passing no objects directly.
16613 compiler_needs_object=$lt_compiler_needs_object
16615 # Create an old-style archive from a shared archive.
16616 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16618 # Create a temporary old-style archive to link instead of a shared archive.
16619 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16621 # Commands used to build a shared archive.
16622 archive_cmds=$lt_archive_cmds
16623 archive_expsym_cmds=$lt_archive_expsym_cmds
16625 # Commands used to build a loadable module if different from building
16626 # a shared archive.
16627 module_cmds=$lt_module_cmds
16628 module_expsym_cmds=$lt_module_expsym_cmds
16630 # Whether we are building with GNU ld or not.
16631 with_gnu_ld=$lt_with_gnu_ld
16633 # Flag that allows shared libraries with undefined symbols to be built.
16634 allow_undefined_flag=$lt_allow_undefined_flag
16636 # Flag that enforces no undefined symbols.
16637 no_undefined_flag=$lt_no_undefined_flag
16639 # Flag to hardcode \$libdir into a binary during linking.
16640 # This must work even if \$libdir does not exist
16641 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16643 # If ld is used when linking, flag to hardcode \$libdir into a binary
16644 # during linking. This must work even if \$libdir does not exist.
16645 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16647 # Whether we need a single "-rpath" flag with a separated argument.
16648 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16650 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16651 # DIR into the resulting binary.
16652 hardcode_direct=$hardcode_direct
16654 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16655 # DIR into the resulting binary and the resulting library dependency is
16656 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16657 # library is relocated.
16658 hardcode_direct_absolute=$hardcode_direct_absolute
16660 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16661 # into the resulting binary.
16662 hardcode_minus_L=$hardcode_minus_L
16664 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16665 # into the resulting binary.
16666 hardcode_shlibpath_var=$hardcode_shlibpath_var
16668 # Set to "yes" if building a shared library automatically hardcodes DIR
16669 # into the library and all subsequent libraries and executables linked
16671 hardcode_automatic=$hardcode_automatic
16673 # Set to yes if linker adds runtime paths of dependent libraries
16674 # to runtime path list.
16675 inherit_rpath=$inherit_rpath
16677 # Whether libtool must link a program against all its dependency libraries.
16678 link_all_deplibs=$link_all_deplibs
16680 # Fix the shell variable \$srcfile for the compiler.
16681 fix_srcfile_path=$lt_fix_srcfile_path
16683 # Set to "yes" if exported symbols are required.
16684 always_export_symbols=$always_export_symbols
16686 # The commands to list exported symbols.
16687 export_symbols_cmds=$lt_export_symbols_cmds
16689 # Symbols that should not be listed in the preloaded symbols.
16690 exclude_expsyms=$lt_exclude_expsyms
16692 # Symbols that must always be exported.
16693 include_expsyms=$lt_include_expsyms
16695 # Commands necessary for linking programs (against libraries) with templates.
16696 prelink_cmds=$lt_prelink_cmds
16698 # Specify filename containing input files.
16699 file_list_spec=$lt_file_list_spec
16701 # How to hardcode a shared library path into an executable.
16702 hardcode_action=$hardcode_action
16704 # The directories searched by this compiler when creating a shared library.
16705 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16707 # Dependencies to place before and after the objects being linked to
16708 # create a shared library.
16709 predep_objects=$lt_predep_objects
16710 postdep_objects=$lt_postdep_objects
16711 predeps=$lt_predeps
16712 postdeps=$lt_postdeps
16714 # The library search path used internally by the compiler when linking
16715 # a shared library.
16716 compiler_lib_search_path=$lt_compiler_lib_search_path
16718 # ### END LIBTOOL CONFIG
16724 cat <<\_LT_EOF
>> "$cfgfile"
16725 # AIX sometimes has problems with the GCC collect2 program. For some
16726 # reason, if we set the COLLECT_NAMES environment variable, the problems
16727 # vanish in a puff of smoke.
16728 if test "X${COLLECT_NAMES+set}" != Xset
; then
16730 export COLLECT_NAMES
16737 ltmain
="$ac_aux_dir/ltmain.sh"
16740 # We use sed instead of cat because bash on DJGPP gets confused if
16741 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16742 # text mode, it properly converts lines to CR/LF. This bash problem
16743 # is reportedly fixed, but why not run on old versions too?
16744 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16745 ||
(rm -f "$cfgfile"; exit 1)
16749 cat << \_LT_EOF
>> "$cfgfile"
16751 # func_dirname file append nondir_replacement
16752 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16753 # otherwise set result to NONDIR_REPLACEMENT.
16757 */*) func_dirname_result
="${1%/*}${2}" ;;
16758 * ) func_dirname_result
="${3}" ;;
16762 # func_basename file
16765 func_basename_result
="${1##*/}"
16768 # func_dirname_and_basename file append nondir_replacement
16769 # perform func_basename and func_dirname in a single function
16771 # dirname: Compute the dirname of FILE. If nonempty,
16772 # add APPEND to the result, otherwise set result
16773 # to NONDIR_REPLACEMENT.
16774 # value returned in "$func_dirname_result"
16775 # basename: Compute filename of FILE.
16776 # value retuned in "$func_basename_result"
16777 # Implementation must be kept synchronized with func_dirname
16778 # and func_basename. For efficiency, we do not delegate to
16779 # those functions but instead duplicate the functionality here.
16780 func_dirname_and_basename
()
16783 */*) func_dirname_result
="${1%/*}${2}" ;;
16784 * ) func_dirname_result
="${3}" ;;
16786 func_basename_result
="${1##*/}"
16789 # func_stripname prefix suffix name
16790 # strip PREFIX and SUFFIX off of NAME.
16791 # PREFIX and SUFFIX must not contain globbing or regex special
16792 # characters, hashes, percent signs, but SUFFIX may contain a leading
16793 # dot (in which case that matches only a dot).
16796 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16797 # positional parameters, so assign one to ordinary parameter first.
16798 func_stripname_result
=${3}
16799 func_stripname_result
=${func_stripname_result#"${1}"}
16800 func_stripname_result
=${func_stripname_result%"${2}"}
16806 func_opt_split_opt
=${1%%=*}
16807 func_opt_split_arg
=${1#*=}
16814 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16815 *) func_lo2o_result
=${1} ;;
16819 # func_xform libobj-or-source
16822 func_xform_result
=${1%.*}.lo
16825 # func_arith arithmetic-term...
16828 func_arith_result
=$
(( $
* ))
16832 # STRING may not start with a hyphen.
16835 func_len_result
=${#1}
16840 *) # Bourne compatible functions.
16841 cat << \_LT_EOF
>> "$cfgfile"
16843 # func_dirname file append nondir_replacement
16844 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16845 # otherwise set result to NONDIR_REPLACEMENT.
16848 # Extract subdirectory from the argument.
16849 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16850 if test "X$func_dirname_result" = "X${1}"; then
16851 func_dirname_result
="${3}"
16853 func_dirname_result
="$func_dirname_result${2}"
16857 # func_basename file
16860 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16864 # func_stripname prefix suffix name
16865 # strip PREFIX and SUFFIX off of NAME.
16866 # PREFIX and SUFFIX must not contain globbing or regex special
16867 # characters, hashes, percent signs, but SUFFIX may contain a leading
16868 # dot (in which case that matches only a dot).
16869 # func_strip_suffix prefix name
16873 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16874 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16879 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16880 my_sed_long_arg
='1s/^-[^=]*=//'
16885 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16886 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16892 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16895 # func_xform libobj-or-source
16898 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16901 # func_arith arithmetic-term...
16904 func_arith_result
=`expr "$@"`
16908 # STRING may not start with a hyphen.
16911 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16917 case $lt_shell_append in
16919 cat << \_LT_EOF
>> "$cfgfile"
16921 # func_append var value
16922 # Append VALUE to the end of shell variable VAR.
16930 cat << \_LT_EOF
>> "$cfgfile"
16932 # func_append var value
16933 # Append VALUE to the end of shell variable VAR.
16944 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16945 ||
(rm -f "$cfgfile"; exit 1)
16947 mv -f "$cfgfile" "$ofile" ||
16948 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16952 cat <<_LT_EOF >> "$ofile"
16954 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16956 # The linker used to build libraries.
16959 # How to create reloadable object files.
16960 reload_flag=$lt_reload_flag_CXX
16961 reload_cmds=$lt_reload_cmds_CXX
16963 # Commands used to build an old-style archive.
16964 old_archive_cmds=$lt_old_archive_cmds_CXX
16966 # A language specific compiler.
16967 CC=$lt_compiler_CXX
16969 # Is the compiler the GNU compiler?
16972 # Compiler flag to turn off builtin functions.
16973 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16975 # How to pass a linker flag through the compiler.
16976 wl=$lt_lt_prog_compiler_wl_CXX
16978 # Additional compiler flags for building library objects.
16979 pic_flag=$lt_lt_prog_compiler_pic_CXX
16981 # Compiler flag to prevent dynamic linking.
16982 link_static_flag=$lt_lt_prog_compiler_static_CXX
16984 # Does compiler simultaneously support -c and -o options?
16985 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16987 # Whether or not to add -lc for building shared libraries.
16988 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16990 # Whether or not to disallow shared libs when runtime libs are static.
16991 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16993 # Compiler flag to allow reflexive dlopens.
16994 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16996 # Compiler flag to generate shared objects directly from archives.
16997 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16999 # Whether the compiler copes with passing no objects directly.
17000 compiler_needs_object=$lt_compiler_needs_object_CXX
17002 # Create an old-style archive from a shared archive.
17003 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17005 # Create a temporary old-style archive to link instead of a shared archive.
17006 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17008 # Commands used to build a shared archive.
17009 archive_cmds=$lt_archive_cmds_CXX
17010 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17012 # Commands used to build a loadable module if different from building
17013 # a shared archive.
17014 module_cmds=$lt_module_cmds_CXX
17015 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17017 # Whether we are building with GNU ld or not.
17018 with_gnu_ld=$lt_with_gnu_ld_CXX
17020 # Flag that allows shared libraries with undefined symbols to be built.
17021 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17023 # Flag that enforces no undefined symbols.
17024 no_undefined_flag=$lt_no_undefined_flag_CXX
17026 # Flag to hardcode \$libdir into a binary during linking.
17027 # This must work even if \$libdir does not exist
17028 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17030 # If ld is used when linking, flag to hardcode \$libdir into a binary
17031 # during linking. This must work even if \$libdir does not exist.
17032 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17034 # Whether we need a single "-rpath" flag with a separated argument.
17035 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17038 # DIR into the resulting binary.
17039 hardcode_direct=$hardcode_direct_CXX
17041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17042 # DIR into the resulting binary and the resulting library dependency is
17043 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17044 # library is relocated.
17045 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17047 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17048 # into the resulting binary.
17049 hardcode_minus_L=$hardcode_minus_L_CXX
17051 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17052 # into the resulting binary.
17053 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17055 # Set to "yes" if building a shared library automatically hardcodes DIR
17056 # into the library and all subsequent libraries and executables linked
17058 hardcode_automatic=$hardcode_automatic_CXX
17060 # Set to yes if linker adds runtime paths of dependent libraries
17061 # to runtime path list.
17062 inherit_rpath=$inherit_rpath_CXX
17064 # Whether libtool must link a program against all its dependency libraries.
17065 link_all_deplibs=$link_all_deplibs_CXX
17067 # Fix the shell variable \$srcfile for the compiler.
17068 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17070 # Set to "yes" if exported symbols are required.
17071 always_export_symbols=$always_export_symbols_CXX
17073 # The commands to list exported symbols.
17074 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17076 # Symbols that should not be listed in the preloaded symbols.
17077 exclude_expsyms=$lt_exclude_expsyms_CXX
17079 # Symbols that must always be exported.
17080 include_expsyms=$lt_include_expsyms_CXX
17082 # Commands necessary for linking programs (against libraries) with templates.
17083 prelink_cmds=$lt_prelink_cmds_CXX
17085 # Specify filename containing input files.
17086 file_list_spec=$lt_file_list_spec_CXX
17088 # How to hardcode a shared library path into an executable.
17089 hardcode_action=$hardcode_action_CXX
17091 # The directories searched by this compiler when creating a shared library.
17092 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17094 # Dependencies to place before and after the objects being linked to
17095 # create a shared library.
17096 predep_objects=$lt_predep_objects_CXX
17097 postdep_objects=$lt_postdep_objects_CXX
17098 predeps=$lt_predeps_CXX
17099 postdeps=$lt_postdeps_CXX
17101 # The library search path used internally by the compiler when linking
17102 # a shared library.
17103 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17105 # ### END LIBTOOL TAG CONFIG: CXX
17109 "./Makefile":F
) cat > vpsed$$
<< \_EOF
17110 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17112 sed -f vpsed$$
$ac_file > tmp$$
17115 echo 'MULTISUBDIR =' >> $ac_file
17117 .
${multi_basedir}/config-ml.
in
17118 { ml_norecursion
=; unset ml_norecursion
;}
17120 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17121 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17123 sed -f vpsed$$
$ac_file > tmp$$
17126 echo 'MULTISUBDIR =' >> $ac_file
17128 .
${multi_basedir}/config-ml.
in
17129 { ml_norecursion
=; unset ml_norecursion
;}
17138 ac_clean_files
=$ac_clean_files_save
17140 test $ac_write_fail = 0 ||
17141 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17144 # configure is writing to config.log, and then calls config.status.
17145 # config.status does its own redirection, appending to config.log.
17146 # Unfortunately, on DOS this fails, as config.log is still kept open
17147 # by configure, so config.status won't be able to write to it; its
17148 # output is simply discarded. So we exec the FD to /dev/null,
17149 # effectively closing config.log, so it can be properly (re)opened and
17150 # appended to by config.status. When coming back to configure, we
17151 # need to make the FD available again.
17152 if test "$no_create" != yes; then
17154 ac_config_status_args
=
17155 test "$silent" = yes &&
17156 ac_config_status_args
="$ac_config_status_args --quiet"
17158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17161 # would make configure fail if this is the last instruction.
17162 $ac_cs_success || as_fn_exit $?
17164 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17166 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}