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
611 ENABLE_VTABLE_VERIFY_FALSE
612 ENABLE_VTABLE_VERIFY_TRUE
665 MAINTAINER_MODE_FALSE
676 INSTALL_STRIP_PROGRAM
691 LIBSTDCXX_RAW_CXX_LDFLAGS
692 LIBSTDCXX_RAW_CXX_CXXFLAGS
733 program_transform_name
746 enable_option_checking
747 enable_version_specific_runtime_libs
749 enable_maintainer_mode
750 enable_dependency_tracking
759 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=no
;;
885 -docdir |
--docdir |
--docdi |
--doc |
--do)
887 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
890 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
892 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
895 -enable-* |
--enable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) as_fn_error
"unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1158 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error
"missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target
=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x
; then
1217 if test "x$build_alias" = x
; then
1218 cross_compiling
=maybe
1219 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used." >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1371 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1386 --enable-multilib build many library versions
(default
)
1387 --enable-maintainer-mode enable make rules and dependencies not useful
1388 (and sometimes confusing
) to the casual installer
1389 --disable-dependency-tracking speeds up one-time build
1390 --enable-dependency-tracking do not reject slow dependency extractors
1391 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1392 --enable-static[=PKGS
] build static libraries
[default
=yes]
1393 --enable-fast-install[=PKGS
]
1394 optimize
for fast installation
[default
=yes]
1395 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1396 --enable-vtable-verify Enable vtable verification feature
1399 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1400 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1401 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1403 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1405 Some influential environment variables
:
1406 CC C compiler
command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1409 nonstandard directory
<lib dir
>
1410 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1411 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1412 you have headers
in a nonstandard directory
<include dir
>
1413 CXX C
++ compiler
command
1414 CXXFLAGS C
++ compiler flags
1416 CXXCPP C
++ preprocessor
1418 Use these variables to override the choices made by
`configure' or to help
1419 it to find libraries and programs with nonstandard names/locations.
1421 Report bugs to the package provider.
1422 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1423 General help using GNU software: <http://www.gnu.org/gethelp/>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 GNU Vtable Verification Runtime Library configure 1.0
1487 generated by GNU Autoconf 2.64
1489 Copyright (C) 2009 Free Software Foundation, Inc.
1490 This configure script is free software; the Free Software Foundation
1491 gives unlimited permission to copy, distribute and modify it.
1496 ## ------------------------ ##
1497 ## Autoconf initialization. ##
1498 ## ------------------------ ##
1500 # ac_fn_c_try_compile LINENO
1501 # --------------------------
1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_compile ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext
1507 if { { ac_try="$ac_compile"
1509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1510 *) ac_try_echo
=$ac_try;;
1512 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_compile") 2>conftest.err
1516 if test -s conftest.err
; then
1517 grep -v '^ *+' conftest.err
>conftest.er1
1518 cat conftest.er1
>&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest.
$ac_objext; then :
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.
$ac_ext >&5
1533 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1536 } # ac_fn_c_try_compile
1538 # ac_fn_cxx_try_compile LINENO
1539 # ----------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_cxx_try_compile
()
1543 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1544 rm -f conftest.
$ac_objext
1545 if { { ac_try
="$ac_compile"
1547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_cxx_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1574 } # ac_fn_cxx_try_compile
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1586 *) ac_try_echo
=$ac_try;;
1588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err
; then
1593 grep -v '^ *+' conftest.err
>conftest.er1
1594 cat conftest.er1
>&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest
$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 $as_test_x conftest
$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.
$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1620 } # ac_fn_c_try_link
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile
()
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile
"$LINENO"; then :
1644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } >/dev/null && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 } # ac_fn_c_check_func
1799 # ac_fn_cxx_try_cpp LINENO
1800 # ------------------------
1801 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_cxx_try_cpp ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_cpp conftest.$ac_ext"
1807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1808 *) ac_try_echo
=$ac_try;;
1810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1814 if test -s conftest.err
; then
1815 grep -v '^ *+' conftest.err
>conftest.er1
1816 cat conftest.er1
>&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } >/dev
/null
&& {
1821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1822 test ! -s conftest.err
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.
$ac_ext >&5
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1834 } # ac_fn_cxx_try_cpp
1836 # ac_fn_cxx_try_link LINENO
1837 # -------------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_link
()
1841 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1842 rm -f conftest.
$ac_objext conftest
$ac_exeext
1843 if { { ac_try
="$ac_link"
1845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest$ac_exeext
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 } # ac_fn_cxx_try_link
1881 cat >config.log <<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1886 generated by GNU Autoconf 2.64. Invocation command line was
1898 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1899 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1900 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1901 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1902 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1904 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1905 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1907 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1908 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1909 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1910 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1911 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1912 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1913 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next=false
1952 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954 | -silent | --silent | --silen | --sile | --sil)
1957 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1 " '$ac_arg'"
1963 if test $ac_must_keep_next = true; then
1964 ac_must_keep_next=false # Got value, back to normal.
1967 *=* | --config-cache | -C | -disable-* | --disable-* \
1968 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970 | -with-* | --with-* | -without-* | --without-* | --x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next=true ;;
1978 as_fn_append ac_configure_args " '$ac_arg'"
1983 { ac_configure_args0=; unset ac_configure_args0;}
1984 { ac_configure_args1=; unset ac_configure_args1;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1997 ## ---------------- ##
1998 ## Cache variables. ##
1999 ## ---------------- ##
2002 # The following way of writing the cache mishandles newlines in values,
2004 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2005 eval ac_val=\$$ac_var
2009 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2010 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2013 _ | IFS | as_nl) ;; #(
2014 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2015 *) { eval $ac_var=; unset $ac_var;} ;;
2020 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2021 *${as_nl}ac_space=\ *)
2023 "s/'\''/'\''\\\\'\'''\''/g;
2024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2035 ## ----------------- ##
2036 ## Output variables. ##
2037 ## ----------------- ##
2040 for ac_var in $ac_subst_vars
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -n "$ac_subst_files"; then
2052 ## ------------------- ##
2053 ## File substitutions. ##
2054 ## ------------------- ##
2057 for ac_var in $ac_subst_files
2059 eval ac_val=\$$ac_var
2061 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2068 if test -s confdefs.h; then
2078 test "$ac_signal" != 0 &&
2079 $as_echo "$as_me: caught signal $ac_signal"
2080 $as_echo "$as_me: exit $exit_status"
2082 rm -f core *.core core.conftest.* &&
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086 for ac_signal in 1 2 13 15; do
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_NAME "$PACKAGE_NAME"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_STRING "$PACKAGE_STRING"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_URL "$PACKAGE_URL"
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2127 if test -n "$CONFIG_SITE"; then
2128 ac_site_file1=$CONFIG_SITE
2129 elif test "x$prefix" != xNONE; then
2130 ac_site_file1=$prefix/share/config.site
2131 ac_site_file2=$prefix/etc/config.site
2133 ac_site_file1=$ac_default_prefix/share/config.site
2134 ac_site_file2=$ac_default_prefix/etc/config.site
2136 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2138 test "x$ac_site_file" = xNONE && continue
2139 if test -r "$ac_site_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2141 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2142 sed 's/^/| /' "$ac_site_file" >&5
2147 if test -r "$cache_file"; then
2148 # Some versions of bash will fail to source /dev/null (special
2149 # files actually), so we avoid doing that.
2150 if test -f "$cache_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2154 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2155 *) . "./$cache_file";;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2164 # Check that the precious variables saved in the cache have kept the same
2166 ac_cache_corrupted=false
2167 for ac_var in $ac_precious_vars; do
2168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2169 eval ac_new_set=\$ac_env_${ac_var}_set
2170 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2171 eval ac_new_val=\$ac_env_${ac_var}_value
2172 case $ac_old_set,$ac_new_set in
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2175 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2179 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2180 ac_cache_corrupted=: ;;
2183 if test "x$ac_old_val" != "x$ac_new_val"; then
2184 # differences in whitespace do not lead to failure.
2185 ac_old_val_w=`echo x
$ac_old_val`
2186 ac_new_val_w=`echo x
$ac_new_val`
2187 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2190 ac_cache_corrupted=:
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194 eval $ac_var=\$ac_old_val
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2197 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2202 # Pass precious variables to config.status.
2203 if test "$ac_new_set" = set; then
2205 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2206 *) ac_arg=$ac_var=$ac_new_val ;;
2208 case " $ac_configure_args " in
2209 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2210 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2214 if $ac_cache_corrupted; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2235 #AC_INIT(package-unused, version-unused, libvtv)
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2242 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2243 # Check whether --enable-version-specific-runtime-libs was given.
2244 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2245 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2246 yes) version_specific_libs=yes ;;
2247 no) version_specific_libs=no ;;
2248 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2251 version_specific_libs=no
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2255 $as_echo "$version_specific_libs" >&6; }
2257 # Do not delete or change the following two lines. For why, see
2258 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2260 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2261 for ac_t in install-sh install.sh shtool; do
2262 if test -f "$ac_dir/$ac_t"; then
2264 ac_install_sh="$ac_aux_dir/$ac_t -c"
2269 if test -z "$ac_aux_dir"; then
2270 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2273 # These three variables are undocumented and unsupported,
2274 # and are intended to be withdrawn in a future Autoconf release.
2275 # They can cause serious problems if a builder's source tree is in a directory
2276 # whose full name contains unusual characters.
2277 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2278 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2279 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2282 # Make sure we can run config.sub.
2283 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2284 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2287 $as_echo_n "checking build system type... " >&6; }
2288 if test "${ac_cv_build+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 ac_build_alias=$build_alias
2292 test "x$ac_build_alias" = x &&
2293 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2294 test "x$ac_build_alias" = x &&
2295 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2296 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2297 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2301 $as_echo "$ac_cv_build" >&6; }
2302 case $ac_cv_build in
2304 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2307 ac_save_IFS=$IFS; IFS='-'
2313 # Remember, the first character of IFS is used to create $*,
2314 # except with old shells:
2317 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2321 $as_echo_n "checking host system type... " >&6; }
2322 if test "${ac_cv_host+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test "x$host_alias" = x; then
2326 ac_cv_host=$ac_cv_build
2328 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2329 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2334 $as_echo "$ac_cv_host" >&6; }
2337 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2340 ac_save_IFS=$IFS; IFS='-'
2346 # Remember, the first character of IFS is used to create $*,
2347 # except with old shells:
2350 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2354 $as_echo_n "checking target system type... " >&6; }
2355 if test "${ac_cv_target+set}" = set; then :
2356 $as_echo_n "(cached) " >&6
2358 if test "x$target_alias" = x; then
2359 ac_cv_target=$ac_cv_host
2361 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2362 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2367 $as_echo "$ac_cv_target" >&6; }
2368 case $ac_cv_target in
2370 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2372 target=$ac_cv_target
2373 ac_save_IFS=$IFS; IFS='-'
2379 # Remember, the first character of IFS is used to create $*,
2380 # except with old shells:
2383 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2386 # The aliases save the names the user supplied, while $host etc.
2387 # will get canonicalized.
2388 test -n "$target_alias" &&
2389 test "$program_prefix$program_suffix$program_transform_name" = \
2391 program_prefix=${target_alias}-
2393 target_alias=${target_alias-$host_alias}
2395 case ${build_alias} in
2396 "") build_noncanonical=${build} ;;
2397 *) build_noncanonical=${build_alias} ;;
2400 case ${host_alias} in
2401 "") host_noncanonical=${build_noncanonical} ;;
2402 *) host_noncanonical=${host_alias} ;;
2405 case ${target_alias} in
2406 "") target_noncanonical=${host_noncanonical} ;;
2407 *) target_noncanonical=${target_alias} ;;
2414 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2415 -I\$(top_builddir)/../libstdc++-v3/include \
2416 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2417 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2418 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2419 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2424 am__api_version='1.11'
2426 # Find a good install program. We prefer a C program (faster),
2427 # so one script is as good as another. But avoid the broken or
2428 # incompatible versions:
2429 # SysV /etc/install, /usr/sbin/install
2430 # SunOS /usr/etc/install
2431 # IRIX /sbin/install
2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437 # OS/2's system install, which has a completely different semantic
2438 # ./install, which can be erroneously created by make from ./install.sh.
2439 # Reject install programs that cannot install multiple files.
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442 if test -z "$INSTALL"; then
2443 if test "${ac_cv_path_install+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 # Account for people who put trailing slashes in PATH elements.
2452 case $as_dir/ in #((
2453 ./ | .// | /[cC]/* | \
2454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2455 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2458 # OSF1 and SCO ODT 3.0 have their own names for install.
2459 # Don't use installbsd from OSF since it installs stuff as root
2461 for ac_prog in ginstall scoinst install; do
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2464 if test $ac_prog = install &&
2465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466 # AIX install. It has an incompatible calling convention.
2468 elif test $ac_prog = install &&
2469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470 # program-specific install script used by HP pwplus--don't use.
2473 rm -rf conftest.one conftest.two conftest.dir
2474 echo one > conftest.one
2475 echo two > conftest.two
2477 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2478 test -s conftest.one && test -s conftest.two &&
2479 test -s conftest.dir/conftest.one &&
2480 test -s conftest.dir/conftest.two
2482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2495 rm -rf conftest.one conftest.two conftest.dir
2498 if test "${ac_cv_path_install+set}" = set; then
2499 INSTALL=$ac_cv_path_install
2501 # As a last resort, use the slow shell script. Don't cache a
2502 # value for INSTALL within a source directory, because that will
2503 # break other packages using the cache if that directory is
2504 # removed, or if the value is a relative name.
2505 INSTALL=$ac_install_sh
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2509 $as_echo "$INSTALL" >&6; }
2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2512 # It thinks the first close brace ends the variable substitution.
2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520 $as_echo_n "checking whether build environment is sane... " >&6; }
2523 echo timestamp > conftest.file
2524 # Reject unsafe characters in $srcdir or the absolute working directory
2525 # name. Accept space and tab only in the latter.
2529 *[\\\"\#\$\&\'\`$am_lf]*)
2530 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2533 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2534 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2537 # Do `set' in a subshell so we don't clobber the current shell's
2538 # arguments. Must try -L first in case configure is actually a
2539 # symlink; some systems play weird games with the mod time of symlinks
2540 # (eg FreeBSD returns the mod time of the symlink's containing
2543 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 if test "$*" = "X"; then
2546 set X
`ls -t "$srcdir/configure" conftest.file`
2549 if test "$*" != "X $srcdir/configure conftest.file" \
2550 && test "$*" != "X conftest.file $srcdir/configure"; then
2552 # If neither matched, then we have a broken ls. This can happen
2553 # if, for instance, CONFIG_SHELL is bash and it inherits a
2554 # broken ls alias from the environment. This has actually
2555 # happened. Such a system could not be considered "sane".
2556 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2557 alias in your environment" "$LINENO" 5
2560 test "$2" = conftest.
file
2566 as_fn_error
"newly created file is older than distributed files!
2567 Check your system clock" "$LINENO" 5
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2571 test "$program_prefix" != NONE
&&
2572 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2573 # Use a double $ so make ignores it.
2574 test "$program_suffix" != NONE
&&
2575 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2576 # Double any \ or $.
2577 # By default was `s,x,x', remove it if useless.
2578 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2579 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2581 # expand $ac_aux_dir to an absolute path
2582 am_aux_dir
=`cd $ac_aux_dir && pwd`
2584 if test x
"${MISSING+set}" != xset
; then
2587 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2589 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2592 # Use eval to expand $SHELL
2593 if eval "$MISSING --run true"; then
2594 am_missing_run
="$MISSING --run "
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2598 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2601 if test x
"${install_sh}" != xset
; then
2604 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2606 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2610 # Installed binaries are usually stripped using `strip' when the user
2611 # run `make install-strip'. However `strip' might not be the right
2612 # tool to use in cross-compilation environments, therefore Automake
2613 # will honor the `STRIP' environment variable to overrule this program.
2614 if test "$cross_compiling" != no
; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2617 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if test "${ac_cv_prog_STRIP+set}" = set; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$STRIP"; then
2624 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 STRIP
=$ac_cv_prog_STRIP
2644 if test -n "$STRIP"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2646 $as_echo "$STRIP" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2654 if test -z "$ac_cv_prog_STRIP"; then
2656 # Extract the first word of "strip", so it can be a program name with args.
2657 set dummy strip
; ac_word
=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$ac_ct_STRIP"; then
2664 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_ac_ct_STRIP
="strip"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2684 if test -n "$ac_ct_STRIP"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2686 $as_echo "$ac_ct_STRIP" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2692 if test "x$ac_ct_STRIP" = x
; then
2695 case $cross_compiling:$ac_tool_warned in
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned
=yes ;;
2704 STRIP
="$ac_cv_prog_STRIP"
2708 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2711 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2712 if test -z "$MKDIR_P"; then
2713 if test "${ac_cv_path_mkdir+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_prog
in mkdir gmkdir
; do
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2724 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2725 'mkdir (GNU coreutils) '* | \
2726 'mkdir (coreutils) '* | \
2727 'mkdir (fileutils) '4.1*)
2728 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2738 if test "${ac_cv_path_mkdir+set}" = set; then
2739 MKDIR_P
="$ac_cv_path_mkdir -p"
2741 # As a last resort, use the slow shell script. Don't cache a
2742 # value for MKDIR_P within a source directory, because that will
2743 # break other packages using the cache if that directory is
2744 # removed, or if the value is a relative name.
2745 test -d .
/--version && rmdir .
/--version
2746 MKDIR_P
="$ac_install_sh -d"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2750 $as_echo "$MKDIR_P" >&6; }
2754 [\\/$
]* | ?
:[\\/]*) ;;
2755 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2758 for ac_prog
in gawk mawk nawk
awk
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy
$ac_prog; ac_word
=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_AWK+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$AWK"; then
2768 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_AWK
="$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$AWK"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2790 $as_echo "$AWK" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$AWK" && break
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2803 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2804 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2805 $as_echo_n "(cached) " >&6
2807 cat >conftest.
make <<\_ACEOF
2810 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2815 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2817 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2821 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828 SET_MAKE
="MAKE=${MAKE-make}"
2831 rm -rf .tst
2>/dev
/null
2832 mkdir .tst
2>/dev
/null
2833 if test -d .tst
; then
2838 rmdir .tst
2>/dev
/null
2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2841 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2842 # is not polluted with repeated "-I."
2843 am__isrc
=' -I$(srcdir)'
2844 # test to see if srcdir already configured
2845 if test -f $srcdir/config.status
; then
2846 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2850 # test whether we have cygpath
2851 if test -z "$CYGPATH_W"; then
2852 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2853 CYGPATH_W
='cygpath -w'
2860 # Define the identity of the package.
2865 cat >>confdefs.h
<<_ACEOF
2866 #define PACKAGE "$PACKAGE"
2870 cat >>confdefs.h
<<_ACEOF
2871 #define VERSION "$VERSION"
2874 # Some tools Automake needs.
2876 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2882 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2888 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2890 # We need awk for the "check" target. The system "awk" is bad on
2892 # Always define AMTAR for backward compatibility.
2894 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2896 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2902 # Default to --enable-multilib
2903 # Check whether --enable-multilib was given.
2904 if test "${enable_multilib+set}" = set; then :
2905 enableval
=$enable_multilib; case "$enableval" in
2906 yes) multilib
=yes ;;
2908 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2915 # We may get other options which we leave undocumented:
2916 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2917 # See config-ml.in if you want the gory details.
2919 if test "$srcdir" = "."; then
2920 if test "$with_target_subdir" != "."; then
2921 multi_basedir
="$srcdir/$with_multisrctop../.."
2923 multi_basedir
="$srcdir/$with_multisrctop.."
2926 multi_basedir
="$srcdir/.."
2930 # Even if the default multilib is not a cross compilation,
2931 # it may be that some of the other multilibs are.
2932 if test $cross_compiling = no
&& test $multilib = yes \
2933 && test "x${with_multisubdir}" != x
; then
2934 cross_compiling
=maybe
2937 ac_config_commands
="$ac_config_commands default-1"
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2941 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2942 # Check whether --enable-maintainer-mode was given.
2943 if test "${enable_maintainer_mode+set}" = set; then :
2944 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2946 USE_MAINTAINER_MODE
=no
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2950 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2951 if test $USE_MAINTAINER_MODE = yes; then
2952 MAINTAINER_MODE_TRUE
=
2953 MAINTAINER_MODE_FALSE
='#'
2955 MAINTAINER_MODE_TRUE
='#'
2956 MAINTAINER_MODE_FALSE
=
2959 MAINT
=$MAINTAINER_MODE_TRUE
2963 # Calculate toolexeclibdir
2964 # Also toolexecdir, though it's only used in toolexeclibdir
2965 case ${version_specific_libs} in
2967 # Need the gcc compiler version to know where to install libraries
2968 # and header files if --enable-version-specific-runtime-libs option
2970 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2971 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2974 if test -n "$with_cross_host" &&
2975 test x
"$with_cross_host" != x
"no"; then
2976 # Install a library built with a cross compiler in tooldir, not libdir.
2977 toolexecdir
='$(exec_prefix)/$(target_alias)'
2978 toolexeclibdir
='$(toolexecdir)/lib'
2980 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2981 toolexeclibdir
='$(libdir)'
2983 multi_os_directory
=`$CC -print-multi-os-directory`
2984 case $multi_os_directory in
2985 .
) ;; # Avoid trailing /.
2986 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2993 # Check for programs.
2997 ac_cpp
='$CPP $CPPFLAGS'
2998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3003 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if test "${ac_cv_prog_CC+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$CC"; then
3010 ac_cv_prog_CC
="$CC" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 if test -n "$CC"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3032 $as_echo "$CC" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3040 if test -z "$ac_cv_prog_CC"; then
3042 # Extract the first word of "gcc", so it can be a program name with args.
3043 set dummy gcc
; ac_word
=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$ac_ct_CC"; then
3050 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059 ac_cv_prog_ac_ct_CC
="gcc"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3070 if test -n "$ac_ct_CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3072 $as_echo "$ac_ct_CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3078 if test "x$ac_ct_CC" = x
; then
3081 case $cross_compiling:$ac_tool_warned in
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3085 ac_tool_warned
=yes ;;
3093 if test -z "$CC"; then
3094 if test -n "$ac_tool_prefix"; then
3095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3096 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if test "${ac_cv_prog_CC+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC
="$CC" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3134 if test -z "$CC"; then
3135 # Extract the first word of "cc", so it can be a program name with args.
3136 set dummy cc
; ac_word
=$2
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if test "${ac_cv_prog_CC+set}" = set; then :
3140 $as_echo_n "(cached) " >&6
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC
="$CC" # Let the user override the test.
3146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir
=.
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3154 ac_prog_rejected
=yes
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test $ac_prog_rejected = yes; then
3166 # We found a bogon in the path, so make sure we never use it.
3167 set dummy
$ac_cv_prog_CC
3169 if test $# != 0; then
3170 # We chose a different compiler from the bogus one.
3171 # However, it has the same basename, so the bogon will be chosen
3172 # first if we set CC to just the basename; use the full file name.
3174 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3190 if test -z "$CC"; then
3191 if test -n "$ac_tool_prefix"; then
3192 for ac_prog
in cl.exe
3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3195 set dummy
$ac_tool_prefix$ac_prog; 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.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$CC"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3224 $as_echo "$CC" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3231 test -n "$CC" && break
3234 if test -z "$CC"; then
3236 for ac_prog
in cl.exe
3238 # Extract the first word of "$ac_prog", so it can be a program name with args.
3239 set dummy
$ac_prog; ac_word
=$2
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 $as_echo_n "checking for $ac_word... " >&6; }
3242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3243 $as_echo_n "(cached) " >&6
3245 if test -n "$ac_ct_CC"; then
3246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir
=.
3253 for ac_exec_ext
in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_ac_ct_CC
="$ac_prog"
3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3266 if test -n "$ac_ct_CC"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3268 $as_echo "$ac_ct_CC" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3275 test -n "$ac_ct_CC" && break
3278 if test "x$ac_ct_CC" = x
; then
3281 case $cross_compiling:$ac_tool_warned in
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3285 ac_tool_warned
=yes ;;
3294 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 as_fn_error
"no acceptable C compiler found in \$PATH
3297 See \`config.log' for more details." "$LINENO" 5; }
3299 # Provide some information about the compiler.
3300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3303 for ac_option
in --version -v -V -qversion; do
3304 { { ac_try
="$ac_compiler $ac_option >&5"
3306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3313 if test -s conftest.err; then
3315 ... rest of stderr output deleted ...
3316 10q' conftest.err >conftest.er1
3317 cat conftest.er1 >&5
3318 rm -f conftest.er1 conftest.err
3320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3321 test $ac_status = 0; }
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3335 ac_clean_files_save=$ac_clean_files
3336 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3337 # Try to create an executable without -o first, disregard a.out.
3338 # It will help us diagnose broken compilers, and finding out an intuition
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3341 $as_echo_n "checking for C compiler default output file name... " >&6; }
3342 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3344 # The possible output files:
3345 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3348 for ac_file in $ac_files
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3352 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3357 if { { ac_try="$ac_link_default"
3359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3360 *) ac_try_echo
=$ac_try;;
3362 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_link_default") 2>&5
3366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367 test $ac_status = 0; }; then :
3368 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3369 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3370 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3371 # so that the user can short-circuit this test for compilers unknown to
3373 for ac_file
in $ac_files ''
3375 test -f "$ac_file" ||
continue
3377 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3380 # We found the default executable, but exeext='' is most
3384 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3386 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3388 # We set ac_cv_exeext here because the later test for it is not
3389 # safe: cross compilers may not add the suffix if given an `-o'
3390 # argument, so we may need to know it at that point already.
3391 # Even if this section looks crufty: it has the advantage of
3398 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3404 $as_echo "$ac_file" >&6; }
3405 if test -z "$ac_file"; then :
3406 $as_echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.
$ac_ext >&5
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 { as_fn_set_status
77
3412 as_fn_error
"C compiler cannot create executables
3413 See \`config.log' for more details." "$LINENO" 5; }; }
3415 ac_exeext
=$ac_cv_exeext
3417 # Check that the compiler produces executables we can run. If not, either
3418 # the compiler is broken, or we cross compile.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3420 $as_echo_n "checking whether the C compiler works... " >&6; }
3421 # If not cross compiling, check that we can run a simple program.
3422 if test "$cross_compiling" != yes; then
3423 if { ac_try
='./$ac_file'
3424 { { case "(($ac_try" in
3425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_try") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; }; then
3436 if test "$cross_compiling" = maybe; then
3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error "cannot run C compiled programs.
3442 If you meant to cross compile
, use \
`--host'.
3443 See \`config.log
' for more details." "$LINENO" 5; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3448 $as_echo "yes" >&6; }
3450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3451 ac_clean_files=$ac_clean_files_save
3452 # Check that the compiler produces executables we can run. If not, either
3453 # the compiler is broken, or we cross compile.
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3455 $as_echo_n "checking whether we are cross compiling... " >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3457 $as_echo "$cross_compiling" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3460 $as_echo_n "checking for suffix of executables... " >&6; }
3461 if { { ac_try="$ac_link"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_link") 2>&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }; then :
3472 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3473 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3474 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3476 for ac_file
in conftest.exe conftest conftest.
*; do
3477 test -f "$ac_file" ||
continue
3479 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3480 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3489 See \`config.log' for more details." "$LINENO" 5; }
3491 rm -f conftest
$ac_cv_exeext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3493 $as_echo "$ac_cv_exeext" >&6; }
3495 rm -f conftest.
$ac_ext
3496 EXEEXT
=$ac_cv_exeext
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3499 $as_echo_n "checking for suffix of object files... " >&6; }
3500 if test "${ac_cv_objext+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 rm -f conftest.o conftest.obj
3515 if { { ac_try
="$ac_compile"
3517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_compile") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 for ac_file in conftest.o conftest.obj conftest.*; do
3527 test -f "$ac_file" || continue;
3529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3530 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 as_fn_error "cannot compute suffix of object files
: cannot compile
3541 See \
`config.log' for more details." "$LINENO" 5; }
3543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3546 $as_echo "$ac_cv_objext" >&6; }
3547 OBJEXT=$ac_cv_objext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3550 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3551 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3578 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3579 if test $ac_compiler_gnu = yes; then
3584 ac_test_CFLAGS=${CFLAGS+set}
3585 ac_save_CFLAGS=$CFLAGS
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3587 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3588 if test "${ac_cv_prog_cc_g+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3591 ac_save_c_werror_flag=$ac_c_werror_flag
3592 ac_c_werror_flag=yes
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 if ac_fn_c_try_compile "$LINENO"; then :
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3624 ac_c_werror_flag=$ac_save_c_werror_flag
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 if ac_fn_c_try_compile "$LINENO"; then :
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 ac_c_werror_flag=$ac_save_c_werror_flag
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3648 $as_echo "$ac_cv_prog_cc_g" >&6; }
3649 if test "$ac_test_CFLAGS" = set; then
3650 CFLAGS=$ac_save_CFLAGS
3651 elif test $ac_cv_prog_cc_g = yes; then
3652 if test "$GCC" = yes; then
3658 if test "$GCC" = yes; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3665 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3666 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3669 ac_cv_prog_cc_c89=no
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3675 #include <sys/types.h>
3676 #include <sys/stat.h>
3677 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3678 struct buf { int x; };
3679 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3680 static char *e (p, i)
3686 static char *f (char * (*g) (char **, int), char **p, ...)
3691 s = g (p, va_arg (v,int));
3696 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3697 function prototypes and stuff, but not '\xHH' hex character constants.
3698 These don't provoke an error unfortunately, instead are silently treated
3699 as 'x'. The following induces an error, until -std is added to get
3700 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3701 array size at least. It's necessary to write '\x00'==0 to get something
3702 that's true only with -std. */
3703 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3705 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3706 inside strings and character constants. */
3708 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3710 int test (int i, double x);
3711 struct s1 {int (*f) (int a);};
3712 struct s2 {int (*f) (double a);};
3713 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3719 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3724 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3725 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3727 CC="$ac_save_CC $ac_arg"
3728 if ac_fn_c_try_compile "$LINENO"; then :
3729 ac_cv_prog_cc_c89=$ac_arg
3731 rm -f core conftest.err conftest.$ac_objext
3732 test "x$ac_cv_prog_cc_c89" != "xno" && break
3734 rm -f conftest.$ac_ext
3739 case "x$ac_cv_prog_cc_c89" in
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3742 $as_echo "none needed" >&6; } ;;
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3745 $as_echo "unsupported" >&6; } ;;
3747 CC="$CC $ac_cv_prog_cc_c89"
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3749 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 if test "x$ac_cv_prog_cc_c89" != xno; then :
3756 ac_cpp='$CPP $CPPFLAGS'
3757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3760 DEPDIR="${am__leading_dot}deps"
3762 ac_config_commands="$ac_config_commands depfiles"
3765 am_make=${MAKE-make}
3766 cat > confinc << 'END'
3768 @echo this is the am__doit target
3771 # If we don't find an include directive, just comment out the code.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3773 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3777 # First try GNU make style include.
3778 echo "include confinc" > confmf
3779 # Ignore all kinds of additional output from `make'.
3780 case `$am_make -s -f confmf 2> /dev/null` in #(
3781 *the\ am__doit\ target*)
3787 # Now try BSD make style include.
3788 if test "$am__include" = "#"; then
3789 echo '.include
"confinc"' > confmf
3790 case `$am_make -s -f confmf 2> /dev/null` in #(
3791 *the\ am__doit\ target*)
3792 am__include=.include
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3801 $as_echo "$_am_result" >&6; }
3802 rm -f confinc confmf
3804 # Check whether --enable-dependency-tracking was given.
3805 if test "${enable_dependency_tracking+set}" = set; then :
3806 enableval=$enable_dependency_tracking;
3809 if test "x$enable_dependency_tracking" != xno; then
3810 am_depcomp="$ac_aux_dir/depcomp"
3813 if test "x$enable_dependency_tracking" != xno
; then
3823 depcc
="$CC" am_compiler_list
=
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3826 $as_echo_n "checking dependency style of $depcc... " >&6; }
3827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3831 # We make a subdir and do the tests there. Otherwise we can end up
3832 # making bogus files that we don't know about and never remove. For
3833 # instance it was reported that on HP-UX the gcc test will end up
3834 # making a dummy file named `D' -- because `-MD' means `put the output
3837 # Copy depcomp to subdir because otherwise we won't find it if we're
3838 # using a relative directory.
3839 cp "$am_depcomp" conftest.dir
3841 # We will build objects and dependencies in a subdirectory because
3842 # it helps to detect inapplicable dependency modes. For instance
3843 # both Tru64's cc and ICC support -MD to output dependencies as a
3844 # side effect of compilation, but ICC will put the dependencies in
3845 # the current directory while Tru64 will put them in the object
3849 am_cv_CC_dependencies_compiler_type
=none
3850 if test "$am_compiler_list" = ""; then
3851 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3854 case " $depcc " in #(
3855 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3858 for depmode
in $am_compiler_list; do
3859 # Setup a source with many dependencies, because some compilers
3860 # like to wrap large dependency lists on column 80 (with \), and
3861 # we should not choose a depcomp mode which is confused by this.
3863 # We need to recreate these files for each test, as the compiler may
3864 # overwrite some of them when testing with obscure command lines.
3865 # This happens at least with the AIX C compiler.
3867 for i
in 1 2 3 4 5 6; do
3868 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3869 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3870 # Solaris 8's {/usr,}/bin/sh.
3871 touch sub
/conftst
$i.h
3873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3876 # mode. It turns out that the SunPro C++ compiler does not properly
3877 # handle `-M -o', and we need to detect this. Also, some Intel
3878 # versions had trouble with output in subdirs
3879 am__obj
=sub
/conftest.
${OBJEXT-o}
3880 am__minus_obj
="-o $am__obj"
3883 # This depmode causes a compiler race in universal mode.
3884 test "$am__universal" = false ||
continue
3887 # after this tag, mechanisms are not by side-effect, so they'll
3888 # only be used when explicitly requested
3889 if test "x$enable_dependency_tracking" = xyes
; then
3895 msvisualcpp | msvcmsys
)
3896 # This compiler won't grok `-c -o', but also, the minuso test has
3897 # not run yet. These depmodes are late enough in the game, and
3898 # so weak that their functioning should not be impacted.
3899 am__obj
=conftest.
${OBJEXT-o}
3904 if depmode
=$depmode \
3905 source=sub
/conftest.c object
=$am__obj \
3906 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3907 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3908 >/dev
/null
2>conftest.err
&&
3909 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3910 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3911 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3912 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3913 # icc doesn't choke on unknown options, it will just issue warnings
3914 # or remarks (even with -Werror). So we grep stderr for any message
3915 # that says an option was ignored or not supported.
3916 # When given -MP, icc 7.0 and 7.1 complain thusly:
3917 # icc: Command line warning: ignoring option '-M'; no argument required
3918 # The diagnosis changed in icc 8.0:
3919 # icc: Command line remark: option '-MP' not supported
3920 if (grep 'ignoring option' conftest.err ||
3921 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3922 am_cv_CC_dependencies_compiler_type
=$depmode
3931 am_cv_CC_dependencies_compiler_type
=none
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3940 test "x$enable_dependency_tracking" != xno \
3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3943 am__fastdepCC_FALSE
='#'
3945 am__fastdepCC_TRUE
='#'
3946 am__fastdepCC_FALSE
=
3951 ac_cpp
='$CXXCPP $CPPFLAGS'
3952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3955 if test -z "$CXX"; then
3956 if test -n "$CCC"; then
3959 if test -n "$ac_tool_prefix"; then
3960 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3963 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if test "${ac_cv_prog_CXX+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CXX"; then
3970 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 if test -n "$CXX"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3992 $as_echo "$CXX" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
3999 test -n "$CXX" && break
4002 if test -z "$CXX"; then
4004 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4006 # Extract the first word of "$ac_prog", so it can be a program name with args.
4007 set dummy
$ac_prog; ac_word
=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -n "$ac_ct_CXX"; then
4014 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4020 test -z "$as_dir" && as_dir
=.
4021 for ac_exec_ext
in '' $ac_executable_extensions; do
4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4034 if test -n "$ac_ct_CXX"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4036 $as_echo "$ac_ct_CXX" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$ac_ct_CXX" && break
4046 if test "x$ac_ct_CXX" = x
; then
4049 case $cross_compiling:$ac_tool_warned in
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4053 ac_tool_warned
=yes ;;
4061 # Provide some information about the compiler.
4062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4065 for ac_option
in --version -v -V -qversion; do
4066 { { ac_try
="$ac_compiler $ac_option >&5"
4068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072 $as_echo "$ac_try_echo"; } >&5
4073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4075 if test -s conftest.err; then
4077 ... rest of stderr output deleted ...
4078 10q' conftest.err >conftest.er1
4079 cat conftest.er1 >&5
4080 rm -f conftest.er1 conftest.err
4082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test $ac_status = 0; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4087 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4088 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4105 if ac_fn_cxx_try_compile "$LINENO"; then :
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4115 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4116 if test $ac_compiler_gnu = yes; then
4121 ac_test_CXXFLAGS=${CXXFLAGS+set}
4122 ac_save_CXXFLAGS=$CXXFLAGS
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4124 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4125 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4129 ac_cxx_werror_flag=yes
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4143 if ac_fn_cxx_try_compile "$LINENO"; then :
4144 ac_cv_prog_cxx_g=yes
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4158 if ac_fn_cxx_try_compile "$LINENO"; then :
4161 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 if ac_fn_cxx_try_compile "$LINENO"; then :
4175 ac_cv_prog_cxx_g=yes
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4185 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4186 if test "$ac_test_CXXFLAGS" = set; then
4187 CXXFLAGS=$ac_save_CXXFLAGS
4188 elif test $ac_cv_prog_cxx_g = yes; then
4189 if test "$GXX" = yes; then
4195 if test "$GXX" = yes; then
4202 ac_cpp='$CPP $CPPFLAGS'
4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 depcc="$CXX" am_compiler_list=
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4210 $as_echo_n "checking dependency style of $depcc... " >&6; }
4211 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4215 # We make a subdir and do the tests there. Otherwise we can end up
4216 # making bogus files that we don't know about and never remove. For
4217 # instance it was reported that on HP-UX the gcc test will end up
4218 # making a dummy file named `D
' -- because `-MD' means
`put the output
4221 # Copy depcomp to subdir because otherwise we won't find it if we're
4222 # using a relative directory.
4223 cp "$am_depcomp" conftest.dir
4225 # We will build objects and dependencies in a subdirectory because
4226 # it helps to detect inapplicable dependency modes. For instance
4227 # both Tru64's cc and ICC support -MD to output dependencies as a
4228 # side effect of compilation, but ICC will put the dependencies in
4229 # the current directory while Tru64 will put them in the object
4233 am_cv_CXX_dependencies_compiler_type=none
4234 if test "$am_compiler_list" = ""; then
4235 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4238 case " $depcc " in #(
4239 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4242 for depmode in $am_compiler_list; do
4243 # Setup a source with many dependencies, because some compilers
4244 # like to wrap large dependency lists on column 80 (with \), and
4245 # we should not choose a depcomp mode which is confused by this.
4247 # We need to recreate these files for each test, as the compiler may
4248 # overwrite some of them when testing with obscure command lines.
4249 # This happens at least with the AIX C compiler.
4251 for i in 1 2 3 4 5 6; do
4252 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4253 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4254 # Solaris 8's
{/usr
,}/bin
/sh.
4255 touch sub
/conftst
$i.h
4257 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4259 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4260 # mode. It turns out that the SunPro C++ compiler does not properly
4261 # handle `-M -o', and we need to detect this. Also, some Intel
4262 # versions had trouble with output in subdirs
4263 am__obj
=sub
/conftest.
${OBJEXT-o}
4264 am__minus_obj
="-o $am__obj"
4267 # This depmode causes a compiler race in universal mode.
4268 test "$am__universal" = false ||
continue
4271 # after this tag, mechanisms are not by side-effect, so they'll
4272 # only be used when explicitly requested
4273 if test "x$enable_dependency_tracking" = xyes
; then
4279 msvisualcpp | msvcmsys
)
4280 # This compiler won't grok `-c -o', but also, the minuso test has
4281 # not run yet. These depmodes are late enough in the game, and
4282 # so weak that their functioning should not be impacted.
4283 am__obj
=conftest.
${OBJEXT-o}
4288 if depmode
=$depmode \
4289 source=sub
/conftest.c object
=$am__obj \
4290 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4291 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4292 >/dev
/null
2>conftest.err
&&
4293 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4294 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4295 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4296 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4297 # icc doesn't choke on unknown options, it will just issue warnings
4298 # or remarks (even with -Werror). So we grep stderr for any message
4299 # that says an option was ignored or not supported.
4300 # When given -MP, icc 7.0 and 7.1 complain thusly:
4301 # icc: Command line warning: ignoring option '-M'; no argument required
4302 # The diagnosis changed in icc 8.0:
4303 # icc: Command line remark: option '-MP' not supported
4304 if (grep 'ignoring option' conftest.err ||
4305 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4306 am_cv_CXX_dependencies_compiler_type
=$depmode
4315 am_cv_CXX_dependencies_compiler_type
=none
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4320 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4321 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4324 test "x$enable_dependency_tracking" != xno \
4325 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4326 am__fastdepCXX_TRUE
=
4327 am__fastdepCXX_FALSE
='#'
4329 am__fastdepCXX_TRUE
='#'
4330 am__fastdepCXX_FALSE
=
4336 if test "x$CC" != xcc
; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4338 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4341 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4343 set dummy
$CC; ac_cc
=`$as_echo "$2" |
4344 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4345 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4346 $as_echo_n "(cached) " >&6
4348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 # Make sure it works both with $CC and with simple cc.
4360 # We do the test twice because some compilers refuse to overwrite an
4361 # existing .o file with -o, though they will create one.
4362 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4364 if { { case "(($ac_try" in
4365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_try") 2>&5
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; } &&
4374 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_try") 2>&5
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; };
4385 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
4386 if test "x$CC" != xcc
; then
4387 # Test first that cc exists at all.
4388 if { ac_try
='cc -c conftest.$ac_ext >&5'
4389 { { case "(($ac_try" in
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_try") 2>&5
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; }; }; then
4399 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4401 if { { case "(($ac_try" in
4402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4403 *) ac_try_echo
=$ac_try;;
4405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_try") 2>&5
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; } &&
4411 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_try") 2>&5
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; };
4425 # cc exists but doesn't like -o.
4426 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4431 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4433 rm -f core conftest*
4436 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4438 $as_echo "yes" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4443 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4447 # FIXME: we rely on the cache variable name because
4448 # there is no other way.
4450 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4451 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4452 if test "$am_t" != yes; then
4453 # Losing compiler, so override with the script.
4454 # FIXME: It is wrong to rewrite CC.
4455 # But if we don't then we get into trouble of one sort or another.
4456 # A longer-term fix would be to have automake use am__CC in this case,
4457 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4458 CC="$am_aux_dir/compile $CC"
4466 # Newer automakes demand CCAS and CCASFLAGS.
4468 : ${CCASFLAGS='$(CFLAGS)'}
4472 if test -n "$ac_tool_prefix"; then
4473 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4474 set dummy ${ac_tool_prefix}as; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if test "${ac_cv_prog_AS+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$AS"; then
4481 ac_cv_prog_AS="$AS" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4490 ac_cv_prog_AS="${ac_tool_prefix}as"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 if test -n "$AS"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4503 $as_echo "$AS" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4511 if test -z "$ac_cv_prog_AS"; then
4513 # Extract the first word of "as", so it can be a program name with args.
4514 set dummy as; ac_word=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 if test -n "$ac_ct_AS"; then
4521 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 ac_cv_prog_ac_ct_AS="as"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4541 if test -n "$ac_ct_AS"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4543 $as_echo "$ac_ct_AS" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4549 if test "x$ac_ct_AS" = x; then
4552 case $cross_compiling:$ac_tool_warned in
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4556 ac_tool_warned=yes ;;
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4566 set dummy ${ac_tool_prefix}ar; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if test "${ac_cv_prog_AR+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$AR"; then
4573 ac_cv_prog_AR="$AR" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_AR="${ac_tool_prefix}ar"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 if test -n "$AR"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4595 $as_echo "$AR" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4603 if test -z "$ac_cv_prog_AR"; then
4605 # Extract the first word of "ar", so it can be a program name with args.
4606 set dummy ar; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$ac_ct_AR"; then
4613 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_ac_ct_AR="ar"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4633 if test -n "$ac_ct_AR"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4635 $as_echo "$ac_ct_AR" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4641 if test "x$ac_ct_AR" = x; then
4644 case $cross_compiling:$ac_tool_warned in
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4656 if test -n "$ac_tool_prefix"; then
4657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$RANLIB"; then
4665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 RANLIB=$ac_cv_prog_RANLIB
4685 if test -n "$RANLIB"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4687 $as_echo "$RANLIB" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4695 if test -z "$ac_cv_prog_RANLIB"; then
4696 ac_ct_RANLIB=$RANLIB
4697 # Extract the first word of "ranlib", so it can be a program name with args.
4698 set dummy ranlib; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 if test -n "$ac_ct_RANLIB"; then
4705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir=.
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714 ac_cv_prog_ac_ct_RANLIB="ranlib"
4715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4725 if test -n "$ac_ct_RANLIB"; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4727 $as_echo "$ac_ct_RANLIB" >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4733 if test "x$ac_ct_RANLIB" = x; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4742 RANLIB=$ac_ct_RANLIB
4745 RANLIB="$ac_cv_prog_RANLIB"
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4757 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4762 macro_version='2.2.7a'
4763 macro_revision='1.3134'
4777 ltmain="$ac_aux_dir/ltmain.sh"
4779 # Backslashify metacharacters that are still active within
4780 # double-quoted strings.
4781 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4783 # Same as above, but do not quote variable references.
4784 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4786 # Sed substitution to delay expansion of an escaped shell variable in a
4787 # double_quote_subst'ed string.
4788 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4790 # Sed substitution to delay expansion of an escaped single quote.
4791 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4793 # Sed substitution to avoid accidental globbing in evaled expressions
4794 no_glob_subst='s/\*/\\\*/g'
4796 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4797 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4798 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4801 $as_echo_n "checking how to print
strings...
" >&6; }
4802 # Test print first, because it will be a builtin if present.
4803 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4804 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4806 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4809 # Use this function as a fallback that always works.
4810 func_fallback_echo ()
4812 eval 'cat <<_LTECHO_EOF
4816 ECHO='func_fallback_echo'
4819 # func_echo_all arg...
4820 # Invoke $ECHO with all args, space-separated.
4827 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4828 $as_echo "printf" >&6; } ;;
4829 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4830 $as_echo "print
-r" >&6; } ;;
4831 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4832 $as_echo "cat" >&6; } ;;
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4849 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4850 if test "${ac_cv_path_SED+set}" = set; then :
4851 $as_echo_n "(cached
) " >&6
4853 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4854 for ac_i in 1 2 3 4 5 6 7; do
4855 ac_script="$ac_script$as_nl$ac_script"
4857 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4858 { ac_script=; unset ac_script;}
4859 if test -z "$SED"; then
4860 ac_path_SED_found=false
4861 # Loop through the user's path and test for each of PROGNAME-LIST
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir=.
4867 for ac_prog in sed gsed; do
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4870 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4871 # Check for GNU ac_path_SED and select it if it is found.
4872 # Check for GNU $ac_path_SED
4873 case `"$ac_path_SED" --version 2>&1` in
4875 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4878 $as_echo_n 0123456789 >"conftest.
in"
4881 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4882 mv "conftest.tmp
" "conftest.
in"
4883 cp "conftest.
in" "conftest.
nl"
4884 $as_echo '' >> "conftest.
nl"
4885 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4886 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4887 as_fn_arith $ac_count + 1 && ac_count=$as_val
4888 if test $ac_count -gt ${ac_path_SED_max-0}; then
4889 # Best one so far, save it but keep looking for a better one
4890 ac_cv_path_SED="$ac_path_SED"
4891 ac_path_SED_max=$ac_count
4893 # 10*(2^10) chars as input seems more than enough
4894 test $ac_count -gt 10 && break
4896 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4899 $ac_path_SED_found && break 3
4904 if test -z "$ac_cv_path_SED"; then
4905 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4913 $as_echo "$ac_cv_path_SED" >&6; }
4914 SED="$ac_cv_path_SED"
4917 test -z "$SED" && SED=sed
4918 Xsed="$SED -e 1s
/^X
//"
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4931 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4932 if test "${ac_cv_path_GREP+set}" = set; then :
4933 $as_echo_n "(cached
) " >&6
4935 if test -z "$GREP"; then
4936 ac_path_GREP_found=false
4937 # Loop through the user's path and test for each of PROGNAME-LIST
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4942 test -z "$as_dir" && as_dir=.
4943 for ac_prog in grep ggrep; do
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4946 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4947 # Check for GNU ac_path_GREP and select it if it is found.
4948 # Check for GNU $ac_path_GREP
4949 case `"$ac_path_GREP" --version 2>&1` in
4951 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4954 $as_echo_n 0123456789 >"conftest.
in"
4957 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4958 mv "conftest.tmp
" "conftest.
in"
4959 cp "conftest.
in" "conftest.
nl"
4960 $as_echo 'GREP' >> "conftest.
nl"
4961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4962 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4963 as_fn_arith $ac_count + 1 && ac_count=$as_val
4964 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4965 # Best one so far, save it but keep looking for a better one
4966 ac_cv_path_GREP="$ac_path_GREP"
4967 ac_path_GREP_max=$ac_count
4969 # 10*(2^10) chars as input seems more than enough
4970 test $ac_count -gt 10 && break
4972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975 $ac_path_GREP_found && break 3
4980 if test -z "$ac_cv_path_GREP"; then
4981 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4984 ac_cv_path_GREP=$GREP
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4989 $as_echo "$ac_cv_path_GREP" >&6; }
4990 GREP="$ac_cv_path_GREP"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4994 $as_echo_n "checking
for egrep...
" >&6; }
4995 if test "${ac_cv_path_EGREP+set}" = set; then :
4996 $as_echo_n "(cached
) " >&6
4998 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4999 then ac_cv_path_EGREP="$GREP -E"
5001 if test -z "$EGREP"; then
5002 ac_path_EGREP_found=false
5003 # Loop through the user's path and test for each of PROGNAME-LIST
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5008 test -z "$as_dir" && as_dir=.
5009 for ac_prog in egrep; do
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5012 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5013 # Check for GNU ac_path_EGREP and select it if it is found.
5014 # Check for GNU $ac_path_EGREP
5015 case `"$ac_path_EGREP" --version 2>&1` in
5017 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5020 $as_echo_n 0123456789 >"conftest.
in"
5023 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5024 mv "conftest.tmp
" "conftest.
in"
5025 cp "conftest.
in" "conftest.
nl"
5026 $as_echo 'EGREP' >> "conftest.
nl"
5027 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5028 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5029 as_fn_arith $ac_count + 1 && ac_count=$as_val
5030 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5031 # Best one so far, save it but keep looking for a better one
5032 ac_cv_path_EGREP="$ac_path_EGREP"
5033 ac_path_EGREP_max=$ac_count
5035 # 10*(2^10) chars as input seems more than enough
5036 test $ac_count -gt 10 && break
5038 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5041 $ac_path_EGREP_found && break 3
5046 if test -z "$ac_cv_path_EGREP"; then
5047 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5050 ac_cv_path_EGREP=$EGREP
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5056 $as_echo "$ac_cv_path_EGREP" >&6; }
5057 EGREP="$ac_cv_path_EGREP"
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5061 $as_echo_n "checking
for fgrep...
" >&6; }
5062 if test "${ac_cv_path_FGREP+set}" = set; then :
5063 $as_echo_n "(cached
) " >&6
5065 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5066 then ac_cv_path_FGREP="$GREP -F"
5068 if test -z "$FGREP"; then
5069 ac_path_FGREP_found=false
5070 # Loop through the user's path and test for each of PROGNAME-LIST
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5075 test -z "$as_dir" && as_dir=.
5076 for ac_prog in fgrep; do
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5079 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5080 # Check for GNU ac_path_FGREP and select it if it is found.
5081 # Check for GNU $ac_path_FGREP
5082 case `"$ac_path_FGREP" --version 2>&1` in
5084 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5087 $as_echo_n 0123456789 >"conftest.
in"
5090 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5091 mv "conftest.tmp
" "conftest.
in"
5092 cp "conftest.
in" "conftest.
nl"
5093 $as_echo 'FGREP' >> "conftest.
nl"
5094 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5095 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5096 as_fn_arith $ac_count + 1 && ac_count=$as_val
5097 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5098 # Best one so far, save it but keep looking for a better one
5099 ac_cv_path_FGREP="$ac_path_FGREP"
5100 ac_path_FGREP_max=$ac_count
5102 # 10*(2^10) chars as input seems more than enough
5103 test $ac_count -gt 10 && break
5105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5108 $ac_path_FGREP_found && break 3
5113 if test -z "$ac_cv_path_FGREP"; then
5114 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5117 ac_cv_path_FGREP=$FGREP
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5123 $as_echo "$ac_cv_path_FGREP" >&6; }
5124 FGREP="$ac_cv_path_FGREP"
5127 test -z "$GREP" && GREP=grep
5147 # Check whether --with-gnu-ld was given.
5148 if test "${with_gnu_ld+set}" = set; then :
5149 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5155 if test "$GCC" = yes; then
5156 # Check if gcc -print-prog-name=ld gives a path.
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5158 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5161 # gcc leaves a trailing carriage return which upsets mingw
5162 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5164 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5167 # Accept absolute paths.
5169 re_direlt='/[^/][^/]*/\.\./'
5170 # Canonicalize the pathname of ld
5171 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5172 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5173 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5175 test -z "$LD" && LD="$ac_prog"
5178 # If it fails, then pretend we aren't using GCC.
5182 # If it is relative, then search for the first ld in PATH.
5186 elif test "$with_gnu_ld" = yes; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5188 $as_echo_n "checking
for GNU ld...
" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5191 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5193 if test "${lt_cv_path_LD+set}" = set; then :
5194 $as_echo_n "(cached
) " >&6
5196 if test -z "$LD"; then
5197 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5198 for ac_dir in $PATH; do
5200 test -z "$ac_dir" && ac_dir=.
5201 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5202 lt_cv_path_LD="$ac_dir/$ac_prog"
5203 # Check to see if the program is GNU ld. I'd rather use --version,
5204 # but apparently some variants of GNU ld only accept -v.
5205 # Break only if it was the GNU/non-GNU ld that we prefer.
5206 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5207 *GNU* | *'with BFD'*)
5208 test "$with_gnu_ld" != no && break
5211 test "$with_gnu_ld" != yes && break
5218 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5223 if test -n "$LD"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5225 $as_echo "$LD" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5228 $as_echo "no
" >&6; }
5230 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5232 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5233 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5234 $as_echo_n "(cached
) " >&6
5236 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5237 case `$LD -v 2>&1 </dev/null` in
5238 *GNU* | *'with BFD'*)
5239 lt_cv_prog_gnu_ld=yes
5242 lt_cv_prog_gnu_ld=no
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5247 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5248 with_gnu_ld=$lt_cv_prog_gnu_ld
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5259 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5260 if test "${lt_cv_path_NM+set}" = set; then :
5261 $as_echo_n "(cached
) " >&6
5263 if test -n "$NM"; then
5264 # Let the user override the test.
5267 lt_nm_to_check="${ac_tool_prefix}nm
"
5268 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5269 lt_nm_to_check="$lt_nm_to_check nm
"
5271 for lt_tmp_nm in $lt_nm_to_check; do
5272 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5273 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5275 test -z "$ac_dir" && ac_dir=.
5276 tmp_nm="$ac_dir/$lt_tmp_nm"
5277 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5278 # Check to see if the nm accepts a BSD-compat flag.
5279 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5280 # nm: unknown option "B
" ignored
5281 # Tru64's nm complains that /dev/null is an invalid object file
5282 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5283 */dev/null* | *'Invalid file or object type'*)
5284 lt_cv_path_NM="$tmp_nm -B"
5288 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5290 lt_cv_path_NM="$tmp_nm -p"
5294 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5295 continue # so that we can try to find one that supports BSD flags
5304 : ${lt_cv_path_NM=no}
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5308 $as_echo "$lt_cv_path_NM" >&6; }
5309 if test "$lt_cv_path_NM" != "no
"; then
5312 # Didn't find any BSD compatible name lister, look for dumpbin.
5313 if test -n "$DUMPBIN"; then :
5314 # Let the user override the test.
5316 if test -n "$ac_tool_prefix"; then
5317 for ac_prog in dumpbin "link
-dump"
5319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5322 $as_echo_n "checking
for $ac_word...
" >&6; }
5323 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5324 $as_echo_n "(cached
) " >&6
5326 if test -n "$DUMPBIN"; then
5327 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5346 DUMPBIN=$ac_cv_prog_DUMPBIN
5347 if test -n "$DUMPBIN"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5349 $as_echo "$DUMPBIN" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5352 $as_echo "no
" >&6; }
5356 test -n "$DUMPBIN" && break
5359 if test -z "$DUMPBIN"; then
5360 ac_ct_DUMPBIN=$DUMPBIN
5361 for ac_prog in dumpbin "link
-dump"
5363 # Extract the first word of "$ac_prog", so it can be a program name with args.
5364 set dummy $ac_prog; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5366 $as_echo_n "checking
for $ac_word...
" >&6; }
5367 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5368 $as_echo_n "(cached
) " >&6
5370 if test -n "$ac_ct_DUMPBIN"; then
5371 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5390 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5391 if test -n "$ac_ct_DUMPBIN"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5393 $as_echo "$ac_ct_DUMPBIN" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5396 $as_echo "no
" >&6; }
5400 test -n "$ac_ct_DUMPBIN" && break
5403 if test "x
$ac_ct_DUMPBIN" = x; then
5406 case $cross_compiling:$ac_tool_warned in
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5409 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5410 ac_tool_warned=yes ;;
5412 DUMPBIN=$ac_ct_DUMPBIN
5416 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5418 DUMPBIN="$DUMPBIN -symbols"
5426 if test "$DUMPBIN" != ":"; then
5430 test -z "$NM" && NM=nm
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5438 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5439 if test "${lt_cv_nm_interface+set}" = set; then :
5440 $as_echo_n "(cached
) " >&6
5442 lt_cv_nm_interface="BSD nm
"
5443 echo "int some_variable
= 0;" > conftest.$ac_ext
5444 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5445 (eval "$ac_compile" 2>conftest.err)
5446 cat conftest.err >&5
5447 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5448 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5449 cat conftest.err >&5
5450 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5451 cat conftest.out >&5
5452 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5453 lt_cv_nm_interface="MS dumpbin
"
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5458 $as_echo "$lt_cv_nm_interface" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5461 $as_echo_n "checking whether
ln -s works...
" >&6; }
5463 if test "$LN_S" = "ln -s"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5465 $as_echo "yes" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5468 $as_echo "no
, using
$LN_S" >&6; }
5471 # find the maximum length of command line arguments
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5473 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5474 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5475 $as_echo_n "(cached
) " >&6
5482 # On DJGPP, this test can blow up pretty badly due to problems in libc
5483 # (any single argument exceeding 2000 bytes causes a buffer overrun
5484 # during glob expansion). Even if it were fixed, the result of this
5485 # check would be larger than it should be.
5486 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5490 # Under GNU Hurd, this test is not required because there is
5491 # no limit to the length of command line arguments.
5492 # Libtool will interpret -1 as no limit whatsoever
5493 lt_cv_sys_max_cmd_len=-1;
5496 cygwin* | mingw* | cegcc*)
5497 # On Win9x/ME, this test blows up -- it succeeds, but takes
5498 # about 5 minutes as the teststring grows exponentially.
5499 # Worse, since 9x/ME are not pre-emptively multitasking,
5500 # you end up with a "frozen
" computer, even though with patience
5501 # the test eventually succeeds (with a max line length of 256k).
5502 # Instead, let's just punt: use the minimum linelength reported by
5503 # all of the supported platforms: 8192 (on NT/2K/XP).
5504 lt_cv_sys_max_cmd_len=8192;
5508 # On MiNT this can take a long time and run out of memory.
5509 lt_cv_sys_max_cmd_len=8192;
5513 # On AmigaOS with pdksh, this test takes hours, literally.
5514 # So we just punt and use a minimum line length of 8192.
5515 lt_cv_sys_max_cmd_len=8192;
5518 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5519 # This has been around since 386BSD, at least. Likely further.
5520 if test -x /sbin/sysctl; then
5521 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5522 elif test -x /usr/sbin/sysctl; then
5523 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5525 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5527 # And add a safety zone
5528 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5529 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5533 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5534 lt_cv_sys_max_cmd_len=196608
5538 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5539 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5540 # nice to cause kernel panics so lets avoid the loop below.
5541 # First set a reasonable default.
5542 lt_cv_sys_max_cmd_len=16384
5544 if test -x /sbin/sysconfig; then
5545 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5546 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5551 lt_cv_sys_max_cmd_len=102400
5553 sysv5* | sco5v6* | sysv4.2uw2*)
5554 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5555 if test -n "$kargmax"; then
5556 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5558 lt_cv_sys_max_cmd_len=32768
5562 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5563 if test -n "$lt_cv_sys_max_cmd_len"; then
5564 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5565 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5567 # Make teststring a little bigger before we do anything with it.
5568 # a 1K string should be a reasonable start.
5569 for i in 1 2 3 4 5 6 7 8 ; do
5570 teststring=$teststring$teststring
5572 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5573 # If test is not a shell built-in, we'll probably end up computing a
5574 # maximum length that is only half of the actual maximum length, but
5576 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5577 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5578 test $i != 17 # 1/2 MB should be enough
5581 teststring=$teststring$teststring
5583 # Only check the string length outside the loop.
5584 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5586 # Add a significant safety factor because C++ compilers can tack on
5587 # massive amounts of additional arguments before passing them to the
5588 # linker. It appears as though 1/2 is a usable value.
5589 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5596 if test -n $lt_cv_sys_max_cmd_len ; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5598 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5601 $as_echo "none
" >&6; }
5603 max_cmd_len=$lt_cv_sys_max_cmd_len
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5615 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5616 # Try some XSI features
5619 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5621 && eval 'test $(( 1 + 1 )) -eq 2 \
5622 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5625 $as_echo "$xsi_shell" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5629 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5631 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5633 && lt_shell_append
=yes
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5635 $as_echo "$lt_shell_append" >&6; }
5638 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5648 # test EBCDIC or ASCII
5649 case `echo X|tr X '\101'` in
5650 A
) # ASCII based system
5651 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5652 lt_SP2NL
='tr \040 \012'
5653 lt_NL2SP
='tr \015\012 \040\040'
5655 *) # EBCDIC based system
5656 lt_SP2NL
='tr \100 \n'
5657 lt_NL2SP
='tr \r\n \100\100'
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5670 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5671 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5672 $as_echo_n "(cached) " >&6
5674 lt_cv_ld_reload_flag
='-r'
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5677 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5678 reload_flag
=$lt_cv_ld_reload_flag
5679 case $reload_flag in
5681 *) reload_flag
=" $reload_flag" ;;
5683 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5686 if test "$GCC" = yes; then
5687 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5689 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5704 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$OBJDUMP"; then
5711 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_exec_ext
in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 OBJDUMP
=$ac_cv_prog_OBJDUMP
5731 if test -n "$OBJDUMP"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5733 $as_echo "$OBJDUMP" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if test -z "$ac_cv_prog_OBJDUMP"; then
5742 ac_ct_OBJDUMP
=$OBJDUMP
5743 # Extract the first word of "objdump", so it can be a program name with args.
5744 set dummy objdump
; ac_word
=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ac_ct_OBJDUMP"; then
5751 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir
=.
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5771 if test -n "$ac_ct_OBJDUMP"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5773 $as_echo "$ac_ct_OBJDUMP" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5779 if test "x$ac_ct_OBJDUMP" = x
; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned
=yes ;;
5788 OBJDUMP
=$ac_ct_OBJDUMP
5791 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5794 test -z "$OBJDUMP" && OBJDUMP
=objdump
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5805 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5806 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5809 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5810 lt_cv_file_magic_test_file
=
5811 lt_cv_deplibs_check_method
='unknown'
5812 # Need to set the preceding variable on all platforms that support
5813 # interlibrary dependencies.
5814 # 'none' -- dependencies not supported.
5815 # `unknown' -- same as none, but documents that we really don't know.
5816 # 'pass_all' -- all dependencies passed with no checks.
5817 # 'test_compile' -- check by making test program.
5818 # 'file_magic [[regex]]' -- check by looking for files in library path
5819 # which responds to the $file_magic_cmd with a given extended regex.
5820 # If you have `file' or equivalent on your system and you're not sure
5821 # whether `pass_all' will *always* work, you probably want this one.
5825 lt_cv_deplibs_check_method
=pass_all
5829 lt_cv_deplibs_check_method
=pass_all
5833 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5834 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5835 lt_cv_file_magic_test_file
=/shlib
/libc.so
5839 # func_win32_libid is a shell function defined in ltmain.sh
5840 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5841 lt_cv_file_magic_cmd
='func_win32_libid'
5845 # Base MSYS/MinGW do not provide the 'file' command needed by
5846 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5847 # unless we find 'file', for example because we are cross-compiling.
5848 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5849 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5850 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5851 lt_cv_file_magic_cmd
='func_win32_libid'
5853 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5854 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5859 # use the weaker test based on 'objdump'. See mingw*.
5860 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5861 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5864 darwin
* | rhapsody
*)
5865 lt_cv_deplibs_check_method
=pass_all
5868 freebsd
* | dragonfly
*)
5869 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5872 # Not sure whether the presence of OpenBSD here was a mistake.
5873 # Let's accept both of them until this is cleared up.
5874 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5875 lt_cv_file_magic_cmd
=/usr
/bin
/file
5876 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5880 lt_cv_deplibs_check_method
=pass_all
5885 lt_cv_deplibs_check_method
=pass_all
5889 lt_cv_deplibs_check_method
=pass_all
5892 hpux10.20
* | hpux11
*)
5893 lt_cv_file_magic_cmd
=/usr
/bin
/file
5896 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5897 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5900 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]'
5901 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5904 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5905 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5911 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5912 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5915 irix5
* | irix6
* | nonstopux
*)
5917 *-32|
*"-32 ") libmagic
=32-bit;;
5918 *-n32|
*"-n32 ") libmagic
=N32
;;
5919 *-64|
*"-64 ") libmagic
=64-bit;;
5920 *) libmagic
=never-match
;;
5922 lt_cv_deplibs_check_method
=pass_all
5925 # This must be Linux ELF.
5926 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5927 lt_cv_deplibs_check_method
=pass_all
5931 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5932 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5934 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5939 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5940 lt_cv_file_magic_cmd
=/usr
/bin
/file
5941 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5945 lt_cv_deplibs_check_method
=pass_all
5949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5950 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5952 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5956 osf3
* | osf4
* | osf5
*)
5957 lt_cv_deplibs_check_method
=pass_all
5961 lt_cv_deplibs_check_method
=pass_all
5965 lt_cv_deplibs_check_method
=pass_all
5968 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5969 lt_cv_deplibs_check_method
=pass_all
5973 case $host_vendor in
5975 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]'
5976 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5979 lt_cv_deplibs_check_method
=pass_all
5982 lt_cv_file_magic_cmd
='/bin/file'
5983 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5986 lt_cv_file_magic_cmd
='/bin/file'
5987 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5988 lt_cv_file_magic_test_file
=/lib
/libc.so
5991 lt_cv_deplibs_check_method
=pass_all
5994 lt_cv_deplibs_check_method
=pass_all
6000 lt_cv_deplibs_check_method
=pass_all
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6006 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6007 file_magic_cmd
=$lt_cv_file_magic_cmd
6008 deplibs_check_method
=$lt_cv_deplibs_check_method
6009 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6024 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if test "${ac_cv_prog_AR+set}" = set; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$AR"; then
6031 ac_cv_prog_AR
="$AR" # Let the user override the test.
6033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir
=.
6038 for ac_exec_ext
in '' $ac_executable_extensions; do
6039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 if test -n "$AR"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6053 $as_echo "$AR" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6061 if test -z "$ac_cv_prog_AR"; then
6063 # Extract the first word of "ar", so it can be a program name with args.
6064 set dummy
ar; ac_word
=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6068 $as_echo_n "(cached) " >&6
6070 if test -n "$ac_ct_AR"; then
6071 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6077 test -z "$as_dir" && as_dir
=.
6078 for ac_exec_ext
in '' $ac_executable_extensions; do
6079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6080 ac_cv_prog_ac_ct_AR
="ar"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6091 if test -n "$ac_ct_AR"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6093 $as_echo "$ac_ct_AR" >&6; }
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6099 if test "x$ac_ct_AR" = x
; then
6102 case $cross_compiling:$ac_tool_warned in
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned
=yes ;;
6114 test -z "$AR" && AR
=ar
6115 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6127 if test -n "$ac_tool_prefix"; then
6128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6129 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_STRIP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6135 if test -n "$STRIP"; then
6136 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6142 test -z "$as_dir" && as_dir
=.
6143 for ac_exec_ext
in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 STRIP
=$ac_cv_prog_STRIP
6156 if test -n "$STRIP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6158 $as_echo "$STRIP" >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6166 if test -z "$ac_cv_prog_STRIP"; then
6168 # Extract the first word of "strip", so it can be a program name with args.
6169 set dummy strip
; ac_word
=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6173 $as_echo_n "(cached) " >&6
6175 if test -n "$ac_ct_STRIP"; then
6176 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6182 test -z "$as_dir" && as_dir
=.
6183 for ac_exec_ext
in '' $ac_executable_extensions; do
6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185 ac_cv_prog_ac_ct_STRIP
="strip"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6196 if test -n "$ac_ct_STRIP"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6198 $as_echo "$ac_ct_STRIP" >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6204 if test "x$ac_ct_STRIP" = x
; then
6207 case $cross_compiling:$ac_tool_warned in
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211 ac_tool_warned
=yes ;;
6216 STRIP
="$ac_cv_prog_STRIP"
6219 test -z "$STRIP" && STRIP
=:
6226 if test -n "$ac_tool_prefix"; then
6227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6228 set dummy
${ac_tool_prefix}ranlib
; 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_RANLIB+set}" = set; then :
6232 $as_echo_n "(cached) " >&6
6234 if test -n "$RANLIB"; then
6235 ac_cv_prog_RANLIB
="$RANLIB" # 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_RANLIB
="${ac_tool_prefix}ranlib"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 RANLIB
=$ac_cv_prog_RANLIB
6255 if test -n "$RANLIB"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6257 $as_echo "$RANLIB" >&6; }
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6265 if test -z "$ac_cv_prog_RANLIB"; then
6266 ac_ct_RANLIB
=$RANLIB
6267 # Extract the first word of "ranlib", so it can be a program name with args.
6268 set dummy ranlib
; ac_word
=$2
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270 $as_echo_n "checking for $ac_word... " >&6; }
6271 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6272 $as_echo_n "(cached) " >&6
6274 if test -n "$ac_ct_RANLIB"; then
6275 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir
=.
6282 for ac_exec_ext
in '' $ac_executable_extensions; do
6283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6295 if test -n "$ac_ct_RANLIB"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6297 $as_echo "$ac_ct_RANLIB" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6303 if test "x$ac_ct_RANLIB" = x
; then
6306 case $cross_compiling:$ac_tool_warned in
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6310 ac_tool_warned
=yes ;;
6312 RANLIB
=$ac_ct_RANLIB
6315 RANLIB
="$ac_cv_prog_RANLIB"
6318 test -z "$RANLIB" && RANLIB
=:
6325 # Determine commands to create old-style static archives.
6326 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6327 old_postinstall_cmds
='chmod 644 $oldlib'
6328 old_postuninstall_cmds
=
6330 if test -n "$RANLIB"; then
6333 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6336 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6339 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6344 lock_old_archive_extraction
=yes ;;
6346 lock_old_archive_extraction
=no
;;
6387 # If no C compiler was specified, use CC.
6390 # If no C compiler flags were specified, use CFLAGS.
6391 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6393 # Allow CC to be a program name with arguments.
6397 # Check for command to grab the raw symbol name followed by C symbol from nm.
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6399 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6400 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6401 $as_echo_n "(cached) " >&6
6404 # These are sane defaults that work on at least a few old systems.
6405 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6407 # Character class describing NM global symbol codes.
6408 symcode
='[BCDEGRST]'
6410 # Regexp to match symbols that can be accessed directly from C.
6411 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6413 # Define system-specific variables.
6418 cygwin
* | mingw
* | pw32
* | cegcc
*)
6419 symcode
='[ABCDGISTW]'
6422 if test "$host_cpu" = ia64
; then
6423 symcode
='[ABCDEGRST]'
6427 symcode
='[BCDEGRST]'
6430 symcode
='[BCDEGQRST]'
6441 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6449 # If we're using GNU nm, then use its standard symbol codes.
6450 case `$NM -V 2>&1` in
6451 *GNU
* |
*'with BFD'*)
6452 symcode
='[ABCDGIRSTW]' ;;
6455 # Transform an extracted symbol line into a proper C declaration.
6456 # Some systems (esp. on ia64) link data and code symbols differently,
6457 # so use this general approach.
6458 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6460 # Transform an extracted symbol line into symbol name and symbol address
6461 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6462 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'"
6464 # Handle CRLF in mingw tool chain
6468 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6472 # Try without a prefix underscore, then with it.
6473 for ac_symprfx
in "" "_"; do
6475 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6476 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6478 # Write the raw and C identifiers.
6479 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6480 # Fake it for dumpbin and say T for any non-static function
6481 # and D for any global variable.
6482 # Also find C++ and __fastcall symbols from MSVC++,
6483 # which start with @ or ?.
6484 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6485 " {last_section=section; section=\$ 3};"\
6486 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6487 " \$ 0!~/External *\|/{next};"\
6488 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6489 " {if(hide[section]) next};"\
6490 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6491 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6492 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6493 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6494 " ' prfx=^$ac_symprfx"
6496 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6499 # Check to see that the pipe works correctly.
6503 cat > conftest.
$ac_ext <<_LT_EOF
6508 void nm_test_func(void);
6509 void nm_test_func(void){}
6513 int main(){nm_test_var='a';nm_test_func();return(0);}
6516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6517 (eval $ac_compile) 2>&5
6519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520 test $ac_status = 0; }; then
6521 # Now try to grab the symbols.
6523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6524 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527 test $ac_status = 0; } && test -s "$nlist"; then
6528 # Try sorting and uniquifying the output.
6529 if sort "$nlist" |
uniq > "$nlist"T
; then
6530 mv -f "$nlist"T
"$nlist"
6535 # Make sure that we snagged all the symbols we need.
6536 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6537 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6538 cat <<_LT_EOF > conftest.$ac_ext
6544 # Now generate the symbol file.
6545 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6547 cat <<_LT_EOF >> conftest.$ac_ext
6549 /* The mapping between symbol names and symbols. */
6554 lt__PROGRAM__LTX_preloaded_symbols[] =
6556 { "@PROGRAM@", (void *) 0 },
6558 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6559 cat <<\_LT_EOF
>> conftest.
$ac_ext
6563 /* This works around a problem
in FreeBSD linker
*/
6564 #ifdef FREEBSD_WORKAROUND
6565 static const void
*lt_preloaded_setup
() {
6566 return lt__PROGRAM__LTX_preloaded_symbols
;
6574 # Now try linking the two files.
6575 mv conftest.
$ac_objext conftstm.
$ac_objext
6576 lt_save_LIBS
="$LIBS"
6577 lt_save_CFLAGS
="$CFLAGS"
6578 LIBS
="conftstm.$ac_objext"
6579 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6581 (eval $ac_link) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6587 LIBS
="$lt_save_LIBS"
6588 CFLAGS
="$lt_save_CFLAGS"
6590 echo "cannot find nm_test_func in $nlist" >&5
6593 echo "cannot find nm_test_var in $nlist" >&5
6596 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6599 echo "$progname: failed program was:" >&5
6600 cat conftest.
$ac_ext >&5
6602 rm -rf conftest
* conftst
*
6604 # Do not use the global_symbol_pipe unless it works.
6605 if test "$pipe_works" = yes; then
6608 lt_cv_sys_global_symbol_pipe
=
6614 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6615 lt_cv_sys_global_symbol_to_cdecl
=
6617 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6619 $as_echo "failed" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6622 $as_echo "ok" >&6; }
6647 # Check whether --enable-libtool-lock was given.
6648 if test "${enable_libtool_lock+set}" = set; then :
6649 enableval
=$enable_libtool_lock;
6652 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6654 # Some flags need to be propagated to the compiler or linker for good
6658 # Find out which ABI we are using.
6659 echo 'int i;' > conftest.
$ac_ext
6660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6661 (eval $ac_compile) 2>&5
6663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6664 test $ac_status = 0; }; then
6665 case `/usr/bin/file conftest.$ac_objext` in
6677 # Find out which ABI we are using.
6678 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6680 (eval $ac_compile) 2>&5
6682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6683 test $ac_status = 0; }; then
6684 if test "$lt_cv_prog_gnu_ld" = yes; then
6685 case `/usr/bin/file conftest.$ac_objext` in
6687 LD
="${LD-ld} -melf32bsmip"
6690 LD
="${LD-ld} -melf32bmipn32"
6693 LD
="${LD-ld} -melf64bmip"
6697 case `/usr/bin/file conftest.$ac_objext` in
6713 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6714 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6715 # Find out which ABI we are using.
6716 echo 'int i;' > conftest.
$ac_ext
6717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718 (eval $ac_compile) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721 test $ac_status = 0; }; then
6722 case `/usr/bin/file conftest.o` in
6725 x86_64-
*kfreebsd
*-gnu)
6726 LD
="${LD-ld} -m elf_i386_fbsd"
6729 case `/usr/bin/file conftest.o` in
6731 LD
="${LD-ld} -m elf32_x86_64"
6734 LD
="${LD-ld} -m elf_i386"
6738 ppc64-
*linux
*|powerpc64-
*linux
*)
6739 LD
="${LD-ld} -m elf32ppclinux"
6742 LD
="${LD-ld} -m elf_s390"
6745 LD
="${LD-ld} -m elf32_sparc"
6751 x86_64-
*kfreebsd
*-gnu)
6752 LD
="${LD-ld} -m elf_x86_64_fbsd"
6755 LD
="${LD-ld} -m elf_x86_64"
6757 ppc
*-*linux
*|powerpc
*-*linux
*)
6758 LD
="${LD-ld} -m elf64ppc"
6760 s390
*-*linux
*|s390
*-*tpf
*)
6761 LD
="${LD-ld} -m elf64_s390"
6764 LD
="${LD-ld} -m elf64_sparc"
6774 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6775 SAVE_CFLAGS
="$CFLAGS"
6776 CFLAGS
="$CFLAGS -belf"
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6778 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6779 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6783 ac_cpp
='$CPP $CPPFLAGS'
6784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6799 if ac_fn_c_try_link
"$LINENO"; then :
6800 lt_cv_cc_needs_belf
=yes
6802 lt_cv_cc_needs_belf
=no
6804 rm -f core conftest.err conftest.
$ac_objext \
6805 conftest
$ac_exeext conftest.
$ac_ext
6807 ac_cpp
='$CPP $CPPFLAGS'
6808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6814 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6815 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6816 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6817 CFLAGS
="$SAVE_CFLAGS"
6821 # Find out which ABI we are using.
6822 echo 'int i;' > conftest.
$ac_ext
6823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6824 (eval $ac_compile) 2>&5
6826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6827 test $ac_status = 0; }; then
6828 case `/usr/bin/file conftest.o` in
6830 case $lt_cv_prog_gnu_ld in
6831 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6833 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6845 need_locks
="$enable_libtool_lock"
6849 rhapsody
* | darwin
*)
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6852 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854 $as_echo_n "checking for $ac_word... " >&6; }
6855 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6856 $as_echo_n "(cached) " >&6
6858 if test -n "$DSYMUTIL"; then
6859 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir
=.
6866 for ac_exec_ext
in '' $ac_executable_extensions; do
6867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6879 if test -n "$DSYMUTIL"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6881 $as_echo "$DSYMUTIL" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6889 if test -z "$ac_cv_prog_DSYMUTIL"; then
6890 ac_ct_DSYMUTIL
=$DSYMUTIL
6891 # Extract the first word of "dsymutil", so it can be a program name with args.
6892 set dummy dsymutil
; ac_word
=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$ac_ct_DSYMUTIL"; then
6899 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir
=.
6906 for ac_exec_ext
in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6919 if test -n "$ac_ct_DSYMUTIL"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6921 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6927 if test "x$ac_ct_DSYMUTIL" = x
; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934 ac_tool_warned
=yes ;;
6936 DSYMUTIL
=$ac_ct_DSYMUTIL
6939 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6944 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6948 $as_echo_n "(cached) " >&6
6950 if test -n "$NMEDIT"; then
6951 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir
=.
6958 for ac_exec_ext
in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 NMEDIT
=$ac_cv_prog_NMEDIT
6971 if test -n "$NMEDIT"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6973 $as_echo "$NMEDIT" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6981 if test -z "$ac_cv_prog_NMEDIT"; then
6982 ac_ct_NMEDIT
=$NMEDIT
6983 # Extract the first word of "nmedit", so it can be a program name with args.
6984 set dummy nmedit
; ac_word
=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$ac_ct_NMEDIT"; then
6991 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7011 if test -n "$ac_ct_NMEDIT"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7013 $as_echo "$ac_ct_NMEDIT" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7019 if test "x$ac_ct_NMEDIT" = x
; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026 ac_tool_warned
=yes ;;
7028 NMEDIT
=$ac_ct_NMEDIT
7031 NMEDIT
="$ac_cv_prog_NMEDIT"
7034 if test -n "$ac_tool_prefix"; then
7035 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7036 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if test "${ac_cv_prog_LIPO+set}" = set; then :
7040 $as_echo_n "(cached) " >&6
7042 if test -n "$LIPO"; then
7043 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7049 test -z "$as_dir" && as_dir
=.
7050 for ac_exec_ext
in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 LIPO
=$ac_cv_prog_LIPO
7063 if test -n "$LIPO"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7065 $as_echo "$LIPO" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7073 if test -z "$ac_cv_prog_LIPO"; then
7075 # Extract the first word of "lipo", so it can be a program name with args.
7076 set dummy lipo
; ac_word
=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$ac_ct_LIPO"; then
7083 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir
=.
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_ac_ct_LIPO
="lipo"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7103 if test -n "$ac_ct_LIPO"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7105 $as_echo "$ac_ct_LIPO" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7111 if test "x$ac_ct_LIPO" = x
; then
7114 case $cross_compiling:$ac_tool_warned in
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118 ac_tool_warned
=yes ;;
7123 LIPO
="$ac_cv_prog_LIPO"
7126 if test -n "$ac_tool_prefix"; then
7127 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7128 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7132 $as_echo_n "(cached) " >&6
7134 if test -n "$OTOOL"; then
7135 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir
=.
7142 for ac_exec_ext
in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 OTOOL
=$ac_cv_prog_OTOOL
7155 if test -n "$OTOOL"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7157 $as_echo "$OTOOL" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7165 if test -z "$ac_cv_prog_OTOOL"; then
7167 # Extract the first word of "otool", so it can be a program name with args.
7168 set dummy otool
; ac_word
=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$ac_ct_OTOOL"; then
7175 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir
=.
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_ac_ct_OTOOL
="otool"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7195 if test -n "$ac_ct_OTOOL"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7197 $as_echo "$ac_ct_OTOOL" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7203 if test "x$ac_ct_OTOOL" = x
; then
7206 case $cross_compiling:$ac_tool_warned in
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210 ac_tool_warned
=yes ;;
7215 OTOOL
="$ac_cv_prog_OTOOL"
7218 if test -n "$ac_tool_prefix"; then
7219 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7220 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7222 $as_echo_n "checking for $ac_word... " >&6; }
7223 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7224 $as_echo_n "(cached) " >&6
7226 if test -n "$OTOOL64"; then
7227 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir
=.
7234 for ac_exec_ext
in '' $ac_executable_extensions; do
7235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7236 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246 OTOOL64
=$ac_cv_prog_OTOOL64
7247 if test -n "$OTOOL64"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7249 $as_echo "$OTOOL64" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252 $as_echo "no" >&6; }
7257 if test -z "$ac_cv_prog_OTOOL64"; then
7258 ac_ct_OTOOL64
=$OTOOL64
7259 # Extract the first word of "otool64", so it can be a program name with args.
7260 set dummy otool64
; ac_word
=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$ac_ct_OTOOL64"; then
7267 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir
=.
7274 for ac_exec_ext
in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7287 if test -n "$ac_ct_OTOOL64"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7289 $as_echo "$ac_ct_OTOOL64" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7295 if test "x$ac_ct_OTOOL64" = x
; then
7298 case $cross_compiling:$ac_tool_warned in
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7302 ac_tool_warned
=yes ;;
7304 OTOOL64
=$ac_ct_OTOOL64
7307 OTOOL64
="$ac_cv_prog_OTOOL64"
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7337 $as_echo_n "checking for -single_module linker flag... " >&6; }
7338 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7339 $as_echo_n "(cached) " >&6
7341 lt_cv_apple_cc_single_mod
=no
7342 if test -z "${LT_MULTI_MODULE}"; then
7343 # By default we will add the -single_module flag. You can override
7344 # by either setting the environment variable LT_MULTI_MODULE
7345 # non-empty at configure time, or by adding -multi_module to the
7347 rm -rf libconftest.dylib
*
7348 echo "int foo(void){return 1;}" > conftest.c
7349 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7350 -dynamiclib -Wl,-single_module conftest.c" >&5
7351 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7352 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7354 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7355 lt_cv_apple_cc_single_mod
=yes
7357 cat conftest.err
>&5
7359 rm -rf libconftest.dylib
*
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7364 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7366 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7367 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7370 lt_cv_ld_exported_symbols_list
=no
7371 save_LDFLAGS
=$LDFLAGS
7372 echo "_main" > conftest.sym
7373 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7385 if ac_fn_c_try_link
"$LINENO"; then :
7386 lt_cv_ld_exported_symbols_list
=yes
7388 lt_cv_ld_exported_symbols_list
=no
7390 rm -f core conftest.err conftest.
$ac_objext \
7391 conftest
$ac_exeext conftest.
$ac_ext
7392 LDFLAGS
="$save_LDFLAGS"
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7396 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7398 $as_echo_n "checking for -force_load linker flag... " >&6; }
7399 if test "${lt_cv_ld_force_load+set}" = set; then :
7400 $as_echo_n "(cached) " >&6
7402 lt_cv_ld_force_load
=no
7403 cat > conftest.c
<< _LT_EOF
7404 int forced_loaded() { return 2;}
7406 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7407 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7408 echo "$AR cru libconftest.a conftest.o" >&5
7409 $AR cru libconftest.a conftest.o
2>&5
7410 cat > conftest.c
<< _LT_EOF
7411 int main() { return 0;}
7413 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7414 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7416 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7417 lt_cv_ld_force_load
=yes
7419 cat conftest.err
>&5
7421 rm -f conftest.err libconftest.a conftest conftest.c
7422 rm -rf conftest.dSYM
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7426 $as_echo "$lt_cv_ld_force_load" >&6; }
7428 rhapsody
* | darwin1.
[012])
7429 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7431 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7432 darwin
*) # darwin 5.x on
7433 # if running on 10.5 or later, the deployment target defaults
7434 # to the OS version, if on x86, and 10.4, the deployment
7435 # target defaults to 10.4. Don't you love it?
7436 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7437 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7438 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7440 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7442 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7446 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7447 _lt_dar_single_mod
='$single_module'
7449 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7450 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7452 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7454 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7455 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7463 ac_cpp
='$CPP $CPPFLAGS'
7464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7468 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7469 # On Suns, sometimes $CPP names a directory.
7470 if test -n "$CPP" && test -d "$CPP"; then
7473 if test -z "$CPP"; then
7474 if test "${ac_cv_prog_CPP+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7477 # Double quotes because CPP needs to be expanded
7478 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7481 for ac_c_preproc_warn_flag
in '' yes
7483 # Use a header file that comes with gcc, so configuring glibc
7484 # with a fresh cross-compiler works.
7485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7486 # <limits.h> exists even on freestanding compilers.
7487 # On the NeXT, cc -E runs the code through the compiler's parser,
7488 # not just through cpp. "Syntax error" is here to catch this case.
7489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7492 # include <limits.h>
7494 # include <assert.h>
7498 if ac_fn_c_try_cpp
"$LINENO"; then :
7501 # Broken: fails on valid input.
7504 rm -f conftest.err conftest.
$ac_ext
7506 # OK, works on sane cases. Now check whether nonexistent headers
7507 # can be detected and how.
7508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 #include <ac_nonexistent.h>
7512 if ac_fn_c_try_cpp
"$LINENO"; then :
7513 # Broken: success on invalid input.
7516 # Passes both tests.
7520 rm -f conftest.err conftest.
$ac_ext
7523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7524 rm -f conftest.err conftest.
$ac_ext
7525 if $ac_preproc_ok; then :
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7538 $as_echo "$CPP" >&6; }
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 :
7587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7589 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7590 See \`config.log' for more details." "$LINENO" 5; }
7594 ac_cpp
='$CPP $CPPFLAGS'
7595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7601 $as_echo_n "checking for ANSI C header files... " >&6; }
7602 if test "${ac_cv_header_stdc+set}" = set; then :
7603 $as_echo_n "(cached) " >&6
7605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7620 if ac_fn_c_try_compile
"$LINENO"; then :
7621 ac_cv_header_stdc
=yes
7623 ac_cv_header_stdc
=no
7625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7627 if test $ac_cv_header_stdc = yes; then
7628 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7635 $EGREP "memchr" >/dev
/null
2>&1; then :
7638 ac_cv_header_stdc
=no
7644 if test $ac_cv_header_stdc = yes; then
7645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7652 $EGREP "free" >/dev
/null
2>&1; then :
7655 ac_cv_header_stdc
=no
7661 if test $ac_cv_header_stdc = yes; then
7662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7663 if test "$cross_compiling" = yes; then :
7666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7670 #if ((' ' & 0x0FF) == 0x020)
7671 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7672 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7674 # define ISLOWER(c) \
7675 (('a' <= (c) && (c) <= 'i') \
7676 || ('j' <= (c) && (c) <= 'r') \
7677 || ('s' <= (c) && (c) <= 'z'))
7678 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7681 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7686 for (i = 0; i < 256; i++)
7687 if (XOR (islower (i), ISLOWER (i))
7688 || toupper (i) != TOUPPER (i))
7693 if ac_fn_c_try_run
"$LINENO"; then :
7696 ac_cv_header_stdc
=no
7698 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7699 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7705 $as_echo "$ac_cv_header_stdc" >&6; }
7706 if test $ac_cv_header_stdc = yes; then
7708 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7713 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7714 inttypes.h stdint.h unistd.h
7716 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7717 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7719 eval as_val
=\$
$as_ac_Header
7720 if test "x$as_val" = x
""yes; then :
7721 cat >>confdefs.h
<<_ACEOF
7722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 for ac_header
in dlfcn.h
7732 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7734 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7735 cat >>confdefs.h
<<_ACEOF
7736 #define HAVE_DLFCN_H 1
7756 # Check whether --enable-shared was given.
7757 if test "${enable_shared+set}" = set; then :
7758 enableval
=$enable_shared; p
=${PACKAGE-default}
7760 yes) enable_shared
=yes ;;
7761 no
) enable_shared
=no
;;
7764 # Look at the argument we got. We use all the common list separators.
7765 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7766 for pkg
in $enableval; do
7768 if test "X$pkg" = "X$p"; then
7787 # Check whether --enable-static was given.
7788 if test "${enable_static+set}" = set; then :
7789 enableval
=$enable_static; p
=${PACKAGE-default}
7791 yes) enable_static
=yes ;;
7792 no
) enable_static
=no
;;
7795 # Look at the argument we got. We use all the common list separators.
7796 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7797 for pkg
in $enableval; do
7799 if test "X$pkg" = "X$p"; then
7819 # Check whether --with-pic was given.
7820 if test "${with_pic+set}" = set; then :
7821 withval
=$with_pic; pic_mode
="$withval"
7827 test -z "$pic_mode" && pic_mode
=default
7835 # Check whether --enable-fast-install was given.
7836 if test "${enable_fast_install+set}" = set; then :
7837 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7839 yes) enable_fast_install
=yes ;;
7840 no
) enable_fast_install
=no
;;
7842 enable_fast_install
=no
7843 # Look at the argument we got. We use all the common list separators.
7844 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7845 for pkg
in $enableval; do
7847 if test "X$pkg" = "X$p"; then
7848 enable_fast_install
=yes
7855 enable_fast_install
=yes
7868 # This can be used to rebuild libtool when needed
7869 LIBTOOL_DEPS
="$ltmain"
7871 # Always use our own libtool.
7872 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7899 test -z "$LN_S" && LN_S
="ln -s"
7914 if test -n "${ZSH_VERSION+set}" ; then
7915 setopt NO_GLOB_SUBST
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7919 $as_echo_n "checking for objdir... " >&6; }
7920 if test "${lt_cv_objdir+set}" = set; then :
7921 $as_echo_n "(cached) " >&6
7923 rm -f .libs
2>/dev
/null
7924 mkdir .libs
2>/dev
/null
7925 if test -d .libs
; then
7928 # MS-DOS does not allow filenames that begin with a dot.
7931 rmdir .libs
2>/dev
/null
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7934 $as_echo "$lt_cv_objdir" >&6; }
7935 objdir
=$lt_cv_objdir
7941 cat >>confdefs.h
<<_ACEOF
7942 #define LT_OBJDIR "$lt_cv_objdir/"
7950 # AIX sometimes has problems with the GCC collect2 program. For some
7951 # reason, if we set the COLLECT_NAMES environment variable, the problems
7952 # vanish in a puff of smoke.
7953 if test "X${COLLECT_NAMES+set}" != Xset
; then
7955 export COLLECT_NAMES
7962 can_build_shared
=yes
7964 # All known linkers require a `.a' archive for static linking (except MSVC,
7965 # which needs '.lib').
7968 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7971 old_CFLAGS
="$CFLAGS"
7973 # Set sane defaults for various variables
7974 test -z "$CC" && CC
=cc
7975 test -z "$LTCC" && LTCC
=$CC
7976 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7977 test -z "$LD" && LD
=ld
7978 test -z "$ac_objext" && ac_objext
=o
7980 for cc_temp
in $compiler""; do
7982 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7983 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7988 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7991 # Only perform the check for file, if the check method requires it
7992 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7993 case $deplibs_check_method in
7995 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7997 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7998 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7999 $as_echo_n "(cached) " >&6
8003 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8006 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8007 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8008 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8009 for ac_dir
in $ac_dummy; do
8011 test -z "$ac_dir" && ac_dir
=.
8012 if test -f $ac_dir/${ac_tool_prefix}file; then
8013 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8014 if test -n "$file_magic_test_file"; then
8015 case $deplibs_check_method in
8017 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8019 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8020 $EGREP "$file_magic_regex" > /dev
/null
; then
8025 *** Warning: the command libtool uses to detect shared libraries,
8026 *** $file_magic_cmd, produces output that libtool cannot recognize.
8027 *** The result is that libtool may fail to recognize shared libraries
8028 *** as such. This will affect the creation of libtool libraries that
8029 *** depend on shared libraries, but programs linked with such libtool
8030 *** libraries will work regardless of this problem. Nevertheless, you
8031 *** may want to report the problem to your system manager and/or to
8032 *** bug-libtool@gnu.org
8042 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8048 if test -n "$MAGIC_CMD"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8050 $as_echo "$MAGIC_CMD" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8060 if test -z "$lt_cv_path_MAGIC_CMD"; then
8061 if test -n "$ac_tool_prefix"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8063 $as_echo_n "checking for file... " >&6; }
8064 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8065 $as_echo_n "(cached) " >&6
8069 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8072 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8073 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8074 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8075 for ac_dir
in $ac_dummy; do
8077 test -z "$ac_dir" && ac_dir
=.
8078 if test -f $ac_dir/file; then
8079 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8080 if test -n "$file_magic_test_file"; then
8081 case $deplibs_check_method in
8083 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8084 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8085 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8086 $EGREP "$file_magic_regex" > /dev
/null
; then
8091 *** Warning: the command libtool uses to detect shared libraries,
8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
8093 *** The result is that libtool may fail to recognize shared libraries
8094 *** as such. This will affect the creation of libtool libraries that
8095 *** depend on shared libraries, but programs linked with such libtool
8096 *** libraries will work regardless of this problem. Nevertheless, you
8097 *** may want to report the problem to your system manager and/or to
8098 *** bug-libtool@gnu.org
8108 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8113 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8114 if test -n "$MAGIC_CMD"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8116 $as_echo "$MAGIC_CMD" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8132 # Use C for the default configuration in the libtool script
8136 ac_cpp
='$CPP $CPPFLAGS'
8137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8142 # Source file extension for C test sources.
8145 # Object file extension for compiled C test sources.
8149 # Code to be used in simple compile tests
8150 lt_simple_compile_test_code
="int some_variable = 0;"
8152 # Code to be used in simple link tests
8153 lt_simple_link_test_code
='int main(){return(0);}'
8161 # If no C compiler was specified, use CC.
8164 # If no C compiler flags were specified, use CFLAGS.
8165 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8167 # Allow CC to be a program name with arguments.
8170 # Save the default compiler, since it gets overwritten when the other
8171 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8172 compiler_DEFAULT
=$CC
8174 # save warnings/boilerplate of simple test code
8175 ac_outfile
=conftest.
$ac_objext
8176 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8177 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8178 _lt_compiler_boilerplate
=`cat conftest.err`
8181 ac_outfile
=conftest.
$ac_objext
8182 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8183 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8184 _lt_linker_boilerplate
=`cat conftest.err`
8189 ## There is no encapsulation within the following macros, do not change
8190 ## the running order or otherwise move them around unless you know exactly
8191 ## what you are doing...
8192 if test -n "$compiler"; then
8194 lt_prog_compiler_no_builtin_flag
=
8196 if test "$GCC" = yes; then
8197 case $cc_basename in
8199 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8201 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8205 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8206 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8207 $as_echo_n "(cached) " >&6
8209 lt_cv_prog_compiler_rtti_exceptions
=no
8210 ac_outfile
=conftest.
$ac_objext
8211 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8212 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8213 # Insert the option either (1) after the last *FLAGS variable, or
8214 # (2) before a word containing "conftest.", or (3) at the end.
8215 # Note that $ac_compile itself does not contain backslashes and begins
8216 # with a dollar sign (not a hyphen), so the echo should work correctly.
8217 # The option is referenced via a variable to avoid confusing sed.
8218 lt_compile
=`echo "$ac_compile" | $SED \
8219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8221 -e 's:$: $lt_compiler_flag:'`
8222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8223 (eval "$lt_compile" 2>conftest.err
)
8225 cat conftest.err
>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 if (exit $ac_status) && test -s "$ac_outfile"; then
8228 # The compiler can only warn and ignore the option if not recognized
8229 # So say no if there are warnings other than the usual output.
8230 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8232 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8233 lt_cv_prog_compiler_rtti_exceptions
=yes
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8240 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8242 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8243 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8255 lt_prog_compiler_wl
=
8256 lt_prog_compiler_pic
=
8257 lt_prog_compiler_static
=
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8260 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8262 if test "$GCC" = yes; then
8263 lt_prog_compiler_wl
='-Wl,'
8264 lt_prog_compiler_static
='-static'
8268 # All AIX code is PIC.
8269 if test "$host_cpu" = ia64
; then
8270 # AIX 5 now supports IA64 processor
8271 lt_prog_compiler_static
='-Bstatic'
8273 lt_prog_compiler_pic
='-fPIC'
8279 # see comment about AmigaOS4 .so support
8280 lt_prog_compiler_pic
='-fPIC'
8283 # FIXME: we need at least 68020 code to build shared libraries, but
8284 # adding the `-m68020' flag to GCC prevents building anything better,
8286 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8291 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8292 # PIC is the default for these OSes.
8295 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8296 # This hack is so that the source file can tell whether it is being
8297 # built for inclusion in a dll (and should export symbols for example).
8298 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8299 # (--disable-auto-import) libraries
8300 lt_prog_compiler_pic
='-DDLL_EXPORT'
8303 darwin
* | rhapsody
*)
8304 # PIC is the default on this platform
8305 # Common symbols not allowed in MH_DYLIB files
8306 lt_prog_compiler_pic
='-fno-common'
8310 # PIC is the default for Haiku.
8311 # The "-static" flag exists, but is broken.
8312 lt_prog_compiler_static
=
8316 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8317 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8318 # sets the default TLS model and affects inlining.
8324 lt_prog_compiler_pic
='-fPIC'
8330 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8331 # Instead, we relocate shared libraries at runtime.
8335 # Just because we use GCC doesn't mean we suddenly get shared libraries
8336 # on systems that don't support them.
8337 lt_prog_compiler_can_build_shared
=no
8342 # QNX uses GNU C++, but need to define -shared option too, otherwise
8344 lt_prog_compiler_pic
='-fPIC -shared'
8348 if test -d /usr
/nec
; then
8349 lt_prog_compiler_pic
=-Kconform_pic
8354 lt_prog_compiler_pic
='-fPIC'
8358 case $cc_basename in
8359 nvcc
*) # Cuda Compiler Driver 2.2
8360 lt_prog_compiler_wl
='-Xlinker '
8361 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8365 # PORTME Check for flag to pass linker flags through the system compiler.
8368 lt_prog_compiler_wl
='-Wl,'
8369 if test "$host_cpu" = ia64
; then
8370 # AIX 5 now supports IA64 processor
8371 lt_prog_compiler_static
='-Bstatic'
8373 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8377 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8378 # This hack is so that the source file can tell whether it is being
8379 # built for inclusion in a dll (and should export symbols for example).
8380 lt_prog_compiler_pic
='-DDLL_EXPORT'
8383 hpux9
* | hpux10
* | hpux11
*)
8384 lt_prog_compiler_wl
='-Wl,'
8385 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8392 lt_prog_compiler_pic
='+Z'
8395 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8396 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8399 irix5
* | irix6
* | nonstopux
*)
8400 lt_prog_compiler_wl
='-Wl,'
8401 # PIC (with -KPIC) is the default.
8402 lt_prog_compiler_static
='-non_shared'
8405 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8406 case $cc_basename in
8407 # old Intel for x86_64 which still supported -KPIC.
8409 lt_prog_compiler_wl
='-Wl,'
8410 lt_prog_compiler_pic
='-KPIC'
8411 lt_prog_compiler_static
='-static'
8413 # icc used to be incompatible with GCC.
8414 # ICC 10 doesn't accept -KPIC any more.
8416 lt_prog_compiler_wl
='-Wl,'
8417 lt_prog_compiler_pic
='-fPIC'
8418 lt_prog_compiler_static
='-static'
8420 # Lahey Fortran 8.1.
8422 lt_prog_compiler_wl
='-Wl,'
8423 lt_prog_compiler_pic
='--shared'
8424 lt_prog_compiler_static
='--static'
8426 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8427 # Portland Group compilers (*not* the Pentium gcc compiler,
8428 # which looks to be a dead project)
8429 lt_prog_compiler_wl
='-Wl,'
8430 lt_prog_compiler_pic
='-fpic'
8431 lt_prog_compiler_static
='-Bstatic'
8434 lt_prog_compiler_wl
='-Wl,'
8435 # All Alpha code is PIC.
8436 lt_prog_compiler_static
='-non_shared'
8438 xl
* | bgxl
* | bgf
* | mpixl
*)
8439 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8440 lt_prog_compiler_wl
='-Wl,'
8441 lt_prog_compiler_pic
='-qpic'
8442 lt_prog_compiler_static
='-qstaticlink'
8445 case `$CC -V 2>&1 | sed 5q` in
8446 *Sun\ F
* |
*Sun
*Fortran
*)
8447 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8448 lt_prog_compiler_pic
='-KPIC'
8449 lt_prog_compiler_static
='-Bstatic'
8450 lt_prog_compiler_wl
=''
8454 lt_prog_compiler_pic
='-KPIC'
8455 lt_prog_compiler_static
='-Bstatic'
8456 lt_prog_compiler_wl
='-Wl,'
8464 lt_prog_compiler_pic
='-KPIC'
8465 lt_prog_compiler_static
='-Bstatic'
8469 # QNX uses GNU C++, but need to define -shared option too, otherwise
8471 lt_prog_compiler_pic
='-fPIC -shared'
8474 osf3
* | osf4
* | osf5
*)
8475 lt_prog_compiler_wl
='-Wl,'
8476 # All OSF/1 code is PIC.
8477 lt_prog_compiler_static
='-non_shared'
8481 lt_prog_compiler_static
='-non_shared'
8485 lt_prog_compiler_pic
='-KPIC'
8486 lt_prog_compiler_static
='-Bstatic'
8487 case $cc_basename in
8489 lt_prog_compiler_wl
='-Qoption ld ';;
8491 lt_prog_compiler_wl
='-Wl,';;
8496 lt_prog_compiler_wl
='-Qoption ld '
8497 lt_prog_compiler_pic
='-PIC'
8498 lt_prog_compiler_static
='-Bstatic'
8501 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8502 lt_prog_compiler_wl
='-Wl,'
8503 lt_prog_compiler_pic
='-KPIC'
8504 lt_prog_compiler_static
='-Bstatic'
8508 if test -d /usr
/nec
;then
8509 lt_prog_compiler_pic
='-Kconform_pic'
8510 lt_prog_compiler_static
='-Bstatic'
8514 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8515 lt_prog_compiler_wl
='-Wl,'
8516 lt_prog_compiler_pic
='-KPIC'
8517 lt_prog_compiler_static
='-Bstatic'
8521 lt_prog_compiler_wl
='-Wl,'
8522 lt_prog_compiler_can_build_shared
=no
8526 lt_prog_compiler_pic
='-pic'
8527 lt_prog_compiler_static
='-Bstatic'
8531 lt_prog_compiler_can_build_shared
=no
8537 # For platforms which do not support PIC, -DPIC is meaningless:
8539 lt_prog_compiler_pic
=
8542 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8546 $as_echo "$lt_prog_compiler_pic" >&6; }
8554 # Check to make sure the PIC flag actually works.
8556 if test -n "$lt_prog_compiler_pic"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8558 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8559 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8562 lt_cv_prog_compiler_pic_works
=no
8563 ac_outfile
=conftest.
$ac_objext
8564 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8565 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 # The option is referenced via a variable to avoid confusing sed.
8571 lt_compile
=`echo "$ac_compile" | $SED \
8572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574 -e 's:$: $lt_compiler_flag:'`
8575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576 (eval "$lt_compile" 2>conftest.err
)
8578 cat conftest.err
>&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 if (exit $ac_status) && test -s "$ac_outfile"; then
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings other than the usual output.
8583 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8585 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8586 lt_cv_prog_compiler_pic_works
=yes
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8593 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8595 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8596 case $lt_prog_compiler_pic in
8598 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8601 lt_prog_compiler_pic
=
8602 lt_prog_compiler_can_build_shared
=no
8613 # Check to make sure the static flag actually works.
8615 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8617 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8618 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8619 $as_echo_n "(cached) " >&6
8621 lt_cv_prog_compiler_static_works
=no
8622 save_LDFLAGS
="$LDFLAGS"
8623 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8624 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8625 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8626 # The linker can only warn and ignore the option if not recognized
8627 # So say no if there are warnings
8628 if test -s conftest.err
; then
8629 # Append any errors to the config.log.
8630 cat conftest.err
1>&5
8631 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8632 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8633 if diff conftest.exp conftest.er2
>/dev
/null
; then
8634 lt_cv_prog_compiler_static_works
=yes
8637 lt_cv_prog_compiler_static_works
=yes
8641 LDFLAGS
="$save_LDFLAGS"
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8645 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8647 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8650 lt_prog_compiler_static
=
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8660 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8661 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8662 $as_echo_n "(cached) " >&6
8664 lt_cv_prog_compiler_c_o
=no
8665 $RM -r conftest
2>/dev
/null
8669 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8671 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8672 # Insert the option either (1) after the last *FLAGS variable, or
8673 # (2) before a word containing "conftest.", or (3) at the end.
8674 # Note that $ac_compile itself does not contain backslashes and begins
8675 # with a dollar sign (not a hyphen), so the echo should work correctly.
8676 lt_compile
=`echo "$ac_compile" | $SED \
8677 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8678 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8679 -e 's:$: $lt_compiler_flag:'`
8680 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8681 (eval "$lt_compile" 2>out
/conftest.err
)
8683 cat out
/conftest.err
>&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8687 # The compiler can only warn and ignore the option if not recognized
8688 # So say no if there are warnings
8689 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8690 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8691 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8692 lt_cv_prog_compiler_c_o
=yes
8697 # SGI C++ compiler will create directory out/ii_files/ for
8698 # template instantiation
8699 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8700 $RM out
/* && rmdir out
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8707 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8715 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8716 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8719 lt_cv_prog_compiler_c_o
=no
8720 $RM -r conftest
2>/dev
/null
8724 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8726 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8727 # Insert the option either (1) after the last *FLAGS variable, or
8728 # (2) before a word containing "conftest.", or (3) at the end.
8729 # Note that $ac_compile itself does not contain backslashes and begins
8730 # with a dollar sign (not a hyphen), so the echo should work correctly.
8731 lt_compile
=`echo "$ac_compile" | $SED \
8732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8734 -e 's:$: $lt_compiler_flag:'`
8735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8736 (eval "$lt_compile" 2>out
/conftest.err
)
8738 cat out
/conftest.err
>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8742 # The compiler can only warn and ignore the option if not recognized
8743 # So say no if there are warnings
8744 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8745 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8746 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8747 lt_cv_prog_compiler_c_o
=yes
8752 # SGI C++ compiler will create directory out/ii_files/ for
8753 # template instantiation
8754 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8755 $RM out
/* && rmdir out
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8762 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8767 hard_links
="nottested"
8768 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8769 # do not overwrite the value of need_locks provided by the user
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8771 $as_echo_n "checking if we can lock with hard links... " >&6; }
8774 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8776 ln conftest.a conftest.b
2>&5 || hard_links
=no
8777 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8779 $as_echo "$hard_links" >&6; }
8780 if test "$hard_links" = no
; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8782 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8795 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8798 allow_undefined_flag
=
8799 always_export_symbols
=no
8801 archive_expsym_cmds
=
8802 compiler_needs_object
=no
8803 enable_shared_with_static_runtimes
=no
8804 export_dynamic_flag_spec
=
8805 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8806 hardcode_automatic
=no
8808 hardcode_direct_absolute
=no
8809 hardcode_libdir_flag_spec
=
8810 hardcode_libdir_flag_spec_ld
=
8811 hardcode_libdir_separator
=
8813 hardcode_shlibpath_var
=unsupported
8815 link_all_deplibs
=unknown
8818 old_archive_from_new_cmds
=
8819 old_archive_from_expsyms_cmds
=
8820 thread_safe_flag_spec
=
8821 whole_archive_flag_spec
=
8822 # include_expsyms should be a list of space-separated symbols to be *always*
8823 # included in the symbol list
8825 # exclude_expsyms can be an extended regexp of symbols to exclude
8826 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8827 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8828 # as well as any symbol that contains `d'.
8829 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8830 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8831 # platforms (ab)use it in PIC code, but their linkers get confused if
8832 # the symbol is explicitly referenced. Since portable code cannot
8833 # rely on this symbol name, it's probably fine to never include it in
8834 # preloaded symbol tables.
8835 # Exclude shared library initialization/finalization symbols.
8836 extract_expsyms_cmds
=
8839 cygwin
* | mingw
* | pw32
* | cegcc
*)
8840 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8841 # When not using gcc, we currently assume that we are using
8842 # Microsoft Visual C++.
8843 if test "$GCC" != yes; then
8848 # we just hope/assume this is gcc and not c89 (= MSVC++)
8858 # On some targets, GNU ld is compatible enough with the native linker
8859 # that we're better off using the native interface for both.
8860 lt_use_gnu_ld_interface
=no
8861 if test "$with_gnu_ld" = yes; then
8864 # The AIX port of GNU ld has always aspired to compatibility
8865 # with the native linker. However, as the warning in the GNU ld
8866 # block says, versions before 2.19.5* couldn't really create working
8867 # shared libraries, regardless of the interface used.
8868 case `$LD -v 2>&1` in
8869 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8870 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8871 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8873 lt_use_gnu_ld_interface
=yes
8878 lt_use_gnu_ld_interface
=yes
8883 if test "$lt_use_gnu_ld_interface" = yes; then
8884 # If archive_cmds runs LD, not CC, wlarc should be empty
8887 # Set some defaults for GNU ld with shared library support. These
8888 # are reset later if shared libraries are not supported. Putting them
8889 # here allows them to be overridden if necessary.
8890 runpath_var
=LD_RUN_PATH
8891 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8892 export_dynamic_flag_spec
='${wl}--export-dynamic'
8893 # ancient GNU ld didn't support --whole-archive et. al.
8894 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8895 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8897 whole_archive_flag_spec
=
8899 supports_anon_versioning
=no
8900 case `$LD -v 2>&1` in
8901 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8902 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8903 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8904 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8905 *\
2.11.
*) ;; # other 2.11 versions
8906 *) supports_anon_versioning
=yes ;;
8909 # See if GNU ld supports shared libraries.
8912 # On AIX/PPC, the GNU linker is very broken
8913 if test "$host_cpu" != ia64
; then
8917 *** Warning: the GNU linker, at least up to release 2.19, is reported
8918 *** to be unable to reliably create shared libraries on AIX.
8919 *** Therefore, libtool is disabling shared libraries support. If you
8920 *** really care for shared libraries, you may want to install binutils
8921 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8922 *** You will then need to restart the configuration process.
8931 # see comment about AmigaOS4 .so support
8932 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933 archive_expsym_cmds
=''
8936 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)'
8937 hardcode_libdir_flag_spec
='-L$libdir'
8938 hardcode_minus_L
=yes
8944 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8945 allow_undefined_flag
=unsupported
8946 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8947 # support --undefined. This deserves some investigation. FIXME
8948 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 cygwin
* | mingw
* | pw32
* | cegcc
*)
8955 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8956 # as there is no search path for DLLs.
8957 hardcode_libdir_flag_spec
='-L$libdir'
8958 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8959 allow_undefined_flag
=unsupported
8960 always_export_symbols
=no
8961 enable_shared_with_static_runtimes
=yes
8962 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8964 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8965 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8966 # If the export-symbols file already is a .def file (1st line
8967 # is EXPORTS), use it as is; otherwise, prepend...
8968 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8969 cp $export_symbols $output_objdir/$soname.def;
8971 echo EXPORTS > $output_objdir/$soname.def;
8972 cat $export_symbols >> $output_objdir/$soname.def;
8974 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 link_all_deplibs
=yes
8987 hardcode_shlibpath_var
=no
8988 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8989 export_dynamic_flag_spec
='${wl}-E'
8990 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8991 # Instead, shared libraries are loaded at an image base (0x10000000 by
8992 # default) and relocated if they conflict, which is a slow very memory
8993 # consuming and fragmenting process. To avoid this, we pick a random,
8994 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8995 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8996 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8997 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'
9000 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9002 if test "$host_os" = linux-dietlibc
; then
9003 case $cc_basename in
9004 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9007 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9008 && test "$tmp_diet" = no
9011 tmp_sharedflag
='-shared'
9012 case $cc_basename,$host_cpu in
9013 pgcc
*) # Portland Group C compiler
9014 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'
9015 tmp_addflag
=' $pic_flag'
9017 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9018 # Portland Group f77 and f90 compilers
9019 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'
9020 tmp_addflag
=' $pic_flag -Mnomain' ;;
9021 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9022 tmp_addflag
=' -i_dynamic' ;;
9023 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9024 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9025 ifc
* | ifort
*) # Intel Fortran compiler
9026 tmp_addflag
=' -nofor_main' ;;
9027 lf95
*) # Lahey Fortran 8.1
9028 whole_archive_flag_spec
=
9029 tmp_sharedflag
='--shared' ;;
9030 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9031 tmp_sharedflag
='-qmkshrobj'
9033 nvcc
*) # Cuda Compiler Driver 2.2
9034 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'
9035 compiler_needs_object
=yes
9038 case `$CC -V 2>&1 | sed 5q` in
9039 *Sun\ C
*) # Sun C 5.9
9040 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'
9041 compiler_needs_object
=yes
9042 tmp_sharedflag
='-G' ;;
9043 *Sun\ F
*) # Sun Fortran 8.3
9044 tmp_sharedflag
='-G' ;;
9046 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 if test "x$supports_anon_versioning" = xyes
; then
9049 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9051 echo "local: *; };" >> $output_objdir/$libname.ver~
9052 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9055 case $cc_basename in
9056 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9057 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9058 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9059 hardcode_libdir_flag_spec
=
9060 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9061 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9062 if test "x$supports_anon_versioning" = xyes
; then
9063 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9064 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9065 echo "local: *; };" >> $output_objdir/$libname.ver~
9066 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9076 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9077 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9080 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9081 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9086 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9090 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9091 *** create shared libraries on Solaris systems. Therefore, libtool
9092 *** is disabling shared libraries support. We urge you to upgrade GNU
9093 *** binutils to release 2.9.1 or newer. Another option is to modify
9094 *** your PATH or compiler configuration so that the native linker is
9095 *** used, and then restart.
9098 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9099 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9106 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9107 case `$LD -v 2>&1` in
9108 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9112 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9113 *** reliably create shared libraries on SCO systems. Therefore, libtool
9114 *** is disabling shared libraries support. We urge you to upgrade GNU
9115 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9116 *** your PATH or compiler configuration so that the native linker is
9117 *** used, and then restart.
9122 # For security reasons, it is highly recommended that you always
9123 # use absolute paths for naming shared libraries, and exclude the
9124 # DT_RUNPATH tag from executables and libraries. But doing so
9125 # requires that you compile everything twice, which is a pain.
9126 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9127 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9128 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9129 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9138 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_shlibpath_var
=no
9145 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9146 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9147 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9154 if test "$ld_shlibs" = no
; then
9156 hardcode_libdir_flag_spec
=
9157 export_dynamic_flag_spec
=
9158 whole_archive_flag_spec
=
9161 # PORTME fill in a description of your system's linker (not GNU ld)
9164 allow_undefined_flag
=unsupported
9165 always_export_symbols
=yes
9166 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'
9167 # Note: this linker hardcodes the directories in LIBPATH if there
9168 # are no directories specified by -L.
9169 hardcode_minus_L
=yes
9170 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9171 # Neither direct hardcoding nor static linking is supported with a
9173 hardcode_direct
=unsupported
9178 if test "$host_cpu" = ia64
; then
9179 # On IA64, the linker does run time linking by default, so we don't
9180 # have to do anything special.
9181 aix_use_runtimelinking
=no
9182 exp_sym_flag
='-Bexport'
9185 # If we're using GNU nm, then we don't want the "-C" option.
9186 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9187 # Also, AIX nm treats weak defined symbols like other global
9188 # defined symbols, whereas GNU nm marks them as "W".
9189 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9190 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'
9192 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'
9194 aix_use_runtimelinking
=no
9196 # Test if we are trying to use run time linking or normal
9197 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9198 # need to do runtime linking.
9199 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9200 for ld_flag
in $LDFLAGS; do
9201 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9202 aix_use_runtimelinking
=yes
9209 exp_sym_flag
='-bexport'
9210 no_entry_flag
='-bnoentry'
9213 # When large executables or shared objects are built, AIX ld can
9214 # have problems creating the table of contents. If linking a library
9215 # or program results in "error TOC overflow" add -mminimal-toc to
9216 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9217 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9221 hardcode_direct_absolute
=yes
9222 hardcode_libdir_separator
=':'
9223 link_all_deplibs
=yes
9224 file_list_spec
='${wl}-f,'
9226 if test "$GCC" = yes; then
9227 case $host_os in aix4.
[012]|aix4.
[012].
*)
9228 # We only want to do this on AIX 4.2 and lower, the check
9229 # below for broken collect2 doesn't work under 4.3+
9230 collect2name
=`${CC} -print-prog-name=collect2`
9231 if test -f "$collect2name" &&
9232 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9234 # We have reworked collect2
9237 # We have old collect2
9238 hardcode_direct
=unsupported
9239 # It fails to find uninstalled libraries when the uninstalled
9240 # path is not listed in the libpath. Setting hardcode_minus_L
9241 # to unsupported forces relinking
9242 hardcode_minus_L
=yes
9243 hardcode_libdir_flag_spec
='-L$libdir'
9244 hardcode_libdir_separator
=
9248 shared_flag
='-shared'
9249 if test "$aix_use_runtimelinking" = yes; then
9250 shared_flag
="$shared_flag "'${wl}-G'
9254 if test "$host_cpu" = ia64
; then
9255 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9256 # chokes on -Wl,-G. The following line is correct:
9259 if test "$aix_use_runtimelinking" = yes; then
9260 shared_flag
='${wl}-G'
9262 shared_flag
='${wl}-bM:SRE'
9267 export_dynamic_flag_spec
='${wl}-bexpall'
9268 # It seems that -bexpall does not export symbols beginning with
9269 # underscore (_), so it is better to generate a list of symbols to export.
9270 always_export_symbols
=yes
9271 if test "$aix_use_runtimelinking" = yes; then
9272 # Warning - without using the other runtime loading flags (-brtl),
9273 # -berok will link without error, but may produce a broken library.
9274 allow_undefined_flag
='-berok'
9275 # Determine the default libpath from the value encoded in an
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9288 if ac_fn_c_try_link
"$LINENO"; then :
9290 lt_aix_libpath_sed
='
9291 /Import File Strings/,/^$/ {
9297 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9298 # Check for a 64-bit object if we didn't find anything.
9299 if test -z "$aix_libpath"; then
9300 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9303 rm -f core conftest.err conftest.
$ac_objext \
9304 conftest
$ac_exeext conftest.
$ac_ext
9305 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9307 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9308 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"
9310 if test "$host_cpu" = ia64
; then
9311 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9312 allow_undefined_flag
="-z nodefs"
9313 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"
9315 # Determine the default libpath from the value encoded in an
9317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9328 if ac_fn_c_try_link
"$LINENO"; then :
9330 lt_aix_libpath_sed
='
9331 /Import File Strings/,/^$/ {
9337 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9338 # Check for a 64-bit object if we didn't find anything.
9339 if test -z "$aix_libpath"; then
9340 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9343 rm -f core conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9347 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9348 # Warning - without using the other run time loading flags,
9349 # -berok will link without error, but may produce a broken library.
9350 no_undefined_flag
=' ${wl}-bernotok'
9351 allow_undefined_flag
=' ${wl}-berok'
9352 if test "$with_gnu_ld" = yes; then
9353 # We only use this code for GNU lds that support --whole-archive.
9354 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9356 # Exported symbols can be pulled into shared objects from archives
9357 whole_archive_flag_spec
='$convenience'
9359 archive_cmds_need_lc
=yes
9360 # This is similar to how AIX traditionally builds its shared libraries.
9361 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'
9369 # see comment about AmigaOS4 .so support
9370 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9371 archive_expsym_cmds
=''
9374 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)'
9375 hardcode_libdir_flag_spec
='-L$libdir'
9376 hardcode_minus_L
=yes
9382 export_dynamic_flag_spec
=-rdynamic
9385 cygwin
* | mingw
* | pw32
* | cegcc
*)
9386 # When not using gcc, we currently assume that we are using
9387 # Microsoft Visual C++.
9388 # hardcode_libdir_flag_spec is actually meaningless, as there is
9389 # no search path for DLLs.
9390 hardcode_libdir_flag_spec
=' '
9391 allow_undefined_flag
=unsupported
9392 # Tell ltmain to make .lib files, not .a files.
9394 # Tell ltmain to make .dll files, not .so files.
9396 # FIXME: Setting linknames here is a bad hack.
9397 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9398 # The linker will automatically build a .lib file if we build a DLL.
9399 old_archive_from_new_cmds
='true'
9400 # FIXME: Should let the user specify the lib program.
9401 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9402 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9403 enable_shared_with_static_runtimes
=yes
9406 darwin
* | rhapsody
*)
9409 archive_cmds_need_lc
=no
9411 hardcode_automatic
=yes
9412 hardcode_shlibpath_var
=unsupported
9413 if test "$lt_cv_ld_force_load" = "yes"; then
9414 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\"`'
9416 whole_archive_flag_spec
=''
9418 link_all_deplibs
=yes
9419 allow_undefined_flag
="$_lt_dar_allow_undefined"
9420 case $cc_basename in
9421 ifort
*) _lt_dar_can_shared
=yes ;;
9422 *) _lt_dar_can_shared
=$GCC ;;
9424 if test "$_lt_dar_can_shared" = "yes"; then
9425 output_verbose_link_cmd
=func_echo_all
9426 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9427 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9428 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}"
9429 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}"
9438 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9439 hardcode_libdir_flag_spec
='-L$libdir'
9440 hardcode_shlibpath_var
=no
9443 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9444 # support. Future versions do this automatically, but an explicit c++rt0.o
9445 # does not break anything, and helps significantly (at the cost of a little
9448 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9449 hardcode_libdir_flag_spec
='-R$libdir'
9451 hardcode_shlibpath_var
=no
9454 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9456 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_minus_L
=yes
9459 hardcode_shlibpath_var
=no
9462 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9463 freebsd
* | dragonfly
*)
9464 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9465 hardcode_libdir_flag_spec
='-R$libdir'
9467 hardcode_shlibpath_var
=no
9471 if test "$GCC" = yes; then
9472 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'
9474 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'
9476 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9477 hardcode_libdir_separator
=:
9480 # hardcode_minus_L: Not really in the search PATH,
9481 # but as the default location of the library.
9482 hardcode_minus_L
=yes
9483 export_dynamic_flag_spec
='${wl}-E'
9487 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9488 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9490 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9492 if test "$with_gnu_ld" = no
; then
9493 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9494 hardcode_libdir_flag_spec_ld
='+b $libdir'
9495 hardcode_libdir_separator
=:
9497 hardcode_direct_absolute
=yes
9498 export_dynamic_flag_spec
='${wl}-E'
9499 # hardcode_minus_L: Not really in the search PATH,
9500 # but as the default location of the library.
9501 hardcode_minus_L
=yes
9506 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9509 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9515 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9528 # Older versions of the 11.00 compiler do not understand -b yet
9529 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9531 $as_echo_n "checking if $CC understands -b... " >&6; }
9532 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9533 $as_echo_n "(cached) " >&6
9535 lt_cv_prog_compiler__b
=no
9536 save_LDFLAGS
="$LDFLAGS"
9537 LDFLAGS
="$LDFLAGS -b"
9538 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9539 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9540 # The linker can only warn and ignore the option if not recognized
9541 # So say no if there are warnings
9542 if test -s conftest.err
; then
9543 # Append any errors to the config.log.
9544 cat conftest.err
1>&5
9545 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9546 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9547 if diff conftest.exp conftest.er2
>/dev
/null
; then
9548 lt_cv_prog_compiler__b
=yes
9551 lt_cv_prog_compiler__b
=yes
9555 LDFLAGS
="$save_LDFLAGS"
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9559 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9561 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9562 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9564 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9570 if test "$with_gnu_ld" = no
; then
9571 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9572 hardcode_libdir_separator
=:
9577 hardcode_shlibpath_var
=no
9581 hardcode_direct_absolute
=yes
9582 export_dynamic_flag_spec
='${wl}-E'
9584 # hardcode_minus_L: Not really in the search PATH,
9585 # but as the default location of the library.
9586 hardcode_minus_L
=yes
9592 irix5
* | irix6
* | nonstopux
*)
9593 if test "$GCC" = yes; then
9594 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'
9595 # Try to use the -exported_symbol ld option, if it does not
9596 # work, assume that -exports_file does not work either and
9597 # implicitly export all symbols.
9598 save_LDFLAGS
="$LDFLAGS"
9599 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9604 if ac_fn_c_try_link
"$LINENO"; then :
9605 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'
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LDFLAGS
="$save_LDFLAGS"
9612 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'
9613 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'
9615 archive_cmds_need_lc
='no'
9616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9617 hardcode_libdir_separator
=:
9619 link_all_deplibs
=yes
9623 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9624 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9626 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9628 hardcode_libdir_flag_spec
='-R$libdir'
9630 hardcode_shlibpath_var
=no
9634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9637 hardcode_libdir_separator
=:
9638 hardcode_shlibpath_var
=no
9645 if test -f /usr
/libexec
/ld.so
; then
9647 hardcode_shlibpath_var
=no
9648 hardcode_direct_absolute
=yes
9649 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9650 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9652 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9653 export_dynamic_flag_spec
='${wl}-E'
9656 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9657 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_libdir_flag_spec
='-R$libdir'
9661 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9662 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9672 hardcode_libdir_flag_spec
='-L$libdir'
9673 hardcode_minus_L
=yes
9674 allow_undefined_flag
=unsupported
9675 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'
9676 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9680 if test "$GCC" = yes; then
9681 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9682 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'
9684 allow_undefined_flag
=' -expect_unresolved \*'
9685 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'
9687 archive_cmds_need_lc
='no'
9688 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9689 hardcode_libdir_separator
=:
9692 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9693 if test "$GCC" = yes; then
9694 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9695 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'
9696 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9698 allow_undefined_flag
=' -expect_unresolved \*'
9699 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'
9700 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~
9701 $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'
9703 # Both c and cxx compiler support -rpath directly
9704 hardcode_libdir_flag_spec
='-rpath $libdir'
9706 archive_cmds_need_lc
='no'
9707 hardcode_libdir_separator
=:
9711 no_undefined_flag
=' -z defs'
9712 if test "$GCC" = yes; then
9714 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9716 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9718 case `$CC -V 2>&1` in
9721 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9722 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9723 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9727 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9729 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9733 hardcode_libdir_flag_spec
='-R$libdir'
9734 hardcode_shlibpath_var
=no
9736 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9738 # The compiler driver will combine and reorder linker options,
9739 # but understands `-z linker_flag'. GCC discards it without `$wl',
9740 # but is careful enough not to reorder.
9741 # Supported since Solaris 2.6 (maybe 2.5.1?)
9742 if test "$GCC" = yes; then
9743 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9745 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9749 link_all_deplibs
=yes
9753 if test "x$host_vendor" = xsequent
; then
9754 # Use $CC to link under sequent, because it throws in some extra .o
9755 # files that make .init and .fini sections work.
9756 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_libdir_flag_spec
='-L$libdir'
9762 hardcode_minus_L
=yes
9763 hardcode_shlibpath_var
=no
9767 case $host_vendor in
9769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_direct
=yes # is this really true???
9773 ## LD is ld it makes a PLAMLIB
9774 ## CC just makes a GrossModule.
9775 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9776 reload_cmds
='$CC -r -o $output$reload_objs'
9780 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9784 runpath_var
='LD_RUN_PATH'
9785 hardcode_shlibpath_var
=no
9789 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_shlibpath_var
=no
9791 export_dynamic_flag_spec
='-Bexport'
9795 if test -d /usr
/nec
; then
9796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_shlibpath_var
=no
9798 runpath_var
=LD_RUN_PATH
9799 hardcode_runpath_var
=yes
9804 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9805 no_undefined_flag
='${wl}-z,text'
9806 archive_cmds_need_lc
=no
9807 hardcode_shlibpath_var
=no
9808 runpath_var
='LD_RUN_PATH'
9810 if test "$GCC" = yes; then
9811 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 sysv5
* | sco3.2v5
* | sco5v6
*)
9820 # Note: We can NOT use -z defs as we might desire, because we do not
9821 # link with -lc, and that would cause any symbols used from libc to
9822 # always be unresolved, which means just about no library would
9823 # ever link correctly. If we're not using GNU ld we use -z text
9824 # though, which does catch some bad symbols but isn't as heavy-handed
9826 no_undefined_flag
='${wl}-z,text'
9827 allow_undefined_flag
='${wl}-z,nodefs'
9828 archive_cmds_need_lc
=no
9829 hardcode_shlibpath_var
=no
9830 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9831 hardcode_libdir_separator
=':'
9832 link_all_deplibs
=yes
9833 export_dynamic_flag_spec
='${wl}-Bexport'
9834 runpath_var
='LD_RUN_PATH'
9836 if test "$GCC" = yes; then
9837 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847 hardcode_libdir_flag_spec
='-L$libdir'
9848 hardcode_shlibpath_var
=no
9856 if test x
$host_vendor = xsni
; then
9858 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9859 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9866 $as_echo "$ld_shlibs" >&6; }
9867 test "$ld_shlibs" = no
&& can_build_shared
=no
9869 with_gnu_ld
=$with_gnu_ld
9886 # Do we need to explicitly link libc?
9888 case "x$archive_cmds_need_lc" in
9890 # Assume -lc should be added
9891 archive_cmds_need_lc
=yes
9893 if test "$enable_shared" = yes && test "$GCC" = yes; then
9894 case $archive_cmds in
9896 # FIXME: we may have to deal with multi-command sequences.
9899 # Test whether the compiler implicitly links with -lc since on some
9900 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9901 # to ld, don't add -lc before -lgcc.
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9903 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9904 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9905 $as_echo_n "(cached) " >&6
9908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9911 (eval $ac_compile) 2>&5
9913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9914 test $ac_status = 0; } 2>conftest.err
; then
9917 libobjs
=conftest.
$ac_objext
9919 wl
=$lt_prog_compiler_wl
9920 pic_flag
=$lt_prog_compiler_pic
9926 lt_save_allow_undefined_flag
=$allow_undefined_flag
9927 allow_undefined_flag
=
9928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9929 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9932 test $ac_status = 0; }
9934 lt_cv_archive_cmds_need_lc
=no
9936 lt_cv_archive_cmds_need_lc
=yes
9938 allow_undefined_flag
=$lt_save_allow_undefined_flag
9940 cat conftest.err
1>&5
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9946 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9947 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10111 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10113 if test "$GCC" = yes; then
10115 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10116 *) lt_awk_arg
="/^libraries:/" ;;
10119 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10120 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10122 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10123 case $lt_search_path_spec in
10125 # if the path contains ";" then we assume it to be the separator
10126 # otherwise default to the standard path separator (i.e. ":") - it is
10127 # assumed that no part of a normal pathname contains ";" but that should
10128 # okay in the real world where ";" in dirpaths is itself problematic.
10129 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10132 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10135 # Ok, now we have the path, separated by spaces, we can step through it
10136 # and add multilib dir if necessary.
10137 lt_tmp_lt_search_path_spec
=
10138 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10139 for lt_sys_path
in $lt_search_path_spec; do
10140 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10141 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10143 test -d "$lt_sys_path" && \
10144 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10147 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10148 BEGIN {RS=" "; FS="/|\n";} {
10151 for (lt_i = NF; lt_i > 0; lt_i--) {
10152 if ($lt_i != "" && $lt_i != ".") {
10153 if ($lt_i == "..") {
10156 if (lt_count == 0) {
10157 lt_foo="/" $lt_i lt_foo;
10164 if (lt_foo != "") { lt_freq[lt_foo]++; }
10165 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10167 # AWK program above erroneously prepends '/' to C:/dos/paths
10170 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10171 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10173 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10175 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10177 library_names_spec
=
10178 libname_spec
='lib$name'
10182 postuninstall_cmds
=
10186 shlibpath_overrides_runpath
=unknown
10188 dynamic_linker
="$host_os ld.so"
10189 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10190 need_lib_prefix
=unknown
10191 hardcode_into_libs
=no
10193 # when you set need_version to no, make sure it does not cause -set_version
10194 # flags to be left without arguments
10195 need_version
=unknown
10200 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10201 shlibpath_var
=LIBPATH
10203 # AIX 3 has no versioning support, so we append a major version to the name.
10204 soname_spec
='${libname}${release}${shared_ext}$major'
10211 hardcode_into_libs
=yes
10212 if test "$host_cpu" = ia64
; then
10213 # AIX 5 supports IA64
10214 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10215 shlibpath_var
=LD_LIBRARY_PATH
10217 # With GCC up to 2.95.x, collect2 would create an import file
10218 # for dependence libraries. The import file would start with
10219 # the line `#! .'. This would cause the generated library to
10220 # depend on `.', always an invalid library. This was fixed in
10221 # development snapshots of GCC prior to 3.0.
10223 aix4 | aix4.
[01] | aix4.
[01].
*)
10224 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10226 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10229 can_build_shared
=no
10233 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10234 # soname into executable. Probably we can add versioning support to
10235 # collect2, so additional links can be useful in future.
10236 if test "$aix_use_runtimelinking" = yes; then
10237 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10238 # instead of lib<name>.a to let people know that these are not
10239 # typical AIX shared libraries.
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 # We preserve .a as extension for shared libraries through AIX4.2
10243 # and later when we are not doing run time linking.
10244 library_names_spec
='${libname}${release}.a $libname.a'
10245 soname_spec
='${libname}${release}${shared_ext}$major'
10247 shlibpath_var
=LIBPATH
10254 # Since July 2007 AmigaOS4 officially supports .so libraries.
10255 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259 library_names_spec
='$libname.ixlibrary $libname.a'
10260 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10261 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'
10267 library_names_spec
='${libname}${shared_ext}'
10268 dynamic_linker
="$host_os ld.so"
10269 shlibpath_var
=LIBRARY_PATH
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10276 soname_spec
='${libname}${release}${shared_ext}$major'
10277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10278 shlibpath_var
=LD_LIBRARY_PATH
10279 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10280 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10281 # the default ld.so.conf also contains /usr/contrib/lib and
10282 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10283 # libtool to hard-code these into programs
10286 cygwin
* | mingw
* | pw32
* | cegcc
*)
10287 version_type
=windows
10292 case $GCC,$host_os in
10293 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10294 library_names_spec
='$libname.dll.a'
10295 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10296 postinstall_cmds
='base_file=`basename \${file}`~
10297 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10298 dldir=$destdir/`dirname \$dlpath`~
10299 test -d \$dldir || mkdir -p \$dldir~
10300 $install_prog $dir/$dlname \$dldir/$dlname~
10301 chmod a+x \$dldir/$dlname~
10302 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10303 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10305 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10306 dlpath=$dir/\$dldll~
10308 shlibpath_overrides_runpath
=yes
10312 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10313 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10315 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10318 # MinGW DLLs use traditional 'lib' prefix
10319 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10322 # pw32 DLLs use 'pw' prefix rather than 'lib'
10323 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10329 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10332 dynamic_linker
='Win32 ld.exe'
10333 # FIXME: first we should search . and the directory the executable is in
10337 darwin
* | rhapsody
*)
10338 dynamic_linker
="$host_os dyld"
10339 version_type
=darwin
10342 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10343 soname_spec
='${libname}${release}${major}$shared_ext'
10344 shlibpath_overrides_runpath
=yes
10345 shlibpath_var
=DYLD_LIBRARY_PATH
10346 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10348 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10349 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10357 soname_spec
='${libname}${release}${shared_ext}$major'
10358 shlibpath_var
=LD_LIBRARY_PATH
10361 freebsd
* | dragonfly
*)
10362 # DragonFly does not have aout. When/if they implement a new
10363 # versioning mechanism, adjust this.
10364 if test -x /usr
/bin
/objformat
; then
10365 objformat
=`/usr/bin/objformat`
10368 freebsd
[23].
*) objformat
=aout
;;
10369 *) objformat
=elf
;;
10372 version_type
=freebsd-
$objformat
10373 case $version_type in
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10380 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10384 shlibpath_var
=LD_LIBRARY_PATH
10387 shlibpath_overrides_runpath
=yes
10389 freebsd3.
[01]* | freebsdelf3.
[01]*)
10390 shlibpath_overrides_runpath
=yes
10391 hardcode_into_libs
=yes
10393 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10394 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10395 shlibpath_overrides_runpath
=no
10396 hardcode_into_libs
=yes
10398 *) # from 4.6 on, and DragonFly
10399 shlibpath_overrides_runpath
=yes
10400 hardcode_into_libs
=yes
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10410 soname_spec
='${libname}${release}${shared_ext}$major'
10411 shlibpath_var
=LD_LIBRARY_PATH
10412 hardcode_into_libs
=yes
10419 dynamic_linker
="$host_os runtime_loader"
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10421 soname_spec
='${libname}${release}${shared_ext}$major'
10422 shlibpath_var
=LIBRARY_PATH
10423 shlibpath_overrides_runpath
=yes
10424 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10425 hardcode_into_libs
=yes
10428 hpux9
* | hpux10
* | hpux11
*)
10429 # Give a soname corresponding to the major version so that dld.sl refuses to
10430 # link against other versions.
10437 hardcode_into_libs
=yes
10438 dynamic_linker
="$host_os dld.so"
10439 shlibpath_var
=LD_LIBRARY_PATH
10440 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec
='${libname}${release}${shared_ext}$major'
10443 if test "X$HPUX_IA64_MODE" = X32
; then
10444 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10446 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10448 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10452 hardcode_into_libs
=yes
10453 dynamic_linker
="$host_os dld.sl"
10454 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10455 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10457 soname_spec
='${libname}${release}${shared_ext}$major'
10458 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10459 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10463 dynamic_linker
="$host_os dld.sl"
10464 shlibpath_var
=SHLIB_PATH
10465 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 soname_spec
='${libname}${release}${shared_ext}$major'
10470 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10471 postinstall_cmds
='chmod 555 $lib'
10472 # or fails outright, so override atomically:
10473 install_override_mode
=555
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10483 shlibpath_var
=LD_LIBRARY_PATH
10484 shlibpath_overrides_runpath
=no
10485 hardcode_into_libs
=yes
10488 irix5
* | irix6
* | nonstopux
*)
10490 nonstopux
*) version_type
=nonstopux
;;
10492 if test "$lt_cv_prog_gnu_ld" = yes; then
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10503 irix5
* | nonstopux
*)
10504 libsuff
= shlibsuff
=
10507 case $LD in # libtool.m4 will add one of these switches to LD
10508 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10509 libsuff
= shlibsuff
= libmagic
=32-bit;;
10510 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10511 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10512 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10513 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10514 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10518 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10519 shlibpath_overrides_runpath
=no
10520 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10521 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10522 hardcode_into_libs
=yes
10525 # No shared lib support for Linux oldld, aout, or coff.
10526 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10530 # This must be Linux ELF.
10531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10537 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10538 shlibpath_var
=LD_LIBRARY_PATH
10539 shlibpath_overrides_runpath
=no
10541 # Some binutils ld are patched to set DT_RUNPATH
10542 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10543 $as_echo_n "(cached) " >&6
10545 lt_cv_shlibpath_overrides_runpath
=no
10546 save_LDFLAGS
=$LDFLAGS
10547 save_libdir
=$libdir
10548 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10549 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10561 if ac_fn_c_try_link
"$LINENO"; then :
10562 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10563 lt_cv_shlibpath_overrides_runpath
=yes
10566 rm -f core conftest.err conftest.
$ac_objext \
10567 conftest
$ac_exeext conftest.
$ac_ext
10568 LDFLAGS
=$save_LDFLAGS
10569 libdir
=$save_libdir
10573 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10575 # This implies no fast_install, which is unacceptable.
10576 # Some rework will be needed to allow for fast_install
10577 # before this can be enabled.
10578 hardcode_into_libs
=yes
10580 # Append ld.so.conf contents to the search path
10581 if test -f /etc
/ld.so.conf
; then
10582 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' ' '`
10583 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10586 # We used to test for /lib/ld.so.1 and disable shared libraries on
10587 # powerpc, because MkLinux only supported shared libraries with the
10588 # GNU dynamic linker. Since this was broken with cross compilers,
10589 # most powerpc-linux boxes support dynamic linking these days and
10590 # people can always --disable-shared, the test was removed, and we
10591 # assume the GNU/Linux dynamic linker is in use.
10592 dynamic_linker
='GNU/Linux ld.so'
10599 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10601 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10602 dynamic_linker
='NetBSD (a.out) ld.so'
10604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10605 soname_spec
='${libname}${release}${shared_ext}$major'
10606 dynamic_linker
='NetBSD ld.elf_so'
10608 shlibpath_var
=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath
=yes
10610 hardcode_into_libs
=yes
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 shlibpath_var
=LD_LIBRARY_PATH
10617 shlibpath_overrides_runpath
=yes
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec
='${libname}${release}${shared_ext}$major'
10626 shlibpath_var
=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath
=no
10628 hardcode_into_libs
=yes
10629 dynamic_linker
='ldqnx.so'
10634 sys_lib_dlsearch_path_spec
="/usr/lib"
10636 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10638 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10639 *) need_version
=no
;;
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10643 shlibpath_var
=LD_LIBRARY_PATH
10644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10646 openbsd2.
[89] | openbsd2.
[89].
*)
10647 shlibpath_overrides_runpath
=no
10650 shlibpath_overrides_runpath
=yes
10654 shlibpath_overrides_runpath
=yes
10659 libname_spec
='$name'
10662 library_names_spec
='$libname${shared_ext} $libname.a'
10663 dynamic_linker
='OS/2 ld.exe'
10664 shlibpath_var
=LIBPATH
10667 osf3
* | osf4
* | osf5
*)
10671 soname_spec
='${libname}${release}${shared_ext}$major'
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10675 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687 soname_spec
='${libname}${release}${shared_ext}$major'
10688 shlibpath_var
=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath
=yes
10690 hardcode_into_libs
=yes
10691 # ldd complains unless libraries are executable
10692 postinstall_cmds
='chmod +x $lib'
10697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10698 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10699 shlibpath_var
=LD_LIBRARY_PATH
10700 shlibpath_overrides_runpath
=yes
10701 if test "$with_gnu_ld" = yes; then
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec
='${libname}${release}${shared_ext}$major'
10711 shlibpath_var
=LD_LIBRARY_PATH
10712 case $host_vendor in
10714 shlibpath_overrides_runpath
=no
10716 runpath_var
=LD_RUN_PATH
10724 shlibpath_overrides_runpath
=no
10725 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10731 if test -d /usr
/nec
;then
10733 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10734 soname_spec
='$libname${shared_ext}.$major'
10735 shlibpath_var
=LD_LIBRARY_PATH
10739 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10740 version_type
=freebsd-elf
10743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10744 soname_spec
='${libname}${release}${shared_ext}$major'
10745 shlibpath_var
=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath
=yes
10747 hardcode_into_libs
=yes
10748 if test "$with_gnu_ld" = yes; then
10749 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10751 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10754 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10758 sys_lib_dlsearch_path_spec
='/usr/lib'
10762 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10767 shlibpath_var
=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath
=no
10769 hardcode_into_libs
=yes
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec
='${libname}${release}${shared_ext}$major'
10776 shlibpath_var
=LD_LIBRARY_PATH
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10784 $as_echo "$dynamic_linker" >&6; }
10785 test "$dynamic_linker" = no
&& can_build_shared
=no
10787 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10788 if test "$GCC" = yes; then
10789 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10792 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10793 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10795 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10796 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10891 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10893 if test -n "$hardcode_libdir_flag_spec" ||
10894 test -n "$runpath_var" ||
10895 test "X$hardcode_automatic" = "Xyes" ; then
10897 # We can hardcode non-existent directories.
10898 if test "$hardcode_direct" != no
&&
10899 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10900 # have to relink, otherwise we might link with an installed library
10901 # when we should be linking with a yet-to-be-installed one
10902 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10903 test "$hardcode_minus_L" != no
; then
10904 # Linking always hardcodes the temporary library directory.
10905 hardcode_action
=relink
10907 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10908 hardcode_action
=immediate
10911 # We cannot hardcode anything, or else we can only hardcode existing
10913 hardcode_action
=unsupported
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10916 $as_echo "$hardcode_action" >&6; }
10918 if test "$hardcode_action" = relink ||
10919 test "$inherit_rpath" = yes; then
10920 # Fast installation is not supported
10921 enable_fast_install
=no
10922 elif test "$shlibpath_overrides_runpath" = yes ||
10923 test "$enable_shared" = no
; then
10924 # Fast installation is not necessary
10925 enable_fast_install
=needless
10933 if test "x$enable_dlopen" != xyes
; then
10934 enable_dlopen
=unknown
10935 enable_dlopen_self
=unknown
10936 enable_dlopen_self_static
=unknown
10943 lt_cv_dlopen
="load_add_on"
10945 lt_cv_dlopen_self
=yes
10948 mingw
* | pw32
* | cegcc
*)
10949 lt_cv_dlopen
="LoadLibrary"
10954 lt_cv_dlopen
="dlopen"
10959 # if libdl is installed we need to link against it
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10962 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS
=$LIBS
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10985 if ac_fn_c_try_link
"$LINENO"; then :
10986 ac_cv_lib_dl_dlopen
=yes
10988 ac_cv_lib_dl_dlopen
=no
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10995 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10996 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11000 lt_cv_dlopen
="dyld"
11002 lt_cv_dlopen_self
=yes
11009 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11010 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11011 lt_cv_dlopen
="shl_load"
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11014 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11015 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11018 ac_check_lib_save_LIBS
=$LIBS
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11033 return shl_load ();
11038 if ac_fn_c_try_link
"$LINENO"; then :
11039 ac_cv_lib_dld_shl_load
=yes
11041 ac_cv_lib_dld_shl_load
=no
11043 rm -f core conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11045 LIBS
=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11048 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11049 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11050 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11052 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11053 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11054 lt_cv_dlopen
="dlopen"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11058 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_lib_save_LIBS
=$LIBS
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11081 if ac_fn_c_try_link
"$LINENO"; then :
11082 ac_cv_lib_dl_dlopen
=yes
11084 ac_cv_lib_dl_dlopen
=no
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11091 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11092 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11093 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11096 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11097 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11098 $as_echo_n "(cached) " >&6
11100 ac_check_lib_save_LIBS
=$LIBS
11101 LIBS
="-lsvld $LIBS"
11102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11120 if ac_fn_c_try_link
"$LINENO"; then :
11121 ac_cv_lib_svld_dlopen
=yes
11123 ac_cv_lib_svld_dlopen
=no
11125 rm -f core conftest.err conftest.
$ac_objext \
11126 conftest
$ac_exeext conftest.
$ac_ext
11127 LIBS
=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11130 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11131 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11132 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11135 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11136 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11137 $as_echo_n "(cached) " >&6
11139 ac_check_lib_save_LIBS
=$LIBS
11141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11154 return dld_link ();
11159 if ac_fn_c_try_link
"$LINENO"; then :
11160 ac_cv_lib_dld_dld_link
=yes
11162 ac_cv_lib_dld_dld_link
=no
11164 rm -f core conftest.err conftest.
$ac_objext \
11165 conftest
$ac_exeext conftest.
$ac_ext
11166 LIBS
=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11169 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11170 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11171 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11192 if test "x$lt_cv_dlopen" != xno
; then
11198 case $lt_cv_dlopen in
11200 save_CPPFLAGS
="$CPPFLAGS"
11201 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11203 save_LDFLAGS
="$LDFLAGS"
11204 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11207 LIBS
="$lt_cv_dlopen_libs $LIBS"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11210 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11211 if test "${lt_cv_dlopen_self+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 if test "$cross_compiling" = yes; then :
11215 lt_cv_dlopen_self
=cross
11217 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11218 lt_status
=$lt_dlunknown
11219 cat > conftest.
$ac_ext <<_LT_EOF
11220 #line 11220 "configure"
11221 #include "confdefs.h"
11230 # define LT_DLGLOBAL RTLD_GLOBAL
11233 # define LT_DLGLOBAL DL_GLOBAL
11235 # define LT_DLGLOBAL 0
11239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11240 find out it does not work in some platform. */
11241 #ifndef LT_DLLAZY_OR_NOW
11243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11246 # define LT_DLLAZY_OR_NOW DL_LAZY
11249 # define LT_DLLAZY_OR_NOW RTLD_NOW
11252 # define LT_DLLAZY_OR_NOW DL_NOW
11254 # define LT_DLLAZY_OR_NOW 0
11261 /* When -fvisbility=hidden is used, assume the code has been annotated
11262 correspondingly for the symbols needed. */
11263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11264 void fnord () __attribute__((visibility("default")));
11267 void fnord () { int i=42; }
11270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271 int status = $lt_dlunknown;
11275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11278 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11279 else puts (dlerror ());
11281 /* dlclose (self); */
11289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11290 (eval $ac_link) 2>&5
11292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11293 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11294 (.
/conftest
; exit; ) >&5 2>/dev
/null
11296 case x
$lt_status in
11297 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11298 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11299 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11302 # compilation failed
11303 lt_cv_dlopen_self
=no
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11311 $as_echo "$lt_cv_dlopen_self" >&6; }
11313 if test "x$lt_cv_dlopen_self" = xyes
; then
11314 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11316 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11317 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11320 if test "$cross_compiling" = yes; then :
11321 lt_cv_dlopen_self_static
=cross
11323 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11324 lt_status
=$lt_dlunknown
11325 cat > conftest.
$ac_ext <<_LT_EOF
11326 #line 11326 "configure"
11327 #include "confdefs.h"
11336 # define LT_DLGLOBAL RTLD_GLOBAL
11339 # define LT_DLGLOBAL DL_GLOBAL
11341 # define LT_DLGLOBAL 0
11345 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11346 find out it does not work in some platform. */
11347 #ifndef LT_DLLAZY_OR_NOW
11349 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11352 # define LT_DLLAZY_OR_NOW DL_LAZY
11355 # define LT_DLLAZY_OR_NOW RTLD_NOW
11358 # define LT_DLLAZY_OR_NOW DL_NOW
11360 # define LT_DLLAZY_OR_NOW 0
11367 /* When -fvisbility=hidden is used, assume the code has been annotated
11368 correspondingly for the symbols needed. */
11369 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11370 void fnord () __attribute__((visibility("default")));
11373 void fnord () { int i=42; }
11376 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11377 int status = $lt_dlunknown;
11381 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11384 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11385 else puts (dlerror ());
11387 /* dlclose (self); */
11395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11396 (eval $ac_link) 2>&5
11398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11399 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11400 (.
/conftest
; exit; ) >&5 2>/dev
/null
11402 case x
$lt_status in
11403 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11404 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11405 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11408 # compilation failed
11409 lt_cv_dlopen_self_static
=no
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11417 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11420 CPPFLAGS
="$save_CPPFLAGS"
11421 LDFLAGS
="$save_LDFLAGS"
11426 case $lt_cv_dlopen_self in
11427 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11428 *) enable_dlopen_self
=unknown
;;
11431 case $lt_cv_dlopen_self_static in
11432 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11433 *) enable_dlopen_self_static
=unknown
;;
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11456 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11457 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11458 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11459 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11461 $as_echo "yes" >&6; }
11463 # FIXME - insert some real tests, host_os isn't really good enough
11466 if test -n "$STRIP" ; then
11467 striplib
="$STRIP -x"
11468 old_striplib
="$STRIP -S"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11470 $as_echo "yes" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11473 $as_echo "no" >&6; }
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478 $as_echo "no" >&6; }
11494 # Report which library types will actually be built
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11496 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11498 $as_echo "$can_build_shared" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11501 $as_echo_n "checking whether to build shared libraries... " >&6; }
11502 test "$can_build_shared" = "no" && enable_shared
=no
11504 # On AIX, shared libraries and static libraries use the same namespace, and
11505 # are all built from PIC.
11508 test "$enable_shared" = yes && enable_static
=no
11509 if test -n "$RANLIB"; then
11510 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11511 postinstall_cmds
='$RANLIB $lib'
11516 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11517 test "$enable_shared" = yes && enable_static
=no
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11522 $as_echo "$enable_shared" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11525 $as_echo_n "checking whether to build static libraries... " >&6; }
11526 # Make sure either enable_shared or enable_static is yes.
11527 test "$enable_shared" = yes || enable_static
=yes
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11529 $as_echo "$enable_static" >&6; }
11536 ac_cpp
='$CPP $CPPFLAGS'
11537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11545 (test "X$CXX" != "Xg++"))) ; then
11547 ac_cpp
='$CXXCPP $CPPFLAGS'
11548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11552 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11553 if test -z "$CXXCPP"; then
11554 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11557 # Double quotes because CXXCPP needs to be expanded
11558 for CXXCPP
in "$CXX -E" "/lib/cpp"
11560 ac_preproc_ok
=false
11561 for ac_cxx_preproc_warn_flag
in '' yes
11563 # Use a header file that comes with gcc, so configuring glibc
11564 # with a fresh cross-compiler works.
11565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566 # <limits.h> exists even on freestanding compilers.
11567 # On the NeXT, cc -E runs the code through the compiler's parser,
11568 # not just through cpp. "Syntax error" is here to catch this case.
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 # include <limits.h>
11574 # include <assert.h>
11578 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11581 # Broken: fails on valid input.
11584 rm -f conftest.err conftest.
$ac_ext
11586 # OK, works on sane cases. Now check whether nonexistent headers
11587 # can be detected and how.
11588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11590 #include <ac_nonexistent.h>
11592 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11593 # Broken: success on invalid input.
11596 # Passes both tests.
11600 rm -f conftest.err conftest.
$ac_ext
11603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11604 rm -f conftest.err conftest.
$ac_ext
11605 if $ac_preproc_ok; then :
11610 ac_cv_prog_CXXCPP
=$CXXCPP
11613 CXXCPP
=$ac_cv_prog_CXXCPP
11615 ac_cv_prog_CXXCPP
=$CXXCPP
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11618 $as_echo "$CXXCPP" >&6; }
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 :
11667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11669 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11670 See \`config.log' for more details." "$LINENO" 5; }
11674 ac_cpp
='$CPP $CPPFLAGS'
11675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11680 _lt_caught_CXX_error
=yes
11684 ac_cpp
='$CXXCPP $CPPFLAGS'
11685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11689 archive_cmds_need_lc_CXX
=no
11690 allow_undefined_flag_CXX
=
11691 always_export_symbols_CXX
=no
11692 archive_expsym_cmds_CXX
=
11693 compiler_needs_object_CXX
=no
11694 export_dynamic_flag_spec_CXX
=
11695 hardcode_direct_CXX
=no
11696 hardcode_direct_absolute_CXX
=no
11697 hardcode_libdir_flag_spec_CXX
=
11698 hardcode_libdir_flag_spec_ld_CXX
=
11699 hardcode_libdir_separator_CXX
=
11700 hardcode_minus_L_CXX
=no
11701 hardcode_shlibpath_var_CXX
=unsupported
11702 hardcode_automatic_CXX
=no
11703 inherit_rpath_CXX
=no
11705 module_expsym_cmds_CXX
=
11706 link_all_deplibs_CXX
=unknown
11707 old_archive_cmds_CXX
=$old_archive_cmds
11708 reload_flag_CXX
=$reload_flag
11709 reload_cmds_CXX
=$reload_cmds
11710 no_undefined_flag_CXX
=
11711 whole_archive_flag_spec_CXX
=
11712 enable_shared_with_static_runtimes_CXX
=no
11714 # Source file extension for C++ test sources.
11717 # Object file extension for compiled C++ test sources.
11721 # No sense in running all these tests if we already determined that
11722 # the CXX compiler isn't working. Some variables (like enable_shared)
11723 # are currently assumed to apply to all compilers on this platform,
11724 # and will be corrupted by setting them based on a non-working compiler.
11725 if test "$_lt_caught_CXX_error" != yes; then
11726 # Code to be used in simple compile tests
11727 lt_simple_compile_test_code
="int some_variable = 0;"
11729 # Code to be used in simple link tests
11730 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11732 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11739 # If no C compiler was specified, use CC.
11742 # If no C compiler flags were specified, use CFLAGS.
11743 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11745 # Allow CC to be a program name with arguments.
11749 # save warnings/boilerplate of simple test code
11750 ac_outfile
=conftest.
$ac_objext
11751 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11752 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11753 _lt_compiler_boilerplate
=`cat conftest.err`
11756 ac_outfile
=conftest.
$ac_objext
11757 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11758 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11759 _lt_linker_boilerplate
=`cat conftest.err`
11763 # Allow CC to be a program name with arguments.
11768 lt_save_with_gnu_ld
=$with_gnu_ld
11769 lt_save_path_LD
=$lt_cv_path_LD
11770 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11771 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11773 $as_unset lt_cv_prog_gnu_ld
11775 if test -n "${lt_cv_path_LDCXX+set}"; then
11776 lt_cv_path_LD
=$lt_cv_path_LDCXX
11778 $as_unset lt_cv_path_LD
11780 test -z "${LDCXX+set}" || LD
=$LDCXX
11784 for cc_temp
in $compiler""; do
11786 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11787 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11792 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11795 if test -n "$compiler"; then
11796 # We don't want -fno-exception when compiling C++ code, so set the
11797 # no_builtin_flag separately
11798 if test "$GXX" = yes; then
11799 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11801 lt_prog_compiler_no_builtin_flag_CXX
=
11804 if test "$GXX" = yes; then
11805 # Set up default GNU C++ configuration
11809 # Check whether --with-gnu-ld was given.
11810 if test "${with_gnu_ld+set}" = set; then :
11811 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11817 if test "$GCC" = yes; then
11818 # Check if gcc -print-prog-name=ld gives a path.
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11820 $as_echo_n "checking for ld used by $CC... " >&6; }
11823 # gcc leaves a trailing carriage return which upsets mingw
11824 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11826 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11829 # Accept absolute paths.
11831 re_direlt
='/[^/][^/]*/\.\./'
11832 # Canonicalize the pathname of ld
11833 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11834 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11835 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11837 test -z "$LD" && LD
="$ac_prog"
11840 # If it fails, then pretend we aren't using GCC.
11844 # If it is relative, then search for the first ld in PATH.
11845 with_gnu_ld
=unknown
11848 elif test "$with_gnu_ld" = yes; then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11850 $as_echo_n "checking for GNU ld... " >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11853 $as_echo_n "checking for non-GNU ld... " >&6; }
11855 if test "${lt_cv_path_LD+set}" = set; then :
11856 $as_echo_n "(cached) " >&6
11858 if test -z "$LD"; then
11859 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11860 for ac_dir
in $PATH; do
11862 test -z "$ac_dir" && ac_dir
=.
11863 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11864 lt_cv_path_LD
="$ac_dir/$ac_prog"
11865 # Check to see if the program is GNU ld. I'd rather use --version,
11866 # but apparently some variants of GNU ld only accept -v.
11867 # Break only if it was the GNU/non-GNU ld that we prefer.
11868 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11869 *GNU
* |
*'with BFD'*)
11870 test "$with_gnu_ld" != no
&& break
11873 test "$with_gnu_ld" != yes && break
11880 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11884 LD
="$lt_cv_path_LD"
11885 if test -n "$LD"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11887 $as_echo "$LD" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11892 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11894 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11895 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11896 $as_echo_n "(cached) " >&6
11898 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11899 case `$LD -v 2>&1 </dev/null` in
11900 *GNU
* |
*'with BFD'*)
11901 lt_cv_prog_gnu_ld
=yes
11904 lt_cv_prog_gnu_ld
=no
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11909 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11910 with_gnu_ld
=$lt_cv_prog_gnu_ld
11918 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11919 # archiving commands below assume that GNU ld is being used.
11920 if test "$with_gnu_ld" = yes; then
11921 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11922 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'
11924 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11925 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11927 # If archive_cmds runs LD, not CC, wlarc should be empty
11928 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11929 # investigate it a little bit more. (MM)
11932 # ancient GNU ld didn't support --whole-archive et. al.
11933 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11934 $GREP 'no-whole-archive' > /dev
/null
; then
11935 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11937 whole_archive_flag_spec_CXX
=
11943 # A generic and very simple default shared library creation
11944 # command for GNU C++ for the case where it uses the native
11945 # linker, instead of GNU ld. If possible, this setting should
11946 # overridden to take advantage of the native linker features on
11947 # the platform it is being used on.
11948 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11951 # Commands to make compiler produce verbose output that lists
11952 # what "hidden" libraries, object files and flags are used when
11953 # linking a shared library.
11954 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11962 # PORTME: fill in a description of your system's C++ link characteristics
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11964 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11968 # FIXME: insert proper C++ library support
11972 if test "$host_cpu" = ia64
; then
11973 # On IA64, the linker does run time linking by default, so we don't
11974 # have to do anything special.
11975 aix_use_runtimelinking
=no
11976 exp_sym_flag
='-Bexport'
11979 aix_use_runtimelinking
=no
11981 # Test if we are trying to use run time linking or normal
11982 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11983 # need to do runtime linking.
11984 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11985 for ld_flag
in $LDFLAGS; do
11988 aix_use_runtimelinking
=yes
11996 exp_sym_flag
='-bexport'
11997 no_entry_flag
='-bnoentry'
12000 # When large executables or shared objects are built, AIX ld can
12001 # have problems creating the table of contents. If linking a library
12002 # or program results in "error TOC overflow" add -mminimal-toc to
12003 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12004 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12006 archive_cmds_CXX
=''
12007 hardcode_direct_CXX
=yes
12008 hardcode_direct_absolute_CXX
=yes
12009 hardcode_libdir_separator_CXX
=':'
12010 link_all_deplibs_CXX
=yes
12011 file_list_spec_CXX
='${wl}-f,'
12013 if test "$GXX" = yes; then
12014 case $host_os in aix4.
[012]|aix4.
[012].
*)
12015 # We only want to do this on AIX 4.2 and lower, the check
12016 # below for broken collect2 doesn't work under 4.3+
12017 collect2name
=`${CC} -print-prog-name=collect2`
12018 if test -f "$collect2name" &&
12019 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12021 # We have reworked collect2
12024 # We have old collect2
12025 hardcode_direct_CXX
=unsupported
12026 # It fails to find uninstalled libraries when the uninstalled
12027 # path is not listed in the libpath. Setting hardcode_minus_L
12028 # to unsupported forces relinking
12029 hardcode_minus_L_CXX
=yes
12030 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12031 hardcode_libdir_separator_CXX
=
12034 shared_flag
='-shared'
12035 if test "$aix_use_runtimelinking" = yes; then
12036 shared_flag
="$shared_flag "'${wl}-G'
12040 if test "$host_cpu" = ia64
; then
12041 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12042 # chokes on -Wl,-G. The following line is correct:
12045 if test "$aix_use_runtimelinking" = yes; then
12046 shared_flag
='${wl}-G'
12048 shared_flag
='${wl}-bM:SRE'
12053 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12054 # It seems that -bexpall does not export symbols beginning with
12055 # underscore (_), so it is better to generate a list of symbols to
12057 always_export_symbols_CXX
=yes
12058 if test "$aix_use_runtimelinking" = yes; then
12059 # Warning - without using the other runtime loading flags (-brtl),
12060 # -berok will link without error, but may produce a broken library.
12061 allow_undefined_flag_CXX
='-berok'
12062 # Determine the default libpath from the value encoded in an empty
12064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12075 if ac_fn_cxx_try_link
"$LINENO"; then :
12077 lt_aix_libpath_sed
='
12078 /Import File Strings/,/^$/ {
12084 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12085 # Check for a 64-bit object if we didn't find anything.
12086 if test -z "$aix_libpath"; then
12087 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12090 rm -f core conftest.err conftest.
$ac_objext \
12091 conftest
$ac_exeext conftest.
$ac_ext
12092 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12094 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12096 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"
12098 if test "$host_cpu" = ia64
; then
12099 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12100 allow_undefined_flag_CXX
="-z nodefs"
12101 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"
12103 # Determine the default libpath from the value encoded in an
12104 # empty executable.
12105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12116 if ac_fn_cxx_try_link
"$LINENO"; then :
12118 lt_aix_libpath_sed
='
12119 /Import File Strings/,/^$/ {
12125 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12126 # Check for a 64-bit object if we didn't find anything.
12127 if test -z "$aix_libpath"; then
12128 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12131 rm -f core conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12133 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12135 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12136 # Warning - without using the other run time loading flags,
12137 # -berok will link without error, but may produce a broken library.
12138 no_undefined_flag_CXX
=' ${wl}-bernotok'
12139 allow_undefined_flag_CXX
=' ${wl}-berok'
12140 if test "$with_gnu_ld" = yes; then
12141 # We only use this code for GNU lds that support --whole-archive.
12142 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12144 # Exported symbols can be pulled into shared objects from archives
12145 whole_archive_flag_spec_CXX
='$convenience'
12147 archive_cmds_need_lc_CXX
=yes
12148 # This is similar to how AIX traditionally builds its shared
12150 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'
12156 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12157 allow_undefined_flag_CXX
=unsupported
12158 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12159 # support --undefined. This deserves some investigation. FIXME
12160 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12167 case $cc_basename in
12169 # FIXME: insert proper C++ library support
12175 cygwin
* | mingw
* | pw32
* | cegcc
*)
12176 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12177 # as there is no search path for DLLs.
12178 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12179 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12180 allow_undefined_flag_CXX
=unsupported
12181 always_export_symbols_CXX
=no
12182 enable_shared_with_static_runtimes_CXX
=yes
12184 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12185 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'
12186 # If the export-symbols file already is a .def file (1st line
12187 # is EXPORTS), use it as is; otherwise, prepend...
12188 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12189 cp $export_symbols $output_objdir/$soname.def;
12191 echo EXPORTS > $output_objdir/$soname.def;
12192 cat $export_symbols >> $output_objdir/$soname.def;
12194 $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'
12199 darwin
* | rhapsody
*)
12202 archive_cmds_need_lc_CXX
=no
12203 hardcode_direct_CXX
=no
12204 hardcode_automatic_CXX
=yes
12205 hardcode_shlibpath_var_CXX
=unsupported
12206 if test "$lt_cv_ld_force_load" = "yes"; then
12207 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\"`'
12209 whole_archive_flag_spec_CXX
=''
12211 link_all_deplibs_CXX
=yes
12212 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12213 case $cc_basename in
12214 ifort
*) _lt_dar_can_shared
=yes ;;
12215 *) _lt_dar_can_shared
=$GCC ;;
12217 if test "$_lt_dar_can_shared" = "yes"; then
12218 output_verbose_link_cmd
=func_echo_all
12219 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}"
12220 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12221 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}"
12222 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}"
12223 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12224 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}"
12225 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}"
12235 case $cc_basename in
12237 # FIXME: insert proper C++ library support
12241 # Green Hills C++ Compiler
12242 # FIXME: insert proper C++ library support
12246 # FIXME: insert proper C++ library support
12253 # C++ shared libraries reported to be fairly broken before
12259 archive_cmds_need_lc_CXX
=no
12262 freebsd
* | dragonfly
*)
12263 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12272 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12273 link_all_deplibs_CXX
=yes
12277 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12278 hardcode_libdir_separator_CXX
=:
12279 export_dynamic_flag_spec_CXX
='${wl}-E'
12280 hardcode_direct_CXX
=yes
12281 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12282 # but as the default
12283 # location of the library.
12285 case $cc_basename in
12287 # FIXME: insert proper C++ library support
12291 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'
12292 # Commands to make compiler produce verbose output that lists
12293 # what "hidden" libraries, object files and flags are used when
12294 # linking a shared library.
12296 # There doesn't appear to be a way to prevent this compiler from
12297 # explicitly linking system object files so we need to strip them
12298 # from the output so that they don't get included in the library
12300 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"'
12303 if test "$GXX" = yes; then
12304 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'
12306 # FIXME: insert proper C++ library support
12314 if test $with_gnu_ld = no
; then
12315 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12316 hardcode_libdir_separator_CXX
=:
12322 export_dynamic_flag_spec_CXX
='${wl}-E'
12328 hardcode_direct_CXX
=no
12329 hardcode_shlibpath_var_CXX
=no
12332 hardcode_direct_CXX
=yes
12333 hardcode_direct_absolute_CXX
=yes
12334 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12335 # but as the default
12336 # location of the library.
12340 case $cc_basename in
12342 # FIXME: insert proper C++ library support
12348 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12351 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12354 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12357 # Commands to make compiler produce verbose output that lists
12358 # what "hidden" libraries, object files and flags are used when
12359 # linking a shared library.
12361 # There doesn't appear to be a way to prevent this compiler from
12362 # explicitly linking system object files so we need to strip them
12363 # from the output so that they don't get included in the library
12365 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"'
12368 if test "$GXX" = yes; then
12369 if test $with_gnu_ld = no
; then
12372 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12375 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12378 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'
12383 # FIXME: insert proper C++ library support
12391 hardcode_direct_CXX
=no
12392 hardcode_shlibpath_var_CXX
=no
12393 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12394 export_dynamic_flag_spec_CXX
='${wl}-E'
12395 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12396 # Instead, shared libraries are loaded at an image base (0x10000000 by
12397 # default) and relocated if they conflict, which is a slow very memory
12398 # consuming and fragmenting process. To avoid this, we pick a random,
12399 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12400 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12401 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'
12402 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'
12405 case $cc_basename in
12408 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'
12410 # Archives containing C++ object files must be created using
12411 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12412 # necessary to make sure instantiated templates are included
12414 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12417 if test "$GXX" = yes; then
12418 if test "$with_gnu_ld" = no
; then
12419 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'
12421 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'
12424 link_all_deplibs_CXX
=yes
12427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12428 hardcode_libdir_separator_CXX
=:
12429 inherit_rpath_CXX
=yes
12432 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12433 case $cc_basename in
12435 # Kuck and Associates, Inc. (KAI) C++ Compiler
12437 # KCC will only create a shared library if the output file
12438 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12439 # to its proper name (with version) after linking.
12440 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'
12441 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'
12442 # Commands to make compiler produce verbose output that lists
12443 # what "hidden" libraries, object files and flags are used when
12444 # linking a shared library.
12446 # There doesn't appear to be a way to prevent this compiler from
12447 # explicitly linking system object files so we need to strip them
12448 # from the output so that they don't get included in the library
12450 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"'
12452 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12453 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12455 # Archives containing C++ object files must be created using
12456 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12457 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12462 # version 8.0 and above of icpc choke on multiply defined symbols
12463 # if we add $predep_objects and $postdep_objects, however 7.1 and
12464 # earlier do not add the objects themselves.
12465 case `$CC -V 2>&1` in
12467 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12468 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'
12470 *) # Version 8.0 or newer
12473 ia64
*) tmp_idyn
=' -i_dynamic';;
12475 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 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'
12479 archive_cmds_need_lc_CXX
=no
12480 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12481 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12482 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12485 # Portland Group C++ compiler
12487 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12488 prelink_cmds_CXX
='tpldir=Template.dir~
12490 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12491 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12492 old_archive_cmds_CXX
='tpldir=Template.dir~
12494 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12495 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12497 archive_cmds_CXX
='tpldir=Template.dir~
12499 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12500 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12501 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12503 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12504 $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'
12506 *) # Version 6 and above use weak symbols
12507 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12508 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'
12512 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12513 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12514 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'
12518 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12519 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'
12521 runpath_var
=LD_RUN_PATH
12522 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12523 hardcode_libdir_separator_CXX
=:
12525 # Commands to make compiler produce verbose output that lists
12526 # what "hidden" libraries, object files and flags are used when
12527 # linking a shared library.
12529 # There doesn't appear to be a way to prevent this compiler from
12530 # explicitly linking system object files so we need to strip them
12531 # from the output so that they don't get included in the library
12533 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'
12535 xl
* | mpixl
* | bgxl
*)
12536 # IBM XL 8.0 on PPC, with GNU ld
12537 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12538 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12539 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12540 if test "x$supports_anon_versioning" = xyes
; then
12541 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12542 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12543 echo "local: *; };" >> $output_objdir/$libname.ver~
12544 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12548 case `$CC -V 2>&1 | sed 5q` in
12551 no_undefined_flag_CXX
=' -zdefs'
12552 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12553 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'
12554 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12555 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'
12556 compiler_needs_object_CXX
=yes
12558 # Not sure whether something based on
12559 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12561 output_verbose_link_cmd
='func_echo_all'
12563 # Archives containing C++ object files must be created using
12564 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12565 # necessary to make sure instantiated templates are included
12567 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12575 # FIXME: insert proper C++ library support
12580 # FIXME: insert proper C++ library support
12585 case $cc_basename in
12587 # FIXME: insert proper C++ library support
12591 # FIXME: insert proper C++ library support
12598 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12599 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12601 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12602 hardcode_direct_CXX
=yes
12603 hardcode_shlibpath_var_CXX
=no
12605 # Workaround some broken pre-1.5 toolchains
12606 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12614 # C++ shared libraries are fairly broken
12619 if test -f /usr
/libexec
/ld.so
; then
12620 hardcode_direct_CXX
=yes
12621 hardcode_shlibpath_var_CXX
=no
12622 hardcode_direct_absolute_CXX
=yes
12623 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12624 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12625 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12626 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12627 export_dynamic_flag_spec_CXX
='${wl}-E'
12628 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12630 output_verbose_link_cmd
=func_echo_all
12636 osf3
* | osf4
* | osf5
*)
12637 case $cc_basename in
12639 # Kuck and Associates, Inc. (KAI) C++ Compiler
12641 # KCC will only create a shared library if the output file
12642 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12643 # to its proper name (with version) after linking.
12644 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'
12646 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12647 hardcode_libdir_separator_CXX
=:
12649 # Archives containing C++ object files must be created using
12650 # the KAI C++ compiler.
12652 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12653 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12657 # Rational C++ 2.4.1
12658 # FIXME: insert proper C++ library support
12664 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12665 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'
12666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12669 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12670 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'
12671 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12672 echo "-hidden">> $lib.exp~
12673 $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~
12675 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12679 hardcode_libdir_separator_CXX
=:
12681 # Commands to make compiler produce verbose output that lists
12682 # what "hidden" libraries, object files and flags are used when
12683 # linking a shared library.
12685 # There doesn't appear to be a way to prevent this compiler from
12686 # explicitly linking system object files so we need to strip them
12687 # from the output so that they don't get included in the library
12689 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"'
12692 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12693 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12696 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'
12699 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'
12703 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12704 hardcode_libdir_separator_CXX
=:
12706 # Commands to make compiler produce verbose output that lists
12707 # what "hidden" libraries, object files and flags are used when
12708 # linking a shared library.
12709 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12712 # FIXME: insert proper C++ library support
12720 # FIXME: insert proper C++ library support
12725 case $cc_basename in
12728 # FIXME: insert proper C++ library support
12733 # FIXME: insert proper C++ library support
12737 # FIXME: insert proper C++ library support
12744 case $cc_basename in
12746 # Sun C++ 4.2, 5.x and Centerline C++
12747 archive_cmds_need_lc_CXX
=yes
12748 no_undefined_flag_CXX
=' -zdefs'
12749 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12751 $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'
12753 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12754 hardcode_shlibpath_var_CXX
=no
12756 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12758 # The compiler driver will combine and reorder linker options,
12759 # but understands `-z linker_flag'.
12760 # Supported since Solaris 2.6 (maybe 2.5.1?)
12761 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12764 link_all_deplibs_CXX
=yes
12766 output_verbose_link_cmd
='func_echo_all'
12768 # Archives containing C++ object files must be created using
12769 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12770 # necessary to make sure instantiated templates are included
12772 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12775 # Green Hills C++ Compiler
12776 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12778 # The C++ compiler must be used to create the archive.
12779 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12782 # GNU C++ compiler with Solaris linker
12783 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12784 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12785 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12786 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12787 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12788 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12790 # Commands to make compiler produce verbose output that lists
12791 # what "hidden" libraries, object files and flags are used when
12792 # linking a shared library.
12793 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12795 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12797 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12798 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12799 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12801 # Commands to make compiler produce verbose output that lists
12802 # what "hidden" libraries, object files and flags are used when
12803 # linking a shared library.
12804 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12807 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12809 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12811 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12819 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12820 no_undefined_flag_CXX
='${wl}-z,text'
12821 archive_cmds_need_lc_CXX
=no
12822 hardcode_shlibpath_var_CXX
=no
12823 runpath_var
='LD_RUN_PATH'
12825 case $cc_basename in
12827 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12828 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12831 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12832 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12837 sysv5
* | sco3.2v5
* | sco5v6
*)
12838 # Note: We can NOT use -z defs as we might desire, because we do not
12839 # link with -lc, and that would cause any symbols used from libc to
12840 # always be unresolved, which means just about no library would
12841 # ever link correctly. If we're not using GNU ld we use -z text
12842 # though, which does catch some bad symbols but isn't as heavy-handed
12844 no_undefined_flag_CXX
='${wl}-z,text'
12845 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12846 archive_cmds_need_lc_CXX
=no
12847 hardcode_shlibpath_var_CXX
=no
12848 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12849 hardcode_libdir_separator_CXX
=':'
12850 link_all_deplibs_CXX
=yes
12851 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12852 runpath_var
='LD_RUN_PATH'
12854 case $cc_basename in
12856 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12857 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12858 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12859 '"$old_archive_cmds_CXX"
12860 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12861 '"$reload_cmds_CXX"
12864 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12865 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12871 case $cc_basename in
12873 # NonStop-UX NCC 3.20
12874 # FIXME: insert proper C++ library support
12878 # FIXME: insert proper C++ library support
12885 # FIXME: insert proper C++ library support
12890 # FIXME: insert proper C++ library support
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12896 $as_echo "$ld_shlibs_CXX" >&6; }
12897 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12903 ## There is no encapsulation within the following macros, do not change
12904 ## the running order or otherwise move them around unless you know exactly
12905 ## what you are doing...
12906 # Dependencies to place before and after the object being linked:
12907 predep_objects_CXX
=
12908 postdep_objects_CXX
=
12911 compiler_lib_search_path_CXX
=
12913 cat > conftest.
$ac_ext <<_LT_EOF
12917 Foo (void) { a = 0; }
12923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12924 (eval $ac_compile) 2>&5
12926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927 test $ac_status = 0; }; then
12928 # Parse the compiler output and extract the necessary
12929 # objects, libraries and library flags.
12931 # Sentinel used to keep track of whether or not we are before
12932 # the conftest object file.
12933 pre_test_object_deps_done
=no
12935 for p
in `eval "$output_verbose_link_cmd"`; do
12939 # Some compilers place space between "-{L,R}" and the path.
12940 # Remove the space.
12941 if test $p = "-L" ||
12942 test $p = "-R"; then
12949 if test "$pre_test_object_deps_done" = no
; then
12952 # Internal compiler library paths should come after those
12953 # provided the user. The postdeps already come after the
12954 # user supplied libs so there is no need to process them.
12955 if test -z "$compiler_lib_search_path_CXX"; then
12956 compiler_lib_search_path_CXX
="${prev}${p}"
12958 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12961 # The "-l" case would never come before the object being
12962 # linked, so don't bother handling this case.
12965 if test -z "$postdeps_CXX"; then
12966 postdeps_CXX
="${prev}${p}"
12968 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12974 # This assumes that the test object file only shows up
12975 # once in the compiler output.
12976 if test "$p" = "conftest.$objext"; then
12977 pre_test_object_deps_done
=yes
12981 if test "$pre_test_object_deps_done" = no
; then
12982 if test -z "$predep_objects_CXX"; then
12983 predep_objects_CXX
="$p"
12985 predep_objects_CXX
="$predep_objects_CXX $p"
12988 if test -z "$postdep_objects_CXX"; then
12989 postdep_objects_CXX
="$p"
12991 postdep_objects_CXX
="$postdep_objects_CXX $p"
12996 *) ;; # Ignore the rest.
13004 echo "libtool.m4: error: problem compiling CXX test program"
13007 $RM -f confest.
$objext
13009 # PORTME: override above test on systems where it is broken
13012 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13013 # hack all around it, let's just trust "g++" to DTRT.
13014 predep_objects_CXX
=
13015 postdep_objects_CXX
=
13020 case `$CC -V 2>&1 | sed 5q` in
13024 # The more standards-conforming stlport4 library is
13025 # incompatible with the Cstd library. Avoid specifying
13026 # it if it's in CXXFLAGS. Ignore libCrun as
13027 # -library=stlport4 depends on it.
13028 case " $CXX $CXXFLAGS " in
13029 *" -library=stlport4 "*)
13030 solaris_use_stlport4
=yes
13034 if test "$solaris_use_stlport4" != yes; then
13035 postdeps_CXX
='-library=Cstd -library=Crun'
13042 case $cc_basename in
13044 # The more standards-conforming stlport4 library is
13045 # incompatible with the Cstd library. Avoid specifying
13046 # it if it's in CXXFLAGS. Ignore libCrun as
13047 # -library=stlport4 depends on it.
13048 case " $CXX $CXXFLAGS " in
13049 *" -library=stlport4 "*)
13050 solaris_use_stlport4
=yes
13054 # Adding this requires a known-good setup of shared libraries for
13055 # Sun compiler versions before 5.6, else PIC objects from an old
13056 # archive will be linked into the output, leading to subtle bugs.
13057 if test "$solaris_use_stlport4" != yes; then
13058 postdeps_CXX
='-library=Cstd -library=Crun'
13066 case " $postdeps_CXX " in
13067 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13069 compiler_lib_search_dirs_CXX
=
13070 if test -n "${compiler_lib_search_path_CXX}"; then
13071 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13104 lt_prog_compiler_wl_CXX
=
13105 lt_prog_compiler_pic_CXX
=
13106 lt_prog_compiler_static_CXX
=
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13109 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13111 # C++ specific cases for pic, static, wl, etc.
13112 if test "$GXX" = yes; then
13113 lt_prog_compiler_wl_CXX
='-Wl,'
13114 lt_prog_compiler_static_CXX
='-static'
13118 # All AIX code is PIC.
13119 if test "$host_cpu" = ia64
; then
13120 # AIX 5 now supports IA64 processor
13121 lt_prog_compiler_static_CXX
='-Bstatic'
13123 lt_prog_compiler_pic_CXX
='-fPIC'
13129 # see comment about AmigaOS4 .so support
13130 lt_prog_compiler_pic_CXX
='-fPIC'
13133 # FIXME: we need at least 68020 code to build shared libraries, but
13134 # adding the `-m68020' flag to GCC prevents building anything better,
13136 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13141 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13142 # PIC is the default for these OSes.
13144 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13145 # This hack is so that the source file can tell whether it is being
13146 # built for inclusion in a dll (and should export symbols for example).
13147 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13148 # (--disable-auto-import) libraries
13149 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13151 darwin
* | rhapsody
*)
13152 # PIC is the default on this platform
13153 # Common symbols not allowed in MH_DYLIB files
13154 lt_prog_compiler_pic_CXX
='-fno-common'
13157 # DJGPP does not support shared libraries at all
13158 lt_prog_compiler_pic_CXX
=
13161 # PIC is the default for Haiku.
13162 # The "-static" flag exists, but is broken.
13163 lt_prog_compiler_static_CXX
=
13166 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13167 # Instead, we relocate shared libraries at runtime.
13170 if test -d /usr
/nec
; then
13171 lt_prog_compiler_pic_CXX
=-Kconform_pic
13175 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13176 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13177 # sets the default TLS model and affects inlining.
13182 lt_prog_compiler_pic_CXX
='-fPIC'
13187 # QNX uses GNU C++, but need to define -shared option too, otherwise
13188 # it will coredump.
13189 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13192 lt_prog_compiler_pic_CXX
='-fPIC'
13198 # All AIX code is PIC.
13199 if test "$host_cpu" = ia64
; then
13200 # AIX 5 now supports IA64 processor
13201 lt_prog_compiler_static_CXX
='-Bstatic'
13203 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13207 case $cc_basename in
13209 # Green Hills C++ Compiler
13210 # _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"
13215 case $cc_basename in
13217 lt_prog_compiler_pic_CXX
='-KPIC'
13220 # Green Hills C++ Compiler
13221 lt_prog_compiler_pic_CXX
='-pic'
13227 freebsd
* | dragonfly
*)
13228 # FreeBSD uses GNU C++
13230 hpux9
* | hpux10
* | hpux11
*)
13231 case $cc_basename in
13233 lt_prog_compiler_wl_CXX
='-Wl,'
13234 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13235 if test "$host_cpu" != ia64
; then
13236 lt_prog_compiler_pic_CXX
='+Z'
13240 lt_prog_compiler_wl_CXX
='-Wl,'
13241 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13247 lt_prog_compiler_pic_CXX
='+Z'
13256 # This is c89, which is MS Visual C++ (no shared libs)
13257 # Anyone wants to do a port?
13259 irix5
* | irix6
* | nonstopux
*)
13260 case $cc_basename in
13262 lt_prog_compiler_wl_CXX
='-Wl,'
13263 lt_prog_compiler_static_CXX
='-non_shared'
13264 # CC pic flag -KPIC is the default.
13270 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13271 case $cc_basename in
13274 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13275 lt_prog_compiler_pic_CXX
='-fPIC'
13278 # old Intel C++ for x86_64 which still supported -KPIC.
13279 lt_prog_compiler_wl_CXX
='-Wl,'
13280 lt_prog_compiler_pic_CXX
='-KPIC'
13281 lt_prog_compiler_static_CXX
='-static'
13284 # Intel C++, used to be incompatible with GCC.
13285 # ICC 10 doesn't accept -KPIC any more.
13286 lt_prog_compiler_wl_CXX
='-Wl,'
13287 lt_prog_compiler_pic_CXX
='-fPIC'
13288 lt_prog_compiler_static_CXX
='-static'
13291 # Portland Group C++ compiler
13292 lt_prog_compiler_wl_CXX
='-Wl,'
13293 lt_prog_compiler_pic_CXX
='-fpic'
13294 lt_prog_compiler_static_CXX
='-Bstatic'
13298 # Make sure the PIC flag is empty. It appears that all Alpha
13299 # Linux and Compaq Tru64 Unix objects are PIC.
13300 lt_prog_compiler_pic_CXX
=
13301 lt_prog_compiler_static_CXX
='-non_shared'
13303 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13304 # IBM XL 8.0, 9.0 on PPC and BlueGene
13305 lt_prog_compiler_wl_CXX
='-Wl,'
13306 lt_prog_compiler_pic_CXX
='-qpic'
13307 lt_prog_compiler_static_CXX
='-qstaticlink'
13310 case `$CC -V 2>&1 | sed 5q` in
13313 lt_prog_compiler_pic_CXX
='-KPIC'
13314 lt_prog_compiler_static_CXX
='-Bstatic'
13315 lt_prog_compiler_wl_CXX
='-Qoption ld '
13326 case $cc_basename in
13328 lt_prog_compiler_pic_CXX
='-W c,exportall'
13337 # QNX uses GNU C++, but need to define -shared option too, otherwise
13338 # it will coredump.
13339 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13341 osf3
* | osf4
* | osf5
*)
13342 case $cc_basename in
13344 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13347 # Rational C++ 2.4.1
13348 lt_prog_compiler_pic_CXX
='-pic'
13351 # Digital/Compaq C++
13352 lt_prog_compiler_wl_CXX
='-Wl,'
13353 # Make sure the PIC flag is empty. It appears that all Alpha
13354 # Linux and Compaq Tru64 Unix objects are PIC.
13355 lt_prog_compiler_pic_CXX
=
13356 lt_prog_compiler_static_CXX
='-non_shared'
13365 case $cc_basename in
13367 # Sun C++ 4.2, 5.x and Centerline C++
13368 lt_prog_compiler_pic_CXX
='-KPIC'
13369 lt_prog_compiler_static_CXX
='-Bstatic'
13370 lt_prog_compiler_wl_CXX
='-Qoption ld '
13373 # Green Hills C++ Compiler
13374 lt_prog_compiler_pic_CXX
='-PIC'
13381 case $cc_basename in
13384 lt_prog_compiler_pic_CXX
='-pic'
13385 lt_prog_compiler_static_CXX
='-Bstatic'
13389 lt_prog_compiler_pic_CXX
='-pic'
13395 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13396 case $cc_basename in
13398 lt_prog_compiler_wl_CXX
='-Wl,'
13399 lt_prog_compiler_pic_CXX
='-KPIC'
13400 lt_prog_compiler_static_CXX
='-Bstatic'
13405 case $cc_basename in
13407 # NonStop-UX NCC 3.20
13408 lt_prog_compiler_pic_CXX
='-KPIC'
13417 lt_prog_compiler_can_build_shared_CXX
=no
13423 # For platforms which do not support PIC, -DPIC is meaningless:
13425 lt_prog_compiler_pic_CXX
=
13428 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13432 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13437 # Check to make sure the PIC flag actually works.
13439 if test -n "$lt_prog_compiler_pic_CXX"; then
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13441 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13442 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13443 $as_echo_n "(cached) " >&6
13445 lt_cv_prog_compiler_pic_works_CXX
=no
13446 ac_outfile
=conftest.
$ac_objext
13447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13448 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13449 # Insert the option either (1) after the last *FLAGS variable, or
13450 # (2) before a word containing "conftest.", or (3) at the end.
13451 # Note that $ac_compile itself does not contain backslashes and begins
13452 # with a dollar sign (not a hyphen), so the echo should work correctly.
13453 # The option is referenced via a variable to avoid confusing sed.
13454 lt_compile
=`echo "$ac_compile" | $SED \
13455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13457 -e 's:$: $lt_compiler_flag:'`
13458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13459 (eval "$lt_compile" 2>conftest.err
)
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 if (exit $ac_status) && test -s "$ac_outfile"; then
13464 # The compiler can only warn and ignore the option if not recognized
13465 # So say no if there are warnings other than the usual output.
13466 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13468 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13469 lt_cv_prog_compiler_pic_works_CXX
=yes
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13476 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13478 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13479 case $lt_prog_compiler_pic_CXX in
13481 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13484 lt_prog_compiler_pic_CXX
=
13485 lt_prog_compiler_can_build_shared_CXX
=no
13493 # Check to make sure the static flag actually works.
13495 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13497 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13498 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13499 $as_echo_n "(cached) " >&6
13501 lt_cv_prog_compiler_static_works_CXX
=no
13502 save_LDFLAGS
="$LDFLAGS"
13503 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13504 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13505 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13506 # The linker can only warn and ignore the option if not recognized
13507 # So say no if there are warnings
13508 if test -s conftest.err
; then
13509 # Append any errors to the config.log.
13510 cat conftest.err
1>&5
13511 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13512 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13513 if diff conftest.exp conftest.er2
>/dev
/null
; then
13514 lt_cv_prog_compiler_static_works_CXX
=yes
13517 lt_cv_prog_compiler_static_works_CXX
=yes
13521 LDFLAGS
="$save_LDFLAGS"
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13525 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13527 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13530 lt_prog_compiler_static_CXX
=
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13537 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13538 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13539 $as_echo_n "(cached) " >&6
13541 lt_cv_prog_compiler_c_o_CXX
=no
13542 $RM -r conftest
2>/dev
/null
13546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13548 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13549 # Insert the option either (1) after the last *FLAGS variable, or
13550 # (2) before a word containing "conftest.", or (3) at the end.
13551 # Note that $ac_compile itself does not contain backslashes and begins
13552 # with a dollar sign (not a hyphen), so the echo should work correctly.
13553 lt_compile
=`echo "$ac_compile" | $SED \
13554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13556 -e 's:$: $lt_compiler_flag:'`
13557 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13558 (eval "$lt_compile" 2>out
/conftest.err
)
13560 cat out
/conftest.err
>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13564 # The compiler can only warn and ignore the option if not recognized
13565 # So say no if there are warnings
13566 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13567 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13568 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13569 lt_cv_prog_compiler_c_o_CXX
=yes
13574 # SGI C++ compiler will create directory out/ii_files/ for
13575 # template instantiation
13576 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13577 $RM out
/* && rmdir out
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13584 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13590 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13591 $as_echo_n "(cached) " >&6
13593 lt_cv_prog_compiler_c_o_CXX
=no
13594 $RM -r conftest
2>/dev
/null
13598 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13600 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13601 # Insert the option either (1) after the last *FLAGS variable, or
13602 # (2) before a word containing "conftest.", or (3) at the end.
13603 # Note that $ac_compile itself does not contain backslashes and begins
13604 # with a dollar sign (not a hyphen), so the echo should work correctly.
13605 lt_compile
=`echo "$ac_compile" | $SED \
13606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13608 -e 's:$: $lt_compiler_flag:'`
13609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13610 (eval "$lt_compile" 2>out
/conftest.err
)
13612 cat out
/conftest.err
>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13616 # The compiler can only warn and ignore the option if not recognized
13617 # So say no if there are warnings
13618 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13619 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13620 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13621 lt_cv_prog_compiler_c_o_CXX
=yes
13626 # SGI C++ compiler will create directory out/ii_files/ for
13627 # template instantiation
13628 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13629 $RM out
/* && rmdir out
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13636 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13641 hard_links
="nottested"
13642 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13643 # do not overwrite the value of need_locks provided by the user
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13645 $as_echo_n "checking if we can lock with hard links... " >&6; }
13648 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13650 ln conftest.a conftest.b
2>&5 || hard_links
=no
13651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13653 $as_echo "$hard_links" >&6; }
13654 if test "$hard_links" = no
; then
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13656 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13666 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13668 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13671 # If we're using GNU nm, then we don't want the "-C" option.
13672 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13673 # Also, AIX nm treats weak defined symbols like other global defined
13674 # symbols, whereas GNU nm marks them as "W".
13675 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13676 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'
13678 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'
13682 export_symbols_cmds_CXX
="$ltdll_cmds"
13684 cygwin
* | mingw
* | cegcc
*)
13685 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'
13688 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13691 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13694 $as_echo "$ld_shlibs_CXX" >&6; }
13695 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13697 with_gnu_ld_CXX
=$with_gnu_ld
13705 # Do we need to explicitly link libc?
13707 case "x$archive_cmds_need_lc_CXX" in
13709 # Assume -lc should be added
13710 archive_cmds_need_lc_CXX
=yes
13712 if test "$enable_shared" = yes && test "$GCC" = yes; then
13713 case $archive_cmds_CXX in
13715 # FIXME: we may have to deal with multi-command sequences.
13718 # Test whether the compiler implicitly links with -lc since on some
13719 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13720 # to ld, don't add -lc before -lgcc.
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13722 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13723 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13724 $as_echo_n "(cached) " >&6
13727 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13730 (eval $ac_compile) 2>&5
13732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13733 test $ac_status = 0; } 2>conftest.err
; then
13736 libobjs
=conftest.
$ac_objext
13738 wl
=$lt_prog_compiler_wl_CXX
13739 pic_flag
=$lt_prog_compiler_pic_CXX
13745 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13746 allow_undefined_flag_CXX
=
13747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13748 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13751 test $ac_status = 0; }
13753 lt_cv_archive_cmds_need_lc_CXX
=no
13755 lt_cv_archive_cmds_need_lc_CXX
=yes
13757 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13759 cat conftest.err
1>&5
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13765 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13766 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13837 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13839 library_names_spec
=
13840 libname_spec
='lib$name'
13844 postuninstall_cmds
=
13848 shlibpath_overrides_runpath
=unknown
13850 dynamic_linker
="$host_os ld.so"
13851 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13852 need_lib_prefix
=unknown
13853 hardcode_into_libs
=no
13855 # when you set need_version to no, make sure it does not cause -set_version
13856 # flags to be left without arguments
13857 need_version
=unknown
13862 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13863 shlibpath_var
=LIBPATH
13865 # AIX 3 has no versioning support, so we append a major version to the name.
13866 soname_spec
='${libname}${release}${shared_ext}$major'
13873 hardcode_into_libs
=yes
13874 if test "$host_cpu" = ia64
; then
13875 # AIX 5 supports IA64
13876 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13877 shlibpath_var
=LD_LIBRARY_PATH
13879 # With GCC up to 2.95.x, collect2 would create an import file
13880 # for dependence libraries. The import file would start with
13881 # the line `#! .'. This would cause the generated library to
13882 # depend on `.', always an invalid library. This was fixed in
13883 # development snapshots of GCC prior to 3.0.
13885 aix4 | aix4.
[01] | aix4.
[01].
*)
13886 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13888 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13891 can_build_shared
=no
13895 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13896 # soname into executable. Probably we can add versioning support to
13897 # collect2, so additional links can be useful in future.
13898 if test "$aix_use_runtimelinking" = yes; then
13899 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13900 # instead of lib<name>.a to let people know that these are not
13901 # typical AIX shared libraries.
13902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13904 # We preserve .a as extension for shared libraries through AIX4.2
13905 # and later when we are not doing run time linking.
13906 library_names_spec
='${libname}${release}.a $libname.a'
13907 soname_spec
='${libname}${release}${shared_ext}$major'
13909 shlibpath_var
=LIBPATH
13916 # Since July 2007 AmigaOS4 officially supports .so libraries.
13917 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13921 library_names_spec
='$libname.ixlibrary $libname.a'
13922 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13923 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'
13929 library_names_spec
='${libname}${shared_ext}'
13930 dynamic_linker
="$host_os ld.so"
13931 shlibpath_var
=LIBRARY_PATH
13937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13938 soname_spec
='${libname}${release}${shared_ext}$major'
13939 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13940 shlibpath_var
=LD_LIBRARY_PATH
13941 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13942 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13943 # the default ld.so.conf also contains /usr/contrib/lib and
13944 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13945 # libtool to hard-code these into programs
13948 cygwin
* | mingw
* | pw32
* | cegcc
*)
13949 version_type
=windows
13954 case $GCC,$host_os in
13955 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13956 library_names_spec
='$libname.dll.a'
13957 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13958 postinstall_cmds
='base_file=`basename \${file}`~
13959 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13960 dldir=$destdir/`dirname \$dlpath`~
13961 test -d \$dldir || mkdir -p \$dldir~
13962 $install_prog $dir/$dlname \$dldir/$dlname~
13963 chmod a+x \$dldir/$dlname~
13964 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13965 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13967 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13968 dlpath=$dir/\$dldll~
13970 shlibpath_overrides_runpath
=yes
13974 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13975 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13979 # MinGW DLLs use traditional 'lib' prefix
13980 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13983 # pw32 DLLs use 'pw' prefix rather than 'lib'
13984 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13990 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13993 dynamic_linker
='Win32 ld.exe'
13994 # FIXME: first we should search . and the directory the executable is in
13998 darwin
* | rhapsody
*)
13999 dynamic_linker
="$host_os dyld"
14000 version_type
=darwin
14003 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14004 soname_spec
='${libname}${release}${major}$shared_ext'
14005 shlibpath_overrides_runpath
=yes
14006 shlibpath_var
=DYLD_LIBRARY_PATH
14007 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14009 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14017 soname_spec
='${libname}${release}${shared_ext}$major'
14018 shlibpath_var
=LD_LIBRARY_PATH
14021 freebsd
* | dragonfly
*)
14022 # DragonFly does not have aout. When/if they implement a new
14023 # versioning mechanism, adjust this.
14024 if test -x /usr
/bin
/objformat
; then
14025 objformat
=`/usr/bin/objformat`
14028 freebsd
[23].
*) objformat
=aout
;;
14029 *) objformat
=elf
;;
14032 version_type
=freebsd-
$objformat
14033 case $version_type in
14035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14040 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14044 shlibpath_var
=LD_LIBRARY_PATH
14047 shlibpath_overrides_runpath
=yes
14049 freebsd3.
[01]* | freebsdelf3.
[01]*)
14050 shlibpath_overrides_runpath
=yes
14051 hardcode_into_libs
=yes
14053 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14054 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14055 shlibpath_overrides_runpath
=no
14056 hardcode_into_libs
=yes
14058 *) # from 4.6 on, and DragonFly
14059 shlibpath_overrides_runpath
=yes
14060 hardcode_into_libs
=yes
14069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14070 soname_spec
='${libname}${release}${shared_ext}$major'
14071 shlibpath_var
=LD_LIBRARY_PATH
14072 hardcode_into_libs
=yes
14079 dynamic_linker
="$host_os runtime_loader"
14080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14081 soname_spec
='${libname}${release}${shared_ext}$major'
14082 shlibpath_var
=LIBRARY_PATH
14083 shlibpath_overrides_runpath
=yes
14084 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14085 hardcode_into_libs
=yes
14088 hpux9
* | hpux10
* | hpux11
*)
14089 # Give a soname corresponding to the major version so that dld.sl refuses to
14090 # link against other versions.
14097 hardcode_into_libs
=yes
14098 dynamic_linker
="$host_os dld.so"
14099 shlibpath_var
=LD_LIBRARY_PATH
14100 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14102 soname_spec
='${libname}${release}${shared_ext}$major'
14103 if test "X$HPUX_IA64_MODE" = X32
; then
14104 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14106 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14108 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14112 hardcode_into_libs
=yes
14113 dynamic_linker
="$host_os dld.sl"
14114 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14115 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14117 soname_spec
='${libname}${release}${shared_ext}$major'
14118 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14119 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14123 dynamic_linker
="$host_os dld.sl"
14124 shlibpath_var
=SHLIB_PATH
14125 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14127 soname_spec
='${libname}${release}${shared_ext}$major'
14130 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14131 postinstall_cmds
='chmod 555 $lib'
14132 # or fails outright, so override atomically:
14133 install_override_mode
=555
14140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14141 soname_spec
='${libname}${release}${shared_ext}$major'
14142 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14143 shlibpath_var
=LD_LIBRARY_PATH
14144 shlibpath_overrides_runpath
=no
14145 hardcode_into_libs
=yes
14148 irix5
* | irix6
* | nonstopux
*)
14150 nonstopux
*) version_type
=nonstopux
;;
14152 if test "$lt_cv_prog_gnu_ld" = yes; then
14160 soname_spec
='${libname}${release}${shared_ext}$major'
14161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14163 irix5
* | nonstopux
*)
14164 libsuff
= shlibsuff
=
14167 case $LD in # libtool.m4 will add one of these switches to LD
14168 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14169 libsuff
= shlibsuff
= libmagic
=32-bit;;
14170 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14171 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14172 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14173 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14174 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14178 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14179 shlibpath_overrides_runpath
=no
14180 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14181 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14182 hardcode_into_libs
=yes
14185 # No shared lib support for Linux oldld, aout, or coff.
14186 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14190 # This must be Linux ELF.
14191 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 soname_spec
='${libname}${release}${shared_ext}$major'
14197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14198 shlibpath_var
=LD_LIBRARY_PATH
14199 shlibpath_overrides_runpath
=no
14201 # Some binutils ld are patched to set DT_RUNPATH
14202 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14203 $as_echo_n "(cached) " >&6
14205 lt_cv_shlibpath_overrides_runpath
=no
14206 save_LDFLAGS
=$LDFLAGS
14207 save_libdir
=$libdir
14208 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14209 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14221 if ac_fn_cxx_try_link
"$LINENO"; then :
14222 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14223 lt_cv_shlibpath_overrides_runpath
=yes
14226 rm -f core conftest.err conftest.
$ac_objext \
14227 conftest
$ac_exeext conftest.
$ac_ext
14228 LDFLAGS
=$save_LDFLAGS
14229 libdir
=$save_libdir
14233 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14235 # This implies no fast_install, which is unacceptable.
14236 # Some rework will be needed to allow for fast_install
14237 # before this can be enabled.
14238 hardcode_into_libs
=yes
14240 # Append ld.so.conf contents to the search path
14241 if test -f /etc
/ld.so.conf
; then
14242 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' ' '`
14243 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14246 # We used to test for /lib/ld.so.1 and disable shared libraries on
14247 # powerpc, because MkLinux only supported shared libraries with the
14248 # GNU dynamic linker. Since this was broken with cross compilers,
14249 # most powerpc-linux boxes support dynamic linking these days and
14250 # people can always --disable-shared, the test was removed, and we
14251 # assume the GNU/Linux dynamic linker is in use.
14252 dynamic_linker
='GNU/Linux ld.so'
14259 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14261 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14262 dynamic_linker
='NetBSD (a.out) ld.so'
14264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14265 soname_spec
='${libname}${release}${shared_ext}$major'
14266 dynamic_linker
='NetBSD ld.elf_so'
14268 shlibpath_var
=LD_LIBRARY_PATH
14269 shlibpath_overrides_runpath
=yes
14270 hardcode_into_libs
=yes
14275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 shlibpath_var
=LD_LIBRARY_PATH
14277 shlibpath_overrides_runpath
=yes
14284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14285 soname_spec
='${libname}${release}${shared_ext}$major'
14286 shlibpath_var
=LD_LIBRARY_PATH
14287 shlibpath_overrides_runpath
=no
14288 hardcode_into_libs
=yes
14289 dynamic_linker
='ldqnx.so'
14294 sys_lib_dlsearch_path_spec
="/usr/lib"
14296 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14298 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14299 *) need_version
=no
;;
14301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14302 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14303 shlibpath_var
=LD_LIBRARY_PATH
14304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14306 openbsd2.
[89] | openbsd2.
[89].
*)
14307 shlibpath_overrides_runpath
=no
14310 shlibpath_overrides_runpath
=yes
14314 shlibpath_overrides_runpath
=yes
14319 libname_spec
='$name'
14322 library_names_spec
='$libname${shared_ext} $libname.a'
14323 dynamic_linker
='OS/2 ld.exe'
14324 shlibpath_var
=LIBPATH
14327 osf3
* | osf4
* | osf5
*)
14331 soname_spec
='${libname}${release}${shared_ext}$major'
14332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 shlibpath_var
=LD_LIBRARY_PATH
14334 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14335 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14347 soname_spec
='${libname}${release}${shared_ext}$major'
14348 shlibpath_var
=LD_LIBRARY_PATH
14349 shlibpath_overrides_runpath
=yes
14350 hardcode_into_libs
=yes
14351 # ldd complains unless libraries are executable
14352 postinstall_cmds
='chmod +x $lib'
14357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14358 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14359 shlibpath_var
=LD_LIBRARY_PATH
14360 shlibpath_overrides_runpath
=yes
14361 if test "$with_gnu_ld" = yes; then
14369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 soname_spec
='${libname}${release}${shared_ext}$major'
14371 shlibpath_var
=LD_LIBRARY_PATH
14372 case $host_vendor in
14374 shlibpath_overrides_runpath
=no
14376 runpath_var
=LD_RUN_PATH
14384 shlibpath_overrides_runpath
=no
14385 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14391 if test -d /usr
/nec
;then
14393 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14394 soname_spec
='$libname${shared_ext}.$major'
14395 shlibpath_var
=LD_LIBRARY_PATH
14399 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14400 version_type
=freebsd-elf
14403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14404 soname_spec
='${libname}${release}${shared_ext}$major'
14405 shlibpath_var
=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath
=yes
14407 hardcode_into_libs
=yes
14408 if test "$with_gnu_ld" = yes; then
14409 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14411 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14414 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14418 sys_lib_dlsearch_path_spec
='/usr/lib'
14422 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427 shlibpath_var
=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath
=no
14429 hardcode_into_libs
=yes
14434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435 soname_spec
='${libname}${release}${shared_ext}$major'
14436 shlibpath_var
=LD_LIBRARY_PATH
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14444 $as_echo "$dynamic_linker" >&6; }
14445 test "$dynamic_linker" = no
&& can_build_shared
=no
14447 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14448 if test "$GCC" = yes; then
14449 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14452 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14453 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14455 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14456 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14497 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14498 hardcode_action_CXX
=
14499 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14500 test -n "$runpath_var_CXX" ||
14501 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14503 # We can hardcode non-existent directories.
14504 if test "$hardcode_direct_CXX" != no
&&
14505 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14506 # have to relink, otherwise we might link with an installed library
14507 # when we should be linking with a yet-to-be-installed one
14508 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14509 test "$hardcode_minus_L_CXX" != no
; then
14510 # Linking always hardcodes the temporary library directory.
14511 hardcode_action_CXX
=relink
14513 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14514 hardcode_action_CXX
=immediate
14517 # We cannot hardcode anything, or else we can only hardcode existing
14519 hardcode_action_CXX
=unsupported
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14522 $as_echo "$hardcode_action_CXX" >&6; }
14524 if test "$hardcode_action_CXX" = relink ||
14525 test "$inherit_rpath_CXX" = yes; then
14526 # Fast installation is not supported
14527 enable_fast_install
=no
14528 elif test "$shlibpath_overrides_runpath" = yes ||
14529 test "$enable_shared" = no
; then
14530 # Fast installation is not necessary
14531 enable_fast_install
=needless
14540 fi # test -n "$compiler"
14546 with_gnu_ld
=$lt_save_with_gnu_ld
14547 lt_cv_path_LDCXX
=$lt_cv_path_LD
14548 lt_cv_path_LD
=$lt_save_path_LD
14549 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14550 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14551 fi # test "$_lt_caught_CXX_error" != yes
14554 ac_cpp
='$CPP $CPPFLAGS'
14555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14571 ac_config_commands
="$ac_config_commands libtool"
14576 # Only expand once:
14582 # For libtool versioning info, format is CURRENT:REVISION:AGE
14583 libtool_VERSION
=1:0:0
14586 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
14589 if test "${multilib}" = "yes"; then
14590 multilib_arg
="--enable-multilib"
14597 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
14598 # Check whether --enable-vtable-verify was given.
14599 if test "${enable_vtable_verify+set}" = set; then :
14600 enableval
=$enable_vtable_verify; case "$enableval" in
14601 yes) enable_vtable_verify
=yes ;;
14602 no
) enable_vtable_verify
=no
;;
14603 *) enable_vtable_verify
=no
;;
14606 enable_vtable_verify
=no
14609 if test $enable_vtable_verify = yes; then
14610 ENABLE_VTABLE_VERIFY_TRUE
=
14611 ENABLE_VTABLE_VERIFY_FALSE
='#'
14613 ENABLE_VTABLE_VERIFY_TRUE
='#'
14614 ENABLE_VTABLE_VERIFY_FALSE
=
14618 # These need to be absolute paths, yet at the same time need to
14619 # canonicalize only relative paths, because then amd will not unmount
14620 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
14621 libvtv_builddir
=`${PWDCMD-pwd}`
14623 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
14624 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
14626 toplevel_builddir
=${libvtv_builddir}/..
14627 toplevel_srcdir
=${libvtv_srcdir}/..
14634 # Get target configury.
14635 unset VTV_SUPPORTED
14636 .
${srcdir}/configure.tgt
14637 if test "x$VTV_SUPPORTED" = "xyes"; then
14638 VTV_SUPPORTED_TRUE
=
14639 VTV_SUPPORTED_FALSE
='#'
14641 VTV_SUPPORTED_TRUE
='#'
14642 VTV_SUPPORTED_FALSE
=
14646 ac_config_files
="$ac_config_files Makefile"
14649 if test "x$VTV_SUPPORTED" = "xyes"; then
14650 ac_config_files
="$ac_config_files ./Makefile testsuite/Makefile"
14654 cat >confcache
<<\_ACEOF
14655 # This file is a shell script that caches the results of configure
14656 # tests run on this system so they can be shared between configure
14657 # scripts and configure runs, see configure's option --config-cache.
14658 # It is not useful on other systems. If it contains results you don't
14659 # want to keep, you may remove or edit it.
14661 # config.status only pays attention to the cache file if you give it
14662 # the --recheck option to rerun configure.
14664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14666 # following values.
14670 # The following way of writing the cache mishandles newlines in values,
14671 # but we know of no workaround that is simple, portable, and efficient.
14672 # So, we kill variables containing newlines.
14673 # Ultrix sh set writes to stderr and can't be redirected directly,
14674 # and sets the high bit in the cache file unless we assign to the vars.
14676 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14677 eval ac_val
=\$
$ac_var
14681 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14685 _ | IFS | as_nl
) ;; #(
14686 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14687 *) { eval $ac_var=; unset $ac_var;} ;;
14693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14694 *${as_nl}ac_space
=\
*)
14695 # `set' does not quote correctly, so add quotes: double-quote
14696 # substitution turns \\\\ into \\, and sed turns \\ into \.
14699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14702 # `set' quotes correctly as required by POSIX, so do not add quotes.
14703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14716 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14717 if test -w "$cache_file"; then
14718 test "x$cache_file" != "x/dev/null" &&
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14720 $as_echo "$as_me: updating cache $cache_file" >&6;}
14721 cat confcache
>$cache_file
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14724 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14729 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14730 # Let make expand exec_prefix.
14731 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14733 # Transform confdefs.h into DEFS.
14734 # Protect against shell expansion while executing Makefile rules.
14735 # Protect against Makefile macro expansion.
14737 # If the first sed substitution is executed (which looks for macros that
14738 # take arguments), then branch to the quote section. Otherwise,
14739 # look for a macro that doesn't take arguments.
14749 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14751 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14755 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14768 DEFS
=`sed -n "$ac_script" confdefs.h`
14773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14774 # 1. Remove the extension, and $U if already installed.
14775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14776 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14778 # will be set to the directory where LIBOBJS objects are built.
14779 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14780 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14782 LIBOBJS
=$ac_libobjs
14784 LTLIBOBJS
=$ac_ltlibobjs
14787 if test -n "$EXEEXT"; then
14789 am__EXEEXT_FALSE
='#'
14791 am__EXEEXT_TRUE
='#'
14795 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14796 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14799 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14800 as_fn_error
"conditional \"AMDEP\" was never defined.
14801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14804 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14807 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14808 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14811 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
14812 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
14813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14815 if test -z "${VTV_SUPPORTED_TRUE}" && test -z "${VTV_SUPPORTED_FALSE}"; then
14816 as_fn_error
"conditional \"VTV_SUPPORTED\" was never defined.
14817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14820 : ${CONFIG_STATUS=./config.status}
14822 ac_clean_files_save
=$ac_clean_files
14823 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14827 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14829 # Generated by $as_me.
14830 # Run this file to recreate the current configuration.
14831 # Compiler output produced by configure, useful for debugging
14832 # configure, is in config.log if it exists.
14835 ac_cs_recheck=false
14838 SHELL=\${CONFIG_SHELL-$SHELL}
14841 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14842 ## -------------------- ##
14843 ## M4sh Initialization. ##
14844 ## -------------------- ##
14846 # Be more Bourne compatible
14847 DUALCASE
=1; export DUALCASE
# for MKS sh
14848 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14851 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14852 # is contrary to our usage. Disable this feature.
14853 alias -g '${1+"$@"}'='"$@"'
14854 setopt NO_GLOB_SUBST
14856 case `(set -o) 2>/dev/null` in #(
14868 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14869 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14872 # Prefer a ksh shell builtin over an external printf program on Solaris,
14873 # but without wasting forks for bash or zsh.
14874 if test -z "$BASH_VERSION$ZSH_VERSION" \
14875 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14876 as_echo='print
-r --'
14877 as_echo_n='print
-rn --'
14878 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14879 as_echo='printf %s
\n'
14880 as_echo_n='printf %s
'
14882 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14883 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14884 as_echo_n='/usr
/ucb
/echo -n'
14886 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14887 as_echo_n_body='eval
14891 expr "X$arg" : "X\\(.*\\)$as_nl";
14892 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14894 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14896 export as_echo_n_body
14897 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14899 export as_echo_body
14900 as_echo='sh
-c $as_echo_body as_echo
'
14903 # The user is always right.
14904 if test "${PATH_SEPARATOR+set}" != set; then
14906 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14907 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14914 # We need space, tab and new line, in precisely that order. Quoting is
14915 # there to prevent editors from complaining about space-tab.
14916 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14917 # splitting by setting IFS to empty value.)
14920 # Find who we are. Look in the path if we contain no directory separator.
14922 *[\\/]* ) as_myself=$0 ;;
14923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14924 for as_dir in $PATH
14927 test -z "$as_dir" && as_dir=.
14928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14934 # We did not find ourselves, most probably we were run as `sh COMMAND'
14935 # in which case we are not to be found in the path.
14936 if test "x$as_myself" = x
; then
14939 if test ! -f "$as_myself"; then
14940 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14944 # Unset variables that we do not need and which cause bugs (e.g. in
14945 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14946 # suppresses any "Segmentation fault" message there. '((' could
14947 # trigger a bug in pdksh 5.2.14.
14948 for as_var
in BASH_ENV ENV MAIL MAILPATH
14949 do eval test x\
${$as_var+set} = xset \
14950 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14963 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14966 # as_fn_error ERROR [LINENO LOG_FD]
14967 # ---------------------------------
14968 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14969 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14970 # script with status $?, using 1 if that was 0.
14973 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14975 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14976 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14978 $as_echo "$as_me: error: $1" >&2
14979 as_fn_exit
$as_status
14983 # as_fn_set_status STATUS
14984 # -----------------------
14985 # Set $? to STATUS, without forking.
14986 as_fn_set_status
()
14989 } # as_fn_set_status
14991 # as_fn_exit STATUS
14992 # -----------------
14993 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14997 as_fn_set_status
$1
15003 # Portably unset VAR.
15006 { eval $1=; unset $1;}
15008 as_unset
=as_fn_unset
15009 # as_fn_append VAR VALUE
15010 # ----------------------
15011 # Append the text in VALUE to the end of the definition contained in VAR. Take
15012 # advantage of any shell optimizations that allow amortized linear growth over
15013 # repeated appends, instead of the typical quadratic growth present in naive
15015 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15016 eval 'as_fn_append ()
15027 # as_fn_arith ARG...
15028 # ------------------
15029 # Perform arithmetic evaluation on the ARGs, and store the result in the
15030 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15031 # must be portable across $(()) and expr.
15032 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15033 eval 'as_fn_arith ()
15040 as_val
=`expr "$@" || test $? -eq 1`
15045 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15046 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15052 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15053 as_basename
=basename
15058 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15064 as_me
=`$as_basename -- "$0" ||
15065 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15066 X"$0" : 'X\(//\)$' \| \
15067 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15069 sed '/^.*\/\([^/][^/]*\)\/*$/{
15083 # Avoid depending upon Character Ranges.
15084 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15085 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15086 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15087 as_cr_digits
='0123456789'
15088 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15090 ECHO_C
= ECHO_N
= ECHO_T
=
15091 case `echo -n x` in #(((((
15093 case `echo 'xy\c'` in
15094 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15096 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15103 rm -f conf$$ conf$$.exe conf$$.
file
15104 if test -d conf$$.dir
; then
15105 rm -f conf$$.dir
/conf$$.
file
15108 mkdir conf$$.dir
2>/dev
/null
15110 if (echo >conf$$.
file) 2>/dev
/null
; then
15111 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15113 # ... but there are two gotchas:
15114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15116 # In both cases, we have to default to `cp -p'.
15117 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15119 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15127 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15128 rmdir conf$$.dir
2>/dev
/null
15133 # Create "$as_dir" as a directory, including parents if necessary.
15138 -*) as_dir
=.
/$as_dir;;
15140 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15144 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15145 *) as_qdir
=$as_dir;;
15147 as_dirs
="'$as_qdir' $as_dirs"
15148 as_dir
=`$as_dirname -- "$as_dir" ||
15149 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15150 X"$as_dir" : 'X\(//\)[^/]' \| \
15151 X"$as_dir" : 'X\(//\)$' \| \
15152 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15153 $as_echo X"$as_dir" |
15154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15158 /^X\(\/\/\)[^/].*/{
15171 test -d "$as_dir" && break
15173 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15174 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15178 if mkdir
-p .
2>/dev
/null
; then
15179 as_mkdir_p
='mkdir -p "$as_dir"'
15181 test -d .
/-p && rmdir .
/-p
15185 if test -x / >/dev
/null
2>&1; then
15186 as_test_x
='test -x'
15188 if ls -dL / >/dev
/null
2>&1; then
15195 if test -d "$1"; then
15201 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15202 ???[sx]*):;;*)false;;esac;fi
15206 as_executable_p
=$as_test_x
15208 # Sed expression to map a string onto a valid CPP name.
15209 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15211 # Sed expression to map a string onto a valid variable name.
15212 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15216 ## ----------------------------------- ##
15217 ## Main body of $CONFIG_STATUS script. ##
15218 ## ----------------------------------- ##
15220 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15223 # Save the log message, to keep $0 and so on meaningful, and to
15224 # report actual input values of CONFIG_FILES etc. instead of their
15225 # values after options handling.
15227 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
15228 generated by GNU Autoconf 2.64. Invocation command line was
15230 CONFIG_FILES = $CONFIG_FILES
15231 CONFIG_HEADERS = $CONFIG_HEADERS
15232 CONFIG_LINKS = $CONFIG_LINKS
15233 CONFIG_COMMANDS = $CONFIG_COMMANDS
15236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15241 case $ac_config_files in *"
15242 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15248 # Files that config.status was made for.
15249 config_files="$ac_config_files"
15250 config_commands="$ac_config_commands"
15254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15256 \`$as_me' instantiates files and other configuration actions
15257 from templates according to the current configuration. Unless the files
15258 and actions are specified as TAGs, all are instantiated by default.
15260 Usage: $0 [OPTION]... [TAG]...
15262 -h, --help print this help, then exit
15263 -V, --version print version number and configuration settings, then exit
15264 -q, --quiet, --silent
15265 do not print progress messages
15266 -d, --debug don't remove temporary files
15267 --recheck update $as_me by reconfiguring in the same conditions
15268 --file=FILE[:TEMPLATE]
15269 instantiate the configuration file FILE
15271 Configuration files:
15274 Configuration commands:
15277 Report bugs to the package provider.
15278 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
15279 General help using GNU software: <http://www.gnu.org/gethelp/>."
15282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15284 GNU Vtable Verification Runtime Library config.status 1.0
15285 configured by $0, generated by GNU Autoconf 2.64,
15286 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15288 Copyright (C) 2009 Free Software Foundation, Inc.
15289 This config.status script is free software; the Free Software Foundation
15290 gives unlimited permission to copy, distribute and modify it."
15297 test -n "\$AWK" || AWK=awk
15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15301 # The default lists apply if the user does not specify any file.
15307 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15308 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15319 # Handling of the options.
15320 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15322 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15323 $as_echo "$ac_cs_version"; exit ;;
15324 --debug |
--debu |
--deb |
--de |
--d |
-d )
15326 --file |
--fil |
--fi |
--f )
15329 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15331 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15332 ac_need_defaults
=false
;;
15333 --he |
--h |
--help |
--hel |
-h )
15334 $as_echo "$ac_cs_usage"; exit ;;
15335 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15336 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15339 # This is an error.
15340 -*) as_fn_error
"unrecognized option: \`$1'
15341 Try \`$0 --help' for more information." ;;
15343 *) as_fn_append ac_config_targets
" $1"
15344 ac_need_defaults
=false
;;
15350 ac_configure_extra_args
=
15352 if $ac_cs_silent; then
15354 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15359 if \$ac_cs_recheck; then
15360 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15362 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15363 CONFIG_SHELL='$SHELL'
15364 export CONFIG_SHELL
15369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15373 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15374 ## Running $as_me. ##
15380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15388 with_multisubdir="$with_multisubdir"
15389 with_multisrctop="$with_multisrctop"
15390 with_target_subdir="$with_target_subdir"
15391 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15392 multi_basedir="$multi_basedir"
15393 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15396 GFORTRAN="$GFORTRAN"
15398 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15401 # The HP-UX ksh and POSIX shell print the target directory to stdout
15402 # if CDPATH is set.
15403 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15405 sed_quote_subst='$sed_quote_subst'
15406 double_quote_subst='$double_quote_subst'
15407 delay_variable_subst='$delay_variable_subst'
15408 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15409 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15410 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15411 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15412 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15413 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15414 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15415 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15416 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15417 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15418 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15419 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15420 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15421 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15422 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15423 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15424 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15425 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15426 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15427 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15428 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15429 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15430 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15431 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15432 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15433 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15434 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15435 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15436 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15437 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15438 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15439 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15440 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15441 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15442 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15443 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15444 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15445 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15446 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15447 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15448 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15449 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15450 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15451 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15452 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15453 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15454 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15455 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15456 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"`'
15457 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15458 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15459 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15460 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15461 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15462 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15463 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15464 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15465 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15466 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15467 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15468 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15469 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15470 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15471 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15472 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15473 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15474 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15475 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15476 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15477 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15478 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15479 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15480 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15481 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15482 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15483 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15484 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15485 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15486 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15487 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15488 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15489 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15490 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15491 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15492 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15493 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15494 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15495 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15496 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15497 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15498 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15499 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15500 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15501 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15502 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15503 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15504 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15505 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15506 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15507 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15508 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15509 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15510 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15511 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15512 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15513 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15514 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15515 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15516 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15517 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15518 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15519 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15520 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15521 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15522 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15523 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15524 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15525 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15526 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15527 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15528 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15529 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15530 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15531 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15532 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15533 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15534 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15535 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15536 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15537 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15538 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15539 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15540 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15541 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15542 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15543 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15544 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15545 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15546 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15547 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15548 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15549 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15550 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15551 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15552 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15553 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15554 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15555 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15556 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15557 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15558 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15559 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15560 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15561 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15562 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15563 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15564 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15565 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15566 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15567 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15568 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15569 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15570 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15571 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15572 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15573 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15574 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15575 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15576 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15577 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15578 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15579 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15580 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15581 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15582 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15585 LTCFLAGS='$LTCFLAGS'
15586 compiler='$compiler_DEFAULT'
15588 # A function that is used when there is no print builtin or printf.
15589 func_fallback_echo ()
15591 eval 'cat <<_LTECHO_EOF
15596 # Quote evaled strings.
15610 deplibs_check_method \
15619 lt_cv_sys_global_symbol_pipe \
15620 lt_cv_sys_global_symbol_to_cdecl \
15621 lt_cv_sys_global_symbol_to_c_name_address \
15622 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15623 lt_prog_compiler_no_builtin_flag \
15624 lt_prog_compiler_wl \
15625 lt_prog_compiler_pic \
15626 lt_prog_compiler_static \
15627 lt_cv_prog_compiler_c_o \
15635 export_dynamic_flag_spec \
15636 whole_archive_flag_spec \
15637 compiler_needs_object \
15639 allow_undefined_flag \
15640 no_undefined_flag \
15641 hardcode_libdir_flag_spec \
15642 hardcode_libdir_flag_spec_ld \
15643 hardcode_libdir_separator \
15648 variables_saved_for_relink \
15650 library_names_spec \
15652 install_override_mode \
15656 compiler_lib_search_dirs \
15661 compiler_lib_search_path \
15665 lt_prog_compiler_no_builtin_flag_CXX \
15666 lt_prog_compiler_wl_CXX \
15667 lt_prog_compiler_pic_CXX \
15668 lt_prog_compiler_static_CXX \
15669 lt_cv_prog_compiler_c_o_CXX \
15670 export_dynamic_flag_spec_CXX \
15671 whole_archive_flag_spec_CXX \
15672 compiler_needs_object_CXX \
15674 allow_undefined_flag_CXX \
15675 no_undefined_flag_CXX \
15676 hardcode_libdir_flag_spec_CXX \
15677 hardcode_libdir_flag_spec_ld_CXX \
15678 hardcode_libdir_separator_CXX \
15679 fix_srcfile_path_CXX \
15680 exclude_expsyms_CXX \
15681 include_expsyms_CXX \
15682 file_list_spec_CXX \
15683 compiler_lib_search_dirs_CXX \
15684 predep_objects_CXX \
15685 postdep_objects_CXX \
15688 compiler_lib_search_path_CXX; do
15689 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15690 *[\\\\\\\`\\"\\\$]*)
15691 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15694 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15699 # Double-quote double-evaled strings.
15700 for var in reload_cmds \
15701 old_postinstall_cmds \
15702 old_postuninstall_cmds \
15704 extract_expsyms_cmds \
15705 old_archive_from_new_cmds \
15706 old_archive_from_expsyms_cmds \
15708 archive_expsym_cmds \
15710 module_expsym_cmds \
15711 export_symbols_cmds \
15714 postuninstall_cmds \
15716 sys_lib_search_path_spec \
15717 sys_lib_dlsearch_path_spec \
15719 old_archive_cmds_CXX \
15720 old_archive_from_new_cmds_CXX \
15721 old_archive_from_expsyms_cmds_CXX \
15723 archive_expsym_cmds_CXX \
15725 module_expsym_cmds_CXX \
15726 export_symbols_cmds_CXX \
15727 prelink_cmds_CXX; do
15728 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15729 *[\\\\\\\`\\"\\\$]*)
15730 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15733 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15738 ac_aux_dir='$ac_aux_dir'
15739 xsi_shell='$xsi_shell'
15740 lt_shell_append='$lt_shell_append'
15742 # See if we are running on zsh, and set the options which allow our
15743 # commands through without removal of \ escapes INIT.
15744 if test -n "\${ZSH_VERSION+set}" ; then
15745 setopt NO_GLOB_SUBST
15751 TIMESTAMP='$TIMESTAMP'
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15764 # Handling of arguments.
15765 for ac_config_target
in $ac_config_targets
15767 case $ac_config_target in
15768 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15769 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15770 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15771 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15772 "./Makefile") CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
15773 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15775 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15780 # If the user did not use the arguments to specify the items to instantiate,
15781 # then the envvar interface is used. Set only those that are not.
15782 # We use the long form for the default assignment because of an extremely
15783 # bizarre bug on SunOS 4.1.3.
15784 if $ac_need_defaults; then
15785 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15786 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15789 # Have a temporary directory for convenience. Make it in the build tree
15790 # simply because there is no reason against having it here, and in addition,
15791 # creating and moving files from /tmp can sometimes cause problems.
15792 # Hook for its removal unless debugging.
15793 # Note that there is a small window in which the directory will not be cleaned:
15794 # after its creation but before its name has been assigned to `$tmp'.
15798 trap 'exit_status=$?
15799 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15801 trap 'as_fn_exit 1' 1 2 13 15
15803 # Create a (secure) tmp directory for tmp files.
15806 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15807 test -n "$tmp" && test -d "$tmp"
15810 tmp
=.
/conf$$
-$RANDOM
15811 (umask 077 && mkdir
"$tmp")
15812 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15814 # Set up the scripts for CONFIG_FILES section.
15815 # No need to generate them if there are no CONFIG_FILES.
15816 # This happens for instance with `./config.status config.h'.
15817 if test -n "$CONFIG_FILES"; then
15820 ac_cr
=`echo X | tr X '\015'`
15821 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15822 # But we know of no other shell where ac_cr would be empty at this
15823 # point, so we can use a bashism as a fallback.
15824 if test "x$ac_cr" = x
; then
15825 eval ac_cr
=\$
\'\\r
\'
15827 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15828 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15831 ac_cs_awk_cr
=$ac_cr
15834 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15839 echo "cat >conf$$subs.awk <<_ACEOF" &&
15840 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15842 } >conf$$subs.sh ||
15843 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15844 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15846 for ac_last_try in false false false false false :; do
15847 . ./conf$$subs.sh ||
15848 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15850 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15851 if test $ac_delim_n = $ac_delim_num; then
15853 elif $ac_last_try; then
15854 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15856 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15859 rm -f conf$$subs.sh
15861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15862 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15866 s/^/S["/; s
/!.
*/"]=/
15876 s/\(.\{148\}\).*/\1/
15878 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15883 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15890 s/\(.\{148\}\).*/\1/
15892 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15896 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15901 ' <conf$$subs.awk | sed '
15906 ' >>$CONFIG_STATUS || ac_write_fail=1
15907 rm -f conf$$subs.awk
15908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15910 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15911 for (key in S) S_is_set[key] = 1
15917 nfields = split(line, field, "@
")
15919 len = length(field[1])
15920 for (i = 2; i < nfields; i++) {
15922 keylen = length(key)
15923 if (S_is_set[key]) {
15925 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15926 len += length(value) + length(field[++i])
15937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15938 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15939 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15942 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15943 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15948 # trailing colons and then remove the whole line if VPATH becomes empty
15949 # (actually we leave an empty line to preserve line numbers).
15950 if test "x
$srcdir" = x.; then
15951 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15952 s/:*\$(srcdir):*/:/
15953 s/:*\${srcdir}:*/:/
15955 s/^\([^=]*=[ ]*\):*/\1/
15961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15962 fi # test -n "$CONFIG_FILES"
15965 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15970 :[FHLC]) ac_mode=$ac_tag; continue;;
15972 case $ac_mode$ac_tag in
15974 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15975 :[FH]-) ac_tag=-:-;;
15976 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15993 -) ac_f="$tmp/stdin";;
15994 *) # Look for the file first in the build tree, then in the source tree
15995 # (if the path is not absolute). The absolute path cannot be DOS-style,
15996 # because $ac_f cannot contain `:'.
16000 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16002 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16004 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16005 as_fn_append ac_file_inputs " '$ac_f'"
16008 # Let's still pretend it is `configure' which instantiates (i.e., don't
16009 # use $as_me), people would be surprised to read:
16010 # /* config.h. Generated by config.status. */
16011 configure_input='Generated from '`
16012 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16014 if test x"$ac_file" != x-; then
16015 configure_input="$ac_file.
$configure_input"
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16017 $as_echo "$as_me: creating
$ac_file" >&6;}
16019 # Neutralize special characters interpreted by sed in replacement strings.
16020 case $configure_input in #(
16021 *\&* | *\|* | *\\* )
16022 ac_sed_conf_input=`$as_echo "$configure_input" |
16023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16024 *) ac_sed_conf_input=$configure_input;;
16028 *:-:* | *:-) cat >"$tmp/stdin
" \
16029 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16034 ac_dir=`$as_dirname -- "$ac_file" ||
16035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16036 X"$ac_file" : 'X\(//\)[^/]' \| \
16037 X"$ac_file" : 'X\(//\)$' \| \
16038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16039 $as_echo X"$ac_file" |
16040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16044 /^X\(\/\/\)[^/].*/{
16057 as_dir="$ac_dir"; as_fn_mkdir_p
16061 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16063 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16064 # A "..
" for each directory in $ac_dir_suffix.
16065 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16066 case $ac_top_builddir_sub in
16067 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16068 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16071 ac_abs_top_builddir=$ac_pwd
16072 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16073 # for backward compatibility:
16074 ac_top_builddir=$ac_top_build_prefix
16077 .) # We are building in place.
16079 ac_top_srcdir=$ac_top_builddir_sub
16080 ac_abs_top_srcdir=$ac_pwd ;;
16081 [\\/]* | ?:[\\/]* ) # Absolute name.
16082 ac_srcdir=$srcdir$ac_dir_suffix;
16083 ac_top_srcdir=$srcdir
16084 ac_abs_top_srcdir=$srcdir ;;
16085 *) # Relative name.
16086 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16087 ac_top_srcdir=$ac_top_build_prefix$srcdir
16088 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16090 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16100 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16101 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16103 ac_MKDIR_P=$MKDIR_P
16105 [\\/$]* | ?:[\\/]* ) ;;
16106 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16111 # If the template does not know about datarootdir, expand it.
16112 # FIXME: This hack should be removed a few years after 2.60.
16113 ac_datarootdir_hack=; ac_datarootdir_seen=
16124 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16125 *datarootdir*) ac_datarootdir_seen=yes;;
16126 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16128 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16131 ac_datarootdir_hack='
16132 s&@datadir@&$datadir&g
16133 s&@docdir@&$docdir&g
16134 s&@infodir@&$infodir&g
16135 s&@localedir@&$localedir&g
16136 s&@mandir@&$mandir&g
16137 s&\\\${datarootdir}&$datarootdir&g' ;;
16141 # Neutralize VPATH when `$srcdir' = `.'.
16142 # Shell code in configure.ac might set extrasub.
16143 # FIXME: do we really want to maintain this feature?
16144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16145 ac_sed_extra="$ac_vpsub
16148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16150 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16151 s|@configure_input@|
$ac_sed_conf_input|
;t t
16152 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16153 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16154 s
&@srcdir@
&$ac_srcdir&;t t
16155 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16156 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16157 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16158 s
&@builddir@
&$ac_builddir&;t t
16159 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16160 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16161 s
&@INSTALL@
&$ac_INSTALL&;t t
16162 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16163 $ac_datarootdir_hack
16165 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16166 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16168 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16169 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16170 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16172 which seems to be undefined. Please make sure it is defined." >&5
16173 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16174 which seems to be undefined. Please make sure it is defined." >&2;}
16178 -) cat "$tmp/out" && rm -f "$tmp/out";;
16179 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16181 || as_fn_error "could not create $ac_file" "$LINENO" 5
16185 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16186 $as_echo "$as_me: executing $ac_file commands" >&6;}
16191 case $ac_file$ac_mode in
16193 # Only add multilib support code if we just rebuilt the top-level
16195 case " $CONFIG_FILES " in
16197 ac_file=Makefile . ${multi_basedir}/config-ml.in
16200 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16201 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16202 # are listed without --file. Let's play safe and only
enable the
eval
16203 # if we detect the quoting.
16204 case $CONFIG_FILES in
16205 *\'*) eval set x
"$CONFIG_FILES" ;;
16206 *) set x
$CONFIG_FILES ;;
16211 # Strip MF so we end up with the name of the file.
16212 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16213 # Check whether this is an Automake generated Makefile or not.
16214 # We used to match only the files named `Makefile.in', but
16215 # some people rename them; so instead we look at the file content.
16216 # Grep'ing the first line is not enough: some people post-process
16217 # each Makefile.in and add a new line on top of each file to say so.
16218 # Grep'ing the whole file is not good either: AIX grep has a line
16219 # limit of 2048, but all sed's we know have understand at least 4000.
16220 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16221 dirpart
=`$as_dirname -- "$mf" ||
16222 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16223 X"$mf" : 'X\(//\)[^/]' \| \
16224 X"$mf" : 'X\(//\)$' \| \
16225 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16231 /^X\(\/\/\)[^/].*/{
16247 # Extract the definition of DEPDIR, am__include, and am__quote
16248 # from the Makefile without running `make'.
16249 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16250 test -z "$DEPDIR" && continue
16251 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16252 test -z "am__include" && continue
16253 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16254 # When using ansi2knr, U may be empty or an underscore; expand it
16255 U
=`sed -n 's/^U = //p' < "$mf"`
16256 # Find all dependency output files, they are included files with
16257 # $(DEPDIR) in their names. We invoke sed twice because it is the
16258 # simplest approach to changing $(DEPDIR) to its actual value in the
16260 for file in `sed -n "
16261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16263 # Make sure the directory exists.
16264 test -f "$dirpart/$file" && continue
16265 fdir
=`$as_dirname -- "$file" ||
16266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16267 X"$file" : 'X\(//\)[^/]' \| \
16268 X"$file" : 'X\(//\)$' \| \
16269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16270 $as_echo X"$file" |
16271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16275 /^X\(\/\/\)[^/].*/{
16288 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16289 # echo "creating $dirpart/$file"
16290 echo '# dummy' > "$dirpart/$file"
16297 # See if we are running on zsh, and set the options which allow our
16298 # commands through without removal of \ escapes.
16299 if test -n "${ZSH_VERSION+set}" ; then
16300 setopt NO_GLOB_SUBST
16303 cfgfile
="${ofile}T"
16304 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16307 cat <<_LT_EOF >> "$cfgfile"
16310 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16311 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16312 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16313 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16315 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16316 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16317 # Written by Gordon Matzigkeit, 1996
16319 # This file is part of GNU Libtool.
16321 # GNU Libtool is free software; you can redistribute it and/or
16322 # modify it under the terms of the GNU General Public License as
16323 # published by the Free Software Foundation; either version 2 of
16324 # the License, or (at your option) any later version.
16326 # As a special exception to the GNU General Public License,
16327 # if you distribute this file as part of a program or library that
16328 # is built using GNU Libtool, you may include this file under the
16329 # same distribution terms that you use for the rest of that program.
16331 # GNU Libtool is distributed in the hope that it will be useful,
16332 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16333 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16334 # GNU General Public License for more details.
16336 # You should have received a copy of the GNU General Public License
16337 # along with GNU Libtool; see the file COPYING. If not, a copy
16338 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16339 # obtained by writing to the Free Software Foundation, Inc.,
16340 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16343 # The names of the tagged configurations supported by this script.
16344 available_tags="CXX "
16346 # ### BEGIN LIBTOOL CONFIG
16348 # Which release of libtool.m4 was used?
16349 macro_version=$macro_version
16350 macro_revision=$macro_revision
16352 # Whether or not to build shared libraries.
16353 build_libtool_libs=$enable_shared
16355 # Whether or not to build static libraries.
16356 build_old_libs=$enable_static
16358 # What type of objects to build.
16361 # Whether or not to optimize for fast installation.
16362 fast_install=$enable_fast_install
16364 # Shell to use when invoking shell scripts.
16367 # An echo program that protects backslashes.
16371 host_alias=$host_alias
16375 # The build system.
16376 build_alias=$build_alias
16380 # A sed program that does not truncate output.
16383 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16384 Xsed="\$SED -e 1s/^X//"
16386 # A grep program that handles long lines.
16392 # A literal string matcher.
16395 # A BSD- or MS-compatible name lister.
16398 # Whether we need soft or hard links.
16401 # What is the maximum length of a command?
16402 max_cmd_len=$max_cmd_len
16404 # Object file suffix (normally "o").
16407 # Executable file suffix (normally "").
16410 # whether the shell understands "unset".
16413 # turn spaces into newlines.
16416 # turn newlines into spaces.
16419 # An object symbol dumper.
16420 OBJDUMP=$lt_OBJDUMP
16422 # Method to check whether dependent libraries are shared objects.
16423 deplibs_check_method=$lt_deplibs_check_method
16425 # Command to use when deplibs_check_method == "file_magic".
16426 file_magic_cmd=$lt_file_magic_cmd
16430 AR_FLAGS=$lt_AR_FLAGS
16432 # A symbol stripping program.
16435 # Commands used to install an old-style archive.
16437 old_postinstall_cmds=$lt_old_postinstall_cmds
16438 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16440 # Whether to use a lock for old archive extraction.
16441 lock_old_archive_extraction=$lock_old_archive_extraction
16446 # LTCC compiler flags.
16447 LTCFLAGS=$lt_CFLAGS
16449 # Take the output of nm and produce a listing of raw symbols and C names.
16450 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16452 # Transform the output of nm in a proper C declaration.
16453 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16455 # Transform the output of nm in a C name address pair.
16456 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16458 # Transform the output of nm in a C name address pair when lib prefix is needed.
16459 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16461 # The name of the directory that contains temporary libtool files.
16464 # Used to examine libraries when file_magic_cmd begins with "file".
16465 MAGIC_CMD=$MAGIC_CMD
16467 # Must we lock files when doing compilation?
16468 need_locks=$lt_need_locks
16470 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16471 DSYMUTIL=$lt_DSYMUTIL
16473 # Tool to change global to local symbols on Mac OS X.
16476 # Tool to manipulate fat objects and archives on Mac OS X.
16479 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16482 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16483 OTOOL64=$lt_OTOOL64
16485 # Old archive suffix (normally "a").
16488 # Shared library suffix (normally ".so").
16489 shrext_cmds=$lt_shrext_cmds
16491 # The commands to extract the exported symbol list from a shared archive.
16492 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16494 # Variables whose values should be saved in libtool wrapper scripts and
16495 # restored at link time.
16496 variables_saved_for_relink=$lt_variables_saved_for_relink
16498 # Do we need the "lib" prefix for modules?
16499 need_lib_prefix=$need_lib_prefix
16501 # Do we need a version for libraries?
16502 need_version=$need_version
16504 # Library versioning type.
16505 version_type=$version_type
16507 # Shared library runtime path variable.
16508 runpath_var=$runpath_var
16510 # Shared library path variable.
16511 shlibpath_var=$shlibpath_var
16513 # Is shlibpath searched before the hard-coded library search path?
16514 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16516 # Format of library name prefix.
16517 libname_spec=$lt_libname_spec
16519 # List of archive names. First name is the real one, the rest are links.
16520 # The last name is the one that the linker finds with -lNAME
16521 library_names_spec=$lt_library_names_spec
16523 # The coded name of the library, if different from the real name.
16524 soname_spec=$lt_soname_spec
16526 # Permission mode override for installation of shared libraries.
16527 install_override_mode=$lt_install_override_mode
16529 # Command to use after installation of a shared archive.
16530 postinstall_cmds=$lt_postinstall_cmds
16532 # Command to use after uninstallation of a shared archive.
16533 postuninstall_cmds=$lt_postuninstall_cmds
16535 # Commands used to finish a libtool library installation in a directory.
16536 finish_cmds=$lt_finish_cmds
16538 # As "finish_cmds", except a single script fragment to be evaled but
16540 finish_eval=$lt_finish_eval
16542 # Whether we should hardcode library paths into libraries.
16543 hardcode_into_libs=$hardcode_into_libs
16545 # Compile-time system search path for libraries.
16546 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16548 # Run-time system search path for libraries.
16549 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16551 # Whether dlopen is supported.
16552 dlopen_support=$enable_dlopen
16554 # Whether dlopen of programs is supported.
16555 dlopen_self=$enable_dlopen_self
16557 # Whether dlopen of statically linked programs is supported.
16558 dlopen_self_static=$enable_dlopen_self_static
16560 # Commands to strip libraries.
16561 old_striplib=$lt_old_striplib
16562 striplib=$lt_striplib
16565 # The linker used to build libraries.
16568 # How to create reloadable object files.
16569 reload_flag=$lt_reload_flag
16570 reload_cmds=$lt_reload_cmds
16572 # Commands used to build an old-style archive.
16573 old_archive_cmds=$lt_old_archive_cmds
16575 # A language specific compiler.
16578 # Is the compiler the GNU compiler?
16581 # Compiler flag to turn off builtin functions.
16582 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16584 # How to pass a linker flag through the compiler.
16585 wl=$lt_lt_prog_compiler_wl
16587 # Additional compiler flags for building library objects.
16588 pic_flag=$lt_lt_prog_compiler_pic
16590 # Compiler flag to prevent dynamic linking.
16591 link_static_flag=$lt_lt_prog_compiler_static
16593 # Does compiler simultaneously support -c and -o options?
16594 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16596 # Whether or not to add -lc for building shared libraries.
16597 build_libtool_need_lc=$archive_cmds_need_lc
16599 # Whether or not to disallow shared libs when runtime libs are static.
16600 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16602 # Compiler flag to allow reflexive dlopens.
16603 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16605 # Compiler flag to generate shared objects directly from archives.
16606 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16608 # Whether the compiler copes with passing no objects directly.
16609 compiler_needs_object=$lt_compiler_needs_object
16611 # Create an old-style archive from a shared archive.
16612 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16614 # Create a temporary old-style archive to link instead of a shared archive.
16615 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16617 # Commands used to build a shared archive.
16618 archive_cmds=$lt_archive_cmds
16619 archive_expsym_cmds=$lt_archive_expsym_cmds
16621 # Commands used to build a loadable module if different from building
16622 # a shared archive.
16623 module_cmds=$lt_module_cmds
16624 module_expsym_cmds=$lt_module_expsym_cmds
16626 # Whether we are building with GNU ld or not.
16627 with_gnu_ld=$lt_with_gnu_ld
16629 # Flag that allows shared libraries with undefined symbols to be built.
16630 allow_undefined_flag=$lt_allow_undefined_flag
16632 # Flag that enforces no undefined symbols.
16633 no_undefined_flag=$lt_no_undefined_flag
16635 # Flag to hardcode \$libdir into a binary during linking.
16636 # This must work even if \$libdir does not exist
16637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16639 # If ld is used when linking, flag to hardcode \$libdir into a binary
16640 # during linking. This must work even if \$libdir does not exist.
16641 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16643 # Whether we need a single "-rpath" flag with a separated argument.
16644 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16646 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16647 # DIR into the resulting binary.
16648 hardcode_direct=$hardcode_direct
16650 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16651 # DIR into the resulting binary and the resulting library dependency is
16652 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16653 # library is relocated.
16654 hardcode_direct_absolute=$hardcode_direct_absolute
16656 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16657 # into the resulting binary.
16658 hardcode_minus_L=$hardcode_minus_L
16660 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16661 # into the resulting binary.
16662 hardcode_shlibpath_var=$hardcode_shlibpath_var
16664 # Set to "yes" if building a shared library automatically hardcodes DIR
16665 # into the library and all subsequent libraries and executables linked
16667 hardcode_automatic=$hardcode_automatic
16669 # Set to yes if linker adds runtime paths of dependent libraries
16670 # to runtime path list.
16671 inherit_rpath=$inherit_rpath
16673 # Whether libtool must link a program against all its dependency libraries.
16674 link_all_deplibs=$link_all_deplibs
16676 # Fix the shell variable \$srcfile for the compiler.
16677 fix_srcfile_path=$lt_fix_srcfile_path
16679 # Set to "yes" if exported symbols are required.
16680 always_export_symbols=$always_export_symbols
16682 # The commands to list exported symbols.
16683 export_symbols_cmds=$lt_export_symbols_cmds
16685 # Symbols that should not be listed in the preloaded symbols.
16686 exclude_expsyms=$lt_exclude_expsyms
16688 # Symbols that must always be exported.
16689 include_expsyms=$lt_include_expsyms
16691 # Commands necessary for linking programs (against libraries) with templates.
16692 prelink_cmds=$lt_prelink_cmds
16694 # Specify filename containing input files.
16695 file_list_spec=$lt_file_list_spec
16697 # How to hardcode a shared library path into an executable.
16698 hardcode_action=$hardcode_action
16700 # The directories searched by this compiler when creating a shared library.
16701 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16703 # Dependencies to place before and after the objects being linked to
16704 # create a shared library.
16705 predep_objects=$lt_predep_objects
16706 postdep_objects=$lt_postdep_objects
16707 predeps=$lt_predeps
16708 postdeps=$lt_postdeps
16710 # The library search path used internally by the compiler when linking
16711 # a shared library.
16712 compiler_lib_search_path=$lt_compiler_lib_search_path
16714 # ### END LIBTOOL CONFIG
16720 cat <<\_LT_EOF
>> "$cfgfile"
16721 # AIX sometimes has problems with the GCC collect2 program. For some
16722 # reason, if we set the COLLECT_NAMES environment variable, the problems
16723 # vanish in a puff of smoke.
16724 if test "X${COLLECT_NAMES+set}" != Xset
; then
16726 export COLLECT_NAMES
16733 ltmain
="$ac_aux_dir/ltmain.sh"
16736 # We use sed instead of cat because bash on DJGPP gets confused if
16737 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16738 # text mode, it properly converts lines to CR/LF. This bash problem
16739 # is reportedly fixed, but why not run on old versions too?
16740 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16741 ||
(rm -f "$cfgfile"; exit 1)
16745 cat << \_LT_EOF
>> "$cfgfile"
16747 # func_dirname file append nondir_replacement
16748 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16749 # otherwise set result to NONDIR_REPLACEMENT.
16753 */*) func_dirname_result
="${1%/*}${2}" ;;
16754 * ) func_dirname_result
="${3}" ;;
16758 # func_basename file
16761 func_basename_result
="${1##*/}"
16764 # func_dirname_and_basename file append nondir_replacement
16765 # perform func_basename and func_dirname in a single function
16767 # dirname: Compute the dirname of FILE. If nonempty,
16768 # add APPEND to the result, otherwise set result
16769 # to NONDIR_REPLACEMENT.
16770 # value returned in "$func_dirname_result"
16771 # basename: Compute filename of FILE.
16772 # value retuned in "$func_basename_result"
16773 # Implementation must be kept synchronized with func_dirname
16774 # and func_basename. For efficiency, we do not delegate to
16775 # those functions but instead duplicate the functionality here.
16776 func_dirname_and_basename
()
16779 */*) func_dirname_result
="${1%/*}${2}" ;;
16780 * ) func_dirname_result
="${3}" ;;
16782 func_basename_result
="${1##*/}"
16785 # func_stripname prefix suffix name
16786 # strip PREFIX and SUFFIX off of NAME.
16787 # PREFIX and SUFFIX must not contain globbing or regex special
16788 # characters, hashes, percent signs, but SUFFIX may contain a leading
16789 # dot (in which case that matches only a dot).
16792 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16793 # positional parameters, so assign one to ordinary parameter first.
16794 func_stripname_result
=${3}
16795 func_stripname_result
=${func_stripname_result#"${1}"}
16796 func_stripname_result
=${func_stripname_result%"${2}"}
16802 func_opt_split_opt
=${1%%=*}
16803 func_opt_split_arg
=${1#*=}
16810 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16811 *) func_lo2o_result
=${1} ;;
16815 # func_xform libobj-or-source
16818 func_xform_result
=${1%.*}.lo
16821 # func_arith arithmetic-term...
16824 func_arith_result
=$
(( $
* ))
16828 # STRING may not start with a hyphen.
16831 func_len_result
=${#1}
16836 *) # Bourne compatible functions.
16837 cat << \_LT_EOF
>> "$cfgfile"
16839 # func_dirname file append nondir_replacement
16840 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16841 # otherwise set result to NONDIR_REPLACEMENT.
16844 # Extract subdirectory from the argument.
16845 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16846 if test "X$func_dirname_result" = "X${1}"; then
16847 func_dirname_result
="${3}"
16849 func_dirname_result
="$func_dirname_result${2}"
16853 # func_basename file
16856 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16860 # func_stripname prefix suffix name
16861 # strip PREFIX and SUFFIX off of NAME.
16862 # PREFIX and SUFFIX must not contain globbing or regex special
16863 # characters, hashes, percent signs, but SUFFIX may contain a leading
16864 # dot (in which case that matches only a dot).
16865 # func_strip_suffix prefix name
16869 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16870 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16875 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16876 my_sed_long_arg
='1s/^-[^=]*=//'
16881 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16882 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16888 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16891 # func_xform libobj-or-source
16894 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16897 # func_arith arithmetic-term...
16900 func_arith_result
=`expr "$@"`
16904 # STRING may not start with a hyphen.
16907 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16913 case $lt_shell_append in
16915 cat << \_LT_EOF
>> "$cfgfile"
16917 # func_append var value
16918 # Append VALUE to the end of shell variable VAR.
16926 cat << \_LT_EOF
>> "$cfgfile"
16928 # func_append var value
16929 # Append VALUE to the end of shell variable VAR.
16940 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16941 ||
(rm -f "$cfgfile"; exit 1)
16943 mv -f "$cfgfile" "$ofile" ||
16944 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16948 cat <<_LT_EOF >> "$ofile"
16950 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16952 # The linker used to build libraries.
16955 # How to create reloadable object files.
16956 reload_flag=$lt_reload_flag_CXX
16957 reload_cmds=$lt_reload_cmds_CXX
16959 # Commands used to build an old-style archive.
16960 old_archive_cmds=$lt_old_archive_cmds_CXX
16962 # A language specific compiler.
16963 CC=$lt_compiler_CXX
16965 # Is the compiler the GNU compiler?
16968 # Compiler flag to turn off builtin functions.
16969 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16971 # How to pass a linker flag through the compiler.
16972 wl=$lt_lt_prog_compiler_wl_CXX
16974 # Additional compiler flags for building library objects.
16975 pic_flag=$lt_lt_prog_compiler_pic_CXX
16977 # Compiler flag to prevent dynamic linking.
16978 link_static_flag=$lt_lt_prog_compiler_static_CXX
16980 # Does compiler simultaneously support -c and -o options?
16981 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16983 # Whether or not to add -lc for building shared libraries.
16984 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16986 # Whether or not to disallow shared libs when runtime libs are static.
16987 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16989 # Compiler flag to allow reflexive dlopens.
16990 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16992 # Compiler flag to generate shared objects directly from archives.
16993 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16995 # Whether the compiler copes with passing no objects directly.
16996 compiler_needs_object=$lt_compiler_needs_object_CXX
16998 # Create an old-style archive from a shared archive.
16999 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17001 # Create a temporary old-style archive to link instead of a shared archive.
17002 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17004 # Commands used to build a shared archive.
17005 archive_cmds=$lt_archive_cmds_CXX
17006 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17008 # Commands used to build a loadable module if different from building
17009 # a shared archive.
17010 module_cmds=$lt_module_cmds_CXX
17011 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17013 # Whether we are building with GNU ld or not.
17014 with_gnu_ld=$lt_with_gnu_ld_CXX
17016 # Flag that allows shared libraries with undefined symbols to be built.
17017 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17019 # Flag that enforces no undefined symbols.
17020 no_undefined_flag=$lt_no_undefined_flag_CXX
17022 # Flag to hardcode \$libdir into a binary during linking.
17023 # This must work even if \$libdir does not exist
17024 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17026 # If ld is used when linking, flag to hardcode \$libdir into a binary
17027 # during linking. This must work even if \$libdir does not exist.
17028 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17030 # Whether we need a single "-rpath" flag with a separated argument.
17031 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17033 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17034 # DIR into the resulting binary.
17035 hardcode_direct=$hardcode_direct_CXX
17037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17038 # DIR into the resulting binary and the resulting library dependency is
17039 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17040 # library is relocated.
17041 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17043 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17044 # into the resulting binary.
17045 hardcode_minus_L=$hardcode_minus_L_CXX
17047 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17048 # into the resulting binary.
17049 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17051 # Set to "yes" if building a shared library automatically hardcodes DIR
17052 # into the library and all subsequent libraries and executables linked
17054 hardcode_automatic=$hardcode_automatic_CXX
17056 # Set to yes if linker adds runtime paths of dependent libraries
17057 # to runtime path list.
17058 inherit_rpath=$inherit_rpath_CXX
17060 # Whether libtool must link a program against all its dependency libraries.
17061 link_all_deplibs=$link_all_deplibs_CXX
17063 # Fix the shell variable \$srcfile for the compiler.
17064 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17066 # Set to "yes" if exported symbols are required.
17067 always_export_symbols=$always_export_symbols_CXX
17069 # The commands to list exported symbols.
17070 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17072 # Symbols that should not be listed in the preloaded symbols.
17073 exclude_expsyms=$lt_exclude_expsyms_CXX
17075 # Symbols that must always be exported.
17076 include_expsyms=$lt_include_expsyms_CXX
17078 # Commands necessary for linking programs (against libraries) with templates.
17079 prelink_cmds=$lt_prelink_cmds_CXX
17081 # Specify filename containing input files.
17082 file_list_spec=$lt_file_list_spec_CXX
17084 # How to hardcode a shared library path into an executable.
17085 hardcode_action=$hardcode_action_CXX
17087 # The directories searched by this compiler when creating a shared library.
17088 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17090 # Dependencies to place before and after the objects being linked to
17091 # create a shared library.
17092 predep_objects=$lt_predep_objects_CXX
17093 postdep_objects=$lt_postdep_objects_CXX
17094 predeps=$lt_predeps_CXX
17095 postdeps=$lt_postdeps_CXX
17097 # The library search path used internally by the compiler when linking
17098 # a shared library.
17099 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17101 # ### END LIBTOOL TAG CONFIG: CXX
17105 "./Makefile":F
) cat > vpsed$$
<< \_EOF
17106 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17108 sed -f vpsed$$
$ac_file > tmp$$
17111 echo 'MULTISUBDIR =' >> $ac_file
17113 .
${multi_basedir}/config-ml.
in
17114 { ml_norecursion
=; unset ml_norecursion
;}
17116 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17117 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17119 sed -f vpsed$$
$ac_file > tmp$$
17122 echo 'MULTISUBDIR =' >> $ac_file
17124 .
${multi_basedir}/config-ml.
in
17125 { ml_norecursion
=; unset ml_norecursion
;}
17134 ac_clean_files
=$ac_clean_files_save
17136 test $ac_write_fail = 0 ||
17137 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17140 # configure is writing to config.log, and then calls config.status.
17141 # config.status does its own redirection, appending to config.log.
17142 # Unfortunately, on DOS this fails, as config.log is still kept open
17143 # by configure, so config.status won't be able to write to it; its
17144 # output is simply discarded. So we exec the FD to /dev/null,
17145 # effectively closing config.log, so it can be properly (re)opened and
17146 # appended to by config.status. When coming back to configure, we
17147 # need to make the FD available again.
17148 if test "$no_create" != yes; then
17150 ac_config_status_args
=
17151 test "$silent" = yes &&
17152 ac_config_status_args
="$ac_config_status_args --quiet"
17154 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17156 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17157 # would make configure fail if this is the last instruction.
17158 $ac_cs_success || as_fn_exit $?
17160 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17162 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}