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
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
647 MAINTAINER_MODE_FALSE
667 INSTALL_STRIP_PROGRAM
682 ENABLE_VTABLE_VERIFY_FALSE
683 ENABLE_VTABLE_VERIFY_TRUE
694 LIBSTDCXX_RAW_CXX_LDFLAGS
695 LIBSTDCXX_RAW_CXX_CXXFLAGS
737 program_transform_name
750 enable_option_checking
752 enable_version_specific_runtime_libs
754 enable_dependency_tracking
755 enable_maintainer_mode
763 ac_precious_vars
='build_alias
775 # Initialize some variables set by options.
777 ac_init_version
=false
778 ac_unrecognized_opts
=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name
=s
,x
,x
,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir
='${exec_prefix}/bin'
804 sbindir
='${exec_prefix}/sbin'
805 libexecdir
='${exec_prefix}/libexec'
806 datarootdir
='${prefix}/share'
807 datadir
='${datarootdir}'
808 sysconfdir
='${prefix}/etc'
809 sharedstatedir
='${prefix}/com'
810 localstatedir
='${prefix}/var'
811 includedir
='${prefix}/include'
812 oldincludedir
='/usr/include'
813 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
814 infodir
='${datarootdir}/info'
819 libdir
='${exec_prefix}/lib'
820 localedir
='${datarootdir}/locale'
821 mandir
='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\
$ac_option
835 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 # Accept the important Cygnus configure options, so we can diagnose typos.
841 case $ac_dashdash$ac_option in
845 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
847 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
850 -build |
--build |
--buil |
--bui |
--bu)
851 ac_prev
=build_alias
;;
852 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
853 build_alias
=$ac_optarg ;;
855 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
856 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
857 ac_prev
=cache_file
;;
858 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
859 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
860 cache_file
=$ac_optarg ;;
863 cache_file
=config.cache
;;
865 -datadir |
--datadir |
--datadi |
--datad)
867 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
868 datadir
=$ac_optarg ;;
870 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
871 |
--dataroo |
--dataro |
--datar)
872 ac_prev
=datarootdir
;;
873 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
874 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
875 datarootdir
=$ac_optarg ;;
877 -disable-* |
--disable-*)
878 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
881 as_fn_error
"invalid feature name: $ac_useropt"
882 ac_useropt_orig
=$ac_useropt
883 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
889 ac_unrecognized_sep
=', ';;
891 eval enable_
$ac_useropt=no
;;
893 -docdir |
--docdir |
--docdi |
--doc |
--do)
895 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
898 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
900 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
903 -enable-* |
--enable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=\
$ac_optarg ;;
919 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
920 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
921 |
--exec |
--exe |
--ex)
922 ac_prev
=exec_prefix
;;
923 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
924 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
925 |
--exec=* |
--exe=* |
--ex=*)
926 exec_prefix
=$ac_optarg ;;
928 -gas |
--gas |
--ga |
--g)
929 # Obsolete; use --with-gas.
932 -help |
--help |
--hel |
--he |
-h)
934 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
935 ac_init_help
=recursive
;;
936 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
937 ac_init_help
=short
;;
939 -host |
--host |
--hos |
--ho)
940 ac_prev
=host_alias
;;
941 -host=* |
--host=* |
--hos=* |
--ho=*)
942 host_alias
=$ac_optarg ;;
944 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
946 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
948 htmldir
=$ac_optarg ;;
950 -includedir |
--includedir |
--includedi |
--included |
--include \
951 |
--includ |
--inclu |
--incl |
--inc)
952 ac_prev
=includedir
;;
953 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
954 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
955 includedir
=$ac_optarg ;;
957 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
959 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
960 infodir
=$ac_optarg ;;
962 -libdir |
--libdir |
--libdi |
--libd)
964 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
967 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
968 |
--libexe |
--libex |
--libe)
969 ac_prev
=libexecdir
;;
970 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
971 |
--libexe=* |
--libex=* |
--libe=*)
972 libexecdir
=$ac_optarg ;;
974 -localedir |
--localedir |
--localedi |
--localed |
--locale)
976 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
977 localedir
=$ac_optarg ;;
979 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
980 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
981 ac_prev
=localstatedir
;;
982 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
983 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
984 localstatedir
=$ac_optarg ;;
986 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
988 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
992 # Obsolete; use --without-fp.
995 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
996 |
--no-cr |
--no-c |
-n)
999 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1000 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1003 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1004 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1005 |
--oldin |
--oldi |
--old |
--ol |
--o)
1006 ac_prev
=oldincludedir
;;
1007 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1008 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1009 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1010 oldincludedir
=$ac_optarg ;;
1012 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1014 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1015 prefix
=$ac_optarg ;;
1017 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1018 |
--program-pre |
--program-pr |
--program-p)
1019 ac_prev
=program_prefix
;;
1020 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1021 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1022 program_prefix
=$ac_optarg ;;
1024 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1025 |
--program-suf |
--program-su |
--program-s)
1026 ac_prev
=program_suffix
;;
1027 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1028 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1029 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1039 -program-transform-name=* |
--program-transform-name=* \
1040 |
--program-transform-nam=* |
--program-transform-na=* \
1041 |
--program-transform-n=* |
--program-transform-=* \
1042 |
--program-transform=* |
--program-transfor=* \
1043 |
--program-transfo=* |
--program-transf=* \
1044 |
--program-trans=* |
--program-tran=* \
1045 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1046 program_transform_name
=$ac_optarg ;;
1048 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1050 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1051 pdfdir
=$ac_optarg ;;
1053 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1055 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1059 |
-silent |
--silent |
--silen |
--sile |
--sil)
1062 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1064 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1066 sbindir
=$ac_optarg ;;
1068 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1069 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1070 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1072 ac_prev
=sharedstatedir
;;
1073 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1074 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1075 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1077 sharedstatedir
=$ac_optarg ;;
1079 -site |
--site |
--sit)
1081 -site=* |
--site=* |
--sit=*)
1084 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1086 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1087 srcdir
=$ac_optarg ;;
1089 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1090 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1091 ac_prev
=sysconfdir
;;
1092 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1093 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1094 sysconfdir
=$ac_optarg ;;
1096 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1097 ac_prev
=target_alias
;;
1098 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1099 target_alias
=$ac_optarg ;;
1101 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1104 -version |
--version |
--versio |
--versi |
--vers |
-V)
1105 ac_init_version
=: ;;
1108 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1111 as_fn_error
"invalid package name: $ac_useropt"
1112 ac_useropt_orig
=$ac_useropt
1113 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1118 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1119 ac_unrecognized_sep
=', ';;
1121 eval with_
$ac_useropt=\
$ac_optarg ;;
1123 -without-* |
--without-*)
1124 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error
"invalid package name: $ac_useropt"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval with_
$ac_useropt=no
;;
1140 # Obsolete; use --with-x.
1143 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1144 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1145 ac_prev
=x_includes
;;
1146 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1147 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1148 x_includes
=$ac_optarg ;;
1150 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1151 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1152 ac_prev
=x_libraries
;;
1153 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1154 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1155 x_libraries
=$ac_optarg ;;
1157 -*) as_fn_error
"unrecognized option: \`$ac_option'
1158 Try \`$0 --help' for more information."
1162 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1163 # Reject names that are not valid shell variable names.
1164 case $ac_envvar in #(
1165 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1166 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1168 eval $ac_envvar=\
$ac_optarg
1169 export $ac_envvar ;;
1172 # FIXME: should be removed in autoconf 3.0.
1173 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1175 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1176 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1182 if test -n "$ac_prev"; then
1183 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1184 as_fn_error
"missing argument to $ac_option"
1187 if test -n "$ac_unrecognized_opts"; then
1188 case $enable_option_checking in
1190 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1191 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195 # Check all directory arguments for consistency.
1196 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1197 datadir sysconfdir sharedstatedir localstatedir includedir \
1198 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1199 libdir localedir mandir
1201 eval ac_val
=\$
$ac_var
1202 # Remove trailing slashes.
1205 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1206 eval $ac_var=\
$ac_val;;
1208 # Be sure to have absolute directory names.
1210 [\\/$
]* | ?
:[\\/]* ) continue;;
1211 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1213 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target
=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x
; then
1225 if test "x$build_alias" = x
; then
1226 cross_compiling
=maybe
1227 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 as_fn_error
"working directory cannot be determined"
1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1245 as_fn_error
"pwd does not report name of working directory"
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted
=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir
=`$as_dirname -- "$as_myself" ||
1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$as_myself" : 'X\(//\)[^/]' \| \
1255 X"$as_myself" : 'X\(//\)$' \| \
1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1257 $as_echo X"$as_myself" |
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted
=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1284 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1286 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1290 # When building in place, set srcdir=.
1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 # Remove unnecessary trailing slashes from srcdir.
1295 # Double slashes in file names in object file debugging info
1296 # mess up M-x gdb in Emacs.
1298 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 for ac_var
in $ac_precious_vars; do
1301 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1303 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1304 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1308 # Report the --help message.
1310 if test "$ac_init_help" = "long"; then
1311 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.
1314 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1316 Usage: $0 [OPTION]... [VAR=VALUE]...
1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1319 VAR=VALUE. See below for descriptions of some of the useful variables.
1321 Defaults for the options are specified in brackets.
1324 -h, --help display this help and exit
1325 --help=short display options specific to this package
1326 --help=recursive display the short help of all the included packages
1327 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking...' messages
1329 --cache-file=FILE cache test results in FILE [disabled]
1330 -C, --config-cache alias for \`--cache-file=config.cache'
1331 -n, --no-create do not create output files
1332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1334 Installation directories:
1335 --prefix=PREFIX install architecture-independent files in PREFIX
1336 [$ac_default_prefix]
1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 By default, \`make install' will install all the files in
1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1343 for instance \`--prefix=\$HOME'.
1345 For better control, use the options below.
1347 Fine tuning of the installation directories:
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1377 --build=BUILD configure
for building on BUILD
[guessed
]
1378 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1379 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-multilib build many library versions
(default
)
1394 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1395 --enable-vtable-verify Enable vtable verification feature
1396 --disable-dependency-tracking speeds up one-time build
1397 --enable-dependency-tracking do not reject slow dependency extractors
1398 --enable-maintainer-mode enable make rules and dependencies not useful
1399 (and sometimes confusing
) to the casual installer
1400 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1401 --enable-static[=PKGS
] build static libraries
[default
=yes]
1402 --enable-fast-install[=PKGS
]
1403 optimize
for fast installation
[default
=yes]
1404 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1407 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1408 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1409 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1411 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1413 Some influential environment variables
:
1414 CC C compiler
command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1417 nonstandard directory
<lib dir
>
1418 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1419 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1420 you have headers
in a nonstandard directory
<include dir
>
1422 CXX C
++ compiler
command
1423 CXXFLAGS C
++ compiler flags
1424 CXXCPP C
++ preprocessor
1426 Use these variables to override the choices made by
`configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to the package provider.
1430 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1431 General help using GNU software: <http://www.gnu.org/gethelp/>.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439 test -d "$ac_dir" ||
1440 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1461 .) # We are building in place.
1463 ac_top_srcdir=$ac_top_builddir_sub
1464 ac_abs_top_srcdir=$ac_pwd ;;
1465 [\\/]* | ?:[\\/]* ) # Absolute name.
1466 ac_srcdir=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir=$srcdir
1468 ac_abs_top_srcdir=$srcdir ;;
1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status=$?; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" || { ac_status=$?; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 GNU Vtable Verification Runtime Library configure 1.0
1495 generated by GNU Autoconf 2.64
1497 Copyright (C) 2009 Free Software Foundation, Inc.
1498 This configure script is free software; the Free Software Foundation
1499 gives unlimited permission to copy, distribute and modify it.
1504 ## ------------------------ ##
1505 ## Autoconf initialization. ##
1506 ## ------------------------ ##
1508 # ac_fn_c_try_compile LINENO
1509 # --------------------------
1510 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1511 ac_fn_c_try_compile ()
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514 rm -f conftest.$ac_objext
1515 if { { ac_try="$ac_compile"
1517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1518 *) ac_try_echo
=$ac_try;;
1520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_compile") 2>conftest.err
1524 if test -s conftest.err
; then
1525 grep -v '^ *+' conftest.err
>conftest.er1
1526 cat conftest.er1
>&5
1527 mv -f conftest.er1 conftest.err
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && {
1531 test -z "$ac_c_werror_flag" ||
1532 test ! -s conftest.err
1533 } && test -s conftest.
$ac_objext; then :
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.
$ac_ext >&5
1541 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1544 } # ac_fn_c_try_compile
1546 # ac_fn_c_try_cpp LINENO
1547 # ----------------------
1548 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1551 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1552 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1561 if test -s conftest.err; then
1562 grep -v '^ *+' conftest.err >conftest.er1
1563 cat conftest.er1 >&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } >/dev/null && {
1568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1583 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1584 # -------------------------------------------------------
1585 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1586 # the include files in INCLUDES and setting the cache variable VAR
1588 ac_fn_c_check_header_mongrel ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595 $as_echo_n "(cached) " >&6
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1599 $as_echo "$ac_res" >&6; }
1601 # Is the header compilable?
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1603 $as_echo_n "checking $2 usability... " >&6; }
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1609 if ac_fn_c_try_compile "$LINENO"; then :
1610 ac_header_compiler=yes
1612 ac_header_compiler=no
1614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1616 $as_echo "$ac_header_compiler" >&6; }
1618 # Is the header present?
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1620 $as_echo_n "checking $2 presence... " >&6; }
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1625 if ac_fn_c_try_cpp "$LINENO"; then :
1626 ac_header_preproc=yes
1628 ac_header_preproc=no
1630 rm -f conftest.err conftest.$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1632 $as_echo "$ac_header_preproc" >&6; }
1634 # So? What about this header?
1635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1638 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1644 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1646 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1648 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1650 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1658 $as_echo_n "(cached) " >&6
1660 eval "$3=\$ac_header_compiler"
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1668 } # ac_fn_c_check_header_mongrel
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=$ac_status
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1713 # -------------------------------------------------------
1714 # Tests whether HEADER exists and can be compiled using the include files in
1715 # INCLUDES, setting the cache variable VAR accordingly.
1716 ac_fn_c_check_header_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1721 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1722 $as_echo_n "(cached) " >&6
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1729 if ac_fn_c_try_compile "$LINENO"; then :
1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1741 } # ac_fn_c_check_header_compile
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1759 if test -s conftest.err
; then
1760 grep -v '^ *+' conftest.err
>conftest.er1
1761 cat conftest.er1
>&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest
$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 $as_test_x conftest
$ac_exeext
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.
$ac_ext >&5
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1787 } # ac_fn_c_try_link
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func
()
1794 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1798 $as_echo_n "(cached) " >&6
1800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1804 #define $2 innocuous_$2
1806 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char $2 (); below.
1808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809 <limits.h> exists even on freestanding compilers. */
1812 # include <limits.h>
1814 # include <assert.h>
1819 /* Override any GCC internal prototype to avoid an error.
1820 Use char because int might match the return type of a GCC
1821 builtin and then its argument prototype would still apply. */
1826 /* The GNU C library defines this for functions which it implements
1827 to always fail with ENOSYS. Some functions are actually named
1828 something starting with __ and the normal name is an alias. */
1829 #if defined __stub_$2 || defined __stub___$2
1841 if ac_fn_c_try_link
"$LINENO"; then :
1846 rm -f core conftest.err conftest.
$ac_objext \
1847 conftest
$ac_exeext conftest.
$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1854 } # ac_fn_c_check_func
1856 # ac_fn_cxx_try_compile LINENO
1857 # ----------------------------
1858 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1859 ac_fn_cxx_try_compile
()
1861 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1862 rm -f conftest.
$ac_objext
1863 if { { ac_try
="$ac_compile"
1865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_compile") 2>conftest.err
1872 if test -s conftest.err; then
1873 grep -v '^ *+' conftest.err >conftest.er1
1874 cat conftest.er1 >&5
1875 mv -f conftest.er1 conftest.err
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } && {
1879 test -z "$ac_cxx_werror_flag" ||
1880 test ! -s conftest.err
1881 } && test -s conftest.$ac_objext; then :
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892 } # ac_fn_cxx_try_compile
1894 # ac_fn_cxx_try_cpp LINENO
1895 # ------------------------
1896 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1897 ac_fn_cxx_try_cpp ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_cpp conftest.$ac_ext"
1902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1903 *) ac_try_echo
=$ac_try;;
1905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1909 if test -s conftest.err
; then
1910 grep -v '^ *+' conftest.err
>conftest.er1
1911 cat conftest.er1
>&5
1912 mv -f conftest.er1 conftest.err
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } >/dev
/null
&& {
1916 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1917 test ! -s conftest.err
1921 $as_echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.
$ac_ext >&5
1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1929 } # ac_fn_cxx_try_cpp
1931 # ac_fn_cxx_try_link LINENO
1932 # -------------------------
1933 # Try to link conftest.$ac_ext, and return whether this succeeded.
1934 ac_fn_cxx_try_link
()
1936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1937 rm -f conftest.
$ac_objext conftest
$ac_exeext
1938 if { { ac_try
="$ac_link"
1940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_link") 2>conftest.err
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } && {
1954 test -z "$ac_cxx_werror_flag" ||
1955 test ! -s conftest.err
1956 } && test -s conftest$ac_exeext && {
1957 test "$cross_compiling" = yes ||
1958 $as_test_x conftest$ac_exeext
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1967 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1968 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1969 # interfere with the next link command; also delete a directory that is
1970 # left behind by Apple's compiler. We do this before executing the actions.
1971 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975 } # ac_fn_cxx_try_link
1976 cat >config.log <<_ACEOF
1977 This file contains any messages produced by compilers while
1978 running configure, to aid debugging if configure makes a mistake.
1980 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1981 generated by GNU Autoconf 2.64. Invocation command line was
1993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2005 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 $as_echo "PATH: $as_dir"
2033 # Keep a trace of the command line.
2034 # Strip out --no-create and --no-recursion so they do not pile up.
2035 # Strip out --silent because we don't want to record it for future runs.
2036 # Also quote any args containing shell meta-characters.
2037 # Make two passes to allow for proper duplicate-argument suppression.
2041 ac_must_keep_next=false
2047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2049 | -silent | --silent | --silen | --sile | --sil)
2052 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2055 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2057 as_fn_append ac_configure_args1 " '$ac_arg'"
2058 if test $ac_must_keep_next = true; then
2059 ac_must_keep_next=false # Got value, back to normal.
2062 *=* | --config-cache | -C | -disable-* | --disable-* \
2063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2065 | -with-* | --with-* | -without-* | --without-* | --x)
2066 case "$ac_configure_args0 " in
2067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2070 -* ) ac_must_keep_next=true ;;
2073 as_fn_append ac_configure_args " '$ac_arg'"
2078 { ac_configure_args0=; unset ac_configure_args0;}
2079 { ac_configure_args1=; unset ac_configure_args1;}
2081 # When interrupted or exit'd, cleanup temporary files, and complete
2082 # config.log. We remove comments because anyway the quotes in there
2083 # would cause problems or look ugly.
2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2086 trap 'exit_status=$?
2087 # Save into config.log some information that might help in debugging.
2092 ## ---------------- ##
2093 ## Cache variables. ##
2094 ## ---------------- ##
2097 # The following way of writing the cache mishandles newlines in values,
2099 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2100 eval ac_val=\$$ac_var
2104 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2108 _ | IFS | as_nl) ;; #(
2109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2110 *) { eval $ac_var=; unset $ac_var;} ;;
2115 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2116 *${as_nl}ac_space=\ *)
2118 "s/'\''/'\''\\\\'\'''\''/g;
2119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2122 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2130 ## ----------------- ##
2131 ## Output variables. ##
2132 ## ----------------- ##
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2147 ## ------------------- ##
2148 ## File substitutions. ##
2149 ## ------------------- ##
2152 for ac_var in $ac_subst_files
2154 eval ac_val=\$$ac_var
2156 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158 $as_echo "$ac_var='\''$ac_val'\''"
2163 if test -s confdefs.h; then
2173 test "$ac_signal" != 0 &&
2174 $as_echo "$as_me: caught signal $ac_signal"
2175 $as_echo "$as_me: exit $exit_status"
2177 rm -f core *.core core.conftest.* &&
2178 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2181 for ac_signal in 1 2 13 15; do
2182 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2187 rm -f -r conftest* confdefs.h
2189 $as_echo "/* confdefs.h */" > confdefs.h
2191 # Predefined preprocessor variables.
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_NAME "$PACKAGE_NAME"
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_STRING "$PACKAGE_STRING"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_URL "$PACKAGE_URL"
2218 # Let the site file select an alternate cache file if it wants to.
2219 # Prefer an explicitly selected file to automatically selected ones.
2222 if test -n "$CONFIG_SITE"; then
2223 ac_site_file1=$CONFIG_SITE
2224 elif test "x$prefix" != xNONE; then
2225 ac_site_file1=$prefix/share/config.site
2226 ac_site_file2=$prefix/etc/config.site
2228 ac_site_file1=$ac_default_prefix/share/config.site
2229 ac_site_file2=$ac_default_prefix/etc/config.site
2231 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2233 test "x$ac_site_file" = xNONE && continue
2234 if test -r "$ac_site_file"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2236 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2237 sed 's/^/| /' "$ac_site_file" >&5
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special
2244 # files actually), so we avoid doing that.
2245 if test -f "$cache_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247 $as_echo "$as_me: loading cache $cache_file" >&6;}
2249 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250 *) . "./$cache_file";;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255 $as_echo "$as_me: creating cache $cache_file" >&6;}
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted=false
2262 for ac_var in $ac_precious_vars; do
2263 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264 eval ac_new_set=\$ac_env_${ac_var}_set
2265 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266 eval ac_new_val=\$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2270 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2274 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 # differences in whitespace do not lead to failure.
2280 ac_old_val_w=`echo x
$ac_old_val`
2281 ac_new_val_w=`echo x
$ac_new_val`
2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2285 ac_cache_corrupted=:
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289 eval $ac_var=\$ac_old_val
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2292 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2297 # Pass precious variables to config.status.
2298 if test "$ac_new_set" = set; then
2300 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2301 *) ac_arg=$ac_var=$ac_new_val ;;
2303 case " $ac_configure_args " in
2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2305 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2309 if $ac_cache_corrupted; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2316 ## -------------------- ##
2317 ## Main body of script. ##
2318 ## -------------------- ##
2321 ac_cpp='$CPP $CPPFLAGS'
2322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2330 #AC_INIT(package-unused, version-unused, libvtv)
2333 # Default to --enable-multilib
2334 # Check whether --enable-multilib was given.
2335 if test "${enable_multilib+set}" = set; then :
2336 enableval=$enable_multilib; case "$enableval" in
2337 yes) multilib=yes ;;
2339 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2346 # We may get other options which we leave undocumented:
2347 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2348 # See config-ml.in if you want the gory details.
2350 if test "$srcdir" = "."; then
2351 if test "$with_target_subdir" != "."; then
2352 multi_basedir="$srcdir/$with_multisrctop../.."
2354 multi_basedir="$srcdir/$with_multisrctop.."
2357 multi_basedir="$srcdir/.."
2361 # Even if the default multilib is not a cross compilation,
2362 # it may be that some of the other multilibs are.
2363 if test $cross_compiling = no && test $multilib = yes \
2364 && test "x${with_multisubdir}" != x ; then
2365 cross_compiling=maybe
2368 ac_config_commands="$ac_config_commands default-1"
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2375 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2376 # Check whether --enable-version-specific-runtime-libs was given.
2377 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2378 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2379 yes) version_specific_libs=yes ;;
2380 no) version_specific_libs=no ;;
2381 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2384 version_specific_libs=no
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2388 $as_echo "$version_specific_libs" >&6; }
2390 # Do not delete or change the following two lines. For why, see
2391 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2393 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2394 for ac_t in install-sh install.sh shtool; do
2395 if test -f "$ac_dir/$ac_t"; then
2397 ac_install_sh="$ac_aux_dir/$ac_t -c"
2402 if test -z "$ac_aux_dir"; then
2403 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415 # Make sure we can run config.sub.
2416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2417 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2420 $as_echo_n "checking build system type... " >&6; }
2421 if test "${ac_cv_build+set}" = set; then :
2422 $as_echo_n "(cached) " >&6
2424 ac_build_alias=$build_alias
2425 test "x$ac_build_alias" = x &&
2426 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2427 test "x$ac_build_alias" = x &&
2428 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2430 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2434 $as_echo "$ac_cv_build" >&6; }
2435 case $ac_cv_build in
2437 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2440 ac_save_IFS=$IFS; IFS='-'
2446 # Remember, the first character of IFS is used to create $*,
2447 # except with old shells:
2450 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2454 $as_echo_n "checking host system type... " >&6; }
2455 if test "${ac_cv_host+set}" = set; then :
2456 $as_echo_n "(cached) " >&6
2458 if test "x$host_alias" = x; then
2459 ac_cv_host=$ac_cv_build
2461 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2462 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2467 $as_echo "$ac_cv_host" >&6; }
2470 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2473 ac_save_IFS=$IFS; IFS='-'
2479 # Remember, the first character of IFS is used to create $*,
2480 # except with old shells:
2483 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2487 $as_echo_n "checking target system type... " >&6; }
2488 if test "${ac_cv_target+set}" = set; then :
2489 $as_echo_n "(cached) " >&6
2491 if test "x$target_alias" = x; then
2492 ac_cv_target=$ac_cv_host
2494 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2495 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2500 $as_echo "$ac_cv_target" >&6; }
2501 case $ac_cv_target in
2503 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2505 target=$ac_cv_target
2506 ac_save_IFS=$IFS; IFS='-'
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2516 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2519 # The aliases save the names the user supplied, while $host etc.
2520 # will get canonicalized.
2521 test -n "$target_alias" &&
2522 test "$program_prefix$program_suffix$program_transform_name" = \
2524 program_prefix=${target_alias}-
2526 target_alias=${target_alias-$host_alias}
2528 case ${build_alias} in
2529 "") build_noncanonical=${build} ;;
2530 *) build_noncanonical=${build_alias} ;;
2533 case ${host_alias} in
2534 "") host_noncanonical=${build_noncanonical} ;;
2535 *) host_noncanonical=${host_alias} ;;
2538 case ${target_alias} in
2539 "") target_noncanonical=${host_noncanonical} ;;
2540 *) target_noncanonical=${target_alias} ;;
2547 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2548 -I\$(top_builddir)/../libstdc++-v3/include \
2549 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2550 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2551 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2552 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2558 ac_cpp='$CPP $CPPFLAGS'
2559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562 if test -n "$ac_tool_prefix"; then
2563 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if test "${ac_cv_prog_CC+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$CC"; then
2571 ac_cv_prog_CC="$CC" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 if test -n "$CC"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2593 $as_echo "$CC" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2601 if test -z "$ac_cv_prog_CC"; then
2603 # Extract the first word of "gcc", so it can be a program name with args.
2604 set dummy gcc; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$ac_ct_CC"; then
2611 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir=.
2618 for ac_exec_ext in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 ac_cv_prog_ac_ct_CC="gcc"
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2631 if test -n "$ac_ct_CC"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2633 $as_echo "$ac_ct_CC" >&6; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2639 if test "x$ac_ct_CC" = x; then
2642 case $cross_compiling:$ac_tool_warned in
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2654 if test -z "$CC"; then
2655 if test -n "$ac_tool_prefix"; then
2656 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2657 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 if test -n "$CC"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2686 $as_echo "$CC" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2695 if test -z "$CC"; then
2696 # Extract the first word of "cc", so it can be a program name with args.
2697 set dummy cc; ac_word=$2
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699 $as_echo_n "checking for $ac_word... " >&6; }
2700 if test "${ac_cv_prog_CC+set}" = set; then :
2701 $as_echo_n "(cached) " >&6
2703 if test -n "$CC"; then
2704 ac_cv_prog_CC="$CC" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2715 ac_prog_rejected=yes
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 if test $ac_prog_rejected = yes; then
2727 # We found a bogon in the path, so make sure we never use it.
2728 set dummy $ac_cv_prog_CC
2730 if test $# != 0; then
2731 # We chose a different compiler from the bogus one.
2732 # However, it has the same basename, so the bogon will be chosen
2733 # first if we set CC to just the basename; use the full file name.
2735 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2741 if test -n "$CC"; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743 $as_echo "$CC" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2751 if test -z "$CC"; then
2752 if test -n "$ac_tool_prefix"; then
2753 for ac_prog in cl.exe
2755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758 $as_echo_n "checking for $ac_word... " >&6; }
2759 if test "${ac_cv_prog_CC+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2762 if test -n "$CC"; then
2763 ac_cv_prog_CC="$CC" # Let the user override the test.
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir=.
2770 for ac_exec_ext in '' $ac_executable_extensions; do
2771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 if test -n "$CC"; then
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2785 $as_echo "$CC" >&6; }
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788 $as_echo "no" >&6; }
2792 test -n "$CC" && break
2795 if test -z "$CC"; then
2797 for ac_prog in cl.exe
2799 # Extract the first word of "$ac_prog", so it can be a program name with args.
2800 set dummy $ac_prog; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$ac_ct_CC"; then
2807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_ac_ct_CC="$ac_prog"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827 if test -n "$ac_ct_CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829 $as_echo "$ac_ct_CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2836 test -n "$ac_ct_CC" && break
2839 if test "x$ac_ct_CC" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2855 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857 as_fn_error "no acceptable C compiler found
in \
$PATH
2858 See \
`config.log' for more details." "$LINENO" 5; }
2860 # Provide some information about the compiler.
2861 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2864 for ac_option in --version -v -V -qversion; do
2865 { { ac_try="$ac_compiler $ac_option >&5"
2867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2868 *) ac_try_echo
=$ac_try;;
2870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2874 if test -s conftest.err
; then
2876 ... rest of stderr output deleted ...
2877 10q' conftest.err
>conftest.er1
2878 cat conftest.er1
>&5
2879 rm -f conftest.er1 conftest.err
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; }
2885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2896 ac_clean_files_save
=$ac_clean_files
2897 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2898 # Try to create an executable without -o first, disregard a.out.
2899 # It will help us diagnose broken compilers, and finding out an intuition
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2902 $as_echo_n "checking for C compiler default output file name... " >&6; }
2903 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2905 # The possible output files:
2906 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2909 for ac_file
in $ac_files
2912 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2913 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2918 if { { ac_try
="$ac_link_default"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_link_default") 2>&5
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; }; then :
2929 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2930 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2931 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2932 # so that the user can short-circuit this test for compilers unknown to
2934 for ac_file in $ac_files ''
2936 test -f "$ac_file" || continue
2938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2941 # We found the default executable, but exeext='' is most
2945 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2947 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2949 # We set ac_cv_exeext here because the later test for it is not
2950 # safe: cross compilers may not add the suffix if given an `-o'
2951 # argument, so we may need to know it at that point already.
2952 # Even if this section looks crufty: it has the advantage of
2959 test "$ac_cv_exeext" = no && ac_cv_exeext=
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2965 $as_echo "$ac_file" >&6; }
2966 if test -z "$ac_file"; then :
2967 $as_echo "$as_me: failed program was:" >&5
2968 sed 's
/^
/|
/' conftest.$ac_ext >&5
2970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2972 { as_fn_set_status 77
2973 as_fn_error "C compiler cannot create executables
2974 See \`config.log
' for more details." "$LINENO" 5; }; }
2976 ac_exeext=$ac_cv_exeext
2978 # Check that the compiler produces executables we can run. If not, either
2979 # the compiler is broken, or we cross compile.
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2981 $as_echo_n "checking whether the C compiler works... " >&6; }
2982 # If not cross compiling, check that we can run a simple program.
2983 if test "$cross_compiling" != yes; then
2984 if { ac_try='.
/$ac_file'
2985 { { case "(($ac_try" in
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_try") 2>&5
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }; }; then
2997 if test "$cross_compiling" = maybe; then
3000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3001 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3002 as_fn_error "cannot run C compiled programs.
3003 If you meant to cross compile, use \`--host'.
3004 See \`config.log' for more details.
" "$LINENO" 5; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3009 $as_echo "yes" >&6; }
3011 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3012 ac_clean_files=$ac_clean_files_save
3013 # Check that the compiler produces executables we can run. If not, either
3014 # the compiler is broken, or we cross compile.
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3016 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3018 $as_echo "$cross_compiling" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3021 $as_echo_n "checking
for suffix of executables...
" >&6; }
3022 if { { ac_try="$ac_link"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_link") 2>&5
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3032 test $ac_status = 0; }; then :
3033 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3034 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3035 # work properly (i.e., refer to `conftest.exe'), while it won't with
3037 for ac_file in conftest.exe conftest conftest.*; do
3038 test -f "$ac_file" || continue
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3041 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error "cannot compute suffix of executables: cannot compile and link
3050 See \`config.log' for more details.
" "$LINENO" 5; }
3052 rm -f conftest$ac_cv_exeext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3054 $as_echo "$ac_cv_exeext" >&6; }
3056 rm -f conftest.$ac_ext
3057 EXEEXT=$ac_cv_exeext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3060 $as_echo_n "checking
for suffix of object files...
" >&6; }
3061 if test "${ac_cv_objext+set}" = set; then :
3062 $as_echo_n "(cached
) " >&6
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 rm -f conftest.o conftest.obj
3076 if { { ac_try="$ac_compile"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compile") 2>&5
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3086 test $ac_status = 0; }; then :
3087 for ac_file in conftest.o conftest.obj conftest.*; do
3088 test -f "$ac_file" || continue;
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3091 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3096 $as_echo "$as_me: failed program was
:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error "cannot compute suffix of object files: cannot compile
3102 See \`config.log' for more details.
" "$LINENO" 5; }
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3112 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3113 $as_echo_n "(cached
) " >&6
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3145 ac_test_CFLAGS=${CFLAGS+set}
3146 ac_save_CFLAGS=$CFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3148 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3149 if test "${ac_cv_prog_cc_g+set}" = set; then :
3150 $as_echo_n "(cached
) " >&6
3152 ac_save_c_werror_flag=$ac_c_werror_flag
3153 ac_c_werror_flag=yes
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_c_try_compile "$LINENO"; then :
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_c_werror_flag=$ac_save_c_werror_flag
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3209 $as_echo "$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3219 if test "$GCC" = yes; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3226 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3227 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3228 $as_echo_n "(cached
) " >&6
3230 ac_cv_prog_cc_c89=no
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3236 #include <sys/types.h>
3237 #include <sys/stat.h>
3238 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3239 struct buf { int x; };
3240 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3241 static char *e (p, i)
3247 static char *f (char * (*g) (char **, int), char **p, ...)
3252 s = g (p, va_arg (v,int));
3257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3258 function prototypes and stuff, but not '\xHH' hex character constants.
3259 These don't provoke an error unfortunately, instead are silently treated
3260 as 'x'. The following induces an error, until -std is added to get
3261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3262 array size at least. It's necessary to write '\x00'==0 to get something
3263 that's true only with -std. */
3264 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3266 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3267 inside strings and character constants. */
3269 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3285 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3286 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3288 CC="$ac_save_CC $ac_arg"
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 ac_cv_prog_cc_c89=$ac_arg
3292 rm -f core conftest.err conftest.$ac_objext
3293 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3295 rm -f conftest.$ac_ext
3300 case "x
$ac_cv_prog_cc_c89" in
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3303 $as_echo "none needed
" >&6; } ;;
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3306 $as_echo "unsupported
" >&6; } ;;
3308 CC="$CC $ac_cv_prog_cc_c89"
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3310 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3312 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 ac_cpp='$CPP $CPPFLAGS'
3325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3329 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3330 # On Suns, sometimes $CPP names a directory.
3331 if test -n "$CPP" && test -d "$CPP"; then
3334 if test -z "$CPP"; then
3335 if test "${ac_cv_prog_CPP+set}" = set; then :
3336 $as_echo_n "(cached
) " >&6
3338 # Double quotes because CPP needs to be expanded
3339 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3342 for ac_c_preproc_warn_flag in '' yes
3344 # Use a header file that comes with gcc, so configuring glibc
3345 # with a fresh cross-compiler works.
3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 # <limits.h> exists even on freestanding compilers.
3348 # On the NeXT, cc -E runs the code through the compiler's parser,
3349 # not just through cpp. "Syntax error
" is here to catch this case.
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3353 # include <limits.h>
3355 # include <assert.h>
3359 if ac_fn_c_try_cpp "$LINENO"; then :
3362 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.$ac_ext
3367 # OK, works on sane cases. Now check whether nonexistent headers
3368 # can be detected and how.
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3371 #include <ac_nonexistent.h>
3373 if ac_fn_c_try_cpp "$LINENO"; then :
3374 # Broken: success on invalid input.
3377 # Passes both tests.
3381 rm -f conftest.err conftest.$ac_ext
3384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3385 rm -f conftest.err conftest.$ac_ext
3386 if $ac_preproc_ok; then :
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3399 $as_echo "$CPP" >&6; }
3401 for ac_c_preproc_warn_flag in '' yes
3403 # Use a header file that comes with gcc, so configuring glibc
3404 # with a fresh cross-compiler works.
3405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3406 # <limits.h> exists even on freestanding compilers.
3407 # On the NeXT, cc -E runs the code through the compiler's parser,
3408 # not just through cpp. "Syntax error
" is here to catch this case.
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3412 # include <limits.h>
3414 # include <assert.h>
3418 if ac_fn_c_try_cpp "$LINENO"; then :
3421 # Broken: fails on valid input.
3424 rm -f conftest.err conftest.$ac_ext
3426 # OK, works on sane cases. Now check whether nonexistent headers
3427 # can be detected and how.
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3430 #include <ac_nonexistent.h>
3432 if ac_fn_c_try_cpp "$LINENO"; then :
3433 # Broken: success on invalid input.
3436 # Passes both tests.
3440 rm -f conftest.err conftest.$ac_ext
3443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3444 rm -f conftest.err conftest.$ac_ext
3445 if $ac_preproc_ok; then :
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3451 See \`config.log' for more details.
" "$LINENO" 5; }
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3462 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3463 if test "${ac_cv_path_GREP+set}" = set; then :
3464 $as_echo_n "(cached
) " >&6
3466 if test -z "$GREP"; then
3467 ac_path_GREP_found=false
3468 # Loop through the user's path and test for each of PROGNAME-LIST
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3473 test -z "$as_dir" && as_dir=.
3474 for ac_prog in grep ggrep; do
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3477 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3478 # Check for GNU ac_path_GREP and select it if it is found.
3479 # Check for GNU $ac_path_GREP
3480 case `"$ac_path_GREP" --version 2>&1` in
3482 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3485 $as_echo_n 0123456789 >"conftest.
in"
3488 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3489 mv "conftest.tmp
" "conftest.
in"
3490 cp "conftest.
in" "conftest.
nl"
3491 $as_echo 'GREP' >> "conftest.
nl"
3492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3493 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3494 as_fn_arith $ac_count + 1 && ac_count=$as_val
3495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3496 # Best one so far, save it but keep looking for a better one
3497 ac_cv_path_GREP="$ac_path_GREP"
3498 ac_path_GREP_max=$ac_count
3500 # 10*(2^10) chars as input seems more than enough
3501 test $ac_count -gt 10 && break
3503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3506 $ac_path_GREP_found && break 3
3511 if test -z "$ac_cv_path_GREP"; then
3512 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3515 ac_cv_path_GREP=$GREP
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3520 $as_echo "$ac_cv_path_GREP" >&6; }
3521 GREP="$ac_cv_path_GREP"
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3525 $as_echo_n "checking
for egrep...
" >&6; }
3526 if test "${ac_cv_path_EGREP+set}" = set; then :
3527 $as_echo_n "(cached
) " >&6
3529 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3530 then ac_cv_path_EGREP="$GREP -E"
3532 if test -z "$EGREP"; then
3533 ac_path_EGREP_found=false
3534 # Loop through the user's path and test for each of PROGNAME-LIST
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3539 test -z "$as_dir" && as_dir=.
3540 for ac_prog in egrep; do
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3543 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3544 # Check for GNU ac_path_EGREP and select it if it is found.
3545 # Check for GNU $ac_path_EGREP
3546 case `"$ac_path_EGREP" --version 2>&1` in
3548 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3551 $as_echo_n 0123456789 >"conftest.
in"
3554 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3555 mv "conftest.tmp
" "conftest.
in"
3556 cp "conftest.
in" "conftest.
nl"
3557 $as_echo 'EGREP' >> "conftest.
nl"
3558 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3559 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3560 as_fn_arith $ac_count + 1 && ac_count=$as_val
3561 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3562 # Best one so far, save it but keep looking for a better one
3563 ac_cv_path_EGREP="$ac_path_EGREP"
3564 ac_path_EGREP_max=$ac_count
3566 # 10*(2^10) chars as input seems more than enough
3567 test $ac_count -gt 10 && break
3569 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3572 $ac_path_EGREP_found && break 3
3577 if test -z "$ac_cv_path_EGREP"; then
3578 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3581 ac_cv_path_EGREP=$EGREP
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3587 $as_echo "$ac_cv_path_EGREP" >&6; }
3588 EGREP="$ac_cv_path_EGREP"
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3592 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3593 if test "${ac_cv_header_stdc+set}" = set; then :
3594 $as_echo_n "(cached
) " >&6
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_cv_header_stdc=yes
3614 ac_cv_header_stdc=no
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 if test $ac_cv_header_stdc = yes; then
3619 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3625 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3626 $EGREP "memchr
" >/dev/null 2>&1; then :
3629 ac_cv_header_stdc=no
3635 if test $ac_cv_header_stdc = yes; then
3636 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3642 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3643 $EGREP "free
" >/dev/null 2>&1; then :
3646 ac_cv_header_stdc=no
3652 if test $ac_cv_header_stdc = yes; then
3653 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3654 if test "$cross_compiling" = yes; then :
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3661 #if ((' ' & 0x0FF) == 0x020)
3662 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3663 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3665 # define ISLOWER(c) \
3666 (('a' <= (c) && (c) <= 'i') \
3667 || ('j' <= (c) && (c) <= 'r') \
3668 || ('s' <= (c) && (c) <= 'z'))
3669 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3672 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3677 for (i = 0; i < 256; i++)
3678 if (XOR (islower (i), ISLOWER (i))
3679 || toupper (i) != TOUPPER (i))
3684 if ac_fn_c_try_run "$LINENO"; then :
3687 ac_cv_header_stdc=no
3689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3690 conftest.$ac_objext conftest.beam conftest.$ac_ext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3696 $as_echo "$ac_cv_header_stdc" >&6; }
3697 if test $ac_cv_header_stdc = yes; then
3699 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3703 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3704 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3705 inttypes.h stdint.h unistd.h
3707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3708 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3710 eval as_val
=\$
$as_ac_Header
3711 if test "x$as_val" = x
""yes; then :
3712 cat >>confdefs.h
<<_ACEOF
3713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3722 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3723 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3730 if test "$MINIX" = yes; then
3732 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3735 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3738 $as_echo "#define _MINIX 1" >>confdefs.h
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3744 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3745 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3751 # define __EXTENSIONS__ 1
3752 $ac_includes_default
3761 if ac_fn_c_try_compile
"$LINENO"; then :
3762 ac_cv_safe_to_define___extensions__
=yes
3764 ac_cv_safe_to_define___extensions__
=no
3766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3769 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3770 test $ac_cv_safe_to_define___extensions__ = yes &&
3771 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3773 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3775 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3777 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3779 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3783 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3785 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3786 # Check whether --enable-vtable-verify was given.
3787 if test "${enable_vtable_verify+set}" = set; then :
3788 enableval
=$enable_vtable_verify; case "$enableval" in
3789 yes) enable_vtable_verify
=yes ;;
3790 no
) enable_vtable_verify
=no
;;
3791 *) enable_vtable_verify
=no
;;
3794 enable_vtable_verify
=no
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3798 $as_echo "$enable_vtable_verify" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3803 $as_echo_n "checking for host support for vtable verification... " >&6; }
3804 .
${srcdir}/configure.tgt
3807 # libvtv requires init priority support, which depends on the linker
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3810 $as_echo_n "checking for init priority support... " >&6; }
3811 if test "${libvtv_cv_init_priority+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3821 void ip (void) __attribute__ ((constructor (1)));
3826 if ac_fn_c_try_compile
"$LINENO"; then :
3827 libgcc_cv_init_priority
=yes
3829 libgcc_cv_init_priority
=no
3831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3834 $as_echo "$libvtv_cv_init_priority" >&6; }
3835 if test x
$libvtv_cv_init_priority = xno
; then
3838 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3839 # configure.tgt restricting to libvtv to Solaris 11+.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3843 $as_echo "$VTV_SUPPORTED" >&6; }
3845 # Decide if it's usable.
3846 use_vtable_verify
=no
3847 if test "x$VTV_SUPPORTED" = "xyes"; then
3848 if test "x$enable_vtable_verify" = "xyes"; then
3849 use_vtable_verify
=yes
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3851 $as_echo "$as_me: using vtable verification" >&6;}
3854 if test $use_vtable_verify = yes; then
3855 ENABLE_VTABLE_VERIFY_TRUE
=
3856 ENABLE_VTABLE_VERIFY_FALSE
='#'
3858 ENABLE_VTABLE_VERIFY_TRUE
='#'
3859 ENABLE_VTABLE_VERIFY_FALSE
=
3863 am__api_version
='1.11'
3865 # Find a good install program. We prefer a C program (faster),
3866 # so one script is as good as another. But avoid the broken or
3867 # incompatible versions:
3868 # SysV /etc/install, /usr/sbin/install
3869 # SunOS /usr/etc/install
3870 # IRIX /sbin/install
3872 # AmigaOS /C/install, which installs bootblocks on floppy discs
3873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3876 # OS/2's system install, which has a completely different semantic
3877 # ./install, which can be erroneously created by make from ./install.sh.
3878 # Reject install programs that cannot install multiple files.
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3880 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3881 if test -z "$INSTALL"; then
3882 if test "${ac_cv_path_install+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir
=.
3890 # Account for people who put trailing slashes in PATH elements.
3891 case $as_dir/ in #((
3892 .
/ | .
// |
/[cC
]/* | \
3893 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3894 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3897 # OSF1 and SCO ODT 3.0 have their own names for install.
3898 # Don't use installbsd from OSF since it installs stuff as root
3900 for ac_prog
in ginstall scoinst
install; do
3901 for ac_exec_ext
in '' $ac_executable_extensions; do
3902 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3903 if test $ac_prog = install &&
3904 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3905 # AIX install. It has an incompatible calling convention.
3907 elif test $ac_prog = install &&
3908 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3909 # program-specific install script used by HP pwplus--don't use.
3912 rm -rf conftest.one conftest.two conftest.dir
3913 echo one
> conftest.one
3914 echo two
> conftest.two
3916 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3917 test -s conftest.one
&& test -s conftest.two
&&
3918 test -s conftest.dir
/conftest.one
&&
3919 test -s conftest.dir
/conftest.two
3921 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3934 rm -rf conftest.one conftest.two conftest.dir
3937 if test "${ac_cv_path_install+set}" = set; then
3938 INSTALL
=$ac_cv_path_install
3940 # As a last resort, use the slow shell script. Don't cache a
3941 # value for INSTALL within a source directory, because that will
3942 # break other packages using the cache if that directory is
3943 # removed, or if the value is a relative name.
3944 INSTALL
=$ac_install_sh
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3948 $as_echo "$INSTALL" >&6; }
3950 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3951 # It thinks the first close brace ends the variable substitution.
3952 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3954 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3956 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3959 $as_echo_n "checking whether build environment is sane... " >&6; }
3962 echo timestamp
> conftest.
file
3963 # Reject unsafe characters in $srcdir or the absolute working directory
3964 # name. Accept space and tab only in the latter.
3968 *[\\\"\
#\$\&\'\`$am_lf]*)
3969 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3972 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3973 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3976 # Do `set' in a subshell so we don't clobber the current shell's
3977 # arguments. Must try -L first in case configure is actually a
3978 # symlink; some systems play weird games with the mod time of symlinks
3979 # (eg FreeBSD returns the mod time of the symlink's containing
3982 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3983 if test "$*" = "X"; then
3985 set X
`ls -t "$srcdir/configure" conftest.file`
3988 if test "$*" != "X $srcdir/configure conftest.file" \
3989 && test "$*" != "X conftest.file $srcdir/configure"; then
3991 # If neither matched, then we have a broken ls. This can happen
3992 # if, for instance, CONFIG_SHELL is bash and it inherits a
3993 # broken ls alias from the environment. This has actually
3994 # happened. Such a system could not be considered "sane".
3995 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3996 alias in your environment" "$LINENO" 5
3999 test "$2" = conftest.
file
4005 as_fn_error
"newly created file is older than distributed files!
4006 Check your system clock" "$LINENO" 5
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009 $as_echo "yes" >&6; }
4010 test "$program_prefix" != NONE
&&
4011 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4012 # Use a double $ so make ignores it.
4013 test "$program_suffix" != NONE
&&
4014 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4015 # Double any \ or $.
4016 # By default was `s,x,x', remove it if useless.
4017 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4018 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4020 # expand $ac_aux_dir to an absolute path
4021 am_aux_dir
=`cd $ac_aux_dir && pwd`
4023 if test x
"${MISSING+set}" != xset
; then
4026 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4028 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4031 # Use eval to expand $SHELL
4032 if eval "$MISSING --run true"; then
4033 am_missing_run
="$MISSING --run "
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4037 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4040 if test x
"${install_sh}" != xset
; then
4043 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4045 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4049 # Installed binaries are usually stripped using `strip' when the user
4050 # run `make install-strip'. However `strip' might not be the right
4051 # tool to use in cross-compilation environments, therefore Automake
4052 # will honor the `STRIP' environment variable to overrule this program.
4053 if test "$cross_compiling" != no
; then
4054 if test -n "$ac_tool_prefix"; then
4055 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4056 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if test "${ac_cv_prog_STRIP+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 if test -n "$STRIP"; then
4063 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir
=.
4070 for ac_exec_ext
in '' $ac_executable_extensions; do
4071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4072 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 STRIP
=$ac_cv_prog_STRIP
4083 if test -n "$STRIP"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4085 $as_echo "$STRIP" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4093 if test -z "$ac_cv_prog_STRIP"; then
4095 # Extract the first word of "strip", so it can be a program name with args.
4096 set dummy strip
; ac_word
=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4102 if test -n "$ac_ct_STRIP"; then
4103 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir
=.
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4112 ac_cv_prog_ac_ct_STRIP
="strip"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4123 if test -n "$ac_ct_STRIP"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4125 $as_echo "$ac_ct_STRIP" >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4131 if test "x$ac_ct_STRIP" = x
; then
4134 case $cross_compiling:$ac_tool_warned in
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4138 ac_tool_warned
=yes ;;
4143 STRIP
="$ac_cv_prog_STRIP"
4147 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4150 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4151 if test -z "$MKDIR_P"; then
4152 if test "${ac_cv_path_mkdir+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_prog
in mkdir gmkdir
; do
4161 for ac_exec_ext
in '' $ac_executable_extensions; do
4162 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4163 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4164 'mkdir (GNU coreutils) '* | \
4165 'mkdir (coreutils) '* | \
4166 'mkdir (fileutils) '4.1*)
4167 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4177 if test "${ac_cv_path_mkdir+set}" = set; then
4178 MKDIR_P
="$ac_cv_path_mkdir -p"
4180 # As a last resort, use the slow shell script. Don't cache a
4181 # value for MKDIR_P within a source directory, because that will
4182 # break other packages using the cache if that directory is
4183 # removed, or if the value is a relative name.
4184 test -d .
/--version && rmdir .
/--version
4185 MKDIR_P
="$ac_install_sh -d"
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4189 $as_echo "$MKDIR_P" >&6; }
4193 [\\/$
]* | ?
:[\\/]*) ;;
4194 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4197 for ac_prog
in gawk mawk nawk
awk
4199 # Extract the first word of "$ac_prog", so it can be a program name with args.
4200 set dummy
$ac_prog; ac_word
=$2
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4202 $as_echo_n "checking for $ac_word... " >&6; }
4203 if test "${ac_cv_prog_AWK+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4206 if test -n "$AWK"; then
4207 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir
=.
4214 for ac_exec_ext
in '' $ac_executable_extensions; do
4215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216 ac_cv_prog_AWK
="$ac_prog"
4217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 if test -n "$AWK"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4229 $as_echo "$AWK" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4236 test -n "$AWK" && break
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4240 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4242 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4243 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4244 $as_echo_n "(cached) " >&6
4246 cat >conftest.
make <<\_ACEOF
4249 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4251 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4252 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4254 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4256 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4260 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4262 $as_echo "yes" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4267 SET_MAKE
="MAKE=${MAKE-make}"
4270 rm -rf .tst
2>/dev
/null
4271 mkdir .tst
2>/dev
/null
4272 if test -d .tst
; then
4277 rmdir .tst
2>/dev
/null
4279 DEPDIR
="${am__leading_dot}deps"
4281 ac_config_commands
="$ac_config_commands depfiles"
4284 am_make
=${MAKE-make}
4285 cat > confinc
<< 'END'
4287 @
echo this is the am__doit target
4290 # If we don't find an include directive, just comment out the code.
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4292 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4296 # First try GNU make style include.
4297 echo "include confinc" > confmf
4298 # Ignore all kinds of additional output from `make'.
4299 case `$am_make -s -f confmf 2> /dev/null` in #(
4300 *the\ am__doit\ target
*)
4306 # Now try BSD make style include.
4307 if test "$am__include" = "#"; then
4308 echo '.include "confinc"' > confmf
4309 case `$am_make -s -f confmf 2> /dev/null` in #(
4310 *the\ am__doit\ target
*)
4311 am__include
=.include
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4320 $as_echo "$_am_result" >&6; }
4321 rm -f confinc confmf
4323 # Check whether --enable-dependency-tracking was given.
4324 if test "${enable_dependency_tracking+set}" = set; then :
4325 enableval
=$enable_dependency_tracking;
4328 if test "x$enable_dependency_tracking" != xno
; then
4329 am_depcomp
="$ac_aux_dir/depcomp"
4333 if test "x$enable_dependency_tracking" != xno; then
4342 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4343 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4344 # is not polluted with repeated "-I."
4345 am__isrc
=' -I$(srcdir)'
4346 # test to see if srcdir already configured
4347 if test -f $srcdir/config.status
; then
4348 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4352 # test whether we have cygpath
4353 if test -z "$CYGPATH_W"; then
4354 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4355 CYGPATH_W
='cygpath -w'
4362 # Define the identity of the package.
4367 cat >>confdefs.h
<<_ACEOF
4368 #define PACKAGE "$PACKAGE"
4372 cat >>confdefs.h
<<_ACEOF
4373 #define VERSION "$VERSION"
4376 # Some tools Automake needs.
4378 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4381 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4384 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4387 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4390 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4392 # We need awk for the "check" target. The system "awk" is bad on
4394 # Always define AMTAR for backward compatibility. Yes, it's still used
4395 # in the wild :-( We should find a proper way to deprecate it ...
4398 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4403 depcc
="$CC" am_compiler_list
=
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4406 $as_echo_n "checking dependency style of $depcc... " >&6; }
4407 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4411 # We make a subdir and do the tests there. Otherwise we can end up
4412 # making bogus files that we don't know about and never remove. For
4413 # instance it was reported that on HP-UX the gcc test will end up
4414 # making a dummy file named `D' -- because `-MD' means `put the output
4418 # Copy depcomp to subdir because otherwise we won't find it if we're
4419 # using a relative directory.
4420 cp "$am_depcomp" conftest.dir
4422 # We will build objects and dependencies in a subdirectory because
4423 # it helps to detect inapplicable dependency modes. For instance
4424 # both Tru64's cc and ICC support -MD to output dependencies as a
4425 # side effect of compilation, but ICC will put the dependencies in
4426 # the current directory while Tru64 will put them in the object
4430 am_cv_CC_dependencies_compiler_type
=none
4431 if test "$am_compiler_list" = ""; then
4432 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4435 case " $depcc " in #(
4436 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4439 for depmode
in $am_compiler_list; do
4440 # Setup a source with many dependencies, because some compilers
4441 # like to wrap large dependency lists on column 80 (with \), and
4442 # we should not choose a depcomp mode which is confused by this.
4444 # We need to recreate these files for each test, as the compiler may
4445 # overwrite some of them when testing with obscure command lines.
4446 # This happens at least with the AIX C compiler.
4448 for i
in 1 2 3 4 5 6; do
4449 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4450 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4451 # Solaris 8's {/usr,}/bin/sh.
4452 touch sub
/conftst
$i.h
4454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4457 # mode. It turns out that the SunPro C++ compiler does not properly
4458 # handle `-M -o', and we need to detect this. Also, some Intel
4459 # versions had trouble with output in subdirs
4460 am__obj
=sub
/conftest.
${OBJEXT-o}
4461 am__minus_obj
="-o $am__obj"
4464 # This depmode causes a compiler race in universal mode.
4465 test "$am__universal" = false ||
continue
4468 # after this tag, mechanisms are not by side-effect, so they'll
4469 # only be used when explicitly requested
4470 if test "x$enable_dependency_tracking" = xyes
; then
4476 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4477 # This compiler won't grok `-c -o', but also, the minuso test has
4478 # not run yet. These depmodes are late enough in the game, and
4479 # so weak that their functioning should not be impacted.
4480 am__obj
=conftest.
${OBJEXT-o}
4485 if depmode
=$depmode \
4486 source=sub
/conftest.c object
=$am__obj \
4487 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4488 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4489 >/dev
/null
2>conftest.err
&&
4490 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4491 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4492 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4493 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4494 # icc doesn't choke on unknown options, it will just issue warnings
4495 # or remarks (even with -Werror). So we grep stderr for any message
4496 # that says an option was ignored or not supported.
4497 # When given -MP, icc 7.0 and 7.1 complain thusly:
4498 # icc: Command line warning: ignoring option '-M'; no argument required
4499 # The diagnosis changed in icc 8.0:
4500 # icc: Command line remark: option '-MP' not supported
4501 if (grep 'ignoring option' conftest.err ||
4502 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4503 am_cv_CC_dependencies_compiler_type
=$depmode
4512 am_cv_CC_dependencies_compiler_type
=none
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4517 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4518 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4521 test "x$enable_dependency_tracking" != xno \
4522 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4524 am__fastdepCC_FALSE
='#'
4526 am__fastdepCC_TRUE
='#'
4527 am__fastdepCC_FALSE
=
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4534 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4535 # Check whether --enable-maintainer-mode was given.
4536 if test "${enable_maintainer_mode+set}" = set; then :
4537 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4539 USE_MAINTAINER_MODE
=no
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4543 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4544 if test $USE_MAINTAINER_MODE = yes; then
4545 MAINTAINER_MODE_TRUE
=
4546 MAINTAINER_MODE_FALSE
='#'
4548 MAINTAINER_MODE_TRUE
='#'
4549 MAINTAINER_MODE_FALSE
=
4552 MAINT
=$MAINTAINER_MODE_TRUE
4558 # These need to be absolute paths, yet at the same time need to
4559 # canonicalize only relative paths, because then amd will not unmount
4560 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4561 libvtv_builddir
=`${PWDCMD-pwd}`
4563 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4564 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4566 toplevel_builddir
=${libvtv_builddir}/..
4567 toplevel_srcdir
=${libvtv_srcdir}/..
4574 # Calculate toolexeclibdir
4575 # Also toolexecdir, though it's only used in toolexeclibdir
4576 case ${version_specific_libs} in
4578 # Need the gcc compiler version to know where to install libraries
4579 # and header files if --enable-version-specific-runtime-libs option
4581 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4582 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4585 if test -n "$with_cross_host" &&
4586 test x
"$with_cross_host" != x
"no"; then
4587 # Install a library built with a cross compiler in tooldir, not libdir.
4588 toolexecdir
='$(exec_prefix)/$(target_alias)'
4589 toolexeclibdir
='$(toolexecdir)/lib'
4591 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4592 toolexeclibdir
='$(libdir)'
4594 multi_os_directory
=`$CC -print-multi-os-directory`
4595 case $multi_os_directory in
4596 .
) ;; # Avoid trailing /.
4597 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4605 for ac_func
in __secure_getenv
4607 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4608 if test "x$ac_cv_func___secure_getenv" = x
""yes; then :
4609 cat >>confdefs.h
<<_ACEOF
4610 #define HAVE___SECURE_GETENV 1
4618 for ac_func
in secure_getenv
4620 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4621 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4622 cat >>confdefs.h
<<_ACEOF
4623 #define HAVE_SECURE_GETENV 1
4630 for ac_func
in getexecname __fortify_fail
4632 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4633 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4634 eval as_val
=\$
$as_ac_var
4635 if test "x$as_val" = x
""yes; then :
4636 cat >>confdefs.h
<<_ACEOF
4637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4644 # Check for programs.
4648 ac_cpp
='$CPP $CPPFLAGS'
4649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4654 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if test "${ac_cv_prog_CC+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$CC"; then
4661 ac_cv_prog_CC
="$CC" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 if test -n "$CC"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4683 $as_echo "$CC" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4691 if test -z "$ac_cv_prog_CC"; then
4693 # Extract the first word of "gcc", so it can be a program name with args.
4694 set dummy gcc
; ac_word
=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$ac_ct_CC"; then
4701 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_ac_ct_CC
="gcc"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4721 if test -n "$ac_ct_CC"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4723 $as_echo "$ac_ct_CC" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4729 if test "x$ac_ct_CC" = x
; then
4732 case $cross_compiling:$ac_tool_warned in
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned
=yes ;;
4744 if test -z "$CC"; then
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4747 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 $as_echo_n "checking for $ac_word... " >&6; }
4750 if test "${ac_cv_prog_CC+set}" = set; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$CC"; then
4754 ac_cv_prog_CC
="$CC" # Let the user override the test.
4756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 if test -n "$CC"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4776 $as_echo "$CC" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4785 if test -z "$CC"; then
4786 # Extract the first word of "cc", so it can be a program name with args.
4787 set dummy cc
; ac_word
=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if test "${ac_cv_prog_CC+set}" = set; then :
4791 $as_echo_n "(cached) " >&6
4793 if test -n "$CC"; then
4794 ac_cv_prog_CC
="$CC" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4805 ac_prog_rejected
=yes
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 if test $ac_prog_rejected = yes; then
4817 # We found a bogon in the path, so make sure we never use it.
4818 set dummy
$ac_cv_prog_CC
4820 if test $# != 0; then
4821 # We chose a different compiler from the bogus one.
4822 # However, it has the same basename, so the bogon will be chosen
4823 # first if we set CC to just the basename; use the full file name.
4825 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4831 if test -n "$CC"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4833 $as_echo "$CC" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4841 if test -z "$CC"; then
4842 if test -n "$ac_tool_prefix"; then
4843 for ac_prog
in cl.exe
4845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if test "${ac_cv_prog_CC+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$CC"; then
4853 ac_cv_prog_CC
="$CC" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 if test -n "$CC"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4875 $as_echo "$CC" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 test -n "$CC" && break
4885 if test -z "$CC"; then
4887 for ac_prog
in cl.exe
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy
$ac_prog; ac_word
=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4896 if test -n "$ac_ct_CC"; then
4897 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4906 ac_cv_prog_ac_ct_CC
="$ac_prog"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4917 if test -n "$ac_ct_CC"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4919 $as_echo "$ac_ct_CC" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 test -n "$ac_ct_CC" && break
4929 if test "x$ac_ct_CC" = x
; then
4932 case $cross_compiling:$ac_tool_warned in
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned
=yes ;;
4945 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4947 as_fn_error
"no acceptable C compiler found in \$PATH
4948 See \`config.log' for more details." "$LINENO" 5; }
4950 # Provide some information about the compiler.
4951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4954 for ac_option
in --version -v -V -qversion; do
4955 { { ac_try
="$ac_compiler $ac_option >&5"
4957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4961 $as_echo "$ac_try_echo"; } >&5
4962 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4964 if test -s conftest.err; then
4966 ... rest of stderr output deleted ...
4967 10q' conftest.err >conftest.er1
4968 cat conftest.er1 >&5
4969 rm -f conftest.er1 conftest.err
4971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4972 test $ac_status = 0; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4976 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4977 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4994 if ac_fn_c_try_compile "$LINENO"; then :
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5004 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5005 if test $ac_compiler_gnu = yes; then
5010 ac_test_CFLAGS=${CFLAGS+set}
5011 ac_save_CFLAGS=$CFLAGS
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5013 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5014 if test "${ac_cv_prog_cc_g+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5017 ac_save_c_werror_flag=$ac_c_werror_flag
5018 ac_c_werror_flag=yes
5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h. */
5032 if ac_fn_c_try_compile "$LINENO"; then :
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5047 if ac_fn_c_try_compile "$LINENO"; then :
5050 ac_c_werror_flag=$ac_save_c_werror_flag
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5063 if ac_fn_c_try_compile "$LINENO"; then :
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071 ac_c_werror_flag=$ac_save_c_werror_flag
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5074 $as_echo "$ac_cv_prog_cc_g" >&6; }
5075 if test "$ac_test_CFLAGS" = set; then
5076 CFLAGS=$ac_save_CFLAGS
5077 elif test $ac_cv_prog_cc_g = yes; then
5078 if test "$GCC" = yes; then
5084 if test "$GCC" = yes; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5091 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5092 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5095 ac_cv_prog_cc_c89=no
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5101 #include <sys/types.h>
5102 #include <sys/stat.h>
5103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5104 struct buf { int x; };
5105 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5106 static char *e (p, i)
5112 static char *f (char * (*g) (char **, int), char **p, ...)
5117 s = g (p, va_arg (v,int));
5122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5123 function prototypes and stuff, but not '\xHH' hex character constants.
5124 These don't provoke an error unfortunately, instead are silently treated
5125 as 'x'. The following induces an error, until -std is added to get
5126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5127 array size at least. It's necessary to write '\x00'==0 to get something
5128 that's true only with -std. */
5129 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5132 inside strings and character constants. */
5134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5136 int test (int i, double x);
5137 struct s1 {int (*f) (int a);};
5138 struct s2 {int (*f) (double a);};
5139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5153 CC="$ac_save_CC $ac_arg"
5154 if ac_fn_c_try_compile "$LINENO"; then :
5155 ac_cv_prog_cc_c89=$ac_arg
5157 rm -f core conftest.err conftest.$ac_objext
5158 test "x$ac_cv_prog_cc_c89" != "xno" && break
5160 rm -f conftest.$ac_ext
5165 case "x$ac_cv_prog_cc_c89" in
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5168 $as_echo "none needed" >&6; } ;;
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5171 $as_echo "unsupported" >&6; } ;;
5173 CC="$CC $ac_cv_prog_cc_c89"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5177 if test "x$ac_cv_prog_cc_c89" != xno; then :
5182 ac_cpp='$CPP $CPPFLAGS'
5183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5188 ac_cpp='$CXXCPP $CPPFLAGS'
5189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5192 if test -z "$CXX"; then
5193 if test -n "$CCC"; then
5196 if test -n "$ac_tool_prefix"; then
5197 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if test "${ac_cv_prog_CXX+set}" = set; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$CXX"; then
5207 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 if test -n "$CXX"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5229 $as_echo "$CXX" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5236 test -n "$CXX" && break
5239 if test -z "$CXX"; then
5241 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy $ac_prog; ac_word=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$ac_ct_CXX"; then
5251 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5260 ac_cv_prog_ac_ct_CXX="$ac_prog"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5271 if test -n "$ac_ct_CXX"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5273 $as_echo "$ac_ct_CXX" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5280 test -n "$ac_ct_CXX" && break
5283 if test "x$ac_ct_CXX" = x; then
5286 case $cross_compiling:$ac_tool_warned in
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290 ac_tool_warned=yes ;;
5298 # Provide some information about the compiler.
5299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5302 for ac_option in --version -v -V -qversion; do
5303 { { ac_try="$ac_compiler $ac_option >&5"
5305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5306 *) ac_try_echo
=$ac_try;;
5308 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5309 $as_echo "$ac_try_echo"; } >&5
5310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5312 if test -s conftest.err
; then
5314 ... rest of stderr output deleted ...
5315 10q' conftest.err
>conftest.er1
5316 cat conftest.er1
>&5
5317 rm -f conftest.er1 conftest.err
5319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5320 test $ac_status = 0; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5324 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5325 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5326 $as_echo_n "(cached) " >&6
5328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5342 if ac_fn_cxx_try_compile
"$LINENO"; then :
5347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5348 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5352 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5353 if test $ac_compiler_gnu = yes; then
5358 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5359 ac_save_CXXFLAGS
=$CXXFLAGS
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5361 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5362 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5365 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5366 ac_cxx_werror_flag
=yes
5369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5380 if ac_fn_cxx_try_compile
"$LINENO"; then :
5381 ac_cv_prog_cxx_g
=yes
5384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5395 if ac_fn_cxx_try_compile
"$LINENO"; then :
5398 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5411 if ac_fn_cxx_try_compile
"$LINENO"; then :
5412 ac_cv_prog_cxx_g
=yes
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5419 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5422 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5423 if test "$ac_test_CXXFLAGS" = set; then
5424 CXXFLAGS
=$ac_save_CXXFLAGS
5425 elif test $ac_cv_prog_cxx_g = yes; then
5426 if test "$GXX" = yes; then
5432 if test "$GXX" = yes; then
5439 ac_cpp
='$CPP $CPPFLAGS'
5440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5444 depcc
="$CXX" am_compiler_list
=
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5447 $as_echo_n "checking dependency style of $depcc... " >&6; }
5448 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5449 $as_echo_n "(cached) " >&6
5451 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5452 # We make a subdir and do the tests there. Otherwise we can end up
5453 # making bogus files that we don't know about and never remove. For
5454 # instance it was reported that on HP-UX the gcc test will end up
5455 # making a dummy file named `D' -- because `-MD' means `put the output
5459 # Copy depcomp to subdir because otherwise we won't find it if we're
5460 # using a relative directory.
5461 cp "$am_depcomp" conftest.dir
5463 # We will build objects and dependencies in a subdirectory because
5464 # it helps to detect inapplicable dependency modes. For instance
5465 # both Tru64's cc and ICC support -MD to output dependencies as a
5466 # side effect of compilation, but ICC will put the dependencies in
5467 # the current directory while Tru64 will put them in the object
5471 am_cv_CXX_dependencies_compiler_type
=none
5472 if test "$am_compiler_list" = ""; then
5473 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5476 case " $depcc " in #(
5477 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5480 for depmode
in $am_compiler_list; do
5481 # Setup a source with many dependencies, because some compilers
5482 # like to wrap large dependency lists on column 80 (with \), and
5483 # we should not choose a depcomp mode which is confused by this.
5485 # We need to recreate these files for each test, as the compiler may
5486 # overwrite some of them when testing with obscure command lines.
5487 # This happens at least with the AIX C compiler.
5489 for i
in 1 2 3 4 5 6; do
5490 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5492 # Solaris 8's {/usr,}/bin/sh.
5493 touch sub
/conftst
$i.h
5495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5497 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5498 # mode. It turns out that the SunPro C++ compiler does not properly
5499 # handle `-M -o', and we need to detect this. Also, some Intel
5500 # versions had trouble with output in subdirs
5501 am__obj
=sub
/conftest.
${OBJEXT-o}
5502 am__minus_obj
="-o $am__obj"
5505 # This depmode causes a compiler race in universal mode.
5506 test "$am__universal" = false ||
continue
5509 # after this tag, mechanisms are not by side-effect, so they'll
5510 # only be used when explicitly requested
5511 if test "x$enable_dependency_tracking" = xyes
; then
5517 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5518 # This compiler won't grok `-c -o', but also, the minuso test has
5519 # not run yet. These depmodes are late enough in the game, and
5520 # so weak that their functioning should not be impacted.
5521 am__obj
=conftest.
${OBJEXT-o}
5526 if depmode
=$depmode \
5527 source=sub
/conftest.c object
=$am__obj \
5528 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5529 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5530 >/dev
/null
2>conftest.err
&&
5531 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5532 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5533 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5534 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5535 # icc doesn't choke on unknown options, it will just issue warnings
5536 # or remarks (even with -Werror). So we grep stderr for any message
5537 # that says an option was ignored or not supported.
5538 # When given -MP, icc 7.0 and 7.1 complain thusly:
5539 # icc: Command line warning: ignoring option '-M'; no argument required
5540 # The diagnosis changed in icc 8.0:
5541 # icc: Command line remark: option '-MP' not supported
5542 if (grep 'ignoring option' conftest.err ||
5543 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5544 am_cv_CXX_dependencies_compiler_type
=$depmode
5553 am_cv_CXX_dependencies_compiler_type
=none
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5558 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5559 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5562 test "x$enable_dependency_tracking" != xno \
5563 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5564 am__fastdepCXX_TRUE
=
5565 am__fastdepCXX_FALSE
='#'
5567 am__fastdepCXX_TRUE
='#'
5568 am__fastdepCXX_FALSE
=
5574 if test "x$CC" != xcc
; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5576 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5579 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5581 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5582 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5583 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5584 $as_echo_n "(cached) " >&6
5586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5597 # Make sure it works both with $CC and with simple cc.
5598 # We do the test twice because some compilers refuse to overwrite an
5599 # existing .o file with -o, though they will create one.
5600 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5602 if { { case "(($ac_try" in
5603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5604 *) ac_try_echo=$ac_try;;
5606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5607 $as_echo "$ac_try_echo"; } >&5
5608 (eval "$ac_try") 2>&5
5610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5611 test $ac_status = 0; } &&
5612 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5614 *) ac_try_echo
=$ac_try;;
5616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5617 $as_echo "$ac_try_echo"; } >&5
5618 (eval "$ac_try") 2>&5
5620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5621 test $ac_status = 0; };
5623 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5624 if test "x$CC" != xcc
; then
5625 # Test first that cc exists at all.
5626 if { ac_try
='cc -c conftest.$ac_ext >&5'
5627 { { case "(($ac_try" in
5628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5629 *) ac_try_echo=$ac_try;;
5631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5632 $as_echo "$ac_try_echo"; } >&5
5633 (eval "$ac_try") 2>&5
5635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5636 test $ac_status = 0; }; }; then
5637 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5639 if { { case "(($ac_try" in
5640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5641 *) ac_try_echo
=$ac_try;;
5643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5644 $as_echo "$ac_try_echo"; } >&5
5645 (eval "$ac_try") 2>&5
5647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5648 test $ac_status = 0; } &&
5649 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5651 *) ac_try_echo=$ac_try;;
5653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5654 $as_echo "$ac_try_echo"; } >&5
5655 (eval "$ac_try") 2>&5
5657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5658 test $ac_status = 0; };
5663 # cc exists but doesn't like -o.
5664 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5669 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5671 rm -f core conftest*
5674 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5676 $as_echo "yes" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5681 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5685 # FIXME: we rely on the cache variable name because
5686 # there is no other way.
5688 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5689 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5690 if test "$am_t" != yes; then
5691 # Losing compiler, so override with the script.
5692 # FIXME: It is wrong to rewrite CC.
5693 # But if we don't then we get into trouble of one sort or another.
5694 # A longer-term fix would be to have automake use am__CC in this case,
5695 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5696 CC="$am_aux_dir/compile $CC"
5704 # Newer automakes demand CCAS and CCASFLAGS.
5706 : ${CCASFLAGS='$(CFLAGS)'}
5710 if test -n "$ac_tool_prefix"; then
5711 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}as; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if test "${ac_cv_prog_AS+set}" = set; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$AS"; then
5719 ac_cv_prog_AS="$AS" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728 ac_cv_prog_AS="${ac_tool_prefix}as"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$AS"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5741 $as_echo "$AS" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5749 if test -z "$ac_cv_prog_AS"; then
5751 # Extract the first word of "as", so it can be a program name with args.
5752 set dummy as; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$ac_ct_AS"; then
5759 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_ac_ct_AS="as"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5779 if test -n "$ac_ct_AS"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5781 $as_echo "$ac_ct_AS" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5787 if test "x$ac_ct_AS" = x; then
5790 case $cross_compiling:$ac_tool_warned in
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5802 if test -n "$ac_tool_prefix"; then
5803 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5804 set dummy ${ac_tool_prefix}ar; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if test "${ac_cv_prog_AR+set}" = set; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$AR"; then
5811 ac_cv_prog_AR="$AR" # Let the user override the test.
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_AR="${ac_tool_prefix}ar"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 if test -n "$AR"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5833 $as_echo "$AR" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5841 if test -z "$ac_cv_prog_AR"; then
5843 # Extract the first word of "ar", so it can be a program name with args.
5844 set dummy ar; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5848 $as_echo_n "(cached) " >&6
5850 if test -n "$ac_ct_AR"; then
5851 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5860 ac_cv_prog_ac_ct_AR="ar"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5871 if test -n "$ac_ct_AR"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5873 $as_echo "$ac_ct_AR" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5879 if test "x$ac_ct_AR" = x; then
5882 case $cross_compiling:$ac_tool_warned in
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5886 ac_tool_warned=yes ;;
5894 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5900 $as_echo_n "(cached) " >&6
5902 if test -n "$RANLIB"; then
5903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 RANLIB=$ac_cv_prog_RANLIB
5923 if test -n "$RANLIB"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5925 $as_echo "$RANLIB" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5933 if test -z "$ac_cv_prog_RANLIB"; then
5934 ac_ct_RANLIB=$RANLIB
5935 # Extract the first word of "ranlib", so it can be a program name with args.
5936 set dummy ranlib; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5940 $as_echo_n "(cached) " >&6
5942 if test -n "$ac_ct_RANLIB"; then
5943 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5952 ac_cv_prog_ac_ct_RANLIB="ranlib"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5963 if test -n "$ac_ct_RANLIB"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5965 $as_echo "$ac_ct_RANLIB" >&6; }
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5971 if test "x$ac_ct_RANLIB" = x; then
5974 case $cross_compiling:$ac_tool_warned in
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5978 ac_tool_warned=yes ;;
5980 RANLIB=$ac_ct_RANLIB
5983 RANLIB="$ac_cv_prog_RANLIB"
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5995 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6000 macro_version='2.2.7a'
6001 macro_revision='1.3134'
6015 ltmain="$ac_aux_dir/ltmain.sh"
6017 # Backslashify metacharacters that are still active within
6018 # double-quoted strings.
6019 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6021 # Same as above, but do not quote variable references.
6022 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6024 # Sed substitution to delay expansion of an escaped shell variable in a
6025 # double_quote_subst'ed string.
6026 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6028 # Sed substitution to delay expansion of an escaped single quote.
6029 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6031 # Sed substitution to avoid accidental globbing in evaled expressions
6032 no_glob_subst='s/\*/\\\*/g'
6034 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6035 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6039 $as_echo_n "checking how to print
strings...
" >&6; }
6040 # Test print first, because it will be a builtin if present.
6041 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6042 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6044 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6047 # Use this function as a fallback that always works.
6048 func_fallback_echo ()
6050 eval 'cat <<_LTECHO_EOF
6054 ECHO='func_fallback_echo'
6057 # func_echo_all arg...
6058 # Invoke $ECHO with all args, space-separated.
6065 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6066 $as_echo "printf" >&6; } ;;
6067 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6068 $as_echo "print
-r" >&6; } ;;
6069 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6070 $as_echo "cat" >&6; } ;;
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6087 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6088 if test "${ac_cv_path_SED+set}" = set; then :
6089 $as_echo_n "(cached
) " >&6
6091 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6092 for ac_i in 1 2 3 4 5 6 7; do
6093 ac_script="$ac_script$as_nl$ac_script"
6095 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6096 { ac_script=; unset ac_script;}
6097 if test -z "$SED"; then
6098 ac_path_SED_found=false
6099 # Loop through the user's path and test for each of PROGNAME-LIST
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_prog in sed gsed; do
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6108 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6109 # Check for GNU ac_path_SED and select it if it is found.
6110 # Check for GNU $ac_path_SED
6111 case `"$ac_path_SED" --version 2>&1` in
6113 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6116 $as_echo_n 0123456789 >"conftest.
in"
6119 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6120 mv "conftest.tmp
" "conftest.
in"
6121 cp "conftest.
in" "conftest.
nl"
6122 $as_echo '' >> "conftest.
nl"
6123 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6124 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6125 as_fn_arith $ac_count + 1 && ac_count=$as_val
6126 if test $ac_count -gt ${ac_path_SED_max-0}; then
6127 # Best one so far, save it but keep looking for a better one
6128 ac_cv_path_SED="$ac_path_SED"
6129 ac_path_SED_max=$ac_count
6131 # 10*(2^10) chars as input seems more than enough
6132 test $ac_count -gt 10 && break
6134 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6137 $ac_path_SED_found && break 3
6142 if test -z "$ac_cv_path_SED"; then
6143 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6151 $as_echo "$ac_cv_path_SED" >&6; }
6152 SED="$ac_cv_path_SED"
6155 test -z "$SED" && SED=sed
6156 Xsed="$SED -e 1s
/^X
//"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6169 $as_echo_n "checking
for fgrep...
" >&6; }
6170 if test "${ac_cv_path_FGREP+set}" = set; then :
6171 $as_echo_n "(cached
) " >&6
6173 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6174 then ac_cv_path_FGREP="$GREP -F"
6176 if test -z "$FGREP"; then
6177 ac_path_FGREP_found=false
6178 # Loop through the user's path and test for each of PROGNAME-LIST
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6183 test -z "$as_dir" && as_dir=.
6184 for ac_prog in fgrep; do
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6187 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6188 # Check for GNU ac_path_FGREP and select it if it is found.
6189 # Check for GNU $ac_path_FGREP
6190 case `"$ac_path_FGREP" --version 2>&1` in
6192 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6195 $as_echo_n 0123456789 >"conftest.
in"
6198 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6199 mv "conftest.tmp
" "conftest.
in"
6200 cp "conftest.
in" "conftest.
nl"
6201 $as_echo 'FGREP' >> "conftest.
nl"
6202 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6203 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6204 as_fn_arith $ac_count + 1 && ac_count=$as_val
6205 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6206 # Best one so far, save it but keep looking for a better one
6207 ac_cv_path_FGREP="$ac_path_FGREP"
6208 ac_path_FGREP_max=$ac_count
6210 # 10*(2^10) chars as input seems more than enough
6211 test $ac_count -gt 10 && break
6213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6216 $ac_path_FGREP_found && break 3
6221 if test -z "$ac_cv_path_FGREP"; then
6222 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6225 ac_cv_path_FGREP=$FGREP
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6231 $as_echo "$ac_cv_path_FGREP" >&6; }
6232 FGREP="$ac_cv_path_FGREP"
6235 test -z "$GREP" && GREP=grep
6255 # Check whether --with-gnu-ld was given.
6256 if test "${with_gnu_ld+set}" = set; then :
6257 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6263 if test "$GCC" = yes; then
6264 # Check if gcc -print-prog-name=ld gives a path.
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6266 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6269 # gcc leaves a trailing carriage return which upsets mingw
6270 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6272 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6275 # Accept absolute paths.
6277 re_direlt='/[^/][^/]*/\.\./'
6278 # Canonicalize the pathname of ld
6279 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6280 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6281 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6283 test -z "$LD" && LD="$ac_prog"
6286 # If it fails, then pretend we aren't using GCC.
6290 # If it is relative, then search for the first ld in PATH.
6294 elif test "$with_gnu_ld" = yes; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6296 $as_echo_n "checking
for GNU ld...
" >&6; }
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6299 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6301 if test "${lt_cv_path_LD+set}" = set; then :
6302 $as_echo_n "(cached
) " >&6
6304 if test -z "$LD"; then
6305 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6306 for ac_dir in $PATH; do
6308 test -z "$ac_dir" && ac_dir=.
6309 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6310 lt_cv_path_LD="$ac_dir/$ac_prog"
6311 # Check to see if the program is GNU ld. I'd rather use --version,
6312 # but apparently some variants of GNU ld only accept -v.
6313 # Break only if it was the GNU/non-GNU ld that we prefer.
6314 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6315 *GNU* | *'with BFD'*)
6316 test "$with_gnu_ld" != no && break
6319 test "$with_gnu_ld" != yes && break
6326 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6331 if test -n "$LD"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6333 $as_echo "$LD" >&6; }
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6336 $as_echo "no
" >&6; }
6338 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6340 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6341 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6342 $as_echo_n "(cached
) " >&6
6344 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6345 case `$LD -v 2>&1 </dev/null` in
6346 *GNU* | *'with BFD'*)
6347 lt_cv_prog_gnu_ld=yes
6350 lt_cv_prog_gnu_ld=no
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6355 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6356 with_gnu_ld=$lt_cv_prog_gnu_ld
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6367 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6368 if test "${lt_cv_path_NM+set}" = set; then :
6369 $as_echo_n "(cached
) " >&6
6371 if test -n "$NM"; then
6372 # Let the user override the test.
6375 lt_nm_to_check="${ac_tool_prefix}nm
"
6376 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6377 lt_nm_to_check="$lt_nm_to_check nm
"
6379 for lt_tmp_nm in $lt_nm_to_check; do
6380 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6381 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6383 test -z "$ac_dir" && ac_dir=.
6384 tmp_nm="$ac_dir/$lt_tmp_nm"
6385 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6386 # Check to see if the nm accepts a BSD-compat flag.
6387 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6388 # nm: unknown option "B
" ignored
6389 # Tru64's nm complains that /dev/null is an invalid object file
6390 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6391 */dev/null* | *'Invalid file or object type'*)
6392 lt_cv_path_NM="$tmp_nm -B"
6396 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6398 lt_cv_path_NM="$tmp_nm -p"
6402 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6403 continue # so that we can try to find one that supports BSD flags
6412 : ${lt_cv_path_NM=no}
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6416 $as_echo "$lt_cv_path_NM" >&6; }
6417 if test "$lt_cv_path_NM" != "no
"; then
6420 # Didn't find any BSD compatible name lister, look for dumpbin.
6421 if test -n "$DUMPBIN"; then :
6422 # Let the user override the test.
6424 if test -n "$ac_tool_prefix"; then
6425 for ac_prog in dumpbin "link
-dump"
6427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6430 $as_echo_n "checking
for $ac_word...
" >&6; }
6431 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6432 $as_echo_n "(cached
) " >&6
6434 if test -n "$DUMPBIN"; then
6435 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6454 DUMPBIN=$ac_cv_prog_DUMPBIN
6455 if test -n "$DUMPBIN"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6457 $as_echo "$DUMPBIN" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6460 $as_echo "no
" >&6; }
6464 test -n "$DUMPBIN" && break
6467 if test -z "$DUMPBIN"; then
6468 ac_ct_DUMPBIN=$DUMPBIN
6469 for ac_prog in dumpbin "link
-dump"
6471 # Extract the first word of "$ac_prog", so it can be a program name with args.
6472 set dummy $ac_prog; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6474 $as_echo_n "checking
for $ac_word...
" >&6; }
6475 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6476 $as_echo_n "(cached
) " >&6
6478 if test -n "$ac_ct_DUMPBIN"; then
6479 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6498 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6499 if test -n "$ac_ct_DUMPBIN"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6501 $as_echo "$ac_ct_DUMPBIN" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6504 $as_echo "no
" >&6; }
6508 test -n "$ac_ct_DUMPBIN" && break
6511 if test "x
$ac_ct_DUMPBIN" = x; then
6514 case $cross_compiling:$ac_tool_warned in
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6517 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6518 ac_tool_warned=yes ;;
6520 DUMPBIN=$ac_ct_DUMPBIN
6524 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6526 DUMPBIN="$DUMPBIN -symbols"
6534 if test "$DUMPBIN" != ":"; then
6538 test -z "$NM" && NM=nm
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6546 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6547 if test "${lt_cv_nm_interface+set}" = set; then :
6548 $as_echo_n "(cached
) " >&6
6550 lt_cv_nm_interface="BSD nm
"
6551 echo "int some_variable
= 0;" > conftest.$ac_ext
6552 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6553 (eval "$ac_compile" 2>conftest.err)
6554 cat conftest.err >&5
6555 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6556 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6557 cat conftest.err >&5
6558 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6559 cat conftest.out >&5
6560 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6561 lt_cv_nm_interface="MS dumpbin
"
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6566 $as_echo "$lt_cv_nm_interface" >&6; }
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6569 $as_echo_n "checking whether
ln -s works...
" >&6; }
6571 if test "$LN_S" = "ln -s"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6573 $as_echo "yes" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6576 $as_echo "no
, using
$LN_S" >&6; }
6579 # find the maximum length of command line arguments
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6581 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6582 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6583 $as_echo_n "(cached
) " >&6
6590 # On DJGPP, this test can blow up pretty badly due to problems in libc
6591 # (any single argument exceeding 2000 bytes causes a buffer overrun
6592 # during glob expansion). Even if it were fixed, the result of this
6593 # check would be larger than it should be.
6594 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6598 # Under GNU Hurd, this test is not required because there is
6599 # no limit to the length of command line arguments.
6600 # Libtool will interpret -1 as no limit whatsoever
6601 lt_cv_sys_max_cmd_len=-1;
6604 cygwin* | mingw* | cegcc*)
6605 # On Win9x/ME, this test blows up -- it succeeds, but takes
6606 # about 5 minutes as the teststring grows exponentially.
6607 # Worse, since 9x/ME are not pre-emptively multitasking,
6608 # you end up with a "frozen
" computer, even though with patience
6609 # the test eventually succeeds (with a max line length of 256k).
6610 # Instead, let's just punt: use the minimum linelength reported by
6611 # all of the supported platforms: 8192 (on NT/2K/XP).
6612 lt_cv_sys_max_cmd_len=8192;
6616 # On MiNT this can take a long time and run out of memory.
6617 lt_cv_sys_max_cmd_len=8192;
6621 # On AmigaOS with pdksh, this test takes hours, literally.
6622 # So we just punt and use a minimum line length of 8192.
6623 lt_cv_sys_max_cmd_len=8192;
6626 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6627 # This has been around since 386BSD, at least. Likely further.
6628 if test -x /sbin/sysctl; then
6629 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6630 elif test -x /usr/sbin/sysctl; then
6631 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6633 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6635 # And add a safety zone
6636 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6637 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6641 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6642 lt_cv_sys_max_cmd_len=196608
6646 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6647 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6648 # nice to cause kernel panics so lets avoid the loop below.
6649 # First set a reasonable default.
6650 lt_cv_sys_max_cmd_len=16384
6652 if test -x /sbin/sysconfig; then
6653 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6654 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6659 lt_cv_sys_max_cmd_len=102400
6661 sysv5* | sco5v6* | sysv4.2uw2*)
6662 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6663 if test -n "$kargmax"; then
6664 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6666 lt_cv_sys_max_cmd_len=32768
6670 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6671 if test -n "$lt_cv_sys_max_cmd_len"; then
6672 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6673 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6675 # Make teststring a little bigger before we do anything with it.
6676 # a 1K string should be a reasonable start.
6677 for i in 1 2 3 4 5 6 7 8 ; do
6678 teststring=$teststring$teststring
6680 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6681 # If test is not a shell built-in, we'll probably end up computing a
6682 # maximum length that is only half of the actual maximum length, but
6684 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6685 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6686 test $i != 17 # 1/2 MB should be enough
6689 teststring=$teststring$teststring
6691 # Only check the string length outside the loop.
6692 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6694 # Add a significant safety factor because C++ compilers can tack on
6695 # massive amounts of additional arguments before passing them to the
6696 # linker. It appears as though 1/2 is a usable value.
6697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6704 if test -n $lt_cv_sys_max_cmd_len ; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6706 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6709 $as_echo "none
" >&6; }
6711 max_cmd_len=$lt_cv_sys_max_cmd_len
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6723 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6724 # Try some XSI features
6727 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6729 && eval 'test $(( 1 + 1 )) -eq 2 \
6730 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6733 $as_echo "$xsi_shell" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6737 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6739 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6741 && lt_shell_append
=yes
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6743 $as_echo "$lt_shell_append" >&6; }
6746 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6756 # test EBCDIC or ASCII
6757 case `echo X|tr X '\101'` in
6758 A
) # ASCII based system
6759 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6760 lt_SP2NL
='tr \040 \012'
6761 lt_NL2SP
='tr \015\012 \040\040'
6763 *) # EBCDIC based system
6764 lt_SP2NL
='tr \100 \n'
6765 lt_NL2SP
='tr \r\n \100\100'
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6778 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6779 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6782 lt_cv_ld_reload_flag
='-r'
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6785 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6786 reload_flag
=$lt_cv_ld_reload_flag
6787 case $reload_flag in
6789 *) reload_flag
=" $reload_flag" ;;
6791 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6794 if test "$GCC" = yes; then
6795 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6797 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6812 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6816 $as_echo_n "(cached) " >&6
6818 if test -n "$OBJDUMP"; then
6819 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir
=.
6826 for ac_exec_ext
in '' $ac_executable_extensions; do
6827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 OBJDUMP
=$ac_cv_prog_OBJDUMP
6839 if test -n "$OBJDUMP"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6841 $as_echo "$OBJDUMP" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6849 if test -z "$ac_cv_prog_OBJDUMP"; then
6850 ac_ct_OBJDUMP
=$OBJDUMP
6851 # Extract the first word of "objdump", so it can be a program name with args.
6852 set dummy objdump
; 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_ac_ct_OBJDUMP+set}" = set; then :
6856 $as_echo_n "(cached) " >&6
6858 if test -n "$ac_ct_OBJDUMP"; then
6859 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # 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_ac_ct_OBJDUMP
="objdump"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6879 if test -n "$ac_ct_OBJDUMP"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6881 $as_echo "$ac_ct_OBJDUMP" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6887 if test "x$ac_ct_OBJDUMP" = x
; then
6890 case $cross_compiling:$ac_tool_warned in
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6894 ac_tool_warned
=yes ;;
6896 OBJDUMP
=$ac_ct_OBJDUMP
6899 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6902 test -z "$OBJDUMP" && OBJDUMP
=objdump
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6913 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6914 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6915 $as_echo_n "(cached) " >&6
6917 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6918 lt_cv_file_magic_test_file
=
6919 lt_cv_deplibs_check_method
='unknown'
6920 # Need to set the preceding variable on all platforms that support
6921 # interlibrary dependencies.
6922 # 'none' -- dependencies not supported.
6923 # `unknown' -- same as none, but documents that we really don't know.
6924 # 'pass_all' -- all dependencies passed with no checks.
6925 # 'test_compile' -- check by making test program.
6926 # 'file_magic [[regex]]' -- check by looking for files in library path
6927 # which responds to the $file_magic_cmd with a given extended regex.
6928 # If you have `file' or equivalent on your system and you're not sure
6929 # whether `pass_all' will *always* work, you probably want this one.
6933 lt_cv_deplibs_check_method
=pass_all
6937 lt_cv_deplibs_check_method
=pass_all
6941 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6942 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6943 lt_cv_file_magic_test_file
=/shlib
/libc.so
6947 # func_win32_libid is a shell function defined in ltmain.sh
6948 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6949 lt_cv_file_magic_cmd
='func_win32_libid'
6953 # Base MSYS/MinGW do not provide the 'file' command needed by
6954 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6955 # unless we find 'file', for example because we are cross-compiling.
6956 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6957 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6958 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6959 lt_cv_file_magic_cmd
='func_win32_libid'
6961 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6962 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6967 # use the weaker test based on 'objdump'. See mingw*.
6968 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6969 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6972 darwin
* | rhapsody
*)
6973 lt_cv_deplibs_check_method
=pass_all
6976 freebsd
* | dragonfly
*)
6977 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6980 # Not sure whether the presence of OpenBSD here was a mistake.
6981 # Let's accept both of them until this is cleared up.
6982 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6983 lt_cv_file_magic_cmd
=/usr
/bin
/file
6984 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6988 lt_cv_deplibs_check_method
=pass_all
6993 lt_cv_deplibs_check_method
=pass_all
6997 lt_cv_deplibs_check_method
=pass_all
7000 hpux10.20
* | hpux11
*)
7001 lt_cv_file_magic_cmd
=/usr
/bin
/file
7004 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7005 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7008 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]'
7009 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7012 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7013 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7019 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7020 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7023 irix5
* | irix6
* | nonstopux
*)
7025 *-32|
*"-32 ") libmagic
=32-bit;;
7026 *-n32|
*"-n32 ") libmagic
=N32
;;
7027 *-64|
*"-64 ") libmagic
=64-bit;;
7028 *) libmagic
=never-match
;;
7030 lt_cv_deplibs_check_method
=pass_all
7033 # This must be Linux ELF.
7034 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7035 lt_cv_deplibs_check_method
=pass_all
7039 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7040 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7042 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7047 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7048 lt_cv_file_magic_cmd
=/usr
/bin
/file
7049 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7053 lt_cv_deplibs_check_method
=pass_all
7057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7058 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7060 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7064 osf3
* | osf4
* | osf5
*)
7065 lt_cv_deplibs_check_method
=pass_all
7069 lt_cv_deplibs_check_method
=pass_all
7073 lt_cv_deplibs_check_method
=pass_all
7076 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7077 lt_cv_deplibs_check_method
=pass_all
7081 case $host_vendor in
7083 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]'
7084 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7087 lt_cv_deplibs_check_method
=pass_all
7090 lt_cv_file_magic_cmd
='/bin/file'
7091 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7094 lt_cv_file_magic_cmd
='/bin/file'
7095 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7096 lt_cv_file_magic_test_file
=/lib
/libc.so
7099 lt_cv_deplibs_check_method
=pass_all
7102 lt_cv_deplibs_check_method
=pass_all
7108 lt_cv_deplibs_check_method
=pass_all
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7114 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7115 file_magic_cmd
=$lt_cv_file_magic_cmd
7116 deplibs_check_method
=$lt_cv_deplibs_check_method
7117 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7130 if test -n "$ac_tool_prefix"; then
7131 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7132 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if test "${ac_cv_prog_AR+set}" = set; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$AR"; then
7139 ac_cv_prog_AR
="$AR" # Let the user override the test.
7141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir
=.
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 if test -n "$AR"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7161 $as_echo "$AR" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_prog_AR"; then
7171 # Extract the first word of "ar", so it can be a program name with args.
7172 set dummy
ar; ac_word
=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$ac_ct_AR"; then
7179 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir
=.
7186 for ac_exec_ext
in '' $ac_executable_extensions; do
7187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7188 ac_cv_prog_ac_ct_AR
="ar"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7199 if test -n "$ac_ct_AR"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7201 $as_echo "$ac_ct_AR" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7207 if test "x$ac_ct_AR" = x
; then
7210 case $cross_compiling:$ac_tool_warned in
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214 ac_tool_warned
=yes ;;
7222 test -z "$AR" && AR
=ar
7223 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7235 if test -n "$ac_tool_prefix"; then
7236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7237 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if test "${ac_cv_prog_STRIP+set}" = set; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$STRIP"; then
7244 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir
=.
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 STRIP
=$ac_cv_prog_STRIP
7264 if test -n "$STRIP"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7266 $as_echo "$STRIP" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7274 if test -z "$ac_cv_prog_STRIP"; then
7276 # Extract the first word of "strip", so it can be a program name with args.
7277 set dummy strip
; ac_word
=$2
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7281 $as_echo_n "(cached) " >&6
7283 if test -n "$ac_ct_STRIP"; then
7284 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7290 test -z "$as_dir" && as_dir
=.
7291 for ac_exec_ext
in '' $ac_executable_extensions; do
7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 ac_cv_prog_ac_ct_STRIP
="strip"
7294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7304 if test -n "$ac_ct_STRIP"; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7306 $as_echo "$ac_ct_STRIP" >&6; }
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 $as_echo "no" >&6; }
7312 if test "x$ac_ct_STRIP" = x
; then
7315 case $cross_compiling:$ac_tool_warned in
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7319 ac_tool_warned
=yes ;;
7324 STRIP
="$ac_cv_prog_STRIP"
7327 test -z "$STRIP" && STRIP
=:
7334 if test -n "$ac_tool_prefix"; then
7335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7336 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7342 if test -n "$RANLIB"; then
7343 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir
=.
7350 for ac_exec_ext
in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 RANLIB
=$ac_cv_prog_RANLIB
7363 if test -n "$RANLIB"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7365 $as_echo "$RANLIB" >&6; }
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7373 if test -z "$ac_cv_prog_RANLIB"; then
7374 ac_ct_RANLIB
=$RANLIB
7375 # Extract the first word of "ranlib", so it can be a program name with args.
7376 set dummy ranlib
; ac_word
=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7380 $as_echo_n "(cached) " >&6
7382 if test -n "$ac_ct_RANLIB"; then
7383 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7389 test -z "$as_dir" && as_dir
=.
7390 for ac_exec_ext
in '' $ac_executable_extensions; do
7391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7403 if test -n "$ac_ct_RANLIB"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7405 $as_echo "$ac_ct_RANLIB" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7411 if test "x$ac_ct_RANLIB" = x
; then
7414 case $cross_compiling:$ac_tool_warned in
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned
=yes ;;
7420 RANLIB
=$ac_ct_RANLIB
7423 RANLIB
="$ac_cv_prog_RANLIB"
7426 test -z "$RANLIB" && RANLIB
=:
7433 # Determine commands to create old-style static archives.
7434 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7435 old_postinstall_cmds
='chmod 644 $oldlib'
7436 old_postuninstall_cmds
=
7438 if test -n "$RANLIB"; then
7441 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7444 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7447 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7452 lock_old_archive_extraction
=yes ;;
7454 lock_old_archive_extraction
=no
;;
7495 # If no C compiler was specified, use CC.
7498 # If no C compiler flags were specified, use CFLAGS.
7499 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7501 # Allow CC to be a program name with arguments.
7505 # Check for command to grab the raw symbol name followed by C symbol from nm.
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7507 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7508 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7509 $as_echo_n "(cached) " >&6
7512 # These are sane defaults that work on at least a few old systems.
7513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7515 # Character class describing NM global symbol codes.
7516 symcode
='[BCDEGRST]'
7518 # Regexp to match symbols that can be accessed directly from C.
7519 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7521 # Define system-specific variables.
7526 cygwin
* | mingw
* | pw32
* | cegcc
*)
7527 symcode
='[ABCDGISTW]'
7530 if test "$host_cpu" = ia64
; then
7531 symcode
='[ABCDEGRST]'
7535 symcode
='[BCDEGRST]'
7538 symcode
='[BCDEGQRST]'
7549 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7557 # If we're using GNU nm, then use its standard symbol codes.
7558 case `$NM -V 2>&1` in
7559 *GNU
* |
*'with BFD'*)
7560 symcode
='[ABCDGIRSTW]' ;;
7563 # Transform an extracted symbol line into a proper C declaration.
7564 # Some systems (esp. on ia64) link data and code symbols differently,
7565 # so use this general approach.
7566 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7568 # Transform an extracted symbol line into symbol name and symbol address
7569 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7570 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'"
7572 # Handle CRLF in mingw tool chain
7576 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7580 # Try without a prefix underscore, then with it.
7581 for ac_symprfx
in "" "_"; do
7583 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7584 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7586 # Write the raw and C identifiers.
7587 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7588 # Fake it for dumpbin and say T for any non-static function
7589 # and D for any global variable.
7590 # Also find C++ and __fastcall symbols from MSVC++,
7591 # which start with @ or ?.
7592 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7593 " {last_section=section; section=\$ 3};"\
7594 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7595 " \$ 0!~/External *\|/{next};"\
7596 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7597 " {if(hide[section]) next};"\
7598 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7599 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7600 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7601 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7602 " ' prfx=^$ac_symprfx"
7604 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7607 # Check to see that the pipe works correctly.
7611 cat > conftest.
$ac_ext <<_LT_EOF
7616 void nm_test_func(void);
7617 void nm_test_func(void){}
7621 int main(){nm_test_var='a';nm_test_func();return(0);}
7624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7625 (eval $ac_compile) 2>&5
7627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7628 test $ac_status = 0; }; then
7629 # Now try to grab the symbols.
7631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7632 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7635 test $ac_status = 0; } && test -s "$nlist"; then
7636 # Try sorting and uniquifying the output.
7637 if sort "$nlist" |
uniq > "$nlist"T
; then
7638 mv -f "$nlist"T
"$nlist"
7643 # Make sure that we snagged all the symbols we need.
7644 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7645 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7646 cat <<_LT_EOF > conftest.$ac_ext
7652 # Now generate the symbol file.
7653 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7655 cat <<_LT_EOF >> conftest.$ac_ext
7657 /* The mapping between symbol names and symbols. */
7662 lt__PROGRAM__LTX_preloaded_symbols[] =
7664 { "@PROGRAM@", (void *) 0 },
7666 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7667 cat <<\_LT_EOF
>> conftest.
$ac_ext
7671 /* This works around a problem
in FreeBSD linker
*/
7672 #ifdef FREEBSD_WORKAROUND
7673 static const void
*lt_preloaded_setup
() {
7674 return lt__PROGRAM__LTX_preloaded_symbols
;
7682 # Now try linking the two files.
7683 mv conftest.
$ac_objext conftstm.
$ac_objext
7684 lt_save_LIBS
="$LIBS"
7685 lt_save_CFLAGS
="$CFLAGS"
7686 LIBS
="conftstm.$ac_objext"
7687 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7689 (eval $ac_link) 2>&5
7691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7692 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7695 LIBS
="$lt_save_LIBS"
7696 CFLAGS
="$lt_save_CFLAGS"
7698 echo "cannot find nm_test_func in $nlist" >&5
7701 echo "cannot find nm_test_var in $nlist" >&5
7704 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7707 echo "$progname: failed program was:" >&5
7708 cat conftest.
$ac_ext >&5
7710 rm -rf conftest
* conftst
*
7712 # Do not use the global_symbol_pipe unless it works.
7713 if test "$pipe_works" = yes; then
7716 lt_cv_sys_global_symbol_pipe
=
7722 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7723 lt_cv_sys_global_symbol_to_cdecl
=
7725 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7727 $as_echo "failed" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7730 $as_echo "ok" >&6; }
7754 # Check whether --enable-libtool-lock was given.
7755 if test "${enable_libtool_lock+set}" = set; then :
7756 enableval
=$enable_libtool_lock;
7759 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7761 # Some flags need to be propagated to the compiler or linker for good
7765 # Find out which ABI we are using.
7766 echo 'int i;' > conftest.
$ac_ext
7767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7768 (eval $ac_compile) 2>&5
7770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7771 test $ac_status = 0; }; then
7772 case `/usr/bin/file conftest.$ac_objext` in
7784 # Find out which ABI we are using.
7785 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7787 (eval $ac_compile) 2>&5
7789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7790 test $ac_status = 0; }; then
7791 if test "$lt_cv_prog_gnu_ld" = yes; then
7792 case `/usr/bin/file conftest.$ac_objext` in
7794 LD
="${LD-ld} -melf32bsmip"
7797 LD
="${LD-ld} -melf32bmipn32"
7800 LD
="${LD-ld} -melf64bmip"
7804 case `/usr/bin/file conftest.$ac_objext` in
7820 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7821 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7822 # Find out which ABI we are using.
7823 echo 'int i;' > conftest.
$ac_ext
7824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7825 (eval $ac_compile) 2>&5
7827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7828 test $ac_status = 0; }; then
7829 case `/usr/bin/file conftest.o` in
7832 x86_64-
*kfreebsd
*-gnu)
7833 LD
="${LD-ld} -m elf_i386_fbsd"
7836 case `/usr/bin/file conftest.o` in
7838 LD
="${LD-ld} -m elf32_x86_64"
7841 LD
="${LD-ld} -m elf_i386"
7845 powerpc64le-
*linux
*)
7846 LD
="${LD-ld} -m elf32lppclinux"
7849 LD
="${LD-ld} -m elf32ppclinux"
7852 LD
="${LD-ld} -m elf_s390"
7855 LD
="${LD-ld} -m elf32_sparc"
7861 x86_64-
*kfreebsd
*-gnu)
7862 LD
="${LD-ld} -m elf_x86_64_fbsd"
7865 LD
="${LD-ld} -m elf_x86_64"
7868 LD
="${LD-ld} -m elf64lppc"
7871 LD
="${LD-ld} -m elf64ppc"
7873 s390
*-*linux
*|s390
*-*tpf
*)
7874 LD
="${LD-ld} -m elf64_s390"
7877 LD
="${LD-ld} -m elf64_sparc"
7887 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7888 SAVE_CFLAGS
="$CFLAGS"
7889 CFLAGS
="$CFLAGS -belf"
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7891 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7892 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7893 $as_echo_n "(cached) " >&6
7896 ac_cpp
='$CPP $CPPFLAGS'
7897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7912 if ac_fn_c_try_link
"$LINENO"; then :
7913 lt_cv_cc_needs_belf
=yes
7915 lt_cv_cc_needs_belf
=no
7917 rm -f core conftest.err conftest.
$ac_objext \
7918 conftest
$ac_exeext conftest.
$ac_ext
7920 ac_cpp
='$CPP $CPPFLAGS'
7921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7927 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7928 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7929 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7930 CFLAGS
="$SAVE_CFLAGS"
7934 # Find out which ABI we are using.
7935 echo 'int i;' > conftest.
$ac_ext
7936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7937 (eval $ac_compile) 2>&5
7939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7940 test $ac_status = 0; }; then
7941 case `/usr/bin/file conftest.o` in
7943 case $lt_cv_prog_gnu_ld in
7944 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7946 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7958 need_locks
="$enable_libtool_lock"
7962 rhapsody
* | darwin
*)
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7965 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 if test -n "$DSYMUTIL"; then
7972 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir
=.
7979 for ac_exec_ext
in '' $ac_executable_extensions; do
7980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7981 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7992 if test -n "$DSYMUTIL"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7994 $as_echo "$DSYMUTIL" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8002 if test -z "$ac_cv_prog_DSYMUTIL"; then
8003 ac_ct_DSYMUTIL
=$DSYMUTIL
8004 # Extract the first word of "dsymutil", so it can be a program name with args.
8005 set dummy dsymutil
; ac_word
=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8009 $as_echo_n "(cached) " >&6
8011 if test -n "$ac_ct_DSYMUTIL"; then
8012 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8032 if test -n "$ac_ct_DSYMUTIL"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8034 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8040 if test "x$ac_ct_DSYMUTIL" = x
; then
8043 case $cross_compiling:$ac_tool_warned in
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8047 ac_tool_warned
=yes ;;
8049 DSYMUTIL
=$ac_ct_DSYMUTIL
8052 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8055 if test -n "$ac_tool_prefix"; then
8056 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8057 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8061 $as_echo_n "(cached) " >&6
8063 if test -n "$NMEDIT"; then
8064 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir
=.
8071 for ac_exec_ext
in '' $ac_executable_extensions; do
8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8073 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 NMEDIT
=$ac_cv_prog_NMEDIT
8084 if test -n "$NMEDIT"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8086 $as_echo "$NMEDIT" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8094 if test -z "$ac_cv_prog_NMEDIT"; then
8095 ac_ct_NMEDIT
=$NMEDIT
8096 # Extract the first word of "nmedit", so it can be a program name with args.
8097 set dummy nmedit
; ac_word
=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8101 $as_echo_n "(cached) " >&6
8103 if test -n "$ac_ct_NMEDIT"; then
8104 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8110 test -z "$as_dir" && as_dir
=.
8111 for ac_exec_ext
in '' $ac_executable_extensions; do
8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8124 if test -n "$ac_ct_NMEDIT"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8126 $as_echo "$ac_ct_NMEDIT" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8132 if test "x$ac_ct_NMEDIT" = x
; then
8135 case $cross_compiling:$ac_tool_warned in
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8139 ac_tool_warned
=yes ;;
8141 NMEDIT
=$ac_ct_NMEDIT
8144 NMEDIT
="$ac_cv_prog_NMEDIT"
8147 if test -n "$ac_tool_prefix"; then
8148 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8149 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8151 $as_echo_n "checking for $ac_word... " >&6; }
8152 if test "${ac_cv_prog_LIPO+set}" = set; then :
8153 $as_echo_n "(cached) " >&6
8155 if test -n "$LIPO"; then
8156 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir
=.
8163 for ac_exec_ext
in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8175 LIPO
=$ac_cv_prog_LIPO
8176 if test -n "$LIPO"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8178 $as_echo "$LIPO" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8186 if test -z "$ac_cv_prog_LIPO"; then
8188 # Extract the first word of "lipo", so it can be a program name with args.
8189 set dummy lipo
; ac_word
=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8193 $as_echo_n "(cached) " >&6
8195 if test -n "$ac_ct_LIPO"; then
8196 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir
=.
8203 for ac_exec_ext
in '' $ac_executable_extensions; do
8204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8205 ac_cv_prog_ac_ct_LIPO
="lipo"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8216 if test -n "$ac_ct_LIPO"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8218 $as_echo "$ac_ct_LIPO" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8224 if test "x$ac_ct_LIPO" = x
; then
8227 case $cross_compiling:$ac_tool_warned in
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8231 ac_tool_warned
=yes ;;
8236 LIPO
="$ac_cv_prog_LIPO"
8239 if test -n "$ac_tool_prefix"; then
8240 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8241 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8245 $as_echo_n "(cached) " >&6
8247 if test -n "$OTOOL"; then
8248 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8254 test -z "$as_dir" && as_dir
=.
8255 for ac_exec_ext
in '' $ac_executable_extensions; do
8256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8257 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 OTOOL
=$ac_cv_prog_OTOOL
8268 if test -n "$OTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8270 $as_echo "$OTOOL" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8278 if test -z "$ac_cv_prog_OTOOL"; then
8280 # Extract the first word of "otool", so it can be a program name with args.
8281 set dummy otool
; ac_word
=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8287 if test -n "$ac_ct_OTOOL"; then
8288 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir
=.
8295 for ac_exec_ext
in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_ac_ct_OTOOL
="otool"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8308 if test -n "$ac_ct_OTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8310 $as_echo "$ac_ct_OTOOL" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_ct_OTOOL" = x
; then
8319 case $cross_compiling:$ac_tool_warned in
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned
=yes ;;
8328 OTOOL
="$ac_cv_prog_OTOOL"
8331 if test -n "$ac_tool_prefix"; then
8332 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8333 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335 $as_echo_n "checking for $ac_word... " >&6; }
8336 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8337 $as_echo_n "(cached) " >&6
8339 if test -n "$OTOOL64"; then
8340 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir
=.
8347 for ac_exec_ext
in '' $ac_executable_extensions; do
8348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8349 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 OTOOL64
=$ac_cv_prog_OTOOL64
8360 if test -n "$OTOOL64"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8362 $as_echo "$OTOOL64" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8370 if test -z "$ac_cv_prog_OTOOL64"; then
8371 ac_ct_OTOOL64
=$OTOOL64
8372 # Extract the first word of "otool64", so it can be a program name with args.
8373 set dummy otool64
; ac_word
=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8377 $as_echo_n "(cached) " >&6
8379 if test -n "$ac_ct_OTOOL64"; then
8380 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir
=.
8387 for ac_exec_ext
in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8400 if test -n "$ac_ct_OTOOL64"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8402 $as_echo "$ac_ct_OTOOL64" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8408 if test "x$ac_ct_OTOOL64" = x
; then
8411 case $cross_compiling:$ac_tool_warned in
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8415 ac_tool_warned
=yes ;;
8417 OTOOL64
=$ac_ct_OTOOL64
8420 OTOOL64
="$ac_cv_prog_OTOOL64"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8450 $as_echo_n "checking for -single_module linker flag... " >&6; }
8451 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8454 lt_cv_apple_cc_single_mod
=no
8455 if test -z "${LT_MULTI_MODULE}"; then
8456 # By default we will add the -single_module flag. You can override
8457 # by either setting the environment variable LT_MULTI_MODULE
8458 # non-empty at configure time, or by adding -multi_module to the
8460 rm -rf libconftest.dylib
*
8461 echo "int foo(void){return 1;}" > conftest.c
8462 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8463 -dynamiclib -Wl,-single_module conftest.c" >&5
8464 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8465 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8467 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8468 lt_cv_apple_cc_single_mod
=yes
8470 cat conftest.err
>&5
8472 rm -rf libconftest.dylib
*
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8477 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8479 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8480 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8481 $as_echo_n "(cached) " >&6
8483 lt_cv_ld_exported_symbols_list
=no
8484 save_LDFLAGS
=$LDFLAGS
8485 echo "_main" > conftest.sym
8486 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8498 if ac_fn_c_try_link
"$LINENO"; then :
8499 lt_cv_ld_exported_symbols_list
=yes
8501 lt_cv_ld_exported_symbols_list
=no
8503 rm -f core conftest.err conftest.
$ac_objext \
8504 conftest
$ac_exeext conftest.
$ac_ext
8505 LDFLAGS
="$save_LDFLAGS"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8509 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8511 $as_echo_n "checking for -force_load linker flag... " >&6; }
8512 if test "${lt_cv_ld_force_load+set}" = set; then :
8513 $as_echo_n "(cached) " >&6
8515 lt_cv_ld_force_load
=no
8516 cat > conftest.c
<< _LT_EOF
8517 int forced_loaded() { return 2;}
8519 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8520 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8521 echo "$AR cru libconftest.a conftest.o" >&5
8522 $AR cru libconftest.a conftest.o
2>&5
8523 cat > conftest.c
<< _LT_EOF
8524 int main() { return 0;}
8526 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8527 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8529 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8530 lt_cv_ld_force_load
=yes
8532 cat conftest.err
>&5
8534 rm -f conftest.err libconftest.a conftest conftest.c
8535 rm -rf conftest.dSYM
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8539 $as_echo "$lt_cv_ld_force_load" >&6; }
8541 rhapsody
* | darwin1.
[012])
8542 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8544 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8545 darwin
*) # darwin 5.x on
8546 # if running on 10.5 or later, the deployment target defaults
8547 # to the OS version, if on x86, and 10.4, the deployment
8548 # target defaults to 10.4. Don't you love it?
8549 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8550 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8551 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8553 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8555 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8559 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8560 _lt_dar_single_mod
='$single_module'
8562 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8563 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8565 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8567 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8568 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8575 for ac_header
in dlfcn.h
8577 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8579 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8580 cat >>confdefs.h
<<_ACEOF
8581 #define HAVE_DLFCN_H 1
8601 # Check whether --enable-shared was given.
8602 if test "${enable_shared+set}" = set; then :
8603 enableval
=$enable_shared; p
=${PACKAGE-default}
8605 yes) enable_shared
=yes ;;
8606 no
) enable_shared
=no
;;
8609 # Look at the argument we got. We use all the common list separators.
8610 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8611 for pkg
in $enableval; do
8613 if test "X$pkg" = "X$p"; then
8632 # Check whether --enable-static was given.
8633 if test "${enable_static+set}" = set; then :
8634 enableval
=$enable_static; p
=${PACKAGE-default}
8636 yes) enable_static
=yes ;;
8637 no
) enable_static
=no
;;
8640 # Look at the argument we got. We use all the common list separators.
8641 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8642 for pkg
in $enableval; do
8644 if test "X$pkg" = "X$p"; then
8664 # Check whether --with-pic was given.
8665 if test "${with_pic+set}" = set; then :
8666 withval
=$with_pic; pic_mode
="$withval"
8672 test -z "$pic_mode" && pic_mode
=default
8680 # Check whether --enable-fast-install was given.
8681 if test "${enable_fast_install+set}" = set; then :
8682 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8684 yes) enable_fast_install
=yes ;;
8685 no
) enable_fast_install
=no
;;
8687 enable_fast_install
=no
8688 # Look at the argument we got. We use all the common list separators.
8689 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8690 for pkg
in $enableval; do
8692 if test "X$pkg" = "X$p"; then
8693 enable_fast_install
=yes
8700 enable_fast_install
=yes
8713 # This can be used to rebuild libtool when needed
8714 LIBTOOL_DEPS
="$ltmain"
8716 # Always use our own libtool.
8717 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8744 test -z "$LN_S" && LN_S
="ln -s"
8759 if test -n "${ZSH_VERSION+set}" ; then
8760 setopt NO_GLOB_SUBST
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8764 $as_echo_n "checking for objdir... " >&6; }
8765 if test "${lt_cv_objdir+set}" = set; then :
8766 $as_echo_n "(cached) " >&6
8768 rm -f .libs
2>/dev
/null
8769 mkdir .libs
2>/dev
/null
8770 if test -d .libs
; then
8773 # MS-DOS does not allow filenames that begin with a dot.
8776 rmdir .libs
2>/dev
/null
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8779 $as_echo "$lt_cv_objdir" >&6; }
8780 objdir
=$lt_cv_objdir
8786 cat >>confdefs.h
<<_ACEOF
8787 #define LT_OBJDIR "$lt_cv_objdir/"
8795 # AIX sometimes has problems with the GCC collect2 program. For some
8796 # reason, if we set the COLLECT_NAMES environment variable, the problems
8797 # vanish in a puff of smoke.
8798 if test "X${COLLECT_NAMES+set}" != Xset
; then
8800 export COLLECT_NAMES
8807 can_build_shared
=yes
8809 # All known linkers require a `.a' archive for static linking (except MSVC,
8810 # which needs '.lib').
8813 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8816 old_CFLAGS
="$CFLAGS"
8818 # Set sane defaults for various variables
8819 test -z "$CC" && CC
=cc
8820 test -z "$LTCC" && LTCC
=$CC
8821 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8822 test -z "$LD" && LD
=ld
8823 test -z "$ac_objext" && ac_objext
=o
8825 for cc_temp
in $compiler""; do
8827 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8828 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8833 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8836 # Only perform the check for file, if the check method requires it
8837 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8838 case $deplibs_check_method in
8840 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8842 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8843 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8844 $as_echo_n "(cached) " >&6
8848 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8851 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8852 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8853 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8854 for ac_dir
in $ac_dummy; do
8856 test -z "$ac_dir" && ac_dir
=.
8857 if test -f $ac_dir/${ac_tool_prefix}file; then
8858 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8859 if test -n "$file_magic_test_file"; then
8860 case $deplibs_check_method in
8862 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8863 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8864 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8865 $EGREP "$file_magic_regex" > /dev
/null
; then
8870 *** Warning: the command libtool uses to detect shared libraries,
8871 *** $file_magic_cmd, produces output that libtool cannot recognize.
8872 *** The result is that libtool may fail to recognize shared libraries
8873 *** as such. This will affect the creation of libtool libraries that
8874 *** depend on shared libraries, but programs linked with such libtool
8875 *** libraries will work regardless of this problem. Nevertheless, you
8876 *** may want to report the problem to your system manager and/or to
8877 *** bug-libtool@gnu.org
8887 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8892 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8893 if test -n "$MAGIC_CMD"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8895 $as_echo "$MAGIC_CMD" >&6; }
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8898 $as_echo "no" >&6; }
8905 if test -z "$lt_cv_path_MAGIC_CMD"; then
8906 if test -n "$ac_tool_prefix"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8908 $as_echo_n "checking for file... " >&6; }
8909 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8914 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8917 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8918 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8919 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8920 for ac_dir
in $ac_dummy; do
8922 test -z "$ac_dir" && ac_dir
=.
8923 if test -f $ac_dir/file; then
8924 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8925 if test -n "$file_magic_test_file"; then
8926 case $deplibs_check_method in
8928 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8929 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8930 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8931 $EGREP "$file_magic_regex" > /dev
/null
; then
8936 *** Warning: the command libtool uses to detect shared libraries,
8937 *** $file_magic_cmd, produces output that libtool cannot recognize.
8938 *** The result is that libtool may fail to recognize shared libraries
8939 *** as such. This will affect the creation of libtool libraries that
8940 *** depend on shared libraries, but programs linked with such libtool
8941 *** libraries will work regardless of this problem. Nevertheless, you
8942 *** may want to report the problem to your system manager and/or to
8943 *** bug-libtool@gnu.org
8953 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8958 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8959 if test -n "$MAGIC_CMD"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8961 $as_echo "$MAGIC_CMD" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8977 # Use C for the default configuration in the libtool script
8981 ac_cpp
='$CPP $CPPFLAGS'
8982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8987 # Source file extension for C test sources.
8990 # Object file extension for compiled C test sources.
8994 # Code to be used in simple compile tests
8995 lt_simple_compile_test_code
="int some_variable = 0;"
8997 # Code to be used in simple link tests
8998 lt_simple_link_test_code
='int main(){return(0);}'
9006 # If no C compiler was specified, use CC.
9009 # If no C compiler flags were specified, use CFLAGS.
9010 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9012 # Allow CC to be a program name with arguments.
9015 # Save the default compiler, since it gets overwritten when the other
9016 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9017 compiler_DEFAULT
=$CC
9019 # save warnings/boilerplate of simple test code
9020 ac_outfile
=conftest.
$ac_objext
9021 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9022 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9023 _lt_compiler_boilerplate
=`cat conftest.err`
9026 ac_outfile
=conftest.
$ac_objext
9027 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9028 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9029 _lt_linker_boilerplate
=`cat conftest.err`
9034 ## There is no encapsulation within the following macros, do not change
9035 ## the running order or otherwise move them around unless you know exactly
9036 ## what you are doing...
9037 if test -n "$compiler"; then
9039 lt_prog_compiler_no_builtin_flag
=
9041 if test "$GCC" = yes; then
9042 case $cc_basename in
9044 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9046 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9050 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9051 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9052 $as_echo_n "(cached) " >&6
9054 lt_cv_prog_compiler_rtti_exceptions
=no
9055 ac_outfile
=conftest.
$ac_objext
9056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9057 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9058 # Insert the option either (1) after the last *FLAGS variable, or
9059 # (2) before a word containing "conftest.", or (3) at the end.
9060 # Note that $ac_compile itself does not contain backslashes and begins
9061 # with a dollar sign (not a hyphen), so the echo should work correctly.
9062 # The option is referenced via a variable to avoid confusing sed.
9063 lt_compile
=`echo "$ac_compile" | $SED \
9064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9066 -e 's:$: $lt_compiler_flag:'`
9067 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9068 (eval "$lt_compile" 2>conftest.err
)
9070 cat conftest.err
>&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 if (exit $ac_status) && test -s "$ac_outfile"; then
9073 # The compiler can only warn and ignore the option if not recognized
9074 # So say no if there are warnings other than the usual output.
9075 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9076 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9077 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9078 lt_cv_prog_compiler_rtti_exceptions
=yes
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9085 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9087 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9088 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9100 lt_prog_compiler_wl
=
9101 lt_prog_compiler_pic
=
9102 lt_prog_compiler_static
=
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9105 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9107 if test "$GCC" = yes; then
9108 lt_prog_compiler_wl
='-Wl,'
9109 lt_prog_compiler_static
='-static'
9113 # All AIX code is PIC.
9114 if test "$host_cpu" = ia64
; then
9115 # AIX 5 now supports IA64 processor
9116 lt_prog_compiler_static
='-Bstatic'
9118 lt_prog_compiler_pic
='-fPIC'
9124 # see comment about AmigaOS4 .so support
9125 lt_prog_compiler_pic
='-fPIC'
9128 # FIXME: we need at least 68020 code to build shared libraries, but
9129 # adding the `-m68020' flag to GCC prevents building anything better,
9131 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9136 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9137 # PIC is the default for these OSes.
9140 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9141 # This hack is so that the source file can tell whether it is being
9142 # built for inclusion in a dll (and should export symbols for example).
9143 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9144 # (--disable-auto-import) libraries
9145 lt_prog_compiler_pic
='-DDLL_EXPORT'
9148 darwin
* | rhapsody
*)
9149 # PIC is the default on this platform
9150 # Common symbols not allowed in MH_DYLIB files
9151 lt_prog_compiler_pic
='-fno-common'
9155 # PIC is the default for Haiku.
9156 # The "-static" flag exists, but is broken.
9157 lt_prog_compiler_static
=
9161 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9162 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9163 # sets the default TLS model and affects inlining.
9169 lt_prog_compiler_pic
='-fPIC'
9175 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9176 # Instead, we relocate shared libraries at runtime.
9180 # Just because we use GCC doesn't mean we suddenly get shared libraries
9181 # on systems that don't support them.
9182 lt_prog_compiler_can_build_shared
=no
9187 # QNX uses GNU C++, but need to define -shared option too, otherwise
9189 lt_prog_compiler_pic
='-fPIC -shared'
9193 if test -d /usr
/nec
; then
9194 lt_prog_compiler_pic
=-Kconform_pic
9199 lt_prog_compiler_pic
='-fPIC'
9203 case $cc_basename in
9204 nvcc
*) # Cuda Compiler Driver 2.2
9205 lt_prog_compiler_wl
='-Xlinker '
9206 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9210 # PORTME Check for flag to pass linker flags through the system compiler.
9213 lt_prog_compiler_wl
='-Wl,'
9214 if test "$host_cpu" = ia64
; then
9215 # AIX 5 now supports IA64 processor
9216 lt_prog_compiler_static
='-Bstatic'
9218 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9222 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9223 # This hack is so that the source file can tell whether it is being
9224 # built for inclusion in a dll (and should export symbols for example).
9225 lt_prog_compiler_pic
='-DDLL_EXPORT'
9228 hpux9
* | hpux10
* | hpux11
*)
9229 lt_prog_compiler_wl
='-Wl,'
9230 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9237 lt_prog_compiler_pic
='+Z'
9240 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9241 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9244 irix5
* | irix6
* | nonstopux
*)
9245 lt_prog_compiler_wl
='-Wl,'
9246 # PIC (with -KPIC) is the default.
9247 lt_prog_compiler_static
='-non_shared'
9250 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9251 case $cc_basename in
9252 # old Intel for x86_64 which still supported -KPIC.
9254 lt_prog_compiler_wl
='-Wl,'
9255 lt_prog_compiler_pic
='-KPIC'
9256 lt_prog_compiler_static
='-static'
9258 # icc used to be incompatible with GCC.
9259 # ICC 10 doesn't accept -KPIC any more.
9261 lt_prog_compiler_wl
='-Wl,'
9262 lt_prog_compiler_pic
='-fPIC'
9263 lt_prog_compiler_static
='-static'
9265 # Lahey Fortran 8.1.
9267 lt_prog_compiler_wl
='-Wl,'
9268 lt_prog_compiler_pic
='--shared'
9269 lt_prog_compiler_static
='--static'
9271 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9272 # Portland Group compilers (*not* the Pentium gcc compiler,
9273 # which looks to be a dead project)
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_pic
='-fpic'
9276 lt_prog_compiler_static
='-Bstatic'
9279 lt_prog_compiler_wl
='-Wl,'
9280 # All Alpha code is PIC.
9281 lt_prog_compiler_static
='-non_shared'
9283 xl
* | bgxl
* | bgf
* | mpixl
*)
9284 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9285 lt_prog_compiler_wl
='-Wl,'
9286 lt_prog_compiler_pic
='-qpic'
9287 lt_prog_compiler_static
='-qstaticlink'
9290 case `$CC -V 2>&1 | sed 5q` in
9291 *Sun\ F
* |
*Sun
*Fortran
*)
9292 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9293 lt_prog_compiler_pic
='-KPIC'
9294 lt_prog_compiler_static
='-Bstatic'
9295 lt_prog_compiler_wl
=''
9299 lt_prog_compiler_pic
='-KPIC'
9300 lt_prog_compiler_static
='-Bstatic'
9301 lt_prog_compiler_wl
='-Wl,'
9309 lt_prog_compiler_pic
='-KPIC'
9310 lt_prog_compiler_static
='-Bstatic'
9314 # QNX uses GNU C++, but need to define -shared option too, otherwise
9316 lt_prog_compiler_pic
='-fPIC -shared'
9319 osf3
* | osf4
* | osf5
*)
9320 lt_prog_compiler_wl
='-Wl,'
9321 # All OSF/1 code is PIC.
9322 lt_prog_compiler_static
='-non_shared'
9326 lt_prog_compiler_static
='-non_shared'
9330 lt_prog_compiler_pic
='-KPIC'
9331 lt_prog_compiler_static
='-Bstatic'
9332 case $cc_basename in
9334 lt_prog_compiler_wl
='-Qoption ld ';;
9336 lt_prog_compiler_wl
='-Wl,';;
9341 lt_prog_compiler_wl
='-Qoption ld '
9342 lt_prog_compiler_pic
='-PIC'
9343 lt_prog_compiler_static
='-Bstatic'
9346 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9347 lt_prog_compiler_wl
='-Wl,'
9348 lt_prog_compiler_pic
='-KPIC'
9349 lt_prog_compiler_static
='-Bstatic'
9353 if test -d /usr
/nec
;then
9354 lt_prog_compiler_pic
='-Kconform_pic'
9355 lt_prog_compiler_static
='-Bstatic'
9359 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9360 lt_prog_compiler_wl
='-Wl,'
9361 lt_prog_compiler_pic
='-KPIC'
9362 lt_prog_compiler_static
='-Bstatic'
9366 lt_prog_compiler_wl
='-Wl,'
9367 lt_prog_compiler_can_build_shared
=no
9371 lt_prog_compiler_pic
='-pic'
9372 lt_prog_compiler_static
='-Bstatic'
9376 lt_prog_compiler_can_build_shared
=no
9382 # For platforms which do not support PIC, -DPIC is meaningless:
9384 lt_prog_compiler_pic
=
9387 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9391 $as_echo "$lt_prog_compiler_pic" >&6; }
9399 # Check to make sure the PIC flag actually works.
9401 if test -n "$lt_prog_compiler_pic"; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9403 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9404 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9405 $as_echo_n "(cached) " >&6
9407 lt_cv_prog_compiler_pic_works
=no
9408 ac_outfile
=conftest.
$ac_objext
9409 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9410 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9411 # Insert the option either (1) after the last *FLAGS variable, or
9412 # (2) before a word containing "conftest.", or (3) at the end.
9413 # Note that $ac_compile itself does not contain backslashes and begins
9414 # with a dollar sign (not a hyphen), so the echo should work correctly.
9415 # The option is referenced via a variable to avoid confusing sed.
9416 lt_compile
=`echo "$ac_compile" | $SED \
9417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9419 -e 's:$: $lt_compiler_flag:'`
9420 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9421 (eval "$lt_compile" 2>conftest.err
)
9423 cat conftest.err
>&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 if (exit $ac_status) && test -s "$ac_outfile"; then
9426 # The compiler can only warn and ignore the option if not recognized
9427 # So say no if there are warnings other than the usual output.
9428 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9429 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9430 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9431 lt_cv_prog_compiler_pic_works
=yes
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9438 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9440 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9441 case $lt_prog_compiler_pic in
9443 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9446 lt_prog_compiler_pic
=
9447 lt_prog_compiler_can_build_shared
=no
9458 # Check to make sure the static flag actually works.
9460 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9462 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9463 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9464 $as_echo_n "(cached) " >&6
9466 lt_cv_prog_compiler_static_works
=no
9467 save_LDFLAGS
="$LDFLAGS"
9468 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9469 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9470 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9471 # The linker can only warn and ignore the option if not recognized
9472 # So say no if there are warnings
9473 if test -s conftest.err
; then
9474 # Append any errors to the config.log.
9475 cat conftest.err
1>&5
9476 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9478 if diff conftest.exp conftest.er2
>/dev
/null
; then
9479 lt_cv_prog_compiler_static_works
=yes
9482 lt_cv_prog_compiler_static_works
=yes
9486 LDFLAGS
="$save_LDFLAGS"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9490 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9492 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9495 lt_prog_compiler_static
=
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9505 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9506 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9507 $as_echo_n "(cached) " >&6
9509 lt_cv_prog_compiler_c_o
=no
9510 $RM -r conftest
2>/dev
/null
9514 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9516 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9517 # Insert the option either (1) after the last *FLAGS variable, or
9518 # (2) before a word containing "conftest.", or (3) at the end.
9519 # Note that $ac_compile itself does not contain backslashes and begins
9520 # with a dollar sign (not a hyphen), so the echo should work correctly.
9521 lt_compile
=`echo "$ac_compile" | $SED \
9522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9524 -e 's:$: $lt_compiler_flag:'`
9525 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9526 (eval "$lt_compile" 2>out
/conftest.err
)
9528 cat out
/conftest.err
>&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9532 # The compiler can only warn and ignore the option if not recognized
9533 # So say no if there are warnings
9534 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9535 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9536 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9537 lt_cv_prog_compiler_c_o
=yes
9542 # SGI C++ compiler will create directory out/ii_files/ for
9543 # template instantiation
9544 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9545 $RM out
/* && rmdir out
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9552 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9560 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9561 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9562 $as_echo_n "(cached) " >&6
9564 lt_cv_prog_compiler_c_o
=no
9565 $RM -r conftest
2>/dev
/null
9569 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9571 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9572 # Insert the option either (1) after the last *FLAGS variable, or
9573 # (2) before a word containing "conftest.", or (3) at the end.
9574 # Note that $ac_compile itself does not contain backslashes and begins
9575 # with a dollar sign (not a hyphen), so the echo should work correctly.
9576 lt_compile
=`echo "$ac_compile" | $SED \
9577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9579 -e 's:$: $lt_compiler_flag:'`
9580 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9581 (eval "$lt_compile" 2>out
/conftest.err
)
9583 cat out
/conftest.err
>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9587 # The compiler can only warn and ignore the option if not recognized
9588 # So say no if there are warnings
9589 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9590 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9591 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9592 lt_cv_prog_compiler_c_o
=yes
9597 # SGI C++ compiler will create directory out/ii_files/ for
9598 # template instantiation
9599 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9600 $RM out
/* && rmdir out
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9607 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9612 hard_links
="nottested"
9613 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9614 # do not overwrite the value of need_locks provided by the user
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9616 $as_echo_n "checking if we can lock with hard links... " >&6; }
9619 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9621 ln conftest.a conftest.b
2>&5 || hard_links
=no
9622 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9624 $as_echo "$hard_links" >&6; }
9625 if test "$hard_links" = no
; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9627 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9640 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9643 allow_undefined_flag
=
9644 always_export_symbols
=no
9646 archive_expsym_cmds
=
9647 compiler_needs_object
=no
9648 enable_shared_with_static_runtimes
=no
9649 export_dynamic_flag_spec
=
9650 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9651 hardcode_automatic
=no
9653 hardcode_direct_absolute
=no
9654 hardcode_libdir_flag_spec
=
9655 hardcode_libdir_flag_spec_ld
=
9656 hardcode_libdir_separator
=
9658 hardcode_shlibpath_var
=unsupported
9660 link_all_deplibs
=unknown
9663 old_archive_from_new_cmds
=
9664 old_archive_from_expsyms_cmds
=
9665 thread_safe_flag_spec
=
9666 whole_archive_flag_spec
=
9667 # include_expsyms should be a list of space-separated symbols to be *always*
9668 # included in the symbol list
9670 # exclude_expsyms can be an extended regexp of symbols to exclude
9671 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9672 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9673 # as well as any symbol that contains `d'.
9674 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9675 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9676 # platforms (ab)use it in PIC code, but their linkers get confused if
9677 # the symbol is explicitly referenced. Since portable code cannot
9678 # rely on this symbol name, it's probably fine to never include it in
9679 # preloaded symbol tables.
9680 # Exclude shared library initialization/finalization symbols.
9681 extract_expsyms_cmds
=
9684 cygwin
* | mingw
* | pw32
* | cegcc
*)
9685 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9686 # When not using gcc, we currently assume that we are using
9687 # Microsoft Visual C++.
9688 if test "$GCC" != yes; then
9693 # we just hope/assume this is gcc and not c89 (= MSVC++)
9703 # On some targets, GNU ld is compatible enough with the native linker
9704 # that we're better off using the native interface for both.
9705 lt_use_gnu_ld_interface
=no
9706 if test "$with_gnu_ld" = yes; then
9709 # The AIX port of GNU ld has always aspired to compatibility
9710 # with the native linker. However, as the warning in the GNU ld
9711 # block says, versions before 2.19.5* couldn't really create working
9712 # shared libraries, regardless of the interface used.
9713 case `$LD -v 2>&1` in
9714 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9715 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9716 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9718 lt_use_gnu_ld_interface
=yes
9723 lt_use_gnu_ld_interface
=yes
9728 if test "$lt_use_gnu_ld_interface" = yes; then
9729 # If archive_cmds runs LD, not CC, wlarc should be empty
9732 # Set some defaults for GNU ld with shared library support. These
9733 # are reset later if shared libraries are not supported. Putting them
9734 # here allows them to be overridden if necessary.
9735 runpath_var
=LD_RUN_PATH
9736 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9737 export_dynamic_flag_spec
='${wl}--export-dynamic'
9738 # ancient GNU ld didn't support --whole-archive et. al.
9739 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9740 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9742 whole_archive_flag_spec
=
9744 supports_anon_versioning
=no
9745 case `$LD -v 2>&1` in
9746 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9747 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9748 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9749 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9750 *\
2.11.
*) ;; # other 2.11 versions
9751 *) supports_anon_versioning
=yes ;;
9754 # See if GNU ld supports shared libraries.
9757 # On AIX/PPC, the GNU linker is very broken
9758 if test "$host_cpu" != ia64
; then
9762 *** Warning: the GNU linker, at least up to release 2.19, is reported
9763 *** to be unable to reliably create shared libraries on AIX.
9764 *** Therefore, libtool is disabling shared libraries support. If you
9765 *** really care for shared libraries, you may want to install binutils
9766 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9767 *** You will then need to restart the configuration process.
9776 # see comment about AmigaOS4 .so support
9777 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9778 archive_expsym_cmds
=''
9781 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)'
9782 hardcode_libdir_flag_spec
='-L$libdir'
9783 hardcode_minus_L
=yes
9789 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9790 allow_undefined_flag
=unsupported
9791 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9792 # support --undefined. This deserves some investigation. FIXME
9793 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9799 cygwin
* | mingw
* | pw32
* | cegcc
*)
9800 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9801 # as there is no search path for DLLs.
9802 hardcode_libdir_flag_spec
='-L$libdir'
9803 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9804 allow_undefined_flag
=unsupported
9805 always_export_symbols
=no
9806 enable_shared_with_static_runtimes
=yes
9807 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9809 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9810 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9811 # If the export-symbols file already is a .def file (1st line
9812 # is EXPORTS), use it as is; otherwise, prepend...
9813 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9814 cp $export_symbols $output_objdir/$soname.def;
9816 echo EXPORTS > $output_objdir/$soname.def;
9817 cat $export_symbols >> $output_objdir/$soname.def;
9819 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9826 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9827 link_all_deplibs
=yes
9832 hardcode_shlibpath_var
=no
9833 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9834 export_dynamic_flag_spec
='${wl}-E'
9835 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9836 # Instead, shared libraries are loaded at an image base (0x10000000 by
9837 # default) and relocated if they conflict, which is a slow very memory
9838 # consuming and fragmenting process. To avoid this, we pick a random,
9839 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9840 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9841 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9842 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'
9845 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9847 if test "$host_os" = linux-dietlibc
; then
9848 case $cc_basename in
9849 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9852 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9853 && test "$tmp_diet" = no
9855 tmp_addflag
=' $pic_flag'
9856 tmp_sharedflag
='-shared'
9857 case $cc_basename,$host_cpu in
9858 pgcc
*) # Portland Group C compiler
9859 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'
9860 tmp_addflag
=' $pic_flag'
9862 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9863 # Portland Group f77 and f90 compilers
9864 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'
9865 tmp_addflag
=' $pic_flag -Mnomain' ;;
9866 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9867 tmp_addflag
=' -i_dynamic' ;;
9868 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9869 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9870 ifc
* | ifort
*) # Intel Fortran compiler
9871 tmp_addflag
=' -nofor_main' ;;
9872 lf95
*) # Lahey Fortran 8.1
9873 whole_archive_flag_spec
=
9874 tmp_sharedflag
='--shared' ;;
9875 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9876 tmp_sharedflag
='-qmkshrobj'
9878 nvcc
*) # Cuda Compiler Driver 2.2
9879 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'
9880 compiler_needs_object
=yes
9883 case `$CC -V 2>&1 | sed 5q` in
9884 *Sun\ C
*) # Sun C 5.9
9885 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'
9886 compiler_needs_object
=yes
9887 tmp_sharedflag
='-G' ;;
9888 *Sun\ F
*) # Sun Fortran 8.3
9889 tmp_sharedflag
='-G' ;;
9891 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9893 if test "x$supports_anon_versioning" = xyes
; then
9894 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9895 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9896 echo "local: *; };" >> $output_objdir/$libname.ver~
9897 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9900 case $cc_basename in
9901 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9902 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9903 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9904 hardcode_libdir_flag_spec
=
9905 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9906 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9907 if test "x$supports_anon_versioning" = xyes
; then
9908 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9909 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9910 echo "local: *; };" >> $output_objdir/$libname.ver~
9911 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9921 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9922 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9925 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9931 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9936 *** create shared libraries on Solaris systems. Therefore, libtool
9937 *** is disabling shared libraries support. We urge you to upgrade GNU
9938 *** binutils to release 2.9.1 or newer. Another option is to modify
9939 *** your PATH or compiler configuration so that the native linker is
9940 *** used, and then restart.
9943 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9944 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9945 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9951 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9952 case `$LD -v 2>&1` in
9953 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9958 *** reliably create shared libraries on SCO systems. Therefore, libtool
9959 *** is disabling shared libraries support. We urge you to upgrade GNU
9960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9961 *** your PATH or compiler configuration so that the native linker is
9962 *** used, and then restart.
9967 # For security reasons, it is highly recommended that you always
9968 # use absolute paths for naming shared libraries, and exclude the
9969 # DT_RUNPATH tag from executables and libraries. But doing so
9970 # requires that you compile everything twice, which is a pain.
9971 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9972 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9973 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9974 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9983 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9986 hardcode_shlibpath_var
=no
9990 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9991 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9999 if test "$ld_shlibs" = no
; then
10001 hardcode_libdir_flag_spec
=
10002 export_dynamic_flag_spec
=
10003 whole_archive_flag_spec
=
10006 # PORTME fill in a description of your system's linker (not GNU ld)
10009 allow_undefined_flag
=unsupported
10010 always_export_symbols
=yes
10011 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'
10012 # Note: this linker hardcodes the directories in LIBPATH if there
10013 # are no directories specified by -L.
10014 hardcode_minus_L
=yes
10015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10016 # Neither direct hardcoding nor static linking is supported with a
10018 hardcode_direct
=unsupported
10023 if test "$host_cpu" = ia64
; then
10024 # On IA64, the linker does run time linking by default, so we don't
10025 # have to do anything special.
10026 aix_use_runtimelinking
=no
10027 exp_sym_flag
='-Bexport'
10030 # If we're using GNU nm, then we don't want the "-C" option.
10031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10032 # Also, AIX nm treats weak defined symbols like other global
10033 # defined symbols, whereas GNU nm marks them as "W".
10034 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10035 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'
10037 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10039 aix_use_runtimelinking
=no
10041 # Test if we are trying to use run time linking or normal
10042 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10043 # need to do runtime linking.
10044 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10045 for ld_flag
in $LDFLAGS; do
10046 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10047 aix_use_runtimelinking
=yes
10054 exp_sym_flag
='-bexport'
10055 no_entry_flag
='-bnoentry'
10058 # When large executables or shared objects are built, AIX ld can
10059 # have problems creating the table of contents. If linking a library
10060 # or program results in "error TOC overflow" add -mminimal-toc to
10061 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10062 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10065 hardcode_direct
=yes
10066 hardcode_direct_absolute
=yes
10067 hardcode_libdir_separator
=':'
10068 link_all_deplibs
=yes
10069 file_list_spec
='${wl}-f,'
10071 if test "$GCC" = yes; then
10072 case $host_os in aix4.
[012]|aix4.
[012].
*)
10073 # We only want to do this on AIX 4.2 and lower, the check
10074 # below for broken collect2 doesn't work under 4.3+
10075 collect2name
=`${CC} -print-prog-name=collect2`
10076 if test -f "$collect2name" &&
10077 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10079 # We have reworked collect2
10082 # We have old collect2
10083 hardcode_direct
=unsupported
10084 # It fails to find uninstalled libraries when the uninstalled
10085 # path is not listed in the libpath. Setting hardcode_minus_L
10086 # to unsupported forces relinking
10087 hardcode_minus_L
=yes
10088 hardcode_libdir_flag_spec
='-L$libdir'
10089 hardcode_libdir_separator
=
10093 shared_flag
='-shared'
10094 if test "$aix_use_runtimelinking" = yes; then
10095 shared_flag
="$shared_flag "'${wl}-G'
10099 if test "$host_cpu" = ia64
; then
10100 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10101 # chokes on -Wl,-G. The following line is correct:
10104 if test "$aix_use_runtimelinking" = yes; then
10105 shared_flag
='${wl}-G'
10107 shared_flag
='${wl}-bM:SRE'
10112 export_dynamic_flag_spec
='${wl}-bexpall'
10113 # It seems that -bexpall does not export symbols beginning with
10114 # underscore (_), so it is better to generate a list of symbols to export.
10115 always_export_symbols
=yes
10116 if test "$aix_use_runtimelinking" = yes; then
10117 # Warning - without using the other runtime loading flags (-brtl),
10118 # -berok will link without error, but may produce a broken library.
10119 allow_undefined_flag
='-berok'
10120 # Determine the default libpath from the value encoded in an
10121 # empty executable.
10122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 lt_aix_libpath_sed
='
10136 /Import File Strings/,/^$/ {
10142 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10143 # Check for a 64-bit object if we didn't find anything.
10144 if test -z "$aix_libpath"; then
10145 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10148 rm -f core conftest.err conftest.
$ac_objext \
10149 conftest
$ac_exeext conftest.
$ac_ext
10150 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10152 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10153 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"
10155 if test "$host_cpu" = ia64
; then
10156 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10157 allow_undefined_flag
="-z nodefs"
10158 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"
10160 # Determine the default libpath from the value encoded in an
10161 # empty executable.
10162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10173 if ac_fn_c_try_link
"$LINENO"; then :
10175 lt_aix_libpath_sed
='
10176 /Import File Strings/,/^$/ {
10182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10183 # Check for a 64-bit object if we didn't find anything.
10184 if test -z "$aix_libpath"; then
10185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10188 rm -f core conftest.err conftest.
$ac_objext \
10189 conftest
$ac_exeext conftest.
$ac_ext
10190 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10192 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10193 # Warning - without using the other run time loading flags,
10194 # -berok will link without error, but may produce a broken library.
10195 no_undefined_flag
=' ${wl}-bernotok'
10196 allow_undefined_flag
=' ${wl}-berok'
10197 if test "$with_gnu_ld" = yes; then
10198 # We only use this code for GNU lds that support --whole-archive.
10199 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10201 # Exported symbols can be pulled into shared objects from archives
10202 whole_archive_flag_spec
='$convenience'
10204 archive_cmds_need_lc
=yes
10205 # This is similar to how AIX traditionally builds its shared libraries.
10206 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'
10214 # see comment about AmigaOS4 .so support
10215 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10216 archive_expsym_cmds
=''
10219 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)'
10220 hardcode_libdir_flag_spec
='-L$libdir'
10221 hardcode_minus_L
=yes
10227 export_dynamic_flag_spec
=-rdynamic
10230 cygwin
* | mingw
* | pw32
* | cegcc
*)
10231 # When not using gcc, we currently assume that we are using
10232 # Microsoft Visual C++.
10233 # hardcode_libdir_flag_spec is actually meaningless, as there is
10234 # no search path for DLLs.
10235 hardcode_libdir_flag_spec
=' '
10236 allow_undefined_flag
=unsupported
10237 # Tell ltmain to make .lib files, not .a files.
10239 # Tell ltmain to make .dll files, not .so files.
10241 # FIXME: Setting linknames here is a bad hack.
10242 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10243 # The linker will automatically build a .lib file if we build a DLL.
10244 old_archive_from_new_cmds
='true'
10245 # FIXME: Should let the user specify the lib program.
10246 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10247 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10248 enable_shared_with_static_runtimes
=yes
10251 darwin
* | rhapsody
*)
10254 archive_cmds_need_lc
=no
10256 hardcode_automatic
=yes
10257 hardcode_shlibpath_var
=unsupported
10258 if test "$lt_cv_ld_force_load" = "yes"; then
10259 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\"`'
10261 whole_archive_flag_spec
=''
10263 link_all_deplibs
=yes
10264 allow_undefined_flag
="$_lt_dar_allow_undefined"
10265 case $cc_basename in
10266 ifort
*) _lt_dar_can_shared
=yes ;;
10267 *) _lt_dar_can_shared
=$GCC ;;
10269 if test "$_lt_dar_can_shared" = "yes"; then
10270 output_verbose_link_cmd
=func_echo_all
10271 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10272 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10273 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}"
10274 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}"
10283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10284 hardcode_libdir_flag_spec
='-L$libdir'
10285 hardcode_shlibpath_var
=no
10288 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10289 # support. Future versions do this automatically, but an explicit c++rt0.o
10290 # does not break anything, and helps significantly (at the cost of a little
10293 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10294 hardcode_libdir_flag_spec
='-R$libdir'
10295 hardcode_direct
=yes
10296 hardcode_shlibpath_var
=no
10299 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10301 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_direct
=yes
10303 hardcode_minus_L
=yes
10304 hardcode_shlibpath_var
=no
10307 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10308 freebsd
* | dragonfly
*)
10309 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10310 hardcode_libdir_flag_spec
='-R$libdir'
10311 hardcode_direct
=yes
10312 hardcode_shlibpath_var
=no
10316 if test "$GCC" = yes; then
10317 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'
10319 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'
10321 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10322 hardcode_libdir_separator
=:
10323 hardcode_direct
=yes
10325 # hardcode_minus_L: Not really in the search PATH,
10326 # but as the default location of the library.
10327 hardcode_minus_L
=yes
10328 export_dynamic_flag_spec
='${wl}-E'
10332 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10333 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10335 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10337 if test "$with_gnu_ld" = no
; then
10338 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10339 hardcode_libdir_flag_spec_ld
='+b $libdir'
10340 hardcode_libdir_separator
=:
10341 hardcode_direct
=yes
10342 hardcode_direct_absolute
=yes
10343 export_dynamic_flag_spec
='${wl}-E'
10344 # hardcode_minus_L: Not really in the search PATH,
10345 # but as the default location of the library.
10346 hardcode_minus_L
=yes
10351 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10354 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10357 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10360 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10369 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10373 # Older versions of the 11.00 compiler do not understand -b yet
10374 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10376 $as_echo_n "checking if $CC understands -b... " >&6; }
10377 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10378 $as_echo_n "(cached) " >&6
10380 lt_cv_prog_compiler__b
=no
10381 save_LDFLAGS
="$LDFLAGS"
10382 LDFLAGS
="$LDFLAGS -b"
10383 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10384 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10385 # The linker can only warn and ignore the option if not recognized
10386 # So say no if there are warnings
10387 if test -s conftest.err
; then
10388 # Append any errors to the config.log.
10389 cat conftest.err
1>&5
10390 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10391 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10392 if diff conftest.exp conftest.er2
>/dev
/null
; then
10393 lt_cv_prog_compiler__b
=yes
10396 lt_cv_prog_compiler__b
=yes
10400 LDFLAGS
="$save_LDFLAGS"
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10404 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10406 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10407 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10409 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10415 if test "$with_gnu_ld" = no
; then
10416 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10417 hardcode_libdir_separator
=:
10422 hardcode_shlibpath_var
=no
10425 hardcode_direct
=yes
10426 hardcode_direct_absolute
=yes
10427 export_dynamic_flag_spec
='${wl}-E'
10429 # hardcode_minus_L: Not really in the search PATH,
10430 # but as the default location of the library.
10431 hardcode_minus_L
=yes
10437 irix5
* | irix6
* | nonstopux
*)
10438 if test "$GCC" = yes; then
10439 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'
10440 # Try to use the -exported_symbol ld option, if it does not
10441 # work, assume that -exports_file does not work either and
10442 # implicitly export all symbols.
10443 save_LDFLAGS
="$LDFLAGS"
10444 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10449 if ac_fn_c_try_link
"$LINENO"; then :
10450 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'
10453 rm -f core conftest.err conftest.
$ac_objext \
10454 conftest
$ac_exeext conftest.
$ac_ext
10455 LDFLAGS
="$save_LDFLAGS"
10457 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'
10458 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'
10460 archive_cmds_need_lc
='no'
10461 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10462 hardcode_libdir_separator
=:
10464 link_all_deplibs
=yes
10468 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10469 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10471 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10473 hardcode_libdir_flag_spec
='-R$libdir'
10474 hardcode_direct
=yes
10475 hardcode_shlibpath_var
=no
10479 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10480 hardcode_direct
=yes
10481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10482 hardcode_libdir_separator
=:
10483 hardcode_shlibpath_var
=no
10490 if test -f /usr
/libexec
/ld.so
; then
10491 hardcode_direct
=yes
10492 hardcode_shlibpath_var
=no
10493 hardcode_direct_absolute
=yes
10494 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10495 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10496 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10497 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10498 export_dynamic_flag_spec
='${wl}-E'
10501 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10502 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10503 hardcode_libdir_flag_spec
='-R$libdir'
10506 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10507 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10517 hardcode_libdir_flag_spec
='-L$libdir'
10518 hardcode_minus_L
=yes
10519 allow_undefined_flag
=unsupported
10520 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'
10521 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10525 if test "$GCC" = yes; then
10526 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10527 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'
10529 allow_undefined_flag
=' -expect_unresolved \*'
10530 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'
10532 archive_cmds_need_lc
='no'
10533 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10534 hardcode_libdir_separator
=:
10537 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10538 if test "$GCC" = yes; then
10539 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10540 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'
10541 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10543 allow_undefined_flag
=' -expect_unresolved \*'
10544 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'
10545 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~
10546 $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'
10548 # Both c and cxx compiler support -rpath directly
10549 hardcode_libdir_flag_spec
='-rpath $libdir'
10551 archive_cmds_need_lc
='no'
10552 hardcode_libdir_separator
=:
10556 no_undefined_flag
=' -z defs'
10557 if test "$GCC" = yes; then
10559 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10560 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10561 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10563 case `$CC -V 2>&1` in
10566 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10567 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10568 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10572 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10573 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10574 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10578 hardcode_libdir_flag_spec
='-R$libdir'
10579 hardcode_shlibpath_var
=no
10581 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10583 # The compiler driver will combine and reorder linker options,
10584 # but understands `-z linker_flag'. GCC discards it without `$wl',
10585 # but is careful enough not to reorder.
10586 # Supported since Solaris 2.6 (maybe 2.5.1?)
10587 if test "$GCC" = yes; then
10588 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10590 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10594 link_all_deplibs
=yes
10598 if test "x$host_vendor" = xsequent
; then
10599 # Use $CC to link under sequent, because it throws in some extra .o
10600 # files that make .init and .fini sections work.
10601 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10603 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_libdir_flag_spec
='-L$libdir'
10606 hardcode_direct
=yes
10607 hardcode_minus_L
=yes
10608 hardcode_shlibpath_var
=no
10612 case $host_vendor in
10614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615 hardcode_direct
=yes # is this really true???
10618 ## LD is ld it makes a PLAMLIB
10619 ## CC just makes a GrossModule.
10620 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10621 reload_cmds
='$CC -r -o $output$reload_objs'
10625 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10626 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10629 runpath_var
='LD_RUN_PATH'
10630 hardcode_shlibpath_var
=no
10634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10635 hardcode_shlibpath_var
=no
10636 export_dynamic_flag_spec
='-Bexport'
10640 if test -d /usr
/nec
; then
10641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10642 hardcode_shlibpath_var
=no
10643 runpath_var
=LD_RUN_PATH
10644 hardcode_runpath_var
=yes
10649 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10650 no_undefined_flag
='${wl}-z,text'
10651 archive_cmds_need_lc
=no
10652 hardcode_shlibpath_var
=no
10653 runpath_var
='LD_RUN_PATH'
10655 if test "$GCC" = yes; then
10656 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10660 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 sysv5
* | sco3.2v5
* | sco5v6
*)
10665 # Note: We can NOT use -z defs as we might desire, because we do not
10666 # link with -lc, and that would cause any symbols used from libc to
10667 # always be unresolved, which means just about no library would
10668 # ever link correctly. If we're not using GNU ld we use -z text
10669 # though, which does catch some bad symbols but isn't as heavy-handed
10671 no_undefined_flag
='${wl}-z,text'
10672 allow_undefined_flag
='${wl}-z,nodefs'
10673 archive_cmds_need_lc
=no
10674 hardcode_shlibpath_var
=no
10675 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10676 hardcode_libdir_separator
=':'
10677 link_all_deplibs
=yes
10678 export_dynamic_flag_spec
='${wl}-Bexport'
10679 runpath_var
='LD_RUN_PATH'
10681 if test "$GCC" = yes; then
10682 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10686 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10692 hardcode_libdir_flag_spec
='-L$libdir'
10693 hardcode_shlibpath_var
=no
10701 if test x
$host_vendor = xsni
; then
10703 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10704 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10711 $as_echo "$ld_shlibs" >&6; }
10712 test "$ld_shlibs" = no
&& can_build_shared
=no
10714 with_gnu_ld
=$with_gnu_ld
10731 # Do we need to explicitly link libc?
10733 case "x$archive_cmds_need_lc" in
10735 # Assume -lc should be added
10736 archive_cmds_need_lc
=yes
10738 if test "$enable_shared" = yes && test "$GCC" = yes; then
10739 case $archive_cmds in
10741 # FIXME: we may have to deal with multi-command sequences.
10744 # Test whether the compiler implicitly links with -lc since on some
10745 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10746 # to ld, don't add -lc before -lgcc.
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10748 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10749 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10750 $as_echo_n "(cached) " >&6
10753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10756 (eval $ac_compile) 2>&5
10758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10759 test $ac_status = 0; } 2>conftest.err
; then
10762 libobjs
=conftest.
$ac_objext
10764 wl
=$lt_prog_compiler_wl
10765 pic_flag
=$lt_prog_compiler_pic
10771 lt_save_allow_undefined_flag
=$allow_undefined_flag
10772 allow_undefined_flag
=
10773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10774 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10777 test $ac_status = 0; }
10779 lt_cv_archive_cmds_need_lc
=no
10781 lt_cv_archive_cmds_need_lc
=yes
10783 allow_undefined_flag
=$lt_save_allow_undefined_flag
10785 cat conftest.err
1>&5
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10791 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10792 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10956 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10958 if test "$GCC" = yes; then
10960 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10961 *) lt_awk_arg
="/^libraries:/" ;;
10964 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10965 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10967 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10968 case $lt_search_path_spec in
10970 # if the path contains ";" then we assume it to be the separator
10971 # otherwise default to the standard path separator (i.e. ":") - it is
10972 # assumed that no part of a normal pathname contains ";" but that should
10973 # okay in the real world where ";" in dirpaths is itself problematic.
10974 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10977 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10980 # Ok, now we have the path, separated by spaces, we can step through it
10981 # and add multilib dir if necessary.
10982 lt_tmp_lt_search_path_spec
=
10983 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10984 for lt_sys_path
in $lt_search_path_spec; do
10985 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10986 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10988 test -d "$lt_sys_path" && \
10989 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10992 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10993 BEGIN {RS=" "; FS="/|\n";} {
10996 for (lt_i = NF; lt_i > 0; lt_i--) {
10997 if ($lt_i != "" && $lt_i != ".") {
10998 if ($lt_i == "..") {
11001 if (lt_count == 0) {
11002 lt_foo="/" $lt_i lt_foo;
11009 if (lt_foo != "") { lt_freq[lt_foo]++; }
11010 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11012 # AWK program above erroneously prepends '/' to C:/dos/paths
11015 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11016 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11018 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11020 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11022 library_names_spec
=
11023 libname_spec
='lib$name'
11027 postuninstall_cmds
=
11031 shlibpath_overrides_runpath
=unknown
11033 dynamic_linker
="$host_os ld.so"
11034 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11035 need_lib_prefix
=unknown
11036 hardcode_into_libs
=no
11038 # when you set need_version to no, make sure it does not cause -set_version
11039 # flags to be left without arguments
11040 need_version
=unknown
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11046 shlibpath_var
=LIBPATH
11048 # AIX 3 has no versioning support, so we append a major version to the name.
11049 soname_spec
='${libname}${release}${shared_ext}$major'
11056 hardcode_into_libs
=yes
11057 if test "$host_cpu" = ia64
; then
11058 # AIX 5 supports IA64
11059 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11060 shlibpath_var
=LD_LIBRARY_PATH
11062 # With GCC up to 2.95.x, collect2 would create an import file
11063 # for dependence libraries. The import file would start with
11064 # the line `#! .'. This would cause the generated library to
11065 # depend on `.', always an invalid library. This was fixed in
11066 # development snapshots of GCC prior to 3.0.
11068 aix4 | aix4.
[01] | aix4.
[01].
*)
11069 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11071 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11074 can_build_shared
=no
11078 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11079 # soname into executable. Probably we can add versioning support to
11080 # collect2, so additional links can be useful in future.
11081 if test "$aix_use_runtimelinking" = yes; then
11082 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11083 # instead of lib<name>.a to let people know that these are not
11084 # typical AIX shared libraries.
11085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 # We preserve .a as extension for shared libraries through AIX4.2
11088 # and later when we are not doing run time linking.
11089 library_names_spec
='${libname}${release}.a $libname.a'
11090 soname_spec
='${libname}${release}${shared_ext}$major'
11092 shlibpath_var
=LIBPATH
11099 # Since July 2007 AmigaOS4 officially supports .so libraries.
11100 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11104 library_names_spec
='$libname.ixlibrary $libname.a'
11105 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11106 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'
11112 library_names_spec
='${libname}${shared_ext}'
11113 dynamic_linker
="$host_os ld.so"
11114 shlibpath_var
=LIBRARY_PATH
11120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11121 soname_spec
='${libname}${release}${shared_ext}$major'
11122 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11123 shlibpath_var
=LD_LIBRARY_PATH
11124 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11125 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11126 # the default ld.so.conf also contains /usr/contrib/lib and
11127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11128 # libtool to hard-code these into programs
11131 cygwin
* | mingw
* | pw32
* | cegcc
*)
11132 version_type
=windows
11137 case $GCC,$host_os in
11138 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11139 library_names_spec
='$libname.dll.a'
11140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11141 postinstall_cmds
='base_file=`basename \${file}`~
11142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11143 dldir=$destdir/`dirname \$dlpath`~
11144 test -d \$dldir || mkdir -p \$dldir~
11145 $install_prog $dir/$dlname \$dldir/$dlname~
11146 chmod a+x \$dldir/$dlname~
11147 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11148 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11150 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11151 dlpath=$dir/\$dldll~
11153 shlibpath_overrides_runpath
=yes
11157 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11158 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11160 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11163 # MinGW DLLs use traditional 'lib' prefix
11164 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11167 # pw32 DLLs use 'pw' prefix rather than 'lib'
11168 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11174 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11177 dynamic_linker
='Win32 ld.exe'
11178 # FIXME: first we should search . and the directory the executable is in
11182 darwin
* | rhapsody
*)
11183 dynamic_linker
="$host_os dyld"
11184 version_type
=darwin
11187 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11188 soname_spec
='${libname}${release}${major}$shared_ext'
11189 shlibpath_overrides_runpath
=yes
11190 shlibpath_var
=DYLD_LIBRARY_PATH
11191 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11193 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11194 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11202 soname_spec
='${libname}${release}${shared_ext}$major'
11203 shlibpath_var
=LD_LIBRARY_PATH
11206 freebsd
* | dragonfly
*)
11207 # DragonFly does not have aout. When/if they implement a new
11208 # versioning mechanism, adjust this.
11209 if test -x /usr
/bin
/objformat
; then
11210 objformat
=`/usr/bin/objformat`
11213 freebsd
[23].
*) objformat
=aout
;;
11214 *) objformat
=elf
;;
11217 version_type
=freebsd-
$objformat
11218 case $version_type in
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11225 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11229 shlibpath_var
=LD_LIBRARY_PATH
11232 shlibpath_overrides_runpath
=yes
11234 freebsd3.
[01]* | freebsdelf3.
[01]*)
11235 shlibpath_overrides_runpath
=yes
11236 hardcode_into_libs
=yes
11238 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11239 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11240 shlibpath_overrides_runpath
=no
11241 hardcode_into_libs
=yes
11243 *) # from 4.6 on, and DragonFly
11244 shlibpath_overrides_runpath
=yes
11245 hardcode_into_libs
=yes
11254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11255 soname_spec
='${libname}${release}${shared_ext}$major'
11256 shlibpath_var
=LD_LIBRARY_PATH
11257 hardcode_into_libs
=yes
11264 dynamic_linker
="$host_os runtime_loader"
11265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11266 soname_spec
='${libname}${release}${shared_ext}$major'
11267 shlibpath_var
=LIBRARY_PATH
11268 shlibpath_overrides_runpath
=yes
11269 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11270 hardcode_into_libs
=yes
11273 hpux9
* | hpux10
* | hpux11
*)
11274 # Give a soname corresponding to the major version so that dld.sl refuses to
11275 # link against other versions.
11282 hardcode_into_libs
=yes
11283 dynamic_linker
="$host_os dld.so"
11284 shlibpath_var
=LD_LIBRARY_PATH
11285 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 soname_spec
='${libname}${release}${shared_ext}$major'
11288 if test "X$HPUX_IA64_MODE" = X32
; then
11289 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11291 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11293 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11297 hardcode_into_libs
=yes
11298 dynamic_linker
="$host_os dld.sl"
11299 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11300 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11304 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11308 dynamic_linker
="$host_os dld.sl"
11309 shlibpath_var
=SHLIB_PATH
11310 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312 soname_spec
='${libname}${release}${shared_ext}$major'
11315 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11316 postinstall_cmds
='chmod 555 $lib'
11317 # or fails outright, so override atomically:
11318 install_override_mode
=555
11325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11326 soname_spec
='${libname}${release}${shared_ext}$major'
11327 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11328 shlibpath_var
=LD_LIBRARY_PATH
11329 shlibpath_overrides_runpath
=no
11330 hardcode_into_libs
=yes
11333 irix5
* | irix6
* | nonstopux
*)
11335 nonstopux
*) version_type
=nonstopux
;;
11337 if test "$lt_cv_prog_gnu_ld" = yes; then
11345 soname_spec
='${libname}${release}${shared_ext}$major'
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11348 irix5
* | nonstopux
*)
11349 libsuff
= shlibsuff
=
11352 case $LD in # libtool.m4 will add one of these switches to LD
11353 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11354 libsuff
= shlibsuff
= libmagic
=32-bit;;
11355 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11356 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11357 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11358 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11359 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11363 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11364 shlibpath_overrides_runpath
=no
11365 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11366 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11367 hardcode_into_libs
=yes
11370 # No shared lib support for Linux oldld, aout, or coff.
11371 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11375 # This must be Linux ELF.
11376 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11383 shlibpath_var
=LD_LIBRARY_PATH
11384 shlibpath_overrides_runpath
=no
11386 # Some binutils ld are patched to set DT_RUNPATH
11387 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11390 lt_cv_shlibpath_overrides_runpath
=no
11391 save_LDFLAGS
=$LDFLAGS
11392 save_libdir
=$libdir
11393 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11394 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11406 if ac_fn_c_try_link
"$LINENO"; then :
11407 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11408 lt_cv_shlibpath_overrides_runpath
=yes
11411 rm -f core conftest.err conftest.
$ac_objext \
11412 conftest
$ac_exeext conftest.
$ac_ext
11413 LDFLAGS
=$save_LDFLAGS
11414 libdir
=$save_libdir
11418 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11420 # This implies no fast_install, which is unacceptable.
11421 # Some rework will be needed to allow for fast_install
11422 # before this can be enabled.
11423 hardcode_into_libs
=yes
11425 # Append ld.so.conf contents to the search path
11426 if test -f /etc
/ld.so.conf
; then
11427 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' ' '`
11428 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11431 # We used to test for /lib/ld.so.1 and disable shared libraries on
11432 # powerpc, because MkLinux only supported shared libraries with the
11433 # GNU dynamic linker. Since this was broken with cross compilers,
11434 # most powerpc-linux boxes support dynamic linking these days and
11435 # people can always --disable-shared, the test was removed, and we
11436 # assume the GNU/Linux dynamic linker is in use.
11437 dynamic_linker
='GNU/Linux ld.so'
11444 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11447 dynamic_linker
='NetBSD (a.out) ld.so'
11449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11450 soname_spec
='${libname}${release}${shared_ext}$major'
11451 dynamic_linker
='NetBSD ld.elf_so'
11453 shlibpath_var
=LD_LIBRARY_PATH
11454 shlibpath_overrides_runpath
=yes
11455 hardcode_into_libs
=yes
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 shlibpath_var
=LD_LIBRARY_PATH
11462 shlibpath_overrides_runpath
=yes
11469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11470 soname_spec
='${libname}${release}${shared_ext}$major'
11471 shlibpath_var
=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath
=no
11473 hardcode_into_libs
=yes
11474 dynamic_linker
='ldqnx.so'
11479 sys_lib_dlsearch_path_spec
="/usr/lib"
11481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11483 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11484 *) need_version
=no
;;
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11487 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11491 openbsd2.
[89] | openbsd2.
[89].
*)
11492 shlibpath_overrides_runpath
=no
11495 shlibpath_overrides_runpath
=yes
11499 shlibpath_overrides_runpath
=yes
11504 libname_spec
='$name'
11507 library_names_spec
='$libname${shared_ext} $libname.a'
11508 dynamic_linker
='OS/2 ld.exe'
11509 shlibpath_var
=LIBPATH
11512 osf3
* | osf4
* | osf5
*)
11516 soname_spec
='${libname}${release}${shared_ext}$major'
11517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518 shlibpath_var
=LD_LIBRARY_PATH
11519 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11520 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11532 soname_spec
='${libname}${release}${shared_ext}$major'
11533 shlibpath_var
=LD_LIBRARY_PATH
11534 shlibpath_overrides_runpath
=yes
11535 hardcode_into_libs
=yes
11536 # ldd complains unless libraries are executable
11537 postinstall_cmds
='chmod +x $lib'
11542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11543 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11544 shlibpath_var
=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath
=yes
11546 if test "$with_gnu_ld" = yes; then
11554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11555 soname_spec
='${libname}${release}${shared_ext}$major'
11556 shlibpath_var
=LD_LIBRARY_PATH
11557 case $host_vendor in
11559 shlibpath_overrides_runpath
=no
11561 runpath_var
=LD_RUN_PATH
11569 shlibpath_overrides_runpath
=no
11570 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11576 if test -d /usr
/nec
;then
11578 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11579 soname_spec
='$libname${shared_ext}.$major'
11580 shlibpath_var
=LD_LIBRARY_PATH
11584 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11585 version_type
=freebsd-elf
11588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11589 soname_spec
='${libname}${release}${shared_ext}$major'
11590 shlibpath_var
=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath
=yes
11592 hardcode_into_libs
=yes
11593 if test "$with_gnu_ld" = yes; then
11594 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11596 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11599 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11603 sys_lib_dlsearch_path_spec
='/usr/lib'
11607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11612 shlibpath_var
=LD_LIBRARY_PATH
11613 shlibpath_overrides_runpath
=no
11614 hardcode_into_libs
=yes
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620 soname_spec
='${libname}${release}${shared_ext}$major'
11621 shlibpath_var
=LD_LIBRARY_PATH
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11629 $as_echo "$dynamic_linker" >&6; }
11630 test "$dynamic_linker" = no
&& can_build_shared
=no
11632 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11633 if test "$GCC" = yes; then
11634 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11637 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11638 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11640 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11641 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11736 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11738 if test -n "$hardcode_libdir_flag_spec" ||
11739 test -n "$runpath_var" ||
11740 test "X$hardcode_automatic" = "Xyes" ; then
11742 # We can hardcode non-existent directories.
11743 if test "$hardcode_direct" != no
&&
11744 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11745 # have to relink, otherwise we might link with an installed library
11746 # when we should be linking with a yet-to-be-installed one
11747 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11748 test "$hardcode_minus_L" != no
; then
11749 # Linking always hardcodes the temporary library directory.
11750 hardcode_action
=relink
11752 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11753 hardcode_action
=immediate
11756 # We cannot hardcode anything, or else we can only hardcode existing
11758 hardcode_action
=unsupported
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11761 $as_echo "$hardcode_action" >&6; }
11763 if test "$hardcode_action" = relink ||
11764 test "$inherit_rpath" = yes; then
11765 # Fast installation is not supported
11766 enable_fast_install
=no
11767 elif test "$shlibpath_overrides_runpath" = yes ||
11768 test "$enable_shared" = no
; then
11769 # Fast installation is not necessary
11770 enable_fast_install
=needless
11778 if test "x$enable_dlopen" != xyes
; then
11779 enable_dlopen
=unknown
11780 enable_dlopen_self
=unknown
11781 enable_dlopen_self_static
=unknown
11788 lt_cv_dlopen
="load_add_on"
11790 lt_cv_dlopen_self
=yes
11793 mingw
* | pw32
* | cegcc
*)
11794 lt_cv_dlopen
="LoadLibrary"
11799 lt_cv_dlopen
="dlopen"
11804 # if libdl is installed we need to link against it
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11806 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11807 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11808 $as_echo_n "(cached) " >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11830 if ac_fn_c_try_link
"$LINENO"; then :
11831 ac_cv_lib_dl_dlopen
=yes
11833 ac_cv_lib_dl_dlopen
=no
11835 rm -f core conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_lib_save_LIBS
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11840 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11841 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11842 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11845 lt_cv_dlopen
="dyld"
11847 lt_cv_dlopen_self
=yes
11854 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11855 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11856 lt_cv_dlopen
="shl_load"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11859 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11860 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11861 $as_echo_n "(cached) " >&6
11863 ac_check_lib_save_LIBS
=$LIBS
11865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11868 /* Override any GCC internal prototype to avoid an error.
11869 Use char because int might match the return type of a GCC
11870 builtin and then its argument prototype would still apply. */
11878 return shl_load ();
11883 if ac_fn_c_try_link
"$LINENO"; then :
11884 ac_cv_lib_dld_shl_load
=yes
11886 ac_cv_lib_dld_shl_load
=no
11888 rm -f core conftest.err conftest.
$ac_objext \
11889 conftest
$ac_exeext conftest.
$ac_ext
11890 LIBS
=$ac_check_lib_save_LIBS
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11893 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11894 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11895 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11897 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11898 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11899 lt_cv_dlopen
="dlopen"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11902 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11903 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11904 $as_echo_n "(cached) " >&6
11906 ac_check_lib_save_LIBS
=$LIBS
11908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11926 if ac_fn_c_try_link
"$LINENO"; then :
11927 ac_cv_lib_dl_dlopen
=yes
11929 ac_cv_lib_dl_dlopen
=no
11931 rm -f core conftest.err conftest.
$ac_objext \
11932 conftest
$ac_exeext conftest.
$ac_ext
11933 LIBS
=$ac_check_lib_save_LIBS
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11936 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11937 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11938 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11941 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11942 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_check_lib_save_LIBS
=$LIBS
11946 LIBS
="-lsvld $LIBS"
11947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11965 if ac_fn_c_try_link
"$LINENO"; then :
11966 ac_cv_lib_svld_dlopen
=yes
11968 ac_cv_lib_svld_dlopen
=no
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 LIBS
=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11975 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11976 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11977 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11980 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11981 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11982 $as_echo_n "(cached) " >&6
11984 ac_check_lib_save_LIBS
=$LIBS
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11999 return dld_link ();
12004 if ac_fn_c_try_link
"$LINENO"; then :
12005 ac_cv_lib_dld_dld_link
=yes
12007 ac_cv_lib_dld_dld_link
=no
12009 rm -f core conftest.err conftest.
$ac_objext \
12010 conftest
$ac_exeext conftest.
$ac_ext
12011 LIBS
=$ac_check_lib_save_LIBS
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12014 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12015 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12016 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12037 if test "x$lt_cv_dlopen" != xno
; then
12043 case $lt_cv_dlopen in
12045 save_CPPFLAGS
="$CPPFLAGS"
12046 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12048 save_LDFLAGS
="$LDFLAGS"
12049 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12052 LIBS
="$lt_cv_dlopen_libs $LIBS"
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12055 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12056 if test "${lt_cv_dlopen_self+set}" = set; then :
12057 $as_echo_n "(cached) " >&6
12059 if test "$cross_compiling" = yes; then :
12060 lt_cv_dlopen_self
=cross
12062 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12063 lt_status
=$lt_dlunknown
12064 cat > conftest.
$ac_ext <<_LT_EOF
12065 #line 12065 "configure"
12066 #include "confdefs.h"
12075 # define LT_DLGLOBAL RTLD_GLOBAL
12078 # define LT_DLGLOBAL DL_GLOBAL
12080 # define LT_DLGLOBAL 0
12084 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12085 find out it does not work in some platform. */
12086 #ifndef LT_DLLAZY_OR_NOW
12088 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12091 # define LT_DLLAZY_OR_NOW DL_LAZY
12094 # define LT_DLLAZY_OR_NOW RTLD_NOW
12097 # define LT_DLLAZY_OR_NOW DL_NOW
12099 # define LT_DLLAZY_OR_NOW 0
12106 /* When -fvisbility=hidden is used, assume the code has been annotated
12107 correspondingly for the symbols needed. */
12108 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12109 void fnord () __attribute__((visibility("default")));
12112 void fnord () { int i=42; }
12115 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12116 int status = $lt_dlunknown;
12120 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12123 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12124 else puts (dlerror ());
12126 /* dlclose (self); */
12134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12135 (eval $ac_link) 2>&5
12137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12139 (.
/conftest
; exit; ) >&5 2>/dev
/null
12141 case x
$lt_status in
12142 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12143 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12144 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12147 # compilation failed
12148 lt_cv_dlopen_self
=no
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12156 $as_echo "$lt_cv_dlopen_self" >&6; }
12158 if test "x$lt_cv_dlopen_self" = xyes
; then
12159 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12161 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12162 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12163 $as_echo_n "(cached) " >&6
12165 if test "$cross_compiling" = yes; then :
12166 lt_cv_dlopen_self_static
=cross
12168 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12169 lt_status
=$lt_dlunknown
12170 cat > conftest.
$ac_ext <<_LT_EOF
12171 #line 12171 "configure"
12172 #include "confdefs.h"
12181 # define LT_DLGLOBAL RTLD_GLOBAL
12184 # define LT_DLGLOBAL DL_GLOBAL
12186 # define LT_DLGLOBAL 0
12190 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12191 find out it does not work in some platform. */
12192 #ifndef LT_DLLAZY_OR_NOW
12194 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12197 # define LT_DLLAZY_OR_NOW DL_LAZY
12200 # define LT_DLLAZY_OR_NOW RTLD_NOW
12203 # define LT_DLLAZY_OR_NOW DL_NOW
12205 # define LT_DLLAZY_OR_NOW 0
12212 /* When -fvisbility=hidden is used, assume the code has been annotated
12213 correspondingly for the symbols needed. */
12214 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12215 void fnord () __attribute__((visibility("default")));
12218 void fnord () { int i=42; }
12221 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12222 int status = $lt_dlunknown;
12226 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12229 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12230 else puts (dlerror ());
12232 /* dlclose (self); */
12240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12241 (eval $ac_link) 2>&5
12243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12245 (.
/conftest
; exit; ) >&5 2>/dev
/null
12247 case x
$lt_status in
12248 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12249 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12250 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12253 # compilation failed
12254 lt_cv_dlopen_self_static
=no
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12262 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12265 CPPFLAGS
="$save_CPPFLAGS"
12266 LDFLAGS
="$save_LDFLAGS"
12271 case $lt_cv_dlopen_self in
12272 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12273 *) enable_dlopen_self
=unknown
;;
12276 case $lt_cv_dlopen_self_static in
12277 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12278 *) enable_dlopen_self_static
=unknown
;;
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12301 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12302 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12303 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12304 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12306 $as_echo "yes" >&6; }
12308 # FIXME - insert some real tests, host_os isn't really good enough
12311 if test -n "$STRIP" ; then
12312 striplib
="$STRIP -x"
12313 old_striplib
="$STRIP -S"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12315 $as_echo "yes" >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318 $as_echo "no" >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323 $as_echo "no" >&6; }
12339 # Report which library types will actually be built
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12341 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12343 $as_echo "$can_build_shared" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12346 $as_echo_n "checking whether to build shared libraries... " >&6; }
12347 test "$can_build_shared" = "no" && enable_shared
=no
12349 # On AIX, shared libraries and static libraries use the same namespace, and
12350 # are all built from PIC.
12353 test "$enable_shared" = yes && enable_static
=no
12354 if test -n "$RANLIB"; then
12355 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12356 postinstall_cmds
='$RANLIB $lib'
12361 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12362 test "$enable_shared" = yes && enable_static
=no
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12367 $as_echo "$enable_shared" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12370 $as_echo_n "checking whether to build static libraries... " >&6; }
12371 # Make sure either enable_shared or enable_static is yes.
12372 test "$enable_shared" = yes || enable_static
=yes
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12374 $as_echo "$enable_static" >&6; }
12381 ac_cpp
='$CPP $CPPFLAGS'
12382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12388 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12389 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12390 (test "X$CXX" != "Xg++"))) ; then
12392 ac_cpp
='$CXXCPP $CPPFLAGS'
12393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12397 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12398 if test -z "$CXXCPP"; then
12399 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12400 $as_echo_n "(cached) " >&6
12402 # Double quotes because CXXCPP needs to be expanded
12403 for CXXCPP
in "$CXX -E" "/lib/cpp"
12405 ac_preproc_ok
=false
12406 for ac_cxx_preproc_warn_flag
in '' yes
12408 # Use a header file that comes with gcc, so configuring glibc
12409 # with a fresh cross-compiler works.
12410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12411 # <limits.h> exists even on freestanding compilers.
12412 # On the NeXT, cc -E runs the code through the compiler's parser,
12413 # not just through cpp. "Syntax error" is here to catch this case.
12414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 # include <limits.h>
12419 # include <assert.h>
12423 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12426 # Broken: fails on valid input.
12429 rm -f conftest.err conftest.
$ac_ext
12431 # OK, works on sane cases. Now check whether nonexistent headers
12432 # can be detected and how.
12433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12435 #include <ac_nonexistent.h>
12437 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12438 # Broken: success on invalid input.
12441 # Passes both tests.
12445 rm -f conftest.err conftest.
$ac_ext
12448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12449 rm -f conftest.err conftest.
$ac_ext
12450 if $ac_preproc_ok; then :
12455 ac_cv_prog_CXXCPP
=$CXXCPP
12458 CXXCPP
=$ac_cv_prog_CXXCPP
12460 ac_cv_prog_CXXCPP
=$CXXCPP
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12463 $as_echo "$CXXCPP" >&6; }
12464 ac_preproc_ok
=false
12465 for ac_cxx_preproc_warn_flag
in '' yes
12467 # Use a header file that comes with gcc, so configuring glibc
12468 # with a fresh cross-compiler works.
12469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12470 # <limits.h> exists even on freestanding compilers.
12471 # On the NeXT, cc -E runs the code through the compiler's parser,
12472 # not just through cpp. "Syntax error" is here to catch this case.
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 # include <limits.h>
12478 # include <assert.h>
12482 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12485 # Broken: fails on valid input.
12488 rm -f conftest.err conftest.
$ac_ext
12490 # OK, works on sane cases. Now check whether nonexistent headers
12491 # can be detected and how.
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12494 #include <ac_nonexistent.h>
12496 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12497 # Broken: success on invalid input.
12500 # Passes both tests.
12504 rm -f conftest.err conftest.
$ac_ext
12507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12508 rm -f conftest.err conftest.
$ac_ext
12509 if $ac_preproc_ok; then :
12512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12514 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12515 See \`config.log' for more details." "$LINENO" 5; }
12519 ac_cpp
='$CPP $CPPFLAGS'
12520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12525 _lt_caught_CXX_error
=yes
12529 ac_cpp
='$CXXCPP $CPPFLAGS'
12530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12534 archive_cmds_need_lc_CXX
=no
12535 allow_undefined_flag_CXX
=
12536 always_export_symbols_CXX
=no
12537 archive_expsym_cmds_CXX
=
12538 compiler_needs_object_CXX
=no
12539 export_dynamic_flag_spec_CXX
=
12540 hardcode_direct_CXX
=no
12541 hardcode_direct_absolute_CXX
=no
12542 hardcode_libdir_flag_spec_CXX
=
12543 hardcode_libdir_flag_spec_ld_CXX
=
12544 hardcode_libdir_separator_CXX
=
12545 hardcode_minus_L_CXX
=no
12546 hardcode_shlibpath_var_CXX
=unsupported
12547 hardcode_automatic_CXX
=no
12548 inherit_rpath_CXX
=no
12550 module_expsym_cmds_CXX
=
12551 link_all_deplibs_CXX
=unknown
12552 old_archive_cmds_CXX
=$old_archive_cmds
12553 reload_flag_CXX
=$reload_flag
12554 reload_cmds_CXX
=$reload_cmds
12555 no_undefined_flag_CXX
=
12556 whole_archive_flag_spec_CXX
=
12557 enable_shared_with_static_runtimes_CXX
=no
12559 # Source file extension for C++ test sources.
12562 # Object file extension for compiled C++ test sources.
12566 # No sense in running all these tests if we already determined that
12567 # the CXX compiler isn't working. Some variables (like enable_shared)
12568 # are currently assumed to apply to all compilers on this platform,
12569 # and will be corrupted by setting them based on a non-working compiler.
12570 if test "$_lt_caught_CXX_error" != yes; then
12571 # Code to be used in simple compile tests
12572 lt_simple_compile_test_code
="int some_variable = 0;"
12574 # Code to be used in simple link tests
12575 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12577 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12584 # If no C compiler was specified, use CC.
12587 # If no C compiler flags were specified, use CFLAGS.
12588 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12590 # Allow CC to be a program name with arguments.
12594 # save warnings/boilerplate of simple test code
12595 ac_outfile
=conftest.
$ac_objext
12596 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12597 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12598 _lt_compiler_boilerplate
=`cat conftest.err`
12601 ac_outfile
=conftest.
$ac_objext
12602 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12603 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12604 _lt_linker_boilerplate
=`cat conftest.err`
12608 # Allow CC to be a program name with arguments.
12613 lt_save_with_gnu_ld
=$with_gnu_ld
12614 lt_save_path_LD
=$lt_cv_path_LD
12615 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12616 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12618 $as_unset lt_cv_prog_gnu_ld
12620 if test -n "${lt_cv_path_LDCXX+set}"; then
12621 lt_cv_path_LD
=$lt_cv_path_LDCXX
12623 $as_unset lt_cv_path_LD
12625 test -z "${LDCXX+set}" || LD
=$LDCXX
12629 for cc_temp
in $compiler""; do
12631 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12632 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12637 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12640 if test -n "$compiler"; then
12641 # We don't want -fno-exception when compiling C++ code, so set the
12642 # no_builtin_flag separately
12643 if test "$GXX" = yes; then
12644 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12646 lt_prog_compiler_no_builtin_flag_CXX
=
12649 if test "$GXX" = yes; then
12650 # Set up default GNU C++ configuration
12654 # Check whether --with-gnu-ld was given.
12655 if test "${with_gnu_ld+set}" = set; then :
12656 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12662 if test "$GCC" = yes; then
12663 # Check if gcc -print-prog-name=ld gives a path.
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12665 $as_echo_n "checking for ld used by $CC... " >&6; }
12668 # gcc leaves a trailing carriage return which upsets mingw
12669 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12671 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12674 # Accept absolute paths.
12676 re_direlt
='/[^/][^/]*/\.\./'
12677 # Canonicalize the pathname of ld
12678 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12679 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12680 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12682 test -z "$LD" && LD
="$ac_prog"
12685 # If it fails, then pretend we aren't using GCC.
12689 # If it is relative, then search for the first ld in PATH.
12690 with_gnu_ld
=unknown
12693 elif test "$with_gnu_ld" = yes; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12695 $as_echo_n "checking for GNU ld... " >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12698 $as_echo_n "checking for non-GNU ld... " >&6; }
12700 if test "${lt_cv_path_LD+set}" = set; then :
12701 $as_echo_n "(cached) " >&6
12703 if test -z "$LD"; then
12704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12705 for ac_dir
in $PATH; do
12707 test -z "$ac_dir" && ac_dir
=.
12708 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12709 lt_cv_path_LD
="$ac_dir/$ac_prog"
12710 # Check to see if the program is GNU ld. I'd rather use --version,
12711 # but apparently some variants of GNU ld only accept -v.
12712 # Break only if it was the GNU/non-GNU ld that we prefer.
12713 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12714 *GNU
* |
*'with BFD'*)
12715 test "$with_gnu_ld" != no
&& break
12718 test "$with_gnu_ld" != yes && break
12725 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12729 LD
="$lt_cv_path_LD"
12730 if test -n "$LD"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12732 $as_echo "$LD" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12737 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12739 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12740 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12741 $as_echo_n "(cached) " >&6
12743 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12744 case `$LD -v 2>&1 </dev/null` in
12745 *GNU
* |
*'with BFD'*)
12746 lt_cv_prog_gnu_ld
=yes
12749 lt_cv_prog_gnu_ld
=no
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12754 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12755 with_gnu_ld
=$lt_cv_prog_gnu_ld
12763 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12764 # archiving commands below assume that GNU ld is being used.
12765 if test "$with_gnu_ld" = yes; then
12766 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12767 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12769 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12770 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12772 # If archive_cmds runs LD, not CC, wlarc should be empty
12773 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12774 # investigate it a little bit more. (MM)
12777 # ancient GNU ld didn't support --whole-archive et. al.
12778 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12779 $GREP 'no-whole-archive' > /dev
/null
; then
12780 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12782 whole_archive_flag_spec_CXX
=
12788 # A generic and very simple default shared library creation
12789 # command for GNU C++ for the case where it uses the native
12790 # linker, instead of GNU ld. If possible, this setting should
12791 # overridden to take advantage of the native linker features on
12792 # the platform it is being used on.
12793 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12796 # Commands to make compiler produce verbose output that lists
12797 # what "hidden" libraries, object files and flags are used when
12798 # linking a shared library.
12799 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12807 # PORTME: fill in a description of your system's C++ link characteristics
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12809 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12813 # FIXME: insert proper C++ library support
12817 if test "$host_cpu" = ia64
; then
12818 # On IA64, the linker does run time linking by default, so we don't
12819 # have to do anything special.
12820 aix_use_runtimelinking
=no
12821 exp_sym_flag
='-Bexport'
12824 aix_use_runtimelinking
=no
12826 # Test if we are trying to use run time linking or normal
12827 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12828 # need to do runtime linking.
12829 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12830 for ld_flag
in $LDFLAGS; do
12833 aix_use_runtimelinking
=yes
12841 exp_sym_flag
='-bexport'
12842 no_entry_flag
='-bnoentry'
12845 # When large executables or shared objects are built, AIX ld can
12846 # have problems creating the table of contents. If linking a library
12847 # or program results in "error TOC overflow" add -mminimal-toc to
12848 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12849 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12851 archive_cmds_CXX
=''
12852 hardcode_direct_CXX
=yes
12853 hardcode_direct_absolute_CXX
=yes
12854 hardcode_libdir_separator_CXX
=':'
12855 link_all_deplibs_CXX
=yes
12856 file_list_spec_CXX
='${wl}-f,'
12858 if test "$GXX" = yes; then
12859 case $host_os in aix4.
[012]|aix4.
[012].
*)
12860 # We only want to do this on AIX 4.2 and lower, the check
12861 # below for broken collect2 doesn't work under 4.3+
12862 collect2name
=`${CC} -print-prog-name=collect2`
12863 if test -f "$collect2name" &&
12864 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12866 # We have reworked collect2
12869 # We have old collect2
12870 hardcode_direct_CXX
=unsupported
12871 # It fails to find uninstalled libraries when the uninstalled
12872 # path is not listed in the libpath. Setting hardcode_minus_L
12873 # to unsupported forces relinking
12874 hardcode_minus_L_CXX
=yes
12875 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12876 hardcode_libdir_separator_CXX
=
12879 shared_flag
='-shared'
12880 if test "$aix_use_runtimelinking" = yes; then
12881 shared_flag
="$shared_flag "'${wl}-G'
12885 if test "$host_cpu" = ia64
; then
12886 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12887 # chokes on -Wl,-G. The following line is correct:
12890 if test "$aix_use_runtimelinking" = yes; then
12891 shared_flag
='${wl}-G'
12893 shared_flag
='${wl}-bM:SRE'
12898 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12899 # It seems that -bexpall does not export symbols beginning with
12900 # underscore (_), so it is better to generate a list of symbols to
12902 always_export_symbols_CXX
=yes
12903 if test "$aix_use_runtimelinking" = yes; then
12904 # Warning - without using the other runtime loading flags (-brtl),
12905 # -berok will link without error, but may produce a broken library.
12906 allow_undefined_flag_CXX
='-berok'
12907 # Determine the default libpath from the value encoded in an empty
12909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12920 if ac_fn_cxx_try_link
"$LINENO"; then :
12922 lt_aix_libpath_sed
='
12923 /Import File Strings/,/^$/ {
12929 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12930 # Check for a 64-bit object if we didn't find anything.
12931 if test -z "$aix_libpath"; then
12932 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12935 rm -f core conftest.err conftest.
$ac_objext \
12936 conftest
$ac_exeext conftest.
$ac_ext
12937 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12939 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12941 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"
12943 if test "$host_cpu" = ia64
; then
12944 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12945 allow_undefined_flag_CXX
="-z nodefs"
12946 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"
12948 # Determine the default libpath from the value encoded in an
12949 # empty executable.
12950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12961 if ac_fn_cxx_try_link
"$LINENO"; then :
12963 lt_aix_libpath_sed
='
12964 /Import File Strings/,/^$/ {
12970 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12971 # Check for a 64-bit object if we didn't find anything.
12972 if test -z "$aix_libpath"; then
12973 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12976 rm -f core conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12978 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12980 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12981 # Warning - without using the other run time loading flags,
12982 # -berok will link without error, but may produce a broken library.
12983 no_undefined_flag_CXX
=' ${wl}-bernotok'
12984 allow_undefined_flag_CXX
=' ${wl}-berok'
12985 if test "$with_gnu_ld" = yes; then
12986 # We only use this code for GNU lds that support --whole-archive.
12987 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12989 # Exported symbols can be pulled into shared objects from archives
12990 whole_archive_flag_spec_CXX
='$convenience'
12992 archive_cmds_need_lc_CXX
=yes
12993 # This is similar to how AIX traditionally builds its shared
12995 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'
13001 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13002 allow_undefined_flag_CXX
=unsupported
13003 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13004 # support --undefined. This deserves some investigation. FIXME
13005 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13012 case $cc_basename in
13014 # FIXME: insert proper C++ library support
13020 cygwin
* | mingw
* | pw32
* | cegcc
*)
13021 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13022 # as there is no search path for DLLs.
13023 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13024 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13025 allow_undefined_flag_CXX
=unsupported
13026 always_export_symbols_CXX
=no
13027 enable_shared_with_static_runtimes_CXX
=yes
13029 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13030 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'
13031 # If the export-symbols file already is a .def file (1st line
13032 # is EXPORTS), use it as is; otherwise, prepend...
13033 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13034 cp $export_symbols $output_objdir/$soname.def;
13036 echo EXPORTS > $output_objdir/$soname.def;
13037 cat $export_symbols >> $output_objdir/$soname.def;
13039 $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'
13044 darwin
* | rhapsody
*)
13047 archive_cmds_need_lc_CXX
=no
13048 hardcode_direct_CXX
=no
13049 hardcode_automatic_CXX
=yes
13050 hardcode_shlibpath_var_CXX
=unsupported
13051 if test "$lt_cv_ld_force_load" = "yes"; then
13052 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\"`'
13054 whole_archive_flag_spec_CXX
=''
13056 link_all_deplibs_CXX
=yes
13057 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13058 case $cc_basename in
13059 ifort
*) _lt_dar_can_shared
=yes ;;
13060 *) _lt_dar_can_shared
=$GCC ;;
13062 if test "$_lt_dar_can_shared" = "yes"; then
13063 output_verbose_link_cmd
=func_echo_all
13064 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}"
13065 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13066 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}"
13067 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}"
13068 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13069 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}"
13070 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}"
13080 case $cc_basename in
13082 # FIXME: insert proper C++ library support
13086 # Green Hills C++ Compiler
13087 # FIXME: insert proper C++ library support
13091 # FIXME: insert proper C++ library support
13098 # C++ shared libraries reported to be fairly broken before
13104 archive_cmds_need_lc_CXX
=no
13107 freebsd
* | dragonfly
*)
13108 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13117 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13118 link_all_deplibs_CXX
=yes
13122 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13123 hardcode_libdir_separator_CXX
=:
13124 export_dynamic_flag_spec_CXX
='${wl}-E'
13125 hardcode_direct_CXX
=yes
13126 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13127 # but as the default
13128 # location of the library.
13130 case $cc_basename in
13132 # FIXME: insert proper C++ library support
13136 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'
13137 # Commands to make compiler produce verbose output that lists
13138 # what "hidden" libraries, object files and flags are used when
13139 # linking a shared library.
13141 # There doesn't appear to be a way to prevent this compiler from
13142 # explicitly linking system object files so we need to strip them
13143 # from the output so that they don't get included in the library
13145 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"'
13148 if test "$GXX" = yes; then
13149 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'
13151 # FIXME: insert proper C++ library support
13159 if test $with_gnu_ld = no
; then
13160 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13161 hardcode_libdir_separator_CXX
=:
13167 export_dynamic_flag_spec_CXX
='${wl}-E'
13173 hardcode_direct_CXX
=no
13174 hardcode_shlibpath_var_CXX
=no
13177 hardcode_direct_CXX
=yes
13178 hardcode_direct_absolute_CXX
=yes
13179 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13180 # but as the default
13181 # location of the library.
13185 case $cc_basename in
13187 # FIXME: insert proper C++ library support
13193 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13196 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13199 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13202 # Commands to make compiler produce verbose output that lists
13203 # what "hidden" libraries, object files and flags are used when
13204 # linking a shared library.
13206 # There doesn't appear to be a way to prevent this compiler from
13207 # explicitly linking system object files so we need to strip them
13208 # from the output so that they don't get included in the library
13210 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"'
13213 if test "$GXX" = yes; then
13214 if test $with_gnu_ld = no
; then
13217 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13220 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13223 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'
13228 # FIXME: insert proper C++ library support
13236 hardcode_direct_CXX
=no
13237 hardcode_shlibpath_var_CXX
=no
13238 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13239 export_dynamic_flag_spec_CXX
='${wl}-E'
13240 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13241 # Instead, shared libraries are loaded at an image base (0x10000000 by
13242 # default) and relocated if they conflict, which is a slow very memory
13243 # consuming and fragmenting process. To avoid this, we pick a random,
13244 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13245 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13246 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'
13247 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'
13250 case $cc_basename in
13253 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'
13255 # Archives containing C++ object files must be created using
13256 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13257 # necessary to make sure instantiated templates are included
13259 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13262 if test "$GXX" = yes; then
13263 if test "$with_gnu_ld" = no
; then
13264 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'
13266 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'
13269 link_all_deplibs_CXX
=yes
13272 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13273 hardcode_libdir_separator_CXX
=:
13274 inherit_rpath_CXX
=yes
13277 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13278 case $cc_basename in
13280 # Kuck and Associates, Inc. (KAI) C++ Compiler
13282 # KCC will only create a shared library if the output file
13283 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13284 # to its proper name (with version) after linking.
13285 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'
13286 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'
13287 # Commands to make compiler produce verbose output that lists
13288 # what "hidden" libraries, object files and flags are used when
13289 # linking a shared library.
13291 # There doesn't appear to be a way to prevent this compiler from
13292 # explicitly linking system object files so we need to strip them
13293 # from the output so that they don't get included in the library
13295 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"'
13297 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13298 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13300 # Archives containing C++ object files must be created using
13301 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13302 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13307 # version 8.0 and above of icpc choke on multiply defined symbols
13308 # if we add $predep_objects and $postdep_objects, however 7.1 and
13309 # earlier do not add the objects themselves.
13310 case `$CC -V 2>&1` in
13312 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13313 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'
13315 *) # Version 8.0 or newer
13318 ia64
*) tmp_idyn
=' -i_dynamic';;
13320 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13321 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'
13324 archive_cmds_need_lc_CXX
=no
13325 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13326 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13327 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13330 # Portland Group C++ compiler
13332 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13333 prelink_cmds_CXX
='tpldir=Template.dir~
13335 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13336 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13337 old_archive_cmds_CXX
='tpldir=Template.dir~
13339 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13340 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13342 archive_cmds_CXX
='tpldir=Template.dir~
13344 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13345 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13346 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13348 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13349 $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'
13351 *) # Version 6 and above use weak symbols
13352 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13353 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'
13357 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13358 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13359 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'
13363 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13364 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'
13366 runpath_var
=LD_RUN_PATH
13367 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13368 hardcode_libdir_separator_CXX
=:
13370 # Commands to make compiler produce verbose output that lists
13371 # what "hidden" libraries, object files and flags are used when
13372 # linking a shared library.
13374 # There doesn't appear to be a way to prevent this compiler from
13375 # explicitly linking system object files so we need to strip them
13376 # from the output so that they don't get included in the library
13378 output_verbose_link_cmd
='templist=`$CC -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'
13380 xl
* | mpixl
* | bgxl
*)
13381 # IBM XL 8.0 on PPC, with GNU ld
13382 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13383 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13384 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13385 if test "x$supports_anon_versioning" = xyes
; then
13386 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13388 echo "local: *; };" >> $output_objdir/$libname.ver~
13389 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13393 case `$CC -V 2>&1 | sed 5q` in
13396 no_undefined_flag_CXX
=' -zdefs'
13397 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13398 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'
13399 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13400 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'
13401 compiler_needs_object_CXX
=yes
13403 # Not sure whether something based on
13404 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13406 output_verbose_link_cmd
='func_echo_all'
13408 # Archives containing C++ object files must be created using
13409 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13410 # necessary to make sure instantiated templates are included
13412 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13420 # FIXME: insert proper C++ library support
13425 # FIXME: insert proper C++ library support
13430 case $cc_basename in
13432 # FIXME: insert proper C++ library support
13436 # FIXME: insert proper C++ library support
13443 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13444 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13446 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13447 hardcode_direct_CXX
=yes
13448 hardcode_shlibpath_var_CXX
=no
13450 # Workaround some broken pre-1.5 toolchains
13451 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13459 # C++ shared libraries are fairly broken
13464 if test -f /usr
/libexec
/ld.so
; then
13465 hardcode_direct_CXX
=yes
13466 hardcode_shlibpath_var_CXX
=no
13467 hardcode_direct_absolute_CXX
=yes
13468 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13469 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13470 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13471 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13472 export_dynamic_flag_spec_CXX
='${wl}-E'
13473 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13475 output_verbose_link_cmd
=func_echo_all
13481 osf3
* | osf4
* | osf5
*)
13482 case $cc_basename in
13484 # Kuck and Associates, Inc. (KAI) C++ Compiler
13486 # KCC will only create a shared library if the output file
13487 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13488 # to its proper name (with version) after linking.
13489 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'
13491 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13492 hardcode_libdir_separator_CXX
=:
13494 # Archives containing C++ object files must be created using
13495 # the KAI C++ compiler.
13497 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13498 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13502 # Rational C++ 2.4.1
13503 # FIXME: insert proper C++ library support
13509 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13510 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'
13511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13514 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13515 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'
13516 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13517 echo "-hidden">> $lib.exp~
13518 $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~
13520 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13524 hardcode_libdir_separator_CXX
=:
13526 # Commands to make compiler produce verbose output that lists
13527 # what "hidden" libraries, object files and flags are used when
13528 # linking a shared library.
13530 # There doesn't appear to be a way to prevent this compiler from
13531 # explicitly linking system object files so we need to strip them
13532 # from the output so that they don't get included in the library
13534 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"'
13537 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13538 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13541 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'
13544 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'
13548 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13549 hardcode_libdir_separator_CXX
=:
13551 # Commands to make compiler produce verbose output that lists
13552 # what "hidden" libraries, object files and flags are used when
13553 # linking a shared library.
13554 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13557 # FIXME: insert proper C++ library support
13565 # FIXME: insert proper C++ library support
13570 case $cc_basename in
13573 # FIXME: insert proper C++ library support
13578 # FIXME: insert proper C++ library support
13582 # FIXME: insert proper C++ library support
13589 case $cc_basename in
13591 # Sun C++ 4.2, 5.x and Centerline C++
13592 archive_cmds_need_lc_CXX
=yes
13593 no_undefined_flag_CXX
=' -zdefs'
13594 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13595 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13596 $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'
13598 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13599 hardcode_shlibpath_var_CXX
=no
13601 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13603 # The compiler driver will combine and reorder linker options,
13604 # but understands `-z linker_flag'.
13605 # Supported since Solaris 2.6 (maybe 2.5.1?)
13606 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13609 link_all_deplibs_CXX
=yes
13611 output_verbose_link_cmd
='func_echo_all'
13613 # Archives containing C++ object files must be created using
13614 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13615 # necessary to make sure instantiated templates are included
13617 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13620 # Green Hills C++ Compiler
13621 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13623 # The C++ compiler must be used to create the archive.
13624 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13627 # GNU C++ compiler with Solaris linker
13628 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13629 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13630 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13631 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13632 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13633 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13635 # Commands to make compiler produce verbose output that lists
13636 # what "hidden" libraries, object files and flags are used when
13637 # linking a shared library.
13638 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13640 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13642 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13643 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13644 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13646 # Commands to make compiler produce verbose output that lists
13647 # what "hidden" libraries, object files and flags are used when
13648 # linking a shared library.
13649 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13652 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13654 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13656 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13664 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13665 no_undefined_flag_CXX
='${wl}-z,text'
13666 archive_cmds_need_lc_CXX
=no
13667 hardcode_shlibpath_var_CXX
=no
13668 runpath_var
='LD_RUN_PATH'
13670 case $cc_basename in
13672 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13673 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13677 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682 sysv5
* | sco3.2v5
* | sco5v6
*)
13683 # Note: We can NOT use -z defs as we might desire, because we do not
13684 # link with -lc, and that would cause any symbols used from libc to
13685 # always be unresolved, which means just about no library would
13686 # ever link correctly. If we're not using GNU ld we use -z text
13687 # though, which does catch some bad symbols but isn't as heavy-handed
13689 no_undefined_flag_CXX
='${wl}-z,text'
13690 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13691 archive_cmds_need_lc_CXX
=no
13692 hardcode_shlibpath_var_CXX
=no
13693 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13694 hardcode_libdir_separator_CXX
=':'
13695 link_all_deplibs_CXX
=yes
13696 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13697 runpath_var
='LD_RUN_PATH'
13699 case $cc_basename in
13701 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13702 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13703 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13704 '"$old_archive_cmds_CXX"
13705 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13706 '"$reload_cmds_CXX"
13709 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 case $cc_basename in
13718 # NonStop-UX NCC 3.20
13719 # FIXME: insert proper C++ library support
13723 # FIXME: insert proper C++ library support
13730 # FIXME: insert proper C++ library support
13735 # FIXME: insert proper C++ library support
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13741 $as_echo "$ld_shlibs_CXX" >&6; }
13742 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13748 ## There is no encapsulation within the following macros, do not change
13749 ## the running order or otherwise move them around unless you know exactly
13750 ## what you are doing...
13751 # Dependencies to place before and after the object being linked:
13752 predep_objects_CXX
=
13753 postdep_objects_CXX
=
13756 compiler_lib_search_path_CXX
=
13758 cat > conftest.
$ac_ext <<_LT_EOF
13762 Foo (void) { a = 0; }
13768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13769 (eval $ac_compile) 2>&5
13771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13772 test $ac_status = 0; }; then
13773 # Parse the compiler output and extract the necessary
13774 # objects, libraries and library flags.
13776 # Sentinel used to keep track of whether or not we are before
13777 # the conftest object file.
13778 pre_test_object_deps_done
=no
13780 for p
in `eval "$output_verbose_link_cmd"`; do
13784 # Some compilers place space between "-{L,R}" and the path.
13785 # Remove the space.
13786 if test $p = "-L" ||
13787 test $p = "-R"; then
13794 if test "$pre_test_object_deps_done" = no
; then
13797 # Internal compiler library paths should come after those
13798 # provided the user. The postdeps already come after the
13799 # user supplied libs so there is no need to process them.
13800 if test -z "$compiler_lib_search_path_CXX"; then
13801 compiler_lib_search_path_CXX
="${prev}${p}"
13803 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13806 # The "-l" case would never come before the object being
13807 # linked, so don't bother handling this case.
13810 if test -z "$postdeps_CXX"; then
13811 postdeps_CXX
="${prev}${p}"
13813 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13819 # This assumes that the test object file only shows up
13820 # once in the compiler output.
13821 if test "$p" = "conftest.$objext"; then
13822 pre_test_object_deps_done
=yes
13826 if test "$pre_test_object_deps_done" = no
; then
13827 if test -z "$predep_objects_CXX"; then
13828 predep_objects_CXX
="$p"
13830 predep_objects_CXX
="$predep_objects_CXX $p"
13833 if test -z "$postdep_objects_CXX"; then
13834 postdep_objects_CXX
="$p"
13836 postdep_objects_CXX
="$postdep_objects_CXX $p"
13841 *) ;; # Ignore the rest.
13849 echo "libtool.m4: error: problem compiling CXX test program"
13852 $RM -f confest.
$objext
13854 # PORTME: override above test on systems where it is broken
13857 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13858 # hack all around it, let's just trust "g++" to DTRT.
13859 predep_objects_CXX
=
13860 postdep_objects_CXX
=
13865 case `$CC -V 2>&1 | sed 5q` in
13869 # The more standards-conforming stlport4 library is
13870 # incompatible with the Cstd library. Avoid specifying
13871 # it if it's in CXXFLAGS. Ignore libCrun as
13872 # -library=stlport4 depends on it.
13873 case " $CXX $CXXFLAGS " in
13874 *" -library=stlport4 "*)
13875 solaris_use_stlport4
=yes
13879 if test "$solaris_use_stlport4" != yes; then
13880 postdeps_CXX
='-library=Cstd -library=Crun'
13887 case $cc_basename in
13889 # The more standards-conforming stlport4 library is
13890 # incompatible with the Cstd library. Avoid specifying
13891 # it if it's in CXXFLAGS. Ignore libCrun as
13892 # -library=stlport4 depends on it.
13893 case " $CXX $CXXFLAGS " in
13894 *" -library=stlport4 "*)
13895 solaris_use_stlport4
=yes
13899 # Adding this requires a known-good setup of shared libraries for
13900 # Sun compiler versions before 5.6, else PIC objects from an old
13901 # archive will be linked into the output, leading to subtle bugs.
13902 if test "$solaris_use_stlport4" != yes; then
13903 postdeps_CXX
='-library=Cstd -library=Crun'
13911 case " $postdeps_CXX " in
13912 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13914 compiler_lib_search_dirs_CXX
=
13915 if test -n "${compiler_lib_search_path_CXX}"; then
13916 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13949 lt_prog_compiler_wl_CXX
=
13950 lt_prog_compiler_pic_CXX
=
13951 lt_prog_compiler_static_CXX
=
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13954 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13956 # C++ specific cases for pic, static, wl, etc.
13957 if test "$GXX" = yes; then
13958 lt_prog_compiler_wl_CXX
='-Wl,'
13959 lt_prog_compiler_static_CXX
='-static'
13963 # All AIX code is PIC.
13964 if test "$host_cpu" = ia64
; then
13965 # AIX 5 now supports IA64 processor
13966 lt_prog_compiler_static_CXX
='-Bstatic'
13968 lt_prog_compiler_pic_CXX
='-fPIC'
13974 # see comment about AmigaOS4 .so support
13975 lt_prog_compiler_pic_CXX
='-fPIC'
13978 # FIXME: we need at least 68020 code to build shared libraries, but
13979 # adding the `-m68020' flag to GCC prevents building anything better,
13981 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13986 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13987 # PIC is the default for these OSes.
13989 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13990 # This hack is so that the source file can tell whether it is being
13991 # built for inclusion in a dll (and should export symbols for example).
13992 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13993 # (--disable-auto-import) libraries
13994 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13996 darwin
* | rhapsody
*)
13997 # PIC is the default on this platform
13998 # Common symbols not allowed in MH_DYLIB files
13999 lt_prog_compiler_pic_CXX
='-fno-common'
14002 # DJGPP does not support shared libraries at all
14003 lt_prog_compiler_pic_CXX
=
14006 # PIC is the default for Haiku.
14007 # The "-static" flag exists, but is broken.
14008 lt_prog_compiler_static_CXX
=
14011 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14012 # Instead, we relocate shared libraries at runtime.
14015 if test -d /usr
/nec
; then
14016 lt_prog_compiler_pic_CXX
=-Kconform_pic
14020 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14021 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14022 # sets the default TLS model and affects inlining.
14027 lt_prog_compiler_pic_CXX
='-fPIC'
14032 # QNX uses GNU C++, but need to define -shared option too, otherwise
14033 # it will coredump.
14034 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14037 lt_prog_compiler_pic_CXX
='-fPIC'
14043 # All AIX code is PIC.
14044 if test "$host_cpu" = ia64
; then
14045 # AIX 5 now supports IA64 processor
14046 lt_prog_compiler_static_CXX
='-Bstatic'
14048 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14052 case $cc_basename in
14054 # Green Hills C++ Compiler
14055 # _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"
14060 case $cc_basename in
14062 lt_prog_compiler_pic_CXX
='-KPIC'
14065 # Green Hills C++ Compiler
14066 lt_prog_compiler_pic_CXX
='-pic'
14072 freebsd
* | dragonfly
*)
14073 # FreeBSD uses GNU C++
14075 hpux9
* | hpux10
* | hpux11
*)
14076 case $cc_basename in
14078 lt_prog_compiler_wl_CXX
='-Wl,'
14079 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14080 if test "$host_cpu" != ia64
; then
14081 lt_prog_compiler_pic_CXX
='+Z'
14085 lt_prog_compiler_wl_CXX
='-Wl,'
14086 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14092 lt_prog_compiler_pic_CXX
='+Z'
14101 # This is c89, which is MS Visual C++ (no shared libs)
14102 # Anyone wants to do a port?
14104 irix5
* | irix6
* | nonstopux
*)
14105 case $cc_basename in
14107 lt_prog_compiler_wl_CXX
='-Wl,'
14108 lt_prog_compiler_static_CXX
='-non_shared'
14109 # CC pic flag -KPIC is the default.
14115 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14116 case $cc_basename in
14119 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14120 lt_prog_compiler_pic_CXX
='-fPIC'
14123 # old Intel C++ for x86_64 which still supported -KPIC.
14124 lt_prog_compiler_wl_CXX
='-Wl,'
14125 lt_prog_compiler_pic_CXX
='-KPIC'
14126 lt_prog_compiler_static_CXX
='-static'
14129 # Intel C++, used to be incompatible with GCC.
14130 # ICC 10 doesn't accept -KPIC any more.
14131 lt_prog_compiler_wl_CXX
='-Wl,'
14132 lt_prog_compiler_pic_CXX
='-fPIC'
14133 lt_prog_compiler_static_CXX
='-static'
14136 # Portland Group C++ compiler
14137 lt_prog_compiler_wl_CXX
='-Wl,'
14138 lt_prog_compiler_pic_CXX
='-fpic'
14139 lt_prog_compiler_static_CXX
='-Bstatic'
14143 # Make sure the PIC flag is empty. It appears that all Alpha
14144 # Linux and Compaq Tru64 Unix objects are PIC.
14145 lt_prog_compiler_pic_CXX
=
14146 lt_prog_compiler_static_CXX
='-non_shared'
14148 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14149 # IBM XL 8.0, 9.0 on PPC and BlueGene
14150 lt_prog_compiler_wl_CXX
='-Wl,'
14151 lt_prog_compiler_pic_CXX
='-qpic'
14152 lt_prog_compiler_static_CXX
='-qstaticlink'
14155 case `$CC -V 2>&1 | sed 5q` in
14158 lt_prog_compiler_pic_CXX
='-KPIC'
14159 lt_prog_compiler_static_CXX
='-Bstatic'
14160 lt_prog_compiler_wl_CXX
='-Qoption ld '
14171 case $cc_basename in
14173 lt_prog_compiler_pic_CXX
='-W c,exportall'
14182 # QNX uses GNU C++, but need to define -shared option too, otherwise
14183 # it will coredump.
14184 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14186 osf3
* | osf4
* | osf5
*)
14187 case $cc_basename in
14189 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14192 # Rational C++ 2.4.1
14193 lt_prog_compiler_pic_CXX
='-pic'
14196 # Digital/Compaq C++
14197 lt_prog_compiler_wl_CXX
='-Wl,'
14198 # Make sure the PIC flag is empty. It appears that all Alpha
14199 # Linux and Compaq Tru64 Unix objects are PIC.
14200 lt_prog_compiler_pic_CXX
=
14201 lt_prog_compiler_static_CXX
='-non_shared'
14210 case $cc_basename in
14212 # Sun C++ 4.2, 5.x and Centerline C++
14213 lt_prog_compiler_pic_CXX
='-KPIC'
14214 lt_prog_compiler_static_CXX
='-Bstatic'
14215 lt_prog_compiler_wl_CXX
='-Qoption ld '
14218 # Green Hills C++ Compiler
14219 lt_prog_compiler_pic_CXX
='-PIC'
14226 case $cc_basename in
14229 lt_prog_compiler_pic_CXX
='-pic'
14230 lt_prog_compiler_static_CXX
='-Bstatic'
14234 lt_prog_compiler_pic_CXX
='-pic'
14240 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14241 case $cc_basename in
14243 lt_prog_compiler_wl_CXX
='-Wl,'
14244 lt_prog_compiler_pic_CXX
='-KPIC'
14245 lt_prog_compiler_static_CXX
='-Bstatic'
14250 case $cc_basename in
14252 # NonStop-UX NCC 3.20
14253 lt_prog_compiler_pic_CXX
='-KPIC'
14262 lt_prog_compiler_can_build_shared_CXX
=no
14268 # For platforms which do not support PIC, -DPIC is meaningless:
14270 lt_prog_compiler_pic_CXX
=
14273 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14277 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14282 # Check to make sure the PIC flag actually works.
14284 if test -n "$lt_prog_compiler_pic_CXX"; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14286 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14287 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14288 $as_echo_n "(cached) " >&6
14290 lt_cv_prog_compiler_pic_works_CXX
=no
14291 ac_outfile
=conftest.
$ac_objext
14292 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14293 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14294 # Insert the option either (1) after the last *FLAGS variable, or
14295 # (2) before a word containing "conftest.", or (3) at the end.
14296 # Note that $ac_compile itself does not contain backslashes and begins
14297 # with a dollar sign (not a hyphen), so the echo should work correctly.
14298 # The option is referenced via a variable to avoid confusing sed.
14299 lt_compile
=`echo "$ac_compile" | $SED \
14300 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14301 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14302 -e 's:$: $lt_compiler_flag:'`
14303 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14304 (eval "$lt_compile" 2>conftest.err
)
14306 cat conftest.err
>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 if (exit $ac_status) && test -s "$ac_outfile"; then
14309 # The compiler can only warn and ignore the option if not recognized
14310 # So say no if there are warnings other than the usual output.
14311 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14312 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14313 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14314 lt_cv_prog_compiler_pic_works_CXX
=yes
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14321 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14323 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14324 case $lt_prog_compiler_pic_CXX in
14326 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14329 lt_prog_compiler_pic_CXX
=
14330 lt_prog_compiler_can_build_shared_CXX
=no
14338 # Check to make sure the static flag actually works.
14340 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14342 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14343 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14344 $as_echo_n "(cached) " >&6
14346 lt_cv_prog_compiler_static_works_CXX
=no
14347 save_LDFLAGS
="$LDFLAGS"
14348 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14349 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14350 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14351 # The linker can only warn and ignore the option if not recognized
14352 # So say no if there are warnings
14353 if test -s conftest.err
; then
14354 # Append any errors to the config.log.
14355 cat conftest.err
1>&5
14356 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14357 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14358 if diff conftest.exp conftest.er2
>/dev
/null
; then
14359 lt_cv_prog_compiler_static_works_CXX
=yes
14362 lt_cv_prog_compiler_static_works_CXX
=yes
14366 LDFLAGS
="$save_LDFLAGS"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14370 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14372 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14375 lt_prog_compiler_static_CXX
=
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14382 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14383 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14384 $as_echo_n "(cached) " >&6
14386 lt_cv_prog_compiler_c_o_CXX
=no
14387 $RM -r conftest
2>/dev
/null
14391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14393 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14394 # Insert the option either (1) after the last *FLAGS variable, or
14395 # (2) before a word containing "conftest.", or (3) at the end.
14396 # Note that $ac_compile itself does not contain backslashes and begins
14397 # with a dollar sign (not a hyphen), so the echo should work correctly.
14398 lt_compile
=`echo "$ac_compile" | $SED \
14399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14401 -e 's:$: $lt_compiler_flag:'`
14402 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14403 (eval "$lt_compile" 2>out
/conftest.err
)
14405 cat out
/conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14409 # The compiler can only warn and ignore the option if not recognized
14410 # So say no if there are warnings
14411 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14412 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14413 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14414 lt_cv_prog_compiler_c_o_CXX
=yes
14419 # SGI C++ compiler will create directory out/ii_files/ for
14420 # template instantiation
14421 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14422 $RM out
/* && rmdir out
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14429 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14434 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14435 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14436 $as_echo_n "(cached) " >&6
14438 lt_cv_prog_compiler_c_o_CXX
=no
14439 $RM -r conftest
2>/dev
/null
14443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14445 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14446 # Insert the option either (1) after the last *FLAGS variable, or
14447 # (2) before a word containing "conftest.", or (3) at the end.
14448 # Note that $ac_compile itself does not contain backslashes and begins
14449 # with a dollar sign (not a hyphen), so the echo should work correctly.
14450 lt_compile
=`echo "$ac_compile" | $SED \
14451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14453 -e 's:$: $lt_compiler_flag:'`
14454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14455 (eval "$lt_compile" 2>out
/conftest.err
)
14457 cat out
/conftest.err
>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14461 # The compiler can only warn and ignore the option if not recognized
14462 # So say no if there are warnings
14463 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14464 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14465 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14466 lt_cv_prog_compiler_c_o_CXX
=yes
14471 # SGI C++ compiler will create directory out/ii_files/ for
14472 # template instantiation
14473 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14474 $RM out
/* && rmdir out
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14481 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14486 hard_links
="nottested"
14487 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14488 # do not overwrite the value of need_locks provided by the user
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14490 $as_echo_n "checking if we can lock with hard links... " >&6; }
14493 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14495 ln conftest.a conftest.b
2>&5 || hard_links
=no
14496 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14498 $as_echo "$hard_links" >&6; }
14499 if test "$hard_links" = no
; then
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14501 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14511 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14513 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14516 # If we're using GNU nm, then we don't want the "-C" option.
14517 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14518 # Also, AIX nm treats weak defined symbols like other global defined
14519 # symbols, whereas GNU nm marks them as "W".
14520 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14521 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'
14523 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14527 export_symbols_cmds_CXX
="$ltdll_cmds"
14529 cygwin
* | mingw
* | cegcc
*)
14530 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'
14533 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14536 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14539 $as_echo "$ld_shlibs_CXX" >&6; }
14540 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14542 with_gnu_ld_CXX
=$with_gnu_ld
14550 # Do we need to explicitly link libc?
14552 case "x$archive_cmds_need_lc_CXX" in
14554 # Assume -lc should be added
14555 archive_cmds_need_lc_CXX
=yes
14557 if test "$enable_shared" = yes && test "$GCC" = yes; then
14558 case $archive_cmds_CXX in
14560 # FIXME: we may have to deal with multi-command sequences.
14563 # Test whether the compiler implicitly links with -lc since on some
14564 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14565 # to ld, don't add -lc before -lgcc.
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14567 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14568 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14569 $as_echo_n "(cached) " >&6
14572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14575 (eval $ac_compile) 2>&5
14577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14578 test $ac_status = 0; } 2>conftest.err
; then
14581 libobjs
=conftest.
$ac_objext
14583 wl
=$lt_prog_compiler_wl_CXX
14584 pic_flag
=$lt_prog_compiler_pic_CXX
14590 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14591 allow_undefined_flag_CXX
=
14592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14593 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596 test $ac_status = 0; }
14598 lt_cv_archive_cmds_need_lc_CXX
=no
14600 lt_cv_archive_cmds_need_lc_CXX
=yes
14602 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14604 cat conftest.err
1>&5
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14610 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14611 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14682 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14684 library_names_spec
=
14685 libname_spec
='lib$name'
14689 postuninstall_cmds
=
14693 shlibpath_overrides_runpath
=unknown
14695 dynamic_linker
="$host_os ld.so"
14696 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14697 need_lib_prefix
=unknown
14698 hardcode_into_libs
=no
14700 # when you set need_version to no, make sure it does not cause -set_version
14701 # flags to be left without arguments
14702 need_version
=unknown
14707 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14708 shlibpath_var
=LIBPATH
14710 # AIX 3 has no versioning support, so we append a major version to the name.
14711 soname_spec
='${libname}${release}${shared_ext}$major'
14718 hardcode_into_libs
=yes
14719 if test "$host_cpu" = ia64
; then
14720 # AIX 5 supports IA64
14721 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14722 shlibpath_var
=LD_LIBRARY_PATH
14724 # With GCC up to 2.95.x, collect2 would create an import file
14725 # for dependence libraries. The import file would start with
14726 # the line `#! .'. This would cause the generated library to
14727 # depend on `.', always an invalid library. This was fixed in
14728 # development snapshots of GCC prior to 3.0.
14730 aix4 | aix4.
[01] | aix4.
[01].
*)
14731 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14733 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14736 can_build_shared
=no
14740 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14741 # soname into executable. Probably we can add versioning support to
14742 # collect2, so additional links can be useful in future.
14743 if test "$aix_use_runtimelinking" = yes; then
14744 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14745 # instead of lib<name>.a to let people know that these are not
14746 # typical AIX shared libraries.
14747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749 # We preserve .a as extension for shared libraries through AIX4.2
14750 # and later when we are not doing run time linking.
14751 library_names_spec
='${libname}${release}.a $libname.a'
14752 soname_spec
='${libname}${release}${shared_ext}$major'
14754 shlibpath_var
=LIBPATH
14761 # Since July 2007 AmigaOS4 officially supports .so libraries.
14762 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 library_names_spec
='$libname.ixlibrary $libname.a'
14767 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14768 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'
14774 library_names_spec
='${libname}${shared_ext}'
14775 dynamic_linker
="$host_os ld.so"
14776 shlibpath_var
=LIBRARY_PATH
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 soname_spec
='${libname}${release}${shared_ext}$major'
14784 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14785 shlibpath_var
=LD_LIBRARY_PATH
14786 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14787 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14788 # the default ld.so.conf also contains /usr/contrib/lib and
14789 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14790 # libtool to hard-code these into programs
14793 cygwin
* | mingw
* | pw32
* | cegcc
*)
14794 version_type
=windows
14799 case $GCC,$host_os in
14800 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14801 library_names_spec
='$libname.dll.a'
14802 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14803 postinstall_cmds
='base_file=`basename \${file}`~
14804 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14805 dldir=$destdir/`dirname \$dlpath`~
14806 test -d \$dldir || mkdir -p \$dldir~
14807 $install_prog $dir/$dlname \$dldir/$dlname~
14808 chmod a+x \$dldir/$dlname~
14809 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14810 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14812 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14813 dlpath=$dir/\$dldll~
14815 shlibpath_overrides_runpath
=yes
14819 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14820 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14824 # MinGW DLLs use traditional 'lib' prefix
14825 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14828 # pw32 DLLs use 'pw' prefix rather than 'lib'
14829 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14835 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14838 dynamic_linker
='Win32 ld.exe'
14839 # FIXME: first we should search . and the directory the executable is in
14843 darwin
* | rhapsody
*)
14844 dynamic_linker
="$host_os dyld"
14845 version_type
=darwin
14848 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14849 soname_spec
='${libname}${release}${major}$shared_ext'
14850 shlibpath_overrides_runpath
=yes
14851 shlibpath_var
=DYLD_LIBRARY_PATH
14852 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14854 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14862 soname_spec
='${libname}${release}${shared_ext}$major'
14863 shlibpath_var
=LD_LIBRARY_PATH
14866 freebsd
* | dragonfly
*)
14867 # DragonFly does not have aout. When/if they implement a new
14868 # versioning mechanism, adjust this.
14869 if test -x /usr
/bin
/objformat
; then
14870 objformat
=`/usr/bin/objformat`
14873 freebsd
[23].
*) objformat
=aout
;;
14874 *) objformat
=elf
;;
14877 version_type
=freebsd-
$objformat
14878 case $version_type in
14880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14885 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14889 shlibpath_var
=LD_LIBRARY_PATH
14892 shlibpath_overrides_runpath
=yes
14894 freebsd3.
[01]* | freebsdelf3.
[01]*)
14895 shlibpath_overrides_runpath
=yes
14896 hardcode_into_libs
=yes
14898 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14899 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14900 shlibpath_overrides_runpath
=no
14901 hardcode_into_libs
=yes
14903 *) # from 4.6 on, and DragonFly
14904 shlibpath_overrides_runpath
=yes
14905 hardcode_into_libs
=yes
14914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14915 soname_spec
='${libname}${release}${shared_ext}$major'
14916 shlibpath_var
=LD_LIBRARY_PATH
14917 hardcode_into_libs
=yes
14924 dynamic_linker
="$host_os runtime_loader"
14925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14926 soname_spec
='${libname}${release}${shared_ext}$major'
14927 shlibpath_var
=LIBRARY_PATH
14928 shlibpath_overrides_runpath
=yes
14929 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14930 hardcode_into_libs
=yes
14933 hpux9
* | hpux10
* | hpux11
*)
14934 # Give a soname corresponding to the major version so that dld.sl refuses to
14935 # link against other versions.
14942 hardcode_into_libs
=yes
14943 dynamic_linker
="$host_os dld.so"
14944 shlibpath_var
=LD_LIBRARY_PATH
14945 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 soname_spec
='${libname}${release}${shared_ext}$major'
14948 if test "X$HPUX_IA64_MODE" = X32
; then
14949 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14951 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14953 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14957 hardcode_into_libs
=yes
14958 dynamic_linker
="$host_os dld.sl"
14959 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14960 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14962 soname_spec
='${libname}${release}${shared_ext}$major'
14963 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14964 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14968 dynamic_linker
="$host_os dld.sl"
14969 shlibpath_var
=SHLIB_PATH
14970 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 soname_spec
='${libname}${release}${shared_ext}$major'
14975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14976 postinstall_cmds
='chmod 555 $lib'
14977 # or fails outright, so override atomically:
14978 install_override_mode
=555
14985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14986 soname_spec
='${libname}${release}${shared_ext}$major'
14987 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14988 shlibpath_var
=LD_LIBRARY_PATH
14989 shlibpath_overrides_runpath
=no
14990 hardcode_into_libs
=yes
14993 irix5
* | irix6
* | nonstopux
*)
14995 nonstopux
*) version_type
=nonstopux
;;
14997 if test "$lt_cv_prog_gnu_ld" = yes; then
15005 soname_spec
='${libname}${release}${shared_ext}$major'
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15008 irix5
* | nonstopux
*)
15009 libsuff
= shlibsuff
=
15012 case $LD in # libtool.m4 will add one of these switches to LD
15013 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15014 libsuff
= shlibsuff
= libmagic
=32-bit;;
15015 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15016 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15017 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15018 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15019 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15023 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15024 shlibpath_overrides_runpath
=no
15025 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15026 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15027 hardcode_into_libs
=yes
15030 # No shared lib support for Linux oldld, aout, or coff.
15031 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15035 # This must be Linux ELF.
15036 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15043 shlibpath_var
=LD_LIBRARY_PATH
15044 shlibpath_overrides_runpath
=no
15046 # Some binutils ld are patched to set DT_RUNPATH
15047 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15048 $as_echo_n "(cached) " >&6
15050 lt_cv_shlibpath_overrides_runpath
=no
15051 save_LDFLAGS
=$LDFLAGS
15052 save_libdir
=$libdir
15053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15066 if ac_fn_cxx_try_link
"$LINENO"; then :
15067 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15068 lt_cv_shlibpath_overrides_runpath
=yes
15071 rm -f core conftest.err conftest.
$ac_objext \
15072 conftest
$ac_exeext conftest.
$ac_ext
15073 LDFLAGS
=$save_LDFLAGS
15074 libdir
=$save_libdir
15078 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15080 # This implies no fast_install, which is unacceptable.
15081 # Some rework will be needed to allow for fast_install
15082 # before this can be enabled.
15083 hardcode_into_libs
=yes
15085 # Append ld.so.conf contents to the search path
15086 if test -f /etc
/ld.so.conf
; then
15087 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' ' '`
15088 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15091 # We used to test for /lib/ld.so.1 and disable shared libraries on
15092 # powerpc, because MkLinux only supported shared libraries with the
15093 # GNU dynamic linker. Since this was broken with cross compilers,
15094 # most powerpc-linux boxes support dynamic linking these days and
15095 # people can always --disable-shared, the test was removed, and we
15096 # assume the GNU/Linux dynamic linker is in use.
15097 dynamic_linker
='GNU/Linux ld.so'
15104 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15107 dynamic_linker
='NetBSD (a.out) ld.so'
15109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15110 soname_spec
='${libname}${release}${shared_ext}$major'
15111 dynamic_linker
='NetBSD ld.elf_so'
15113 shlibpath_var
=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath
=yes
15115 hardcode_into_libs
=yes
15120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15121 shlibpath_var
=LD_LIBRARY_PATH
15122 shlibpath_overrides_runpath
=yes
15129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15130 soname_spec
='${libname}${release}${shared_ext}$major'
15131 shlibpath_var
=LD_LIBRARY_PATH
15132 shlibpath_overrides_runpath
=no
15133 hardcode_into_libs
=yes
15134 dynamic_linker
='ldqnx.so'
15139 sys_lib_dlsearch_path_spec
="/usr/lib"
15141 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15143 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15144 *) need_version
=no
;;
15146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15147 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15148 shlibpath_var
=LD_LIBRARY_PATH
15149 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15151 openbsd2.
[89] | openbsd2.
[89].
*)
15152 shlibpath_overrides_runpath
=no
15155 shlibpath_overrides_runpath
=yes
15159 shlibpath_overrides_runpath
=yes
15164 libname_spec
='$name'
15167 library_names_spec
='$libname${shared_ext} $libname.a'
15168 dynamic_linker
='OS/2 ld.exe'
15169 shlibpath_var
=LIBPATH
15172 osf3
* | osf4
* | osf5
*)
15176 soname_spec
='${libname}${release}${shared_ext}$major'
15177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178 shlibpath_var
=LD_LIBRARY_PATH
15179 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15180 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15192 soname_spec
='${libname}${release}${shared_ext}$major'
15193 shlibpath_var
=LD_LIBRARY_PATH
15194 shlibpath_overrides_runpath
=yes
15195 hardcode_into_libs
=yes
15196 # ldd complains unless libraries are executable
15197 postinstall_cmds
='chmod +x $lib'
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15203 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15204 shlibpath_var
=LD_LIBRARY_PATH
15205 shlibpath_overrides_runpath
=yes
15206 if test "$with_gnu_ld" = yes; then
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 shlibpath_var
=LD_LIBRARY_PATH
15217 case $host_vendor in
15219 shlibpath_overrides_runpath
=no
15221 runpath_var
=LD_RUN_PATH
15229 shlibpath_overrides_runpath
=no
15230 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15236 if test -d /usr
/nec
;then
15238 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15239 soname_spec
='$libname${shared_ext}.$major'
15240 shlibpath_var
=LD_LIBRARY_PATH
15244 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15245 version_type
=freebsd-elf
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15250 shlibpath_var
=LD_LIBRARY_PATH
15251 shlibpath_overrides_runpath
=yes
15252 hardcode_into_libs
=yes
15253 if test "$with_gnu_ld" = yes; then
15254 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15256 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15259 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15263 sys_lib_dlsearch_path_spec
='/usr/lib'
15267 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 shlibpath_var
=LD_LIBRARY_PATH
15273 shlibpath_overrides_runpath
=no
15274 hardcode_into_libs
=yes
15279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280 soname_spec
='${libname}${release}${shared_ext}$major'
15281 shlibpath_var
=LD_LIBRARY_PATH
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15289 $as_echo "$dynamic_linker" >&6; }
15290 test "$dynamic_linker" = no
&& can_build_shared
=no
15292 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15293 if test "$GCC" = yes; then
15294 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15297 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15298 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15300 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15301 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15343 hardcode_action_CXX
=
15344 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15345 test -n "$runpath_var_CXX" ||
15346 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15348 # We can hardcode non-existent directories.
15349 if test "$hardcode_direct_CXX" != no
&&
15350 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15351 # have to relink, otherwise we might link with an installed library
15352 # when we should be linking with a yet-to-be-installed one
15353 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15354 test "$hardcode_minus_L_CXX" != no
; then
15355 # Linking always hardcodes the temporary library directory.
15356 hardcode_action_CXX
=relink
15358 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15359 hardcode_action_CXX
=immediate
15362 # We cannot hardcode anything, or else we can only hardcode existing
15364 hardcode_action_CXX
=unsupported
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15367 $as_echo "$hardcode_action_CXX" >&6; }
15369 if test "$hardcode_action_CXX" = relink ||
15370 test "$inherit_rpath_CXX" = yes; then
15371 # Fast installation is not supported
15372 enable_fast_install
=no
15373 elif test "$shlibpath_overrides_runpath" = yes ||
15374 test "$enable_shared" = no
; then
15375 # Fast installation is not necessary
15376 enable_fast_install
=needless
15385 fi # test -n "$compiler"
15391 with_gnu_ld
=$lt_save_with_gnu_ld
15392 lt_cv_path_LDCXX
=$lt_cv_path_LD
15393 lt_cv_path_LD
=$lt_save_path_LD
15394 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15395 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15396 fi # test "$_lt_caught_CXX_error" != yes
15399 ac_cpp
='$CPP $CPPFLAGS'
15400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15416 ac_config_commands
="$ac_config_commands libtool"
15421 # Only expand once:
15428 *-cygwin* |
*-mingw*)
15429 # 'host' will be top-level target in the case of a target lib,
15430 # we must compare to with_cross_host to decide if this is a native
15431 # or cross-compiler and select where to install dlls appropriately.
15432 if test -n "$with_cross_host" &&
15433 test x
"$with_cross_host" != x
"no"; then
15434 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15436 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15449 # For libtool versioning info, format is CURRENT:REVISION:AGE
15450 libtool_VERSION
=1:0:0
15453 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15456 if test "${multilib}" = "yes"; then
15457 multilib_arg
="--enable-multilib"
15462 ac_config_files
="$ac_config_files Makefile"
15465 if test "x$VTV_SUPPORTED" = "xyes"; then
15466 ac_config_files
="$ac_config_files testsuite/Makefile"
15470 case "$target_os" in
15479 if test $vtv_cygmin = yes; then
15481 VTV_CYGMIN_FALSE
='#'
15483 VTV_CYGMIN_TRUE
='#'
15488 for ac_func
in _obstack_begin
15490 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15491 if test "x$ac_cv_func__obstack_begin" = x
""yes; then :
15492 cat >>confdefs.h
<<_ACEOF
15493 #define HAVE__OBSTACK_BEGIN 1
15499 if test $ac_cv_func__obstack_begin = no
; then
15500 VTV_NO_OBSTACK_TRUE
=
15501 VTV_NO_OBSTACK_FALSE
='#'
15503 VTV_NO_OBSTACK_TRUE
='#'
15504 VTV_NO_OBSTACK_FALSE
=
15508 cat >confcache
<<\_ACEOF
15509 # This file is a shell script that caches the results of configure
15510 # tests run on this system so they can be shared between configure
15511 # scripts and configure runs, see configure's option --config-cache.
15512 # It is not useful on other systems. If it contains results you don't
15513 # want to keep, you may remove or edit it.
15515 # config.status only pays attention to the cache file if you give it
15516 # the --recheck option to rerun configure.
15518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15520 # following values.
15524 # The following way of writing the cache mishandles newlines in values,
15525 # but we know of no workaround that is simple, portable, and efficient.
15526 # So, we kill variables containing newlines.
15527 # Ultrix sh set writes to stderr and can't be redirected directly,
15528 # and sets the high bit in the cache file unless we assign to the vars.
15530 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15531 eval ac_val
=\$
$ac_var
15535 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15536 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15539 _ | IFS | as_nl
) ;; #(
15540 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15541 *) { eval $ac_var=; unset $ac_var;} ;;
15547 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15548 *${as_nl}ac_space
=\
*)
15549 # `set' does not quote correctly, so add quotes: double-quote
15550 # substitution turns \\\\ into \\, and sed turns \\ into \.
15553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15556 # `set' quotes correctly as required by POSIX, so do not add quotes.
15557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15566 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15568 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15570 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15571 if test -w "$cache_file"; then
15572 test "x$cache_file" != "x/dev/null" &&
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15574 $as_echo "$as_me: updating cache $cache_file" >&6;}
15575 cat confcache
>$cache_file
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15583 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15584 # Let make expand exec_prefix.
15585 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15587 # Transform confdefs.h into DEFS.
15588 # Protect against shell expansion while executing Makefile rules.
15589 # Protect against Makefile macro expansion.
15591 # If the first sed substitution is executed (which looks for macros that
15592 # take arguments), then branch to the quote section. Otherwise,
15593 # look for a macro that doesn't take arguments.
15603 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15605 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15609 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15622 DEFS
=`sed -n "$ac_script" confdefs.h`
15627 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15628 # 1. Remove the extension, and $U if already installed.
15629 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15630 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15631 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15632 # will be set to the directory where LIBOBJS objects are built.
15633 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15634 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15636 LIBOBJS
=$ac_libobjs
15638 LTLIBOBJS
=$ac_ltlibobjs
15641 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15642 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15645 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15646 as_fn_error
"conditional \"AMDEP\" was never defined.
15647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15649 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15650 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15653 if test -n "$EXEEXT"; then
15655 am__EXEEXT_FALSE
='#'
15657 am__EXEEXT_TRUE
='#'
15661 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15662 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15665 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15666 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15669 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15670 as_fn_error
"conditional \"VTV_CYGMIN\" was never defined.
15671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15673 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
15674 as_fn_error
"conditional \"VTV_NO_OBSTACK\" was never defined.
15675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 : ${CONFIG_STATUS=./config.status}
15680 ac_clean_files_save
=$ac_clean_files
15681 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15683 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15685 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15687 # Generated by $as_me.
15688 # Run this file to recreate the current configuration.
15689 # Compiler output produced by configure, useful for debugging
15690 # configure, is in config.log if it exists.
15693 ac_cs_recheck=false
15696 SHELL=\${CONFIG_SHELL-$SHELL}
15699 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15700 ## -------------------- ##
15701 ## M4sh Initialization. ##
15702 ## -------------------- ##
15704 # Be more Bourne compatible
15705 DUALCASE
=1; export DUALCASE
# for MKS sh
15706 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15709 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15710 # is contrary to our usage. Disable this feature.
15711 alias -g '${1+"$@"}'='"$@"'
15712 setopt NO_GLOB_SUBST
15714 case `(set -o) 2>/dev/null` in #(
15726 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15727 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15730 # Prefer a ksh shell builtin over an external printf program on Solaris,
15731 # but without wasting forks for bash or zsh.
15732 if test -z "$BASH_VERSION$ZSH_VERSION" \
15733 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15734 as_echo='print
-r --'
15735 as_echo_n='print
-rn --'
15736 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15737 as_echo='printf %s
\n'
15738 as_echo_n='printf %s
'
15740 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15741 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15742 as_echo_n='/usr
/ucb
/echo -n'
15744 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15745 as_echo_n_body='eval
15749 expr "X$arg" : "X\\(.*\\)$as_nl";
15750 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15752 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15754 export as_echo_n_body
15755 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15757 export as_echo_body
15758 as_echo='sh
-c $as_echo_body as_echo
'
15761 # The user is always right.
15762 if test "${PATH_SEPARATOR+set}" != set; then
15764 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15765 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15772 # We need space, tab and new line, in precisely that order. Quoting is
15773 # there to prevent editors from complaining about space-tab.
15774 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15775 # splitting by setting IFS to empty value.)
15778 # Find who we are. Look in the path if we contain no directory separator.
15780 *[\\/]* ) as_myself=$0 ;;
15781 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15782 for as_dir in $PATH
15785 test -z "$as_dir" && as_dir=.
15786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15792 # We did not find ourselves, most probably we were run as `sh COMMAND'
15793 # in which case we are not to be found in the path.
15794 if test "x$as_myself" = x
; then
15797 if test ! -f "$as_myself"; then
15798 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15802 # Unset variables that we do not need and which cause bugs (e.g. in
15803 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15804 # suppresses any "Segmentation fault" message there. '((' could
15805 # trigger a bug in pdksh 5.2.14.
15806 for as_var
in BASH_ENV ENV MAIL MAILPATH
15807 do eval test x\
${$as_var+set} = xset \
15808 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15821 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15824 # as_fn_error ERROR [LINENO LOG_FD]
15825 # ---------------------------------
15826 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15827 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15828 # script with status $?, using 1 if that was 0.
15831 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15833 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15834 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15836 $as_echo "$as_me: error: $1" >&2
15837 as_fn_exit
$as_status
15841 # as_fn_set_status STATUS
15842 # -----------------------
15843 # Set $? to STATUS, without forking.
15844 as_fn_set_status
()
15847 } # as_fn_set_status
15849 # as_fn_exit STATUS
15850 # -----------------
15851 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15855 as_fn_set_status
$1
15861 # Portably unset VAR.
15864 { eval $1=; unset $1;}
15866 as_unset
=as_fn_unset
15867 # as_fn_append VAR VALUE
15868 # ----------------------
15869 # Append the text in VALUE to the end of the definition contained in VAR. Take
15870 # advantage of any shell optimizations that allow amortized linear growth over
15871 # repeated appends, instead of the typical quadratic growth present in naive
15873 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15874 eval 'as_fn_append ()
15885 # as_fn_arith ARG...
15886 # ------------------
15887 # Perform arithmetic evaluation on the ARGs, and store the result in the
15888 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15889 # must be portable across $(()) and expr.
15890 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15891 eval 'as_fn_arith ()
15898 as_val
=`expr "$@" || test $? -eq 1`
15903 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15904 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15910 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15911 as_basename
=basename
15916 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15922 as_me
=`$as_basename -- "$0" ||
15923 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15924 X"$0" : 'X\(//\)$' \| \
15925 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15927 sed '/^.*\/\([^/][^/]*\)\/*$/{
15941 # Avoid depending upon Character Ranges.
15942 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15943 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15944 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15945 as_cr_digits
='0123456789'
15946 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15948 ECHO_C
= ECHO_N
= ECHO_T
=
15949 case `echo -n x` in #(((((
15951 case `echo 'xy\c'` in
15952 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15954 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15961 rm -f conf$$ conf$$.exe conf$$.
file
15962 if test -d conf$$.dir
; then
15963 rm -f conf$$.dir
/conf$$.
file
15966 mkdir conf$$.dir
2>/dev
/null
15968 if (echo >conf$$.
file) 2>/dev
/null
; then
15969 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15971 # ... but there are two gotchas:
15972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15974 # In both cases, we have to default to `cp -p'.
15975 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15977 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15985 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15986 rmdir conf$$.dir
2>/dev
/null
15991 # Create "$as_dir" as a directory, including parents if necessary.
15996 -*) as_dir
=.
/$as_dir;;
15998 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16002 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16003 *) as_qdir
=$as_dir;;
16005 as_dirs
="'$as_qdir' $as_dirs"
16006 as_dir
=`$as_dirname -- "$as_dir" ||
16007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16008 X"$as_dir" : 'X\(//\)[^/]' \| \
16009 X"$as_dir" : 'X\(//\)$' \| \
16010 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16011 $as_echo X"$as_dir" |
16012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16016 /^X\(\/\/\)[^/].*/{
16029 test -d "$as_dir" && break
16031 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16032 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16036 if mkdir
-p .
2>/dev
/null
; then
16037 as_mkdir_p
='mkdir -p "$as_dir"'
16039 test -d .
/-p && rmdir .
/-p
16043 if test -x / >/dev
/null
2>&1; then
16044 as_test_x
='test -x'
16046 if ls -dL / >/dev
/null
2>&1; then
16053 if test -d "$1"; then
16059 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16060 ???[sx]*):;;*)false;;esac;fi
16064 as_executable_p
=$as_test_x
16066 # Sed expression to map a string onto a valid CPP name.
16067 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16069 # Sed expression to map a string onto a valid variable name.
16070 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16074 ## ----------------------------------- ##
16075 ## Main body of $CONFIG_STATUS script. ##
16076 ## ----------------------------------- ##
16078 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16081 # Save the log message, to keep $0 and so on meaningful, and to
16082 # report actual input values of CONFIG_FILES etc. instead of their
16083 # values after options handling.
16085 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16086 generated by GNU Autoconf 2.64. Invocation command line was
16088 CONFIG_FILES = $CONFIG_FILES
16089 CONFIG_HEADERS = $CONFIG_HEADERS
16090 CONFIG_LINKS = $CONFIG_LINKS
16091 CONFIG_COMMANDS = $CONFIG_COMMANDS
16094 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16099 case $ac_config_files in *"
16100 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16106 # Files that config.status was made for.
16107 config_files="$ac_config_files"
16108 config_commands="$ac_config_commands"
16112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16114 \`$as_me' instantiates files and other configuration actions
16115 from templates according to the current configuration. Unless the files
16116 and actions are specified as TAGs, all are instantiated by default.
16118 Usage: $0 [OPTION]... [TAG]...
16120 -h, --help print this help, then exit
16121 -V, --version print version number and configuration settings, then exit
16122 -q, --quiet, --silent
16123 do not print progress messages
16124 -d, --debug don't remove temporary files
16125 --recheck update $as_me by reconfiguring in the same conditions
16126 --file=FILE[:TEMPLATE]
16127 instantiate the configuration file FILE
16129 Configuration files:
16132 Configuration commands:
16135 Report bugs to the package provider.
16136 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16137 General help using GNU software: <http://www.gnu.org/gethelp/>."
16140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16142 GNU Vtable Verification Runtime Library config.status 1.0
16143 configured by $0, generated by GNU Autoconf 2.64,
16144 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16146 Copyright (C) 2009 Free Software Foundation, Inc.
16147 This config.status script is free software; the Free Software Foundation
16148 gives unlimited permission to copy, distribute and modify it."
16155 test -n "\$AWK" || AWK=awk
16158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16159 # The default lists apply if the user does not specify any file.
16165 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16166 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16177 # Handling of the options.
16178 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16180 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16181 $as_echo "$ac_cs_version"; exit ;;
16182 --debug |
--debu |
--deb |
--de |
--d |
-d )
16184 --file |
--fil |
--fi |
--f )
16187 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16189 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16190 ac_need_defaults
=false
;;
16191 --he |
--h |
--help |
--hel |
-h )
16192 $as_echo "$ac_cs_usage"; exit ;;
16193 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16194 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16197 # This is an error.
16198 -*) as_fn_error
"unrecognized option: \`$1'
16199 Try \`$0 --help' for more information." ;;
16201 *) as_fn_append ac_config_targets
" $1"
16202 ac_need_defaults
=false
;;
16208 ac_configure_extra_args
=
16210 if $ac_cs_silent; then
16212 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16217 if \$ac_cs_recheck; then
16218 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16220 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16221 CONFIG_SHELL='$SHELL'
16222 export CONFIG_SHELL
16227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16232 ## Running $as_me. ##
16238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16246 with_multisubdir="$with_multisubdir"
16247 with_multisrctop="$with_multisrctop"
16248 with_target_subdir="$with_target_subdir"
16249 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16250 multi_basedir="$multi_basedir"
16251 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16254 GFORTRAN="$GFORTRAN"
16256 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16259 # The HP-UX ksh and POSIX shell print the target directory to stdout
16260 # if CDPATH is set.
16261 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16263 sed_quote_subst='$sed_quote_subst'
16264 double_quote_subst='$double_quote_subst'
16265 delay_variable_subst='$delay_variable_subst'
16266 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16267 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16268 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16269 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16270 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16271 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16272 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16273 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16274 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16275 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16276 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16277 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16278 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16279 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16280 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16281 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16282 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16283 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16284 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16285 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16286 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16287 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16288 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16289 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16290 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16291 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16292 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16293 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16294 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16295 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16296 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16297 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16298 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16299 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16300 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16301 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16302 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16303 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16304 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16305 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16306 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16307 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16308 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16309 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16310 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16311 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16312 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16313 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16314 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"`'
16315 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16316 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16320 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16321 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16322 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16323 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16324 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16325 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16326 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16327 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16328 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16329 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16330 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16331 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16332 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16333 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16334 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16335 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16336 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16337 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16338 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16339 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16340 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16341 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16342 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16343 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16344 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16346 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16347 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16348 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16349 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16350 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16351 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16352 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16353 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16354 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16355 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16356 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16357 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16358 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16359 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16360 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16361 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16362 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16363 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16364 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16365 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16366 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16367 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16368 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16369 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16370 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16371 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16372 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16373 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16374 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16375 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16376 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16377 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16378 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16379 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16380 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16382 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16383 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16384 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16385 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16386 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16387 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16388 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16389 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16390 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16391 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16392 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16393 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16394 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16395 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16396 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16397 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16398 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16399 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16400 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16401 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16402 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16403 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16404 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16405 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16406 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16407 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16408 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16409 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16410 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16411 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16412 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16413 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16414 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16415 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16416 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16417 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16418 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16419 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16420 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16421 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16422 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16423 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16424 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16425 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16426 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16427 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16428 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16429 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16430 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16431 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16432 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16433 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16434 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16435 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16436 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16437 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16438 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16439 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16440 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16443 LTCFLAGS='$LTCFLAGS'
16444 compiler='$compiler_DEFAULT'
16446 # A function that is used when there is no print builtin or printf.
16447 func_fallback_echo ()
16449 eval 'cat <<_LTECHO_EOF
16454 # Quote evaled strings.
16468 deplibs_check_method \
16477 lt_cv_sys_global_symbol_pipe \
16478 lt_cv_sys_global_symbol_to_cdecl \
16479 lt_cv_sys_global_symbol_to_c_name_address \
16480 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16481 lt_prog_compiler_no_builtin_flag \
16482 lt_prog_compiler_wl \
16483 lt_prog_compiler_pic \
16484 lt_prog_compiler_static \
16485 lt_cv_prog_compiler_c_o \
16493 export_dynamic_flag_spec \
16494 whole_archive_flag_spec \
16495 compiler_needs_object \
16497 allow_undefined_flag \
16498 no_undefined_flag \
16499 hardcode_libdir_flag_spec \
16500 hardcode_libdir_flag_spec_ld \
16501 hardcode_libdir_separator \
16506 variables_saved_for_relink \
16508 library_names_spec \
16510 install_override_mode \
16514 compiler_lib_search_dirs \
16519 compiler_lib_search_path \
16523 lt_prog_compiler_no_builtin_flag_CXX \
16524 lt_prog_compiler_wl_CXX \
16525 lt_prog_compiler_pic_CXX \
16526 lt_prog_compiler_static_CXX \
16527 lt_cv_prog_compiler_c_o_CXX \
16528 export_dynamic_flag_spec_CXX \
16529 whole_archive_flag_spec_CXX \
16530 compiler_needs_object_CXX \
16532 allow_undefined_flag_CXX \
16533 no_undefined_flag_CXX \
16534 hardcode_libdir_flag_spec_CXX \
16535 hardcode_libdir_flag_spec_ld_CXX \
16536 hardcode_libdir_separator_CXX \
16537 fix_srcfile_path_CXX \
16538 exclude_expsyms_CXX \
16539 include_expsyms_CXX \
16540 file_list_spec_CXX \
16541 compiler_lib_search_dirs_CXX \
16542 predep_objects_CXX \
16543 postdep_objects_CXX \
16546 compiler_lib_search_path_CXX; do
16547 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16548 *[\\\\\\\`\\"\\\$]*)
16549 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16552 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16557 # Double-quote double-evaled strings.
16558 for var in reload_cmds \
16559 old_postinstall_cmds \
16560 old_postuninstall_cmds \
16562 extract_expsyms_cmds \
16563 old_archive_from_new_cmds \
16564 old_archive_from_expsyms_cmds \
16566 archive_expsym_cmds \
16568 module_expsym_cmds \
16569 export_symbols_cmds \
16572 postuninstall_cmds \
16574 sys_lib_search_path_spec \
16575 sys_lib_dlsearch_path_spec \
16577 old_archive_cmds_CXX \
16578 old_archive_from_new_cmds_CXX \
16579 old_archive_from_expsyms_cmds_CXX \
16581 archive_expsym_cmds_CXX \
16583 module_expsym_cmds_CXX \
16584 export_symbols_cmds_CXX \
16585 prelink_cmds_CXX; do
16586 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16587 *[\\\\\\\`\\"\\\$]*)
16588 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16591 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16596 ac_aux_dir='$ac_aux_dir'
16597 xsi_shell='$xsi_shell'
16598 lt_shell_append='$lt_shell_append'
16600 # See if we are running on zsh, and set the options which allow our
16601 # commands through without removal of \ escapes INIT.
16602 if test -n "\${ZSH_VERSION+set}" ; then
16603 setopt NO_GLOB_SUBST
16609 TIMESTAMP='$TIMESTAMP'
16620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16622 # Handling of arguments.
16623 for ac_config_target
in $ac_config_targets
16625 case $ac_config_target in
16626 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16627 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16628 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16629 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16630 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16632 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16637 # If the user did not use the arguments to specify the items to instantiate,
16638 # then the envvar interface is used. Set only those that are not.
16639 # We use the long form for the default assignment because of an extremely
16640 # bizarre bug on SunOS 4.1.3.
16641 if $ac_need_defaults; then
16642 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16643 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16646 # Have a temporary directory for convenience. Make it in the build tree
16647 # simply because there is no reason against having it here, and in addition,
16648 # creating and moving files from /tmp can sometimes cause problems.
16649 # Hook for its removal unless debugging.
16650 # Note that there is a small window in which the directory will not be cleaned:
16651 # after its creation but before its name has been assigned to `$tmp'.
16655 trap 'exit_status=$?
16656 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16658 trap 'as_fn_exit 1' 1 2 13 15
16660 # Create a (secure) tmp directory for tmp files.
16663 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16664 test -n "$tmp" && test -d "$tmp"
16667 tmp
=.
/conf$$
-$RANDOM
16668 (umask 077 && mkdir
"$tmp")
16669 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16671 # Set up the scripts for CONFIG_FILES section.
16672 # No need to generate them if there are no CONFIG_FILES.
16673 # This happens for instance with `./config.status config.h'.
16674 if test -n "$CONFIG_FILES"; then
16677 ac_cr
=`echo X | tr X '\015'`
16678 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16679 # But we know of no other shell where ac_cr would be empty at this
16680 # point, so we can use a bashism as a fallback.
16681 if test "x$ac_cr" = x
; then
16682 eval ac_cr
=\$
\'\\r
\'
16684 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16685 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16688 ac_cs_awk_cr
=$ac_cr
16691 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16696 echo "cat >conf$$subs.awk <<_ACEOF" &&
16697 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16699 } >conf$$subs.sh ||
16700 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16701 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16703 for ac_last_try in false false false false false :; do
16704 . ./conf$$subs.sh ||
16705 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16707 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16708 if test $ac_delim_n = $ac_delim_num; then
16710 elif $ac_last_try; then
16711 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16713 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16716 rm -f conf$$subs.sh
16718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16719 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16723 s/^/S["/; s
/!.
*/"]=/
16733 s/\(.\{148\}\).*/\1/
16735 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16740 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16747 s/\(.\{148\}\).*/\1/
16749 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16753 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16758 ' <conf$$subs.awk | sed '
16763 ' >>$CONFIG_STATUS || ac_write_fail=1
16764 rm -f conf$$subs.awk
16765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16767 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16768 for (key in S) S_is_set[key] = 1
16774 nfields = split(line, field, "@
")
16776 len = length(field[1])
16777 for (i = 2; i < nfields; i++) {
16779 keylen = length(key)
16780 if (S_is_set[key]) {
16782 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16783 len += length(value) + length(field[++i])
16794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16795 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16796 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16799 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16800 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16805 # trailing colons and then remove the whole line if VPATH becomes empty
16806 # (actually we leave an empty line to preserve line numbers).
16807 if test "x
$srcdir" = x.; then
16808 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16809 s/:*\$(srcdir):*/:/
16810 s/:*\${srcdir}:*/:/
16812 s/^\([^=]*=[ ]*\):*/\1/
16818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16819 fi # test -n "$CONFIG_FILES"
16822 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16827 :[FHLC]) ac_mode=$ac_tag; continue;;
16829 case $ac_mode$ac_tag in
16831 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16832 :[FH]-) ac_tag=-:-;;
16833 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16850 -) ac_f="$tmp/stdin";;
16851 *) # Look for the file first in the build tree, then in the source tree
16852 # (if the path is not absolute). The absolute path cannot be DOS-style,
16853 # because $ac_f cannot contain `:'.
16857 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16859 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16861 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16862 as_fn_append ac_file_inputs " '$ac_f'"
16865 # Let's still pretend it is `configure' which instantiates (i.e., don't
16866 # use $as_me), people would be surprised to read:
16867 # /* config.h. Generated by config.status. */
16868 configure_input='Generated from '`
16869 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16871 if test x"$ac_file" != x-; then
16872 configure_input="$ac_file.
$configure_input"
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16874 $as_echo "$as_me: creating
$ac_file" >&6;}
16876 # Neutralize special characters interpreted by sed in replacement strings.
16877 case $configure_input in #(
16878 *\&* | *\|* | *\\* )
16879 ac_sed_conf_input=`$as_echo "$configure_input" |
16880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16881 *) ac_sed_conf_input=$configure_input;;
16885 *:-:* | *:-) cat >"$tmp/stdin
" \
16886 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16891 ac_dir=`$as_dirname -- "$ac_file" ||
16892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16893 X"$ac_file" : 'X\(//\)[^/]' \| \
16894 X"$ac_file" : 'X\(//\)$' \| \
16895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16896 $as_echo X"$ac_file" |
16897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16901 /^X\(\/\/\)[^/].*/{
16914 as_dir="$ac_dir"; as_fn_mkdir_p
16918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16920 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16921 # A "..
" for each directory in $ac_dir_suffix.
16922 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16923 case $ac_top_builddir_sub in
16924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16928 ac_abs_top_builddir=$ac_pwd
16929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16930 # for backward compatibility:
16931 ac_top_builddir=$ac_top_build_prefix
16934 .) # We are building in place.
16936 ac_top_srcdir=$ac_top_builddir_sub
16937 ac_abs_top_srcdir=$ac_pwd ;;
16938 [\\/]* | ?:[\\/]* ) # Absolute name.
16939 ac_srcdir=$srcdir$ac_dir_suffix;
16940 ac_top_srcdir=$srcdir
16941 ac_abs_top_srcdir=$srcdir ;;
16942 *) # Relative name.
16943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16944 ac_top_srcdir=$ac_top_build_prefix$srcdir
16945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16957 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16958 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16960 ac_MKDIR_P=$MKDIR_P
16962 [\\/$]* | ?:[\\/]* ) ;;
16963 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16968 # If the template does not know about datarootdir, expand it.
16969 # FIXME: This hack should be removed a few years after 2.60.
16970 ac_datarootdir_hack=; ac_datarootdir_seen=
16981 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16982 *datarootdir*) ac_datarootdir_seen=yes;;
16983 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16985 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16988 ac_datarootdir_hack='
16989 s&@datadir@&$datadir&g
16990 s&@docdir@&$docdir&g
16991 s&@infodir@&$infodir&g
16992 s&@localedir@&$localedir&g
16993 s&@mandir@&$mandir&g
16994 s&\\\${datarootdir}&$datarootdir&g' ;;
16998 # Neutralize VPATH when `$srcdir' = `.'.
16999 # Shell code in configure.ac might set extrasub.
17000 # FIXME: do we really want to maintain this feature?
17001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17002 ac_sed_extra="$ac_vpsub
17005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17007 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17008 s|@configure_input@|
$ac_sed_conf_input|
;t t
17009 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17010 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17011 s
&@srcdir@
&$ac_srcdir&;t t
17012 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17013 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17014 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17015 s
&@builddir@
&$ac_builddir&;t t
17016 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17017 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17018 s
&@INSTALL@
&$ac_INSTALL&;t t
17019 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17020 $ac_datarootdir_hack
17022 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17023 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17025 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17026 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17027 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17029 which seems to be undefined. Please make sure it is defined." >&5
17030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17031 which seems to be undefined. Please make sure it is defined." >&2;}
17035 -) cat "$tmp/out" && rm -f "$tmp/out";;
17036 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17038 || as_fn_error "could not create $ac_file" "$LINENO" 5
17042 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17043 $as_echo "$as_me: executing $ac_file commands" >&6;}
17048 case $ac_file$ac_mode in
17050 # Only add multilib support code if we just rebuilt the top-level
17052 case " $CONFIG_FILES " in
17054 ac_file=Makefile . ${multi_basedir}/config-ml.in
17057 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17058 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17059 # are listed without --file. Let's play safe and only
enable the
eval
17060 # if we detect the quoting.
17061 case $CONFIG_FILES in
17062 *\'*) eval set x
"$CONFIG_FILES" ;;
17063 *) set x
$CONFIG_FILES ;;
17068 # Strip MF so we end up with the name of the file.
17069 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17070 # Check whether this is an Automake generated Makefile or not.
17071 # We used to match only the files named `Makefile.in', but
17072 # some people rename them; so instead we look at the file content.
17073 # Grep'ing the first line is not enough: some people post-process
17074 # each Makefile.in and add a new line on top of each file to say so.
17075 # Grep'ing the whole file is not good either: AIX grep has a line
17076 # limit of 2048, but all sed's we know have understand at least 4000.
17077 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17078 dirpart
=`$as_dirname -- "$mf" ||
17079 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17080 X"$mf" : 'X\(//\)[^/]' \| \
17081 X"$mf" : 'X\(//\)$' \| \
17082 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17088 /^X\(\/\/\)[^/].*/{
17104 # Extract the definition of DEPDIR, am__include, and am__quote
17105 # from the Makefile without running `make'.
17106 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17107 test -z "$DEPDIR" && continue
17108 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17109 test -z "am__include" && continue
17110 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17111 # When using ansi2knr, U may be empty or an underscore; expand it
17112 U
=`sed -n 's/^U = //p' < "$mf"`
17113 # Find all dependency output files, they are included files with
17114 # $(DEPDIR) in their names. We invoke sed twice because it is the
17115 # simplest approach to changing $(DEPDIR) to its actual value in the
17117 for file in `sed -n "
17118 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17119 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17120 # Make sure the directory exists.
17121 test -f "$dirpart/$file" && continue
17122 fdir
=`$as_dirname -- "$file" ||
17123 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17124 X"$file" : 'X\(//\)[^/]' \| \
17125 X"$file" : 'X\(//\)$' \| \
17126 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17127 $as_echo X"$file" |
17128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17132 /^X\(\/\/\)[^/].*/{
17145 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17146 # echo "creating $dirpart/$file"
17147 echo '# dummy' > "$dirpart/$file"
17154 # See if we are running on zsh, and set the options which allow our
17155 # commands through without removal of \ escapes.
17156 if test -n "${ZSH_VERSION+set}" ; then
17157 setopt NO_GLOB_SUBST
17160 cfgfile
="${ofile}T"
17161 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17164 cat <<_LT_EOF >> "$cfgfile"
17167 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17168 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17169 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17170 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17172 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17173 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17174 # Written by Gordon Matzigkeit, 1996
17176 # This file is part of GNU Libtool.
17178 # GNU Libtool is free software; you can redistribute it and/or
17179 # modify it under the terms of the GNU General Public License as
17180 # published by the Free Software Foundation; either version 2 of
17181 # the License, or (at your option) any later version.
17183 # As a special exception to the GNU General Public License,
17184 # if you distribute this file as part of a program or library that
17185 # is built using GNU Libtool, you may include this file under the
17186 # same distribution terms that you use for the rest of that program.
17188 # GNU Libtool is distributed in the hope that it will be useful,
17189 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17190 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17191 # GNU General Public License for more details.
17193 # You should have received a copy of the GNU General Public License
17194 # along with GNU Libtool; see the file COPYING. If not, a copy
17195 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17196 # obtained by writing to the Free Software Foundation, Inc.,
17197 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17200 # The names of the tagged configurations supported by this script.
17201 available_tags="CXX "
17203 # ### BEGIN LIBTOOL CONFIG
17205 # Which release of libtool.m4 was used?
17206 macro_version=$macro_version
17207 macro_revision=$macro_revision
17209 # Whether or not to build shared libraries.
17210 build_libtool_libs=$enable_shared
17212 # Whether or not to build static libraries.
17213 build_old_libs=$enable_static
17215 # What type of objects to build.
17218 # Whether or not to optimize for fast installation.
17219 fast_install=$enable_fast_install
17221 # Shell to use when invoking shell scripts.
17224 # An echo program that protects backslashes.
17228 host_alias=$host_alias
17232 # The build system.
17233 build_alias=$build_alias
17237 # A sed program that does not truncate output.
17240 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17241 Xsed="\$SED -e 1s/^X//"
17243 # A grep program that handles long lines.
17249 # A literal string matcher.
17252 # A BSD- or MS-compatible name lister.
17255 # Whether we need soft or hard links.
17258 # What is the maximum length of a command?
17259 max_cmd_len=$max_cmd_len
17261 # Object file suffix (normally "o").
17264 # Executable file suffix (normally "").
17267 # whether the shell understands "unset".
17270 # turn spaces into newlines.
17273 # turn newlines into spaces.
17276 # An object symbol dumper.
17277 OBJDUMP=$lt_OBJDUMP
17279 # Method to check whether dependent libraries are shared objects.
17280 deplibs_check_method=$lt_deplibs_check_method
17282 # Command to use when deplibs_check_method == "file_magic".
17283 file_magic_cmd=$lt_file_magic_cmd
17287 AR_FLAGS=$lt_AR_FLAGS
17289 # A symbol stripping program.
17292 # Commands used to install an old-style archive.
17294 old_postinstall_cmds=$lt_old_postinstall_cmds
17295 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17297 # Whether to use a lock for old archive extraction.
17298 lock_old_archive_extraction=$lock_old_archive_extraction
17303 # LTCC compiler flags.
17304 LTCFLAGS=$lt_CFLAGS
17306 # Take the output of nm and produce a listing of raw symbols and C names.
17307 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17309 # Transform the output of nm in a proper C declaration.
17310 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17312 # Transform the output of nm in a C name address pair.
17313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17315 # Transform the output of nm in a C name address pair when lib prefix is needed.
17316 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17318 # The name of the directory that contains temporary libtool files.
17321 # Used to examine libraries when file_magic_cmd begins with "file".
17322 MAGIC_CMD=$MAGIC_CMD
17324 # Must we lock files when doing compilation?
17325 need_locks=$lt_need_locks
17327 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17328 DSYMUTIL=$lt_DSYMUTIL
17330 # Tool to change global to local symbols on Mac OS X.
17333 # Tool to manipulate fat objects and archives on Mac OS X.
17336 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17339 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17340 OTOOL64=$lt_OTOOL64
17342 # Old archive suffix (normally "a").
17345 # Shared library suffix (normally ".so").
17346 shrext_cmds=$lt_shrext_cmds
17348 # The commands to extract the exported symbol list from a shared archive.
17349 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17351 # Variables whose values should be saved in libtool wrapper scripts and
17352 # restored at link time.
17353 variables_saved_for_relink=$lt_variables_saved_for_relink
17355 # Do we need the "lib" prefix for modules?
17356 need_lib_prefix=$need_lib_prefix
17358 # Do we need a version for libraries?
17359 need_version=$need_version
17361 # Library versioning type.
17362 version_type=$version_type
17364 # Shared library runtime path variable.
17365 runpath_var=$runpath_var
17367 # Shared library path variable.
17368 shlibpath_var=$shlibpath_var
17370 # Is shlibpath searched before the hard-coded library search path?
17371 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17373 # Format of library name prefix.
17374 libname_spec=$lt_libname_spec
17376 # List of archive names. First name is the real one, the rest are links.
17377 # The last name is the one that the linker finds with -lNAME
17378 library_names_spec=$lt_library_names_spec
17380 # The coded name of the library, if different from the real name.
17381 soname_spec=$lt_soname_spec
17383 # Permission mode override for installation of shared libraries.
17384 install_override_mode=$lt_install_override_mode
17386 # Command to use after installation of a shared archive.
17387 postinstall_cmds=$lt_postinstall_cmds
17389 # Command to use after uninstallation of a shared archive.
17390 postuninstall_cmds=$lt_postuninstall_cmds
17392 # Commands used to finish a libtool library installation in a directory.
17393 finish_cmds=$lt_finish_cmds
17395 # As "finish_cmds", except a single script fragment to be evaled but
17397 finish_eval=$lt_finish_eval
17399 # Whether we should hardcode library paths into libraries.
17400 hardcode_into_libs=$hardcode_into_libs
17402 # Compile-time system search path for libraries.
17403 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17405 # Run-time system search path for libraries.
17406 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17408 # Whether dlopen is supported.
17409 dlopen_support=$enable_dlopen
17411 # Whether dlopen of programs is supported.
17412 dlopen_self=$enable_dlopen_self
17414 # Whether dlopen of statically linked programs is supported.
17415 dlopen_self_static=$enable_dlopen_self_static
17417 # Commands to strip libraries.
17418 old_striplib=$lt_old_striplib
17419 striplib=$lt_striplib
17422 # The linker used to build libraries.
17425 # How to create reloadable object files.
17426 reload_flag=$lt_reload_flag
17427 reload_cmds=$lt_reload_cmds
17429 # Commands used to build an old-style archive.
17430 old_archive_cmds=$lt_old_archive_cmds
17432 # A language specific compiler.
17435 # Is the compiler the GNU compiler?
17438 # Compiler flag to turn off builtin functions.
17439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17441 # How to pass a linker flag through the compiler.
17442 wl=$lt_lt_prog_compiler_wl
17444 # Additional compiler flags for building library objects.
17445 pic_flag=$lt_lt_prog_compiler_pic
17447 # Compiler flag to prevent dynamic linking.
17448 link_static_flag=$lt_lt_prog_compiler_static
17450 # Does compiler simultaneously support -c and -o options?
17451 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17453 # Whether or not to add -lc for building shared libraries.
17454 build_libtool_need_lc=$archive_cmds_need_lc
17456 # Whether or not to disallow shared libs when runtime libs are static.
17457 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17459 # Compiler flag to allow reflexive dlopens.
17460 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17462 # Compiler flag to generate shared objects directly from archives.
17463 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17465 # Whether the compiler copes with passing no objects directly.
17466 compiler_needs_object=$lt_compiler_needs_object
17468 # Create an old-style archive from a shared archive.
17469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17471 # Create a temporary old-style archive to link instead of a shared archive.
17472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17474 # Commands used to build a shared archive.
17475 archive_cmds=$lt_archive_cmds
17476 archive_expsym_cmds=$lt_archive_expsym_cmds
17478 # Commands used to build a loadable module if different from building
17479 # a shared archive.
17480 module_cmds=$lt_module_cmds
17481 module_expsym_cmds=$lt_module_expsym_cmds
17483 # Whether we are building with GNU ld or not.
17484 with_gnu_ld=$lt_with_gnu_ld
17486 # Flag that allows shared libraries with undefined symbols to be built.
17487 allow_undefined_flag=$lt_allow_undefined_flag
17489 # Flag that enforces no undefined symbols.
17490 no_undefined_flag=$lt_no_undefined_flag
17492 # Flag to hardcode \$libdir into a binary during linking.
17493 # This must work even if \$libdir does not exist
17494 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17496 # If ld is used when linking, flag to hardcode \$libdir into a binary
17497 # during linking. This must work even if \$libdir does not exist.
17498 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17500 # Whether we need a single "-rpath" flag with a separated argument.
17501 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17503 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17504 # DIR into the resulting binary.
17505 hardcode_direct=$hardcode_direct
17507 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17508 # DIR into the resulting binary and the resulting library dependency is
17509 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17510 # library is relocated.
17511 hardcode_direct_absolute=$hardcode_direct_absolute
17513 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17514 # into the resulting binary.
17515 hardcode_minus_L=$hardcode_minus_L
17517 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17518 # into the resulting binary.
17519 hardcode_shlibpath_var=$hardcode_shlibpath_var
17521 # Set to "yes" if building a shared library automatically hardcodes DIR
17522 # into the library and all subsequent libraries and executables linked
17524 hardcode_automatic=$hardcode_automatic
17526 # Set to yes if linker adds runtime paths of dependent libraries
17527 # to runtime path list.
17528 inherit_rpath=$inherit_rpath
17530 # Whether libtool must link a program against all its dependency libraries.
17531 link_all_deplibs=$link_all_deplibs
17533 # Fix the shell variable \$srcfile for the compiler.
17534 fix_srcfile_path=$lt_fix_srcfile_path
17536 # Set to "yes" if exported symbols are required.
17537 always_export_symbols=$always_export_symbols
17539 # The commands to list exported symbols.
17540 export_symbols_cmds=$lt_export_symbols_cmds
17542 # Symbols that should not be listed in the preloaded symbols.
17543 exclude_expsyms=$lt_exclude_expsyms
17545 # Symbols that must always be exported.
17546 include_expsyms=$lt_include_expsyms
17548 # Commands necessary for linking programs (against libraries) with templates.
17549 prelink_cmds=$lt_prelink_cmds
17551 # Specify filename containing input files.
17552 file_list_spec=$lt_file_list_spec
17554 # How to hardcode a shared library path into an executable.
17555 hardcode_action=$hardcode_action
17557 # The directories searched by this compiler when creating a shared library.
17558 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17560 # Dependencies to place before and after the objects being linked to
17561 # create a shared library.
17562 predep_objects=$lt_predep_objects
17563 postdep_objects=$lt_postdep_objects
17564 predeps=$lt_predeps
17565 postdeps=$lt_postdeps
17567 # The library search path used internally by the compiler when linking
17568 # a shared library.
17569 compiler_lib_search_path=$lt_compiler_lib_search_path
17571 # ### END LIBTOOL CONFIG
17577 cat <<\_LT_EOF
>> "$cfgfile"
17578 # AIX sometimes has problems with the GCC collect2 program. For some
17579 # reason, if we set the COLLECT_NAMES environment variable, the problems
17580 # vanish in a puff of smoke.
17581 if test "X${COLLECT_NAMES+set}" != Xset
; then
17583 export COLLECT_NAMES
17590 ltmain
="$ac_aux_dir/ltmain.sh"
17593 # We use sed instead of cat because bash on DJGPP gets confused if
17594 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17595 # text mode, it properly converts lines to CR/LF. This bash problem
17596 # is reportedly fixed, but why not run on old versions too?
17597 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17598 ||
(rm -f "$cfgfile"; exit 1)
17602 cat << \_LT_EOF
>> "$cfgfile"
17604 # func_dirname file append nondir_replacement
17605 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17606 # otherwise set result to NONDIR_REPLACEMENT.
17610 */*) func_dirname_result
="${1%/*}${2}" ;;
17611 * ) func_dirname_result
="${3}" ;;
17615 # func_basename file
17618 func_basename_result
="${1##*/}"
17621 # func_dirname_and_basename file append nondir_replacement
17622 # perform func_basename and func_dirname in a single function
17624 # dirname: Compute the dirname of FILE. If nonempty,
17625 # add APPEND to the result, otherwise set result
17626 # to NONDIR_REPLACEMENT.
17627 # value returned in "$func_dirname_result"
17628 # basename: Compute filename of FILE.
17629 # value retuned in "$func_basename_result"
17630 # Implementation must be kept synchronized with func_dirname
17631 # and func_basename. For efficiency, we do not delegate to
17632 # those functions but instead duplicate the functionality here.
17633 func_dirname_and_basename
()
17636 */*) func_dirname_result
="${1%/*}${2}" ;;
17637 * ) func_dirname_result
="${3}" ;;
17639 func_basename_result
="${1##*/}"
17642 # func_stripname prefix suffix name
17643 # strip PREFIX and SUFFIX off of NAME.
17644 # PREFIX and SUFFIX must not contain globbing or regex special
17645 # characters, hashes, percent signs, but SUFFIX may contain a leading
17646 # dot (in which case that matches only a dot).
17649 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17650 # positional parameters, so assign one to ordinary parameter first.
17651 func_stripname_result
=${3}
17652 func_stripname_result
=${func_stripname_result#"${1}"}
17653 func_stripname_result
=${func_stripname_result%"${2}"}
17659 func_opt_split_opt
=${1%%=*}
17660 func_opt_split_arg
=${1#*=}
17667 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17668 *) func_lo2o_result
=${1} ;;
17672 # func_xform libobj-or-source
17675 func_xform_result
=${1%.*}.lo
17678 # func_arith arithmetic-term...
17681 func_arith_result
=$
(( $
* ))
17685 # STRING may not start with a hyphen.
17688 func_len_result
=${#1}
17693 *) # Bourne compatible functions.
17694 cat << \_LT_EOF
>> "$cfgfile"
17696 # func_dirname file append nondir_replacement
17697 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17698 # otherwise set result to NONDIR_REPLACEMENT.
17701 # Extract subdirectory from the argument.
17702 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17703 if test "X$func_dirname_result" = "X${1}"; then
17704 func_dirname_result
="${3}"
17706 func_dirname_result
="$func_dirname_result${2}"
17710 # func_basename file
17713 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17717 # func_stripname prefix suffix name
17718 # strip PREFIX and SUFFIX off of NAME.
17719 # PREFIX and SUFFIX must not contain globbing or regex special
17720 # characters, hashes, percent signs, but SUFFIX may contain a leading
17721 # dot (in which case that matches only a dot).
17722 # func_strip_suffix prefix name
17726 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17727 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17732 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17733 my_sed_long_arg
='1s/^-[^=]*=//'
17738 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17739 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17745 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17748 # func_xform libobj-or-source
17751 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17754 # func_arith arithmetic-term...
17757 func_arith_result
=`expr "$@"`
17761 # STRING may not start with a hyphen.
17764 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17770 case $lt_shell_append in
17772 cat << \_LT_EOF
>> "$cfgfile"
17774 # func_append var value
17775 # Append VALUE to the end of shell variable VAR.
17783 cat << \_LT_EOF
>> "$cfgfile"
17785 # func_append var value
17786 # Append VALUE to the end of shell variable VAR.
17797 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17798 ||
(rm -f "$cfgfile"; exit 1)
17800 mv -f "$cfgfile" "$ofile" ||
17801 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17805 cat <<_LT_EOF >> "$ofile"
17807 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17809 # The linker used to build libraries.
17812 # How to create reloadable object files.
17813 reload_flag=$lt_reload_flag_CXX
17814 reload_cmds=$lt_reload_cmds_CXX
17816 # Commands used to build an old-style archive.
17817 old_archive_cmds=$lt_old_archive_cmds_CXX
17819 # A language specific compiler.
17820 CC=$lt_compiler_CXX
17822 # Is the compiler the GNU compiler?
17825 # Compiler flag to turn off builtin functions.
17826 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17828 # How to pass a linker flag through the compiler.
17829 wl=$lt_lt_prog_compiler_wl_CXX
17831 # Additional compiler flags for building library objects.
17832 pic_flag=$lt_lt_prog_compiler_pic_CXX
17834 # Compiler flag to prevent dynamic linking.
17835 link_static_flag=$lt_lt_prog_compiler_static_CXX
17837 # Does compiler simultaneously support -c and -o options?
17838 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17840 # Whether or not to add -lc for building shared libraries.
17841 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17843 # Whether or not to disallow shared libs when runtime libs are static.
17844 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17846 # Compiler flag to allow reflexive dlopens.
17847 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17849 # Compiler flag to generate shared objects directly from archives.
17850 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17852 # Whether the compiler copes with passing no objects directly.
17853 compiler_needs_object=$lt_compiler_needs_object_CXX
17855 # Create an old-style archive from a shared archive.
17856 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17858 # Create a temporary old-style archive to link instead of a shared archive.
17859 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17861 # Commands used to build a shared archive.
17862 archive_cmds=$lt_archive_cmds_CXX
17863 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17865 # Commands used to build a loadable module if different from building
17866 # a shared archive.
17867 module_cmds=$lt_module_cmds_CXX
17868 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17870 # Whether we are building with GNU ld or not.
17871 with_gnu_ld=$lt_with_gnu_ld_CXX
17873 # Flag that allows shared libraries with undefined symbols to be built.
17874 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17876 # Flag that enforces no undefined symbols.
17877 no_undefined_flag=$lt_no_undefined_flag_CXX
17879 # Flag to hardcode \$libdir into a binary during linking.
17880 # This must work even if \$libdir does not exist
17881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17883 # If ld is used when linking, flag to hardcode \$libdir into a binary
17884 # during linking. This must work even if \$libdir does not exist.
17885 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17887 # Whether we need a single "-rpath" flag with a separated argument.
17888 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17890 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17891 # DIR into the resulting binary.
17892 hardcode_direct=$hardcode_direct_CXX
17894 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17895 # DIR into the resulting binary and the resulting library dependency is
17896 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17897 # library is relocated.
17898 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17900 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17901 # into the resulting binary.
17902 hardcode_minus_L=$hardcode_minus_L_CXX
17904 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17905 # into the resulting binary.
17906 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17908 # Set to "yes" if building a shared library automatically hardcodes DIR
17909 # into the library and all subsequent libraries and executables linked
17911 hardcode_automatic=$hardcode_automatic_CXX
17913 # Set to yes if linker adds runtime paths of dependent libraries
17914 # to runtime path list.
17915 inherit_rpath=$inherit_rpath_CXX
17917 # Whether libtool must link a program against all its dependency libraries.
17918 link_all_deplibs=$link_all_deplibs_CXX
17920 # Fix the shell variable \$srcfile for the compiler.
17921 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17923 # Set to "yes" if exported symbols are required.
17924 always_export_symbols=$always_export_symbols_CXX
17926 # The commands to list exported symbols.
17927 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17929 # Symbols that should not be listed in the preloaded symbols.
17930 exclude_expsyms=$lt_exclude_expsyms_CXX
17932 # Symbols that must always be exported.
17933 include_expsyms=$lt_include_expsyms_CXX
17935 # Commands necessary for linking programs (against libraries) with templates.
17936 prelink_cmds=$lt_prelink_cmds_CXX
17938 # Specify filename containing input files.
17939 file_list_spec=$lt_file_list_spec_CXX
17941 # How to hardcode a shared library path into an executable.
17942 hardcode_action=$hardcode_action_CXX
17944 # The directories searched by this compiler when creating a shared library.
17945 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17947 # Dependencies to place before and after the objects being linked to
17948 # create a shared library.
17949 predep_objects=$lt_predep_objects_CXX
17950 postdep_objects=$lt_postdep_objects_CXX
17951 predeps=$lt_predeps_CXX
17952 postdeps=$lt_postdeps_CXX
17954 # The library search path used internally by the compiler when linking
17955 # a shared library.
17956 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17958 # ### END LIBTOOL TAG CONFIG: CXX
17962 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17963 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17965 sed -f vpsed$$
$ac_file > tmp$$
17968 echo 'MULTISUBDIR =' >> $ac_file
17970 .
${multi_basedir}/config-ml.
in
17971 { ml_norecursion
=; unset ml_norecursion
;}
17980 ac_clean_files
=$ac_clean_files_save
17982 test $ac_write_fail = 0 ||
17983 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17986 # configure is writing to config.log, and then calls config.status.
17987 # config.status does its own redirection, appending to config.log.
17988 # Unfortunately, on DOS this fails, as config.log is still kept open
17989 # by configure, so config.status won't be able to write to it; its
17990 # output is simply discarded. So we exec the FD to /dev/null,
17991 # effectively closing config.log, so it can be properly (re)opened and
17992 # appended to by config.status. When coming back to configure, we
17993 # need to make the FD available again.
17994 if test "$no_create" != yes; then
17996 ac_config_status_args
=
17997 test "$silent" = yes &&
17998 ac_config_status_args
="$ac_config_status_args --quiet"
18000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18003 # would make configure fail if this is the last instruction.
18004 $ac_cs_success || as_fn_exit $?
18006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}