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
661 MAINTAINER_MODE_FALSE
672 INSTALL_STRIP_PROGRAM
687 LIBSTDCXX_RAW_CXX_LDFLAGS
688 LIBSTDCXX_RAW_CXX_CXXFLAGS
729 program_transform_name
742 enable_option_checking
743 enable_version_specific_runtime_libs
745 enable_maintainer_mode
746 enable_dependency_tracking
754 ac_precious_vars
='build_alias
766 # Initialize some variables set by options.
768 ac_init_version
=false
769 ac_unrecognized_opts
=
771 # The variables have the same names as the options, with
772 # dashes changed to underlines.
780 program_transform_name
=s
,x
,x
,
788 # Installation directory options.
789 # These are left unexpanded so users can "make install exec_prefix=/foo"
790 # and all the variables that are supposed to be based on exec_prefix
791 # by default will actually change.
792 # Use braces instead of parens because sh, perl, etc. also accept them.
793 # (The list follows the same order as the GNU Coding Standards.)
794 bindir
='${exec_prefix}/bin'
795 sbindir
='${exec_prefix}/sbin'
796 libexecdir
='${exec_prefix}/libexec'
797 datarootdir
='${prefix}/share'
798 datadir
='${datarootdir}'
799 sysconfdir
='${prefix}/etc'
800 sharedstatedir
='${prefix}/com'
801 localstatedir
='${prefix}/var'
802 includedir
='${prefix}/include'
803 oldincludedir
='/usr/include'
804 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
805 infodir
='${datarootdir}/info'
810 libdir
='${exec_prefix}/lib'
811 localedir
='${datarootdir}/locale'
812 mandir
='${datarootdir}/man'
818 # If the previous option needs an argument, assign it.
819 if test -n "$ac_prev"; then
820 eval $ac_prev=\
$ac_option
826 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
838 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
841 -build |
--build |
--buil |
--bui |
--bu)
842 ac_prev
=build_alias
;;
843 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
844 build_alias
=$ac_optarg ;;
846 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
847 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
848 ac_prev
=cache_file
;;
849 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
850 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
851 cache_file
=$ac_optarg ;;
854 cache_file
=config.cache
;;
856 -datadir |
--datadir |
--datadi |
--datad)
858 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
859 datadir
=$ac_optarg ;;
861 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
862 |
--dataroo |
--dataro |
--datar)
863 ac_prev
=datarootdir
;;
864 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
865 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
866 datarootdir
=$ac_optarg ;;
868 -disable-* |
--disable-*)
869 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
872 as_fn_error
"invalid feature name: $ac_useropt"
873 ac_useropt_orig
=$ac_useropt
874 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep
=', ';;
882 eval enable_
$ac_useropt=no
;;
884 -docdir |
--docdir |
--docdi |
--doc |
--do)
886 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
889 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
891 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
894 -enable-* |
--enable-*)
895 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
898 as_fn_error
"invalid feature name: $ac_useropt"
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=\
$ac_optarg ;;
910 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
911 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
912 |
--exec |
--exe |
--ex)
913 ac_prev
=exec_prefix
;;
914 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
915 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
916 |
--exec=* |
--exe=* |
--ex=*)
917 exec_prefix
=$ac_optarg ;;
919 -gas |
--gas |
--ga |
--g)
920 # Obsolete; use --with-gas.
923 -help |
--help |
--hel |
--he |
-h)
925 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
926 ac_init_help
=recursive
;;
927 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
928 ac_init_help
=short
;;
930 -host |
--host |
--hos |
--ho)
931 ac_prev
=host_alias
;;
932 -host=* |
--host=* |
--hos=* |
--ho=*)
933 host_alias
=$ac_optarg ;;
935 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
937 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
939 htmldir
=$ac_optarg ;;
941 -includedir |
--includedir |
--includedi |
--included |
--include \
942 |
--includ |
--inclu |
--incl |
--inc)
943 ac_prev
=includedir
;;
944 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
945 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
946 includedir
=$ac_optarg ;;
948 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
950 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
951 infodir
=$ac_optarg ;;
953 -libdir |
--libdir |
--libdi |
--libd)
955 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
958 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
959 |
--libexe |
--libex |
--libe)
960 ac_prev
=libexecdir
;;
961 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
962 |
--libexe=* |
--libex=* |
--libe=*)
963 libexecdir
=$ac_optarg ;;
965 -localedir |
--localedir |
--localedi |
--localed |
--locale)
967 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
968 localedir
=$ac_optarg ;;
970 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
971 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
972 ac_prev
=localstatedir
;;
973 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
974 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
975 localstatedir
=$ac_optarg ;;
977 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
979 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
983 # Obsolete; use --without-fp.
986 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
987 |
--no-cr |
--no-c |
-n)
990 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
991 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
994 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
995 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
996 |
--oldin |
--oldi |
--old |
--ol |
--o)
997 ac_prev
=oldincludedir
;;
998 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
999 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1000 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1001 oldincludedir
=$ac_optarg ;;
1003 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1005 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1006 prefix
=$ac_optarg ;;
1008 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1009 |
--program-pre |
--program-pr |
--program-p)
1010 ac_prev
=program_prefix
;;
1011 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1012 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1013 program_prefix
=$ac_optarg ;;
1015 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1016 |
--program-suf |
--program-su |
--program-s)
1017 ac_prev
=program_suffix
;;
1018 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1019 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1020 program_suffix
=$ac_optarg ;;
1022 -program-transform-name |
--program-transform-name \
1023 |
--program-transform-nam |
--program-transform-na \
1024 |
--program-transform-n |
--program-transform- \
1025 |
--program-transform |
--program-transfor \
1026 |
--program-transfo |
--program-transf \
1027 |
--program-trans |
--program-tran \
1028 |
--progr-tra |
--program-tr |
--program-t)
1029 ac_prev
=program_transform_name
;;
1030 -program-transform-name=* |
--program-transform-name=* \
1031 |
--program-transform-nam=* |
--program-transform-na=* \
1032 |
--program-transform-n=* |
--program-transform-=* \
1033 |
--program-transform=* |
--program-transfor=* \
1034 |
--program-transfo=* |
--program-transf=* \
1035 |
--program-trans=* |
--program-tran=* \
1036 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1037 program_transform_name
=$ac_optarg ;;
1039 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1041 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1042 pdfdir
=$ac_optarg ;;
1044 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1046 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1053 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1055 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1057 sbindir
=$ac_optarg ;;
1059 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1060 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1061 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1063 ac_prev
=sharedstatedir
;;
1064 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1065 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1066 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1068 sharedstatedir
=$ac_optarg ;;
1070 -site |
--site |
--sit)
1072 -site=* |
--site=* |
--sit=*)
1075 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1077 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1078 srcdir
=$ac_optarg ;;
1080 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1081 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1082 ac_prev
=sysconfdir
;;
1083 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1084 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1085 sysconfdir
=$ac_optarg ;;
1087 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1088 ac_prev
=target_alias
;;
1089 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1090 target_alias
=$ac_optarg ;;
1092 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1095 -version |
--version |
--versio |
--versi |
--vers |
-V)
1096 ac_init_version
=: ;;
1099 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=\
$ac_optarg ;;
1114 -without-* |
--without-*)
1115 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 as_fn_error
"invalid package name: $ac_useropt"
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval with_
$ac_useropt=no
;;
1131 # Obsolete; use --with-x.
1134 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1135 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1136 ac_prev
=x_includes
;;
1137 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1138 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1139 x_includes
=$ac_optarg ;;
1141 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1142 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1143 ac_prev
=x_libraries
;;
1144 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1145 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1146 x_libraries
=$ac_optarg ;;
1148 -*) as_fn_error
"unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information."
1153 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1157 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\
$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error
"missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val
=\$
$ac_var
1193 # Remove trailing slashes.
1196 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\
$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$
]* | ?
:[\\/]* ) continue;;
1202 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1204 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target
=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x
; then
1216 if test "x$build_alias" = x
; then
1217 cross_compiling
=maybe
1218 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used." >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1228 test "$silent" = yes && exec 6>/dev
/null
1231 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di
=`ls -di .` &&
1233 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error
"working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error
"pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted
=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir
=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted
=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1275 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var
in $ac_precious_vars; do
1292 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1294 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1368 --build=BUILD configure
for building on BUILD
[guessed
]
1369 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1370 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1381 --disable-option-checking ignore unrecognized
--enable/--with options
1382 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1383 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1384 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1385 --enable-multilib build many library versions
(default
)
1386 --enable-maintainer-mode enable make rules and dependencies not useful
1387 (and sometimes confusing
) to the casual installer
1388 --disable-dependency-tracking speeds up one-time build
1389 --enable-dependency-tracking do not reject slow dependency extractors
1390 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1391 --enable-static[=PKGS
] build static libraries
[default
=yes]
1392 --enable-fast-install[=PKGS
]
1393 optimize
for fast installation
[default
=yes]
1394 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1397 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1398 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1399 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1401 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1403 Some influential environment variables
:
1404 CC C compiler
command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1407 nonstandard directory
<lib dir
>
1408 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1409 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1410 you have headers
in a nonstandard directory
<include dir
>
1412 CXX C
++ compiler
command
1413 CXXFLAGS C
++ compiler flags
1414 CXXCPP C
++ preprocessor
1416 Use these variables to override the choices made by
`configure' or to help
1417 it to find libraries and programs with nonstandard names/locations.
1419 Report bugs to the package provider.
1420 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1421 General help using GNU software: <http://www.gnu.org/gethelp/>.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir=$ac_pwd
1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir=$ac_top_build_prefix
1451 .) # We are building in place.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 GNU Vtable Verification Runtime Library configure 1.0
1485 generated by GNU Autoconf 2.64
1487 Copyright (C) 2009 Free Software Foundation, Inc.
1488 This configure script is free software; the Free Software Foundation
1489 gives unlimited permission to copy, distribute and modify it.
1494 ## ------------------------ ##
1495 ## Autoconf initialization. ##
1496 ## ------------------------ ##
1498 # ac_fn_c_try_compile LINENO
1499 # --------------------------
1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1501 ac_fn_c_try_compile ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 rm -f conftest.$ac_objext
1505 if { { ac_try="$ac_compile"
1507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1508 *) ac_try_echo
=$ac_try;;
1510 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 $as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_compile") 2>conftest.err
1514 if test -s conftest.err
; then
1515 grep -v '^ *+' conftest.err
>conftest.er1
1516 cat conftest.er1
>&5
1517 mv -f conftest.er1 conftest.err
1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520 test $ac_status = 0; } && {
1521 test -z "$ac_c_werror_flag" ||
1522 test ! -s conftest.err
1523 } && test -s conftest.
$ac_objext; then :
1526 $as_echo "$as_me: failed program was:" >&5
1527 sed 's/^/| /' conftest.
$ac_ext >&5
1531 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1534 } # ac_fn_c_try_compile
1536 # ac_fn_c_try_cpp LINENO
1537 # ----------------------
1538 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1542 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1545 *) ac_try_echo=$ac_try;;
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1551 if test -s conftest.err; then
1552 grep -v '^ *+' conftest.err >conftest.er1
1553 cat conftest.er1 >&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } >/dev/null && {
1558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1559 test ! -s conftest.err
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.$ac_ext >&5
1568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1573 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1574 # -------------------------------------------------------
1575 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1576 # the include files in INCLUDES and setting the cache variable VAR
1578 ac_fn_c_check_header_mongrel ()
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583 $as_echo_n "checking for $2... " >&6; }
1584 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1585 $as_echo_n "(cached) " >&6
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1591 # Is the header compilable?
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1593 $as_echo_n "checking $2 usability... " >&6; }
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1599 if ac_fn_c_try_compile "$LINENO"; then :
1600 ac_header_compiler=yes
1602 ac_header_compiler=no
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1606 $as_echo "$ac_header_compiler" >&6; }
1608 # Is the header present?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1610 $as_echo_n "checking $2 presence... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1615 if ac_fn_c_try_cpp "$LINENO"; then :
1616 ac_header_preproc=yes
1618 ac_header_preproc=no
1620 rm -f conftest.err conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1622 $as_echo "$ac_header_preproc" >&6; }
1624 # So? What about this header?
1625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1628 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1634 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1636 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1638 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1640 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 $as_echo_n "checking for $2... " >&6; }
1647 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1648 $as_echo_n "(cached) " >&6
1650 eval "$3=\$ac_header_compiler"
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1658 } # ac_fn_c_check_header_mongrel
1660 # ac_fn_c_try_run LINENO
1661 # ----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1663 # that executables *can* be run.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_link"
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1678 { { case "(($ac_try" in
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_try") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; }; }; then :
1690 $as_echo "$as_me: program exited with status $ac_status" >&5
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1694 ac_retval=$ac_status
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1703 # -------------------------------------------------------
1704 # Tests whether HEADER exists and can be compiled using the include files in
1705 # INCLUDES, setting the cache variable VAR accordingly.
1706 ac_fn_c_check_header_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1712 $as_echo_n "(cached) " >&6
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1719 if ac_fn_c_try_compile "$LINENO"; then :
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 } # ac_fn_c_check_header_compile
1733 # ac_fn_c_try_link LINENO
1734 # -----------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 rm -f conftest.$ac_objext conftest$ac_exeext
1740 if { { ac_try="$ac_link"
1742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1743 *) ac_try_echo
=$ac_try;;
1745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>conftest.err
1749 if test -s conftest.err
; then
1750 grep -v '^ *+' conftest.err
>conftest.er1
1751 cat conftest.er1
>&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && {
1756 test -z "$ac_c_werror_flag" ||
1757 test ! -s conftest.err
1758 } && test -s conftest
$ac_exeext && {
1759 test "$cross_compiling" = yes ||
1760 $as_test_x conftest
$ac_exeext
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1769 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1770 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1771 # interfere with the next link command; also delete a directory that is
1772 # left behind by Apple's compiler. We do this before executing the actions.
1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1777 } # ac_fn_c_try_link
1779 # ac_fn_c_check_func LINENO FUNC VAR
1780 # ----------------------------------
1781 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1782 ac_fn_c_check_func
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1792 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1794 #define $2 innocuous_$2
1796 /* System header to define __stub macros and hopefully few prototypes,
1797 which can conflict with char $2 (); below.
1798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1799 <limits.h> exists even on freestanding compilers. */
1802 # include <limits.h>
1804 # include <assert.h>
1809 /* Override any GCC internal prototype to avoid an error.
1810 Use char because int might match the return type of a GCC
1811 builtin and then its argument prototype would still apply. */
1816 /* The GNU C library defines this for functions which it implements
1817 to always fail with ENOSYS. Some functions are actually named
1818 something starting with __ and the normal name is an alias. */
1819 #if defined __stub_$2 || defined __stub___$2
1831 if ac_fn_c_try_link
"$LINENO"; then :
1836 rm -f core conftest.err conftest.
$ac_objext \
1837 conftest
$ac_exeext conftest.
$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1844 } # ac_fn_c_check_func
1846 # ac_fn_cxx_try_compile LINENO
1847 # ----------------------------
1848 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1849 ac_fn_cxx_try_compile
()
1851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1852 rm -f conftest.
$ac_objext
1853 if { { ac_try
="$ac_compile"
1855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_compile") 2>conftest.err
1862 if test -s conftest.err; then
1863 grep -v '^ *+' conftest.err >conftest.er1
1864 cat conftest.er1 >&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_cxx_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest.$ac_objext; then :
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882 } # ac_fn_cxx_try_compile
1884 # ac_fn_cxx_try_cpp LINENO
1885 # ------------------------
1886 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_cxx_try_cpp ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 if { { ac_try="$ac_cpp conftest.$ac_ext"
1892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1893 *) ac_try_echo
=$ac_try;;
1895 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1899 if test -s conftest.err
; then
1900 grep -v '^ *+' conftest.err
>conftest.er1
1901 cat conftest.er1
>&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } >/dev
/null
&& {
1906 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1907 test ! -s conftest.err
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.
$ac_ext >&5
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1919 } # ac_fn_cxx_try_cpp
1921 # ac_fn_cxx_try_link LINENO
1922 # -------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_cxx_try_link
()
1926 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1927 rm -f conftest.
$ac_objext conftest
$ac_exeext
1928 if { { ac_try
="$ac_link"
1930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_cxx_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 $as_test_x conftest$ac_exeext
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965 } # ac_fn_cxx_try_link
1966 cat >config.log <<_ACEOF
1967 This file contains any messages produced by compilers while
1968 running configure, to aid debugging if configure makes a mistake.
1970 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1971 generated by GNU Autoconf 2.64. Invocation command line was
1983 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1984 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1985 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1986 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1987 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1989 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1990 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1992 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1993 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1994 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1995 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1996 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1997 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1998 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir=.
2007 $as_echo "PATH: $as_dir"
2023 # Keep a trace of the command line.
2024 # Strip out --no-create and --no-recursion so they do not pile up.
2025 # Strip out --silent because we don't want to record it for future runs.
2026 # Also quote any args containing shell meta-characters.
2027 # Make two passes to allow for proper duplicate-argument suppression.
2031 ac_must_keep_next=false
2037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2039 | -silent | --silent | --silen | --sile | --sil)
2042 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2045 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2047 as_fn_append ac_configure_args1 " '$ac_arg'"
2048 if test $ac_must_keep_next = true; then
2049 ac_must_keep_next=false # Got value, back to normal.
2052 *=* | --config-cache | -C | -disable-* | --disable-* \
2053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2055 | -with-* | --with-* | -without-* | --without-* | --x)
2056 case "$ac_configure_args0 " in
2057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2060 -* ) ac_must_keep_next=true ;;
2063 as_fn_append ac_configure_args " '$ac_arg'"
2068 { ac_configure_args0=; unset ac_configure_args0;}
2069 { ac_configure_args1=; unset ac_configure_args1;}
2071 # When interrupted or exit'd, cleanup temporary files, and complete
2072 # config.log. We remove comments because anyway the quotes in there
2073 # would cause problems or look ugly.
2074 # WARNING: Use '\'' to represent an apostrophe within the trap.
2075 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2076 trap 'exit_status=$?
2077 # Save into config.log some information that might help in debugging.
2082 ## ---------------- ##
2083 ## Cache variables. ##
2084 ## ---------------- ##
2087 # The following way of writing the cache mishandles newlines in values,
2089 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2090 eval ac_val=\$$ac_var
2094 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2095 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098 _ | IFS | as_nl) ;; #(
2099 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2100 *) { eval $ac_var=; unset $ac_var;} ;;
2105 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2106 *${as_nl}ac_space=\ *)
2108 "s/'\''/'\''\\\\'\'''\''/g;
2109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120 ## ----------------- ##
2121 ## Output variables. ##
2122 ## ----------------- ##
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2137 ## ------------------- ##
2138 ## File substitutions. ##
2139 ## ------------------- ##
2142 for ac_var in $ac_subst_files
2144 eval ac_val=\$$ac_var
2146 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 $as_echo "$ac_var='\''$ac_val'\''"
2153 if test -s confdefs.h; then
2163 test "$ac_signal" != 0 &&
2164 $as_echo "$as_me: caught signal $ac_signal"
2165 $as_echo "$as_me: exit $exit_status"
2167 rm -f core *.core core.conftest.* &&
2168 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2171 for ac_signal in 1 2 13 15; do
2172 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2177 rm -f -r conftest* confdefs.h
2179 $as_echo "/* confdefs.h */" > confdefs.h
2181 # Predefined preprocessor variables.
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_NAME "$PACKAGE_NAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_STRING "$PACKAGE_STRING"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_URL "$PACKAGE_URL"
2208 # Let the site file select an alternate cache file if it wants to.
2209 # Prefer an explicitly selected file to automatically selected ones.
2212 if test -n "$CONFIG_SITE"; then
2213 ac_site_file1=$CONFIG_SITE
2214 elif test "x$prefix" != xNONE; then
2215 ac_site_file1=$prefix/share/config.site
2216 ac_site_file2=$prefix/etc/config.site
2218 ac_site_file1=$ac_default_prefix/share/config.site
2219 ac_site_file2=$ac_default_prefix/etc/config.site
2221 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 test "x$ac_site_file" = xNONE && continue
2224 if test -r "$ac_site_file"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2227 sed 's/^/| /' "$ac_site_file" >&5
2232 if test -r "$cache_file"; then
2233 # Some versions of bash will fail to source /dev/null (special
2234 # files actually), so we avoid doing that.
2235 if test -f "$cache_file"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2237 $as_echo "$as_me: loading cache $cache_file" >&6;}
2239 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2240 *) . "./$cache_file";;
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2245 $as_echo "$as_me: creating cache $cache_file" >&6;}
2249 # Check that the precious variables saved in the cache have kept the same
2251 ac_cache_corrupted=false
2252 for ac_var in $ac_precious_vars; do
2253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2254 eval ac_new_set=\$ac_env_${ac_var}_set
2255 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2256 eval ac_new_val=\$ac_env_${ac_var}_value
2257 case $ac_old_set,$ac_new_set in
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2260 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2261 ac_cache_corrupted=: ;;
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2264 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2268 if test "x$ac_old_val" != "x$ac_new_val"; then
2269 # differences in whitespace do not lead to failure.
2270 ac_old_val_w=`echo x
$ac_old_val`
2271 ac_new_val_w=`echo x
$ac_new_val`
2272 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2274 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2275 ac_cache_corrupted=:
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2278 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2279 eval $ac_var=\$ac_old_val
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2282 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2284 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2287 # Pass precious variables to config.status.
2288 if test "$ac_new_set" = set; then
2290 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2291 *) ac_arg=$ac_var=$ac_new_val ;;
2293 case " $ac_configure_args " in
2294 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2295 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2299 if $ac_cache_corrupted; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2303 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2304 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2306 ## -------------------- ##
2307 ## Main body of script. ##
2308 ## -------------------- ##
2311 ac_cpp='$CPP $CPPFLAGS'
2312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320 #AC_INIT(package-unused, version-unused, libvtv)
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2327 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2328 # Check whether --enable-version-specific-runtime-libs was given.
2329 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2330 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2331 yes) version_specific_libs=yes ;;
2332 no) version_specific_libs=no ;;
2333 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2336 version_specific_libs=no
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2340 $as_echo "$version_specific_libs" >&6; }
2342 # Do not delete or change the following two lines. For why, see
2343 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2345 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2346 for ac_t in install-sh install.sh shtool; do
2347 if test -f "$ac_dir/$ac_t"; then
2349 ac_install_sh="$ac_aux_dir/$ac_t -c"
2354 if test -z "$ac_aux_dir"; then
2355 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2358 # These three variables are undocumented and unsupported,
2359 # and are intended to be withdrawn in a future Autoconf release.
2360 # They can cause serious problems if a builder's source tree is in a directory
2361 # whose full name contains unusual characters.
2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2367 # Make sure we can run config.sub.
2368 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2369 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2372 $as_echo_n "checking build system type... " >&6; }
2373 if test "${ac_cv_build+set}" = set; then :
2374 $as_echo_n "(cached) " >&6
2376 ac_build_alias=$build_alias
2377 test "x$ac_build_alias" = x &&
2378 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2379 test "x$ac_build_alias" = x &&
2380 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2381 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2382 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2386 $as_echo "$ac_cv_build" >&6; }
2387 case $ac_cv_build in
2389 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2392 ac_save_IFS=$IFS; IFS='-'
2398 # Remember, the first character of IFS is used to create $*,
2399 # except with old shells:
2402 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2406 $as_echo_n "checking host system type... " >&6; }
2407 if test "${ac_cv_host+set}" = set; then :
2408 $as_echo_n "(cached) " >&6
2410 if test "x$host_alias" = x; then
2411 ac_cv_host=$ac_cv_build
2413 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2414 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2419 $as_echo "$ac_cv_host" >&6; }
2422 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2425 ac_save_IFS=$IFS; IFS='-'
2431 # Remember, the first character of IFS is used to create $*,
2432 # except with old shells:
2435 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2439 $as_echo_n "checking target system type... " >&6; }
2440 if test "${ac_cv_target+set}" = set; then :
2441 $as_echo_n "(cached) " >&6
2443 if test "x$target_alias" = x; then
2444 ac_cv_target=$ac_cv_host
2446 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2447 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2452 $as_echo "$ac_cv_target" >&6; }
2453 case $ac_cv_target in
2455 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2457 target=$ac_cv_target
2458 ac_save_IFS=$IFS; IFS='-'
2464 # Remember, the first character of IFS is used to create $*,
2465 # except with old shells:
2468 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2471 # The aliases save the names the user supplied, while $host etc.
2472 # will get canonicalized.
2473 test -n "$target_alias" &&
2474 test "$program_prefix$program_suffix$program_transform_name" = \
2476 program_prefix=${target_alias}-
2478 target_alias=${target_alias-$host_alias}
2480 case ${build_alias} in
2481 "") build_noncanonical=${build} ;;
2482 *) build_noncanonical=${build_alias} ;;
2485 case ${host_alias} in
2486 "") host_noncanonical=${build_noncanonical} ;;
2487 *) host_noncanonical=${host_alias} ;;
2490 case ${target_alias} in
2491 "") target_noncanonical=${host_noncanonical} ;;
2492 *) target_noncanonical=${target_alias} ;;
2499 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2500 -I\$(top_builddir)/../libstdc++-v3/include \
2501 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2502 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2503 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2504 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
2512 $as_echo_n "checking for host support for vtable verification... " >&6; }
2513 . ${srcdir}/configure.tgt
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
2515 $as_echo "$VTV_SUPPORTED" >&6; }
2517 # Decide if it's usable.
2518 use_vtable_verify=no
2519 if test "x$VTV_SUPPORTED" = "xyes"; then
2520 use_vtable_verify=yes
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
2522 $as_echo "$as_me: using vtable verification" >&6;}
2525 am__api_version='1.11'
2527 # Find a good install program. We prefer a C program (faster),
2528 # so one script is as good as another. But avoid the broken or
2529 # incompatible versions:
2530 # SysV /etc/install, /usr/sbin/install
2531 # SunOS /usr/etc/install
2532 # IRIX /sbin/install
2534 # AmigaOS /C/install, which installs bootblocks on floppy discs
2535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2538 # OS/2's system install, which has a completely different semantic
2539 # ./install, which can be erroneously created by make from ./install.sh.
2540 # Reject install programs that cannot install multiple files.
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2542 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2543 if test -z "$INSTALL"; then
2544 if test "${ac_cv_path_install+set}" = set; then :
2545 $as_echo_n "(cached) " >&6
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 # Account for people who put trailing slashes in PATH elements.
2553 case $as_dir/ in #((
2554 ./ | .// | /[cC]/* | \
2555 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2556 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2559 # OSF1 and SCO ODT 3.0 have their own names for install.
2560 # Don't use installbsd from OSF since it installs stuff as root
2562 for ac_prog in ginstall scoinst install; do
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2565 if test $ac_prog = install &&
2566 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2567 # AIX install. It has an incompatible calling convention.
2569 elif test $ac_prog = install &&
2570 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2571 # program-specific install script used by HP pwplus--don't use.
2574 rm -rf conftest.one conftest.two conftest.dir
2575 echo one > conftest.one
2576 echo two > conftest.two
2578 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2579 test -s conftest.one && test -s conftest.two &&
2580 test -s conftest.dir/conftest.one &&
2581 test -s conftest.dir/conftest.two
2583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2596 rm -rf conftest.one conftest.two conftest.dir
2599 if test "${ac_cv_path_install+set}" = set; then
2600 INSTALL=$ac_cv_path_install
2602 # As a last resort, use the slow shell script. Don't cache a
2603 # value for INSTALL within a source directory, because that will
2604 # break other packages using the cache if that directory is
2605 # removed, or if the value is a relative name.
2606 INSTALL=$ac_install_sh
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2610 $as_echo "$INSTALL" >&6; }
2612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2613 # It thinks the first close brace ends the variable substitution.
2614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2621 $as_echo_n "checking whether build environment is sane... " >&6; }
2624 echo timestamp > conftest.file
2625 # Reject unsafe characters in $srcdir or the absolute working directory
2626 # name. Accept space and tab only in the latter.
2630 *[\\\"\#\$\&\'\`$am_lf]*)
2631 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2634 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2635 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2638 # Do `set' in a subshell so we don't clobber the current shell's
2639 # arguments. Must try -L first in case configure is actually a
2640 # symlink; some systems play weird games with the mod time of symlinks
2641 # (eg FreeBSD returns the mod time of the symlink's containing
2644 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2645 if test "$*" = "X"; then
2647 set X
`ls -t "$srcdir/configure" conftest.file`
2650 if test "$*" != "X $srcdir/configure conftest.file" \
2651 && test "$*" != "X conftest.file $srcdir/configure"; then
2653 # If neither matched, then we have a broken ls. This can happen
2654 # if, for instance, CONFIG_SHELL is bash and it inherits a
2655 # broken ls alias from the environment. This has actually
2656 # happened. Such a system could not be considered "sane".
2657 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2658 alias in your environment" "$LINENO" 5
2661 test "$2" = conftest.
file
2667 as_fn_error
"newly created file is older than distributed files!
2668 Check your system clock" "$LINENO" 5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2672 test "$program_prefix" != NONE
&&
2673 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2674 # Use a double $ so make ignores it.
2675 test "$program_suffix" != NONE
&&
2676 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2677 # Double any \ or $.
2678 # By default was `s,x,x', remove it if useless.
2679 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2680 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2682 # expand $ac_aux_dir to an absolute path
2683 am_aux_dir
=`cd $ac_aux_dir && pwd`
2685 if test x
"${MISSING+set}" != xset
; then
2688 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2690 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2693 # Use eval to expand $SHELL
2694 if eval "$MISSING --run true"; then
2695 am_missing_run
="$MISSING --run "
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2699 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2702 if test x
"${install_sh}" != xset
; then
2705 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2707 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2711 # Installed binaries are usually stripped using `strip' when the user
2712 # run `make install-strip'. However `strip' might not be the right
2713 # tool to use in cross-compilation environments, therefore Automake
2714 # will honor the `STRIP' environment variable to overrule this program.
2715 if test "$cross_compiling" != no
; then
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2718 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if test "${ac_cv_prog_STRIP+set}" = set; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$STRIP"; then
2725 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 STRIP
=$ac_cv_prog_STRIP
2745 if test -n "$STRIP"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2747 $as_echo "$STRIP" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_prog_STRIP"; then
2757 # Extract the first word of "strip", so it can be a program name with args.
2758 set dummy strip
; ac_word
=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$ac_ct_STRIP"; then
2765 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_ac_ct_STRIP
="strip"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2785 if test -n "$ac_ct_STRIP"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2787 $as_echo "$ac_ct_STRIP" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2793 if test "x$ac_ct_STRIP" = x
; then
2796 case $cross_compiling:$ac_tool_warned in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned
=yes ;;
2805 STRIP
="$ac_cv_prog_STRIP"
2809 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2812 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2813 if test -z "$MKDIR_P"; then
2814 if test "${ac_cv_path_mkdir+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_prog
in mkdir gmkdir
; do
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2825 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2826 'mkdir (GNU coreutils) '* | \
2827 'mkdir (coreutils) '* | \
2828 'mkdir (fileutils) '4.1*)
2829 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2839 if test "${ac_cv_path_mkdir+set}" = set; then
2840 MKDIR_P
="$ac_cv_path_mkdir -p"
2842 # As a last resort, use the slow shell script. Don't cache a
2843 # value for MKDIR_P within a source directory, because that will
2844 # break other packages using the cache if that directory is
2845 # removed, or if the value is a relative name.
2846 test -d .
/--version && rmdir .
/--version
2847 MKDIR_P
="$ac_install_sh -d"
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2851 $as_echo "$MKDIR_P" >&6; }
2855 [\\/$
]* | ?
:[\\/]*) ;;
2856 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2859 for ac_prog
in gawk mawk nawk
awk
2861 # Extract the first word of "$ac_prog", so it can be a program name with args.
2862 set dummy
$ac_prog; ac_word
=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_AWK+set}" = set; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$AWK"; then
2869 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878 ac_cv_prog_AWK
="$ac_prog"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test -n "$AWK"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2891 $as_echo "$AWK" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898 test -n "$AWK" && break
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2902 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2904 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2905 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2906 $as_echo_n "(cached) " >&6
2908 cat >conftest.
make <<\_ACEOF
2911 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2913 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2914 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2916 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2918 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2922 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2924 $as_echo "yes" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2929 SET_MAKE
="MAKE=${MAKE-make}"
2932 rm -rf .tst
2>/dev
/null
2933 mkdir .tst
2>/dev
/null
2934 if test -d .tst
; then
2939 rmdir .tst
2>/dev
/null
2941 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2942 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2943 # is not polluted with repeated "-I."
2944 am__isrc
=' -I$(srcdir)'
2945 # test to see if srcdir already configured
2946 if test -f $srcdir/config.status
; then
2947 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2951 # test whether we have cygpath
2952 if test -z "$CYGPATH_W"; then
2953 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2954 CYGPATH_W
='cygpath -w'
2961 # Define the identity of the package.
2966 cat >>confdefs.h
<<_ACEOF
2967 #define PACKAGE "$PACKAGE"
2971 cat >>confdefs.h
<<_ACEOF
2972 #define VERSION "$VERSION"
2975 # Some tools Automake needs.
2977 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2980 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2983 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2986 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2989 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2991 # We need awk for the "check" target. The system "awk" is bad on
2993 # Always define AMTAR for backward compatibility.
2995 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2997 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3003 # Default to --enable-multilib
3004 # Check whether --enable-multilib was given.
3005 if test "${enable_multilib+set}" = set; then :
3006 enableval
=$enable_multilib; case "$enableval" in
3007 yes) multilib
=yes ;;
3009 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3016 # We may get other options which we leave undocumented:
3017 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3018 # See config-ml.in if you want the gory details.
3020 if test "$srcdir" = "."; then
3021 if test "$with_target_subdir" != "."; then
3022 multi_basedir
="$srcdir/$with_multisrctop../.."
3024 multi_basedir
="$srcdir/$with_multisrctop.."
3027 multi_basedir
="$srcdir/.."
3031 # Even if the default multilib is not a cross compilation,
3032 # it may be that some of the other multilibs are.
3033 if test $cross_compiling = no
&& test $multilib = yes \
3034 && test "x${with_multisubdir}" != x
; then
3035 cross_compiling
=maybe
3038 ac_config_commands
="$ac_config_commands default-1"
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3042 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3043 # Check whether --enable-maintainer-mode was given.
3044 if test "${enable_maintainer_mode+set}" = set; then :
3045 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3047 USE_MAINTAINER_MODE
=no
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3051 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3052 if test $USE_MAINTAINER_MODE = yes; then
3053 MAINTAINER_MODE_TRUE
=
3054 MAINTAINER_MODE_FALSE
='#'
3056 MAINTAINER_MODE_TRUE
='#'
3057 MAINTAINER_MODE_FALSE
=
3060 MAINT
=$MAINTAINER_MODE_TRUE
3066 # These need to be absolute paths, yet at the same time need to
3067 # canonicalize only relative paths, because then amd will not unmount
3068 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
3069 libvtv_builddir
=`${PWDCMD-pwd}`
3071 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
3072 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
3074 toplevel_builddir
=${libvtv_builddir}/..
3075 toplevel_srcdir
=${libvtv_srcdir}/..
3082 # Calculate toolexeclibdir
3083 # Also toolexecdir, though it's only used in toolexeclibdir
3084 case ${version_specific_libs} in
3086 # Need the gcc compiler version to know where to install libraries
3087 # and header files if --enable-version-specific-runtime-libs option
3089 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3090 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3093 if test -n "$with_cross_host" &&
3094 test x
"$with_cross_host" != x
"no"; then
3095 # Install a library built with a cross compiler in tooldir, not libdir.
3096 toolexecdir
='$(exec_prefix)/$(target_alias)'
3097 toolexeclibdir
='$(toolexecdir)/lib'
3099 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3100 toolexeclibdir
='$(libdir)'
3102 multi_os_directory
=`$CC -print-multi-os-directory`
3103 case $multi_os_directory in
3104 .
) ;; # Avoid trailing /.
3105 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3112 DEPDIR
="${am__leading_dot}deps"
3114 ac_config_commands
="$ac_config_commands depfiles"
3117 am_make
=${MAKE-make}
3118 cat > confinc
<< 'END'
3120 @
echo this is the am__doit target
3123 # If we don't find an include directive, just comment out the code.
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3125 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3129 # First try GNU make style include.
3130 echo "include confinc" > confmf
3131 # Ignore all kinds of additional output from `make'.
3132 case `$am_make -s -f confmf 2> /dev/null` in #(
3133 *the\ am__doit\ target
*)
3139 # Now try BSD make style include.
3140 if test "$am__include" = "#"; then
3141 echo '.include "confinc"' > confmf
3142 case `$am_make -s -f confmf 2> /dev/null` in #(
3143 *the\ am__doit\ target
*)
3144 am__include
=.include
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3153 $as_echo "$_am_result" >&6; }
3154 rm -f confinc confmf
3156 # Check whether --enable-dependency-tracking was given.
3157 if test "${enable_dependency_tracking+set}" = set; then :
3158 enableval
=$enable_dependency_tracking;
3161 if test "x$enable_dependency_tracking" != xno
; then
3162 am_depcomp
="$ac_aux_dir/depcomp"
3165 if test "x$enable_dependency_tracking" != xno; then
3175 ac_cpp
='$CPP $CPPFLAGS'
3176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3179 if test -n "$ac_tool_prefix"; then
3180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3181 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_CC+set}" = set; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$CC"; then
3188 ac_cv_prog_CC
="$CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 if test -n "$CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3210 $as_echo "$CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3218 if test -z "$ac_cv_prog_CC"; then
3220 # Extract the first word of "gcc", so it can be a program name with args.
3221 set dummy gcc
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$ac_ct_CC"; then
3228 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_ac_ct_CC
="gcc"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3248 if test -n "$ac_ct_CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3250 $as_echo "$ac_ct_CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3256 if test "x$ac_ct_CC" = x
; then
3259 case $cross_compiling:$ac_tool_warned in
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263 ac_tool_warned
=yes ;;
3271 if test -z "$CC"; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3274 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_CC+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC
="$CC" # Let the user override the test.
3283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir
=.
3288 for ac_exec_ext
in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 if test -n "$CC"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3303 $as_echo "$CC" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3312 if test -z "$CC"; then
3313 # Extract the first word of "cc", so it can be a program name with args.
3314 set dummy cc
; ac_word
=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_CC+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3320 if test -n "$CC"; then
3321 ac_cv_prog_CC
="$CC" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3332 ac_prog_rejected
=yes
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 if test $ac_prog_rejected = yes; then
3344 # We found a bogon in the path, so make sure we never use it.
3345 set dummy
$ac_cv_prog_CC
3347 if test $# != 0; then
3348 # We chose a different compiler from the bogus one.
3349 # However, it has the same basename, so the bogon will be chosen
3350 # first if we set CC to just the basename; use the full file name.
3352 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3358 if test -n "$CC"; then
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3360 $as_echo "$CC" >&6; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363 $as_echo "no" >&6; }
3368 if test -z "$CC"; then
3369 if test -n "$ac_tool_prefix"; then
3370 for ac_prog
in cl.exe
3372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3373 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if test "${ac_cv_prog_CC+set}" = set; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -n "$CC"; then
3380 ac_cv_prog_CC
="$CC" # Let the user override the test.
3382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir
=.
3387 for ac_exec_ext
in '' $ac_executable_extensions; do
3388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3389 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 if test -n "$CC"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402 $as_echo "$CC" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3409 test -n "$CC" && break
3412 if test -z "$CC"; then
3414 for ac_prog
in cl.exe
3416 # Extract the first word of "$ac_prog", so it can be a program name with args.
3417 set dummy
$ac_prog; ac_word
=$2
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3421 $as_echo_n "(cached) " >&6
3423 if test -n "$ac_ct_CC"; then
3424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir
=.
3431 for ac_exec_ext
in '' $ac_executable_extensions; do
3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433 ac_cv_prog_ac_ct_CC
="$ac_prog"
3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3444 if test -n "$ac_ct_CC"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3446 $as_echo "$ac_ct_CC" >&6; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3453 test -n "$ac_ct_CC" && break
3456 if test "x$ac_ct_CC" = x
; then
3459 case $cross_compiling:$ac_tool_warned in
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3463 ac_tool_warned
=yes ;;
3472 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 as_fn_error
"no acceptable C compiler found in \$PATH
3475 See \`config.log' for more details." "$LINENO" 5; }
3477 # Provide some information about the compiler.
3478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3481 for ac_option
in --version -v -V -qversion; do
3482 { { ac_try
="$ac_compiler $ac_option >&5"
3484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3491 if test -s conftest.err; then
3493 ... rest of stderr output deleted ...
3494 10q' conftest.err >conftest.er1
3495 cat conftest.er1 >&5
3496 rm -f conftest.er1 conftest.err
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3513 ac_clean_files_save=$ac_clean_files
3514 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3515 # Try to create an executable without -o first, disregard a.out.
3516 # It will help us diagnose broken compilers, and finding out an intuition
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3519 $as_echo_n "checking for C compiler default output file name... " >&6; }
3520 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3522 # The possible output files:
3523 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3526 for ac_file in $ac_files
3529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3530 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3535 if { { ac_try="$ac_link_default"
3537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3538 *) ac_try_echo
=$ac_try;;
3540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541 $as_echo "$ac_try_echo"; } >&5
3542 (eval "$ac_link_default") 2>&5
3544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545 test $ac_status = 0; }; then :
3546 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3547 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3548 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3549 # so that the user can short-circuit this test for compilers unknown to
3551 for ac_file
in $ac_files ''
3553 test -f "$ac_file" ||
continue
3555 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3558 # We found the default executable, but exeext='' is most
3562 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3564 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3566 # We set ac_cv_exeext here because the later test for it is not
3567 # safe: cross compilers may not add the suffix if given an `-o'
3568 # argument, so we may need to know it at that point already.
3569 # Even if this section looks crufty: it has the advantage of
3576 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3582 $as_echo "$ac_file" >&6; }
3583 if test -z "$ac_file"; then :
3584 $as_echo "$as_me: failed program was:" >&5
3585 sed 's/^/| /' conftest.
$ac_ext >&5
3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 { as_fn_set_status
77
3590 as_fn_error
"C compiler cannot create executables
3591 See \`config.log' for more details." "$LINENO" 5; }; }
3593 ac_exeext
=$ac_cv_exeext
3595 # Check that the compiler produces executables we can run. If not, either
3596 # the compiler is broken, or we cross compile.
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 # If not cross compiling, check that we can run a simple program.
3600 if test "$cross_compiling" != yes; then
3601 if { ac_try
='./$ac_file'
3602 { { case "(($ac_try" in
3603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607 $as_echo "$ac_try_echo"; } >&5
3608 (eval "$ac_try") 2>&5
3610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3611 test $ac_status = 0; }; }; then
3614 if test "$cross_compiling" = maybe; then
3617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 as_fn_error "cannot run C compiled programs.
3620 If you meant to cross compile
, use \
`--host'.
3621 See \`config.log
' for more details." "$LINENO" 5; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3626 $as_echo "yes" >&6; }
3628 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3629 ac_clean_files=$ac_clean_files_save
3630 # Check that the compiler produces executables we can run. If not, either
3631 # the compiler is broken, or we cross compile.
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3633 $as_echo_n "checking whether we are cross compiling... " >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3635 $as_echo "$cross_compiling" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3638 $as_echo_n "checking for suffix of executables... " >&6; }
3639 if { { ac_try="$ac_link"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_link") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3649 test $ac_status = 0; }; then :
3650 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3651 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3652 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3654 for ac_file
in conftest.exe conftest conftest.
*; do
3655 test -f "$ac_file" ||
continue
3657 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3658 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3667 See \`config.log' for more details." "$LINENO" 5; }
3669 rm -f conftest
$ac_cv_exeext
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3671 $as_echo "$ac_cv_exeext" >&6; }
3673 rm -f conftest.
$ac_ext
3674 EXEEXT
=$ac_cv_exeext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if test "${ac_cv_objext+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try
="$ac_compile"
3695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_compile") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 for ac_file in conftest.o conftest.obj conftest.*; do
3705 test -f "$ac_file" || continue;
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error "cannot compute suffix of object files
: cannot compile
3719 See \
`config.log' for more details." "$LINENO" 5; }
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3729 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CFLAGS=${CFLAGS+set}
3763 ac_save_CFLAGS=$CFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3766 if test "${ac_cv_prog_cc_g+set}" = set; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_c_werror_flag=$ac_c_werror_flag
3770 ac_c_werror_flag=yes
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_c_werror_flag=$ac_save_c_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3826 $as_echo "$ac_cv_prog_cc_g" >&6; }
3827 if test "$ac_test_CFLAGS" = set; then
3828 CFLAGS=$ac_save_CFLAGS
3829 elif test $ac_cv_prog_cc_g = yes; then
3830 if test "$GCC" = yes; then
3836 if test "$GCC" = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3844 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_cv_prog_cc_c89=no
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3853 #include <sys/types.h>
3854 #include <sys/stat.h>
3855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3856 struct buf { int x; };
3857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3858 static char *e (p, i)
3864 static char *f (char * (*g) (char **, int), char **p, ...)
3869 s = g (p, va_arg (v,int));
3874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3875 function prototypes and stuff, but not '\xHH' hex character constants.
3876 These don't provoke an error unfortunately, instead are silently treated
3877 as 'x'. The following induces an error, until -std is added to get
3878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3879 array size at least. It's necessary to write '\x00'==0 to get something
3880 that's true only with -std. */
3881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3884 inside strings and character constants. */
3886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3888 int test (int i, double x);
3889 struct s1 {int (*f) (int a);};
3890 struct s2 {int (*f) (double a);};
3891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3905 CC="$ac_save_CC $ac_arg"
3906 if ac_fn_c_try_compile "$LINENO"; then :
3907 ac_cv_prog_cc_c89=$ac_arg
3909 rm -f core conftest.err conftest.$ac_objext
3910 test "x$ac_cv_prog_cc_c89" != "xno" && break
3912 rm -f conftest.$ac_ext
3917 case "x$ac_cv_prog_cc_c89" in
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3920 $as_echo "none needed" >&6; } ;;
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3923 $as_echo "unsupported" >&6; } ;;
3925 CC="$CC $ac_cv_prog_cc_c89"
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3929 if test "x$ac_cv_prog_cc_c89" != xno; then :
3934 ac_cpp='$CPP $CPPFLAGS'
3935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939 depcc="$CC" am_compiler_list=
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3942 $as_echo_n "checking dependency style of $depcc... " >&6; }
3943 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3947 # We make a subdir and do the tests there. Otherwise we can end up
3948 # making bogus files that we don't know about and never remove. For
3949 # instance it was reported that on HP-UX the gcc test will end up
3950 # making a dummy file named `D
' -- because `-MD' means
`put the output
3953 # Copy depcomp to subdir because otherwise we won't find it if we're
3954 # using a relative directory.
3955 cp "$am_depcomp" conftest.dir
3957 # We will build objects and dependencies in a subdirectory because
3958 # it helps to detect inapplicable dependency modes. For instance
3959 # both Tru64's cc and ICC support -MD to output dependencies as a
3960 # side effect of compilation, but ICC will put the dependencies in
3961 # the current directory while Tru64 will put them in the object
3965 am_cv_CC_dependencies_compiler_type=none
3966 if test "$am_compiler_list" = ""; then
3967 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3970 case " $depcc " in #(
3971 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3974 for depmode in $am_compiler_list; do
3975 # Setup a source with many dependencies, because some compilers
3976 # like to wrap large dependency lists on column 80 (with \), and
3977 # we should not choose a depcomp mode which is confused by this.
3979 # We need to recreate these files for each test, as the compiler may
3980 # overwrite some of them when testing with obscure command lines.
3981 # This happens at least with the AIX C compiler.
3983 for i in 1 2 3 4 5 6; do
3984 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3985 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3986 # Solaris 8's
{/usr
,}/bin
/sh.
3987 touch sub
/conftst
$i.h
3989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3992 # mode. It turns out that the SunPro C++ compiler does not properly
3993 # handle `-M -o', and we need to detect this. Also, some Intel
3994 # versions had trouble with output in subdirs
3995 am__obj
=sub
/conftest.
${OBJEXT-o}
3996 am__minus_obj
="-o $am__obj"
3999 # This depmode causes a compiler race in universal mode.
4000 test "$am__universal" = false ||
continue
4003 # after this tag, mechanisms are not by side-effect, so they'll
4004 # only be used when explicitly requested
4005 if test "x$enable_dependency_tracking" = xyes
; then
4011 msvisualcpp | msvcmsys
)
4012 # This compiler won't grok `-c -o', but also, the minuso test has
4013 # not run yet. These depmodes are late enough in the game, and
4014 # so weak that their functioning should not be impacted.
4015 am__obj
=conftest.
${OBJEXT-o}
4020 if depmode
=$depmode \
4021 source=sub
/conftest.c object
=$am__obj \
4022 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4023 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4024 >/dev
/null
2>conftest.err
&&
4025 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4026 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4027 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4028 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4029 # icc doesn't choke on unknown options, it will just issue warnings
4030 # or remarks (even with -Werror). So we grep stderr for any message
4031 # that says an option was ignored or not supported.
4032 # When given -MP, icc 7.0 and 7.1 complain thusly:
4033 # icc: Command line warning: ignoring option '-M'; no argument required
4034 # The diagnosis changed in icc 8.0:
4035 # icc: Command line remark: option '-MP' not supported
4036 if (grep 'ignoring option' conftest.err ||
4037 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4038 am_cv_CC_dependencies_compiler_type
=$depmode
4047 am_cv_CC_dependencies_compiler_type
=none
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4052 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4053 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4056 test "x$enable_dependency_tracking" != xno \
4057 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4059 am__fastdepCC_FALSE
='#'
4061 am__fastdepCC_TRUE
='#'
4062 am__fastdepCC_FALSE
=
4068 ac_cpp
='$CPP $CPPFLAGS'
4069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4073 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4074 # On Suns, sometimes $CPP names a directory.
4075 if test -n "$CPP" && test -d "$CPP"; then
4078 if test -z "$CPP"; then
4079 if test "${ac_cv_prog_CPP+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 # Double quotes because CPP needs to be expanded
4083 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4086 for ac_c_preproc_warn_flag
in '' yes
4088 # Use a header file that comes with gcc, so configuring glibc
4089 # with a fresh cross-compiler works.
4090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4091 # <limits.h> exists even on freestanding compilers.
4092 # On the NeXT, cc -E runs the code through the compiler's parser,
4093 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4097 # include <limits.h>
4099 # include <assert.h>
4103 if ac_fn_c_try_cpp
"$LINENO"; then :
4106 # Broken: fails on valid input.
4109 rm -f conftest.err conftest.
$ac_ext
4111 # OK, works on sane cases. Now check whether nonexistent headers
4112 # can be detected and how.
4113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4115 #include <ac_nonexistent.h>
4117 if ac_fn_c_try_cpp
"$LINENO"; then :
4118 # Broken: success on invalid input.
4121 # Passes both tests.
4125 rm -f conftest.err conftest.
$ac_ext
4128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4129 rm -f conftest.err conftest.
$ac_ext
4130 if $ac_preproc_ok; then :
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4143 $as_echo "$CPP" >&6; }
4145 for ac_c_preproc_warn_flag
in '' yes
4147 # Use a header file that comes with gcc, so configuring glibc
4148 # with a fresh cross-compiler works.
4149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 # <limits.h> exists even on freestanding compilers.
4151 # On the NeXT, cc -E runs the code through the compiler's parser,
4152 # not just through cpp. "Syntax error" is here to catch this case.
4153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4156 # include <limits.h>
4158 # include <assert.h>
4162 if ac_fn_c_try_cpp
"$LINENO"; then :
4165 # Broken: fails on valid input.
4168 rm -f conftest.err conftest.
$ac_ext
4170 # OK, works on sane cases. Now check whether nonexistent headers
4171 # can be detected and how.
4172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174 #include <ac_nonexistent.h>
4176 if ac_fn_c_try_cpp
"$LINENO"; then :
4177 # Broken: success on invalid input.
4180 # Passes both tests.
4184 rm -f conftest.err conftest.
$ac_ext
4187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4188 rm -f conftest.err conftest.
$ac_ext
4189 if $ac_preproc_ok; then :
4192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4195 See \`config.log' for more details." "$LINENO" 5; }
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4206 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4207 if test "${ac_cv_path_GREP+set}" = set; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -z "$GREP"; then
4211 ac_path_GREP_found
=false
4212 # Loop through the user's path and test for each of PROGNAME-LIST
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4214 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_prog
in grep ggrep
; do
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4221 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4222 # Check for GNU ac_path_GREP and select it if it is found.
4223 # Check for GNU $ac_path_GREP
4224 case `"$ac_path_GREP" --version 2>&1` in
4226 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4229 $as_echo_n 0123456789 >"conftest.in"
4232 cat "conftest.in" "conftest.in" >"conftest.tmp"
4233 mv "conftest.tmp" "conftest.in"
4234 cp "conftest.in" "conftest.nl"
4235 $as_echo 'GREP' >> "conftest.nl"
4236 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4237 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4238 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4239 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4240 # Best one so far, save it but keep looking for a better one
4241 ac_cv_path_GREP
="$ac_path_GREP"
4242 ac_path_GREP_max
=$ac_count
4244 # 10*(2^10) chars as input seems more than enough
4245 test $ac_count -gt 10 && break
4247 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4250 $ac_path_GREP_found && break 3
4255 if test -z "$ac_cv_path_GREP"; then
4256 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4259 ac_cv_path_GREP
=$GREP
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4264 $as_echo "$ac_cv_path_GREP" >&6; }
4265 GREP
="$ac_cv_path_GREP"
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4269 $as_echo_n "checking for egrep... " >&6; }
4270 if test "${ac_cv_path_EGREP+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4273 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4274 then ac_cv_path_EGREP
="$GREP -E"
4276 if test -z "$EGREP"; then
4277 ac_path_EGREP_found
=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_prog
in egrep; do
4285 for ac_exec_ext
in '' $ac_executable_extensions; do
4286 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4287 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4288 # Check for GNU ac_path_EGREP and select it if it is found.
4289 # Check for GNU $ac_path_EGREP
4290 case `"$ac_path_EGREP" --version 2>&1` in
4292 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4295 $as_echo_n 0123456789 >"conftest.in"
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo 'EGREP' >> "conftest.nl"
4302 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4303 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4304 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4305 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_EGREP
="$ac_path_EGREP"
4308 ac_path_EGREP_max
=$ac_count
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4313 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4316 $ac_path_EGREP_found && break 3
4321 if test -z "$ac_cv_path_EGREP"; then
4322 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4325 ac_cv_path_EGREP
=$EGREP
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4331 $as_echo "$ac_cv_path_EGREP" >&6; }
4332 EGREP
="$ac_cv_path_EGREP"
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4336 $as_echo_n "checking for ANSI C header files... " >&6; }
4337 if test "${ac_cv_header_stdc+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4355 if ac_fn_c_try_compile
"$LINENO"; then :
4356 ac_cv_header_stdc
=yes
4358 ac_cv_header_stdc
=no
4360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4362 if test $ac_cv_header_stdc = yes; then
4363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4370 $EGREP "memchr" >/dev
/null
2>&1; then :
4373 ac_cv_header_stdc
=no
4379 if test $ac_cv_header_stdc = yes; then
4380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4387 $EGREP "free" >/dev
/null
2>&1; then :
4390 ac_cv_header_stdc
=no
4396 if test $ac_cv_header_stdc = yes; then
4397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4398 if test "$cross_compiling" = yes; then :
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4405 #if ((' ' & 0x0FF) == 0x020)
4406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4409 # define ISLOWER(c) \
4410 (('a' <= (c) && (c) <= 'i') \
4411 || ('j' <= (c) && (c) <= 'r') \
4412 || ('s' <= (c) && (c) <= 'z'))
4413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4421 for (i = 0; i < 256; i++)
4422 if (XOR (islower (i), ISLOWER (i))
4423 || toupper (i) != TOUPPER (i))
4428 if ac_fn_c_try_run
"$LINENO"; then :
4431 ac_cv_header_stdc
=no
4433 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4434 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4440 $as_echo "$ac_cv_header_stdc" >&6; }
4441 if test $ac_cv_header_stdc = yes; then
4443 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4447 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4448 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4449 inttypes.h stdint.h unistd.h
4451 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4452 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4454 eval as_val
=\$
$as_ac_Header
4455 if test "x$as_val" = x
""yes; then :
4456 cat >>confdefs.h
<<_ACEOF
4457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4466 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4467 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4474 if test "$MINIX" = yes; then
4476 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4479 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4482 $as_echo "#define _MINIX 1" >>confdefs.h
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4488 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4489 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4495 # define __EXTENSIONS__ 1
4496 $ac_includes_default
4505 if ac_fn_c_try_compile
"$LINENO"; then :
4506 ac_cv_safe_to_define___extensions__
=yes
4508 ac_cv_safe_to_define___extensions__
=no
4510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4513 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4514 test $ac_cv_safe_to_define___extensions__ = yes &&
4515 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4517 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4519 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4521 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4523 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4527 for ac_func
in __secure_getenv
4529 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4530 if test "x$ac_cv_func___secure_getenv" = x
""yes; then :
4531 cat >>confdefs.h
<<_ACEOF
4532 #define HAVE___SECURE_GETENV 1
4540 for ac_func
in secure_getenv
4542 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4543 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4544 cat >>confdefs.h
<<_ACEOF
4545 #define HAVE_SECURE_GETENV 1
4552 # Check for programs.
4556 ac_cpp
='$CPP $CPPFLAGS'
4557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4560 if test -n "$ac_tool_prefix"; then
4561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4562 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if test "${ac_cv_prog_CC+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$CC"; then
4569 ac_cv_prog_CC
="$CC" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 if test -n "$CC"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4591 $as_echo "$CC" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4599 if test -z "$ac_cv_prog_CC"; then
4601 # Extract the first word of "gcc", so it can be a program name with args.
4602 set dummy gcc
; ac_word
=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$ac_ct_CC"; then
4609 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_ac_ct_CC
="gcc"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4629 if test -n "$ac_ct_CC"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4631 $as_echo "$ac_ct_CC" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4637 if test "x$ac_ct_CC" = x
; then
4640 case $cross_compiling:$ac_tool_warned in
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned
=yes ;;
4652 if test -z "$CC"; then
4653 if test -n "$ac_tool_prefix"; then
4654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if test "${ac_cv_prog_CC+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$CC"; then
4662 ac_cv_prog_CC
="$CC" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 if test -n "$CC"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4684 $as_echo "$CC" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4693 if test -z "$CC"; then
4694 # Extract the first word of "cc", so it can be a program name with args.
4695 set dummy cc
; ac_word
=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if test "${ac_cv_prog_CC+set}" = set; then :
4699 $as_echo_n "(cached) " >&6
4701 if test -n "$CC"; then
4702 ac_cv_prog_CC
="$CC" # Let the user override the test.
4705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir
=.
4710 for ac_exec_ext
in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4713 ac_prog_rejected
=yes
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 if test $ac_prog_rejected = yes; then
4725 # We found a bogon in the path, so make sure we never use it.
4726 set dummy
$ac_cv_prog_CC
4728 if test $# != 0; then
4729 # We chose a different compiler from the bogus one.
4730 # However, it has the same basename, so the bogon will be chosen
4731 # first if we set CC to just the basename; use the full file name.
4733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4739 if test -n "$CC"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 $as_echo "$CC" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4749 if test -z "$CC"; then
4750 if test -n "$ac_tool_prefix"; then
4751 for ac_prog
in cl.exe
4753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if test "${ac_cv_prog_CC+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC
="$CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$CC"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4783 $as_echo "$CC" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$CC" && break
4793 if test -z "$CC"; then
4795 for ac_prog
in cl.exe
4797 # Extract the first word of "$ac_prog", so it can be a program name with args.
4798 set dummy
$ac_prog; ac_word
=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4802 $as_echo_n "(cached) " >&6
4804 if test -n "$ac_ct_CC"; then
4805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir
=.
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_prog_ac_ct_CC
="$ac_prog"
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4825 if test -n "$ac_ct_CC"; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4827 $as_echo "$ac_ct_CC" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4834 test -n "$ac_ct_CC" && break
4837 if test "x$ac_ct_CC" = x
; then
4840 case $cross_compiling:$ac_tool_warned in
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4844 ac_tool_warned
=yes ;;
4853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error
"no acceptable C compiler found in \$PATH
4856 See \`config.log' for more details." "$LINENO" 5; }
4858 # Provide some information about the compiler.
4859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4862 for ac_option
in --version -v -V -qversion; do
4863 { { ac_try
="$ac_compiler $ac_option >&5"
4865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4866 *) ac_try_echo=$ac_try;;
4868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4869 $as_echo "$ac_try_echo"; } >&5
4870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4872 if test -s conftest.err; then
4874 ... rest of stderr output deleted ...
4875 10q' conftest.err >conftest.er1
4876 cat conftest.er1 >&5
4877 rm -f conftest.er1 conftest.err
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4884 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4885 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4902 if ac_fn_c_try_compile "$LINENO"; then :
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4912 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4913 if test $ac_compiler_gnu = yes; then
4918 ac_test_CFLAGS=${CFLAGS+set}
4919 ac_save_CFLAGS=$CFLAGS
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4921 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4922 if test "${ac_cv_prog_cc_g+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 ac_save_c_werror_flag=$ac_c_werror_flag
4926 ac_c_werror_flag=yes
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4940 if ac_fn_c_try_compile "$LINENO"; then :
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4955 if ac_fn_c_try_compile "$LINENO"; then :
4958 ac_c_werror_flag=$ac_save_c_werror_flag
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4971 if ac_fn_c_try_compile "$LINENO"; then :
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 ac_c_werror_flag=$ac_save_c_werror_flag
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4982 $as_echo "$ac_cv_prog_cc_g" >&6; }
4983 if test "$ac_test_CFLAGS" = set; then
4984 CFLAGS=$ac_save_CFLAGS
4985 elif test $ac_cv_prog_cc_g = yes; then
4986 if test "$GCC" = yes; then
4992 if test "$GCC" = yes; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4999 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5000 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5003 ac_cv_prog_cc_c89=no
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5009 #include <sys/types.h>
5010 #include <sys/stat.h>
5011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5012 struct buf { int x; };
5013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5014 static char *e (p, i)
5020 static char *f (char * (*g) (char **, int), char **p, ...)
5025 s = g (p, va_arg (v,int));
5030 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5031 function prototypes and stuff, but not '\xHH' hex character constants.
5032 These don't provoke an error unfortunately, instead are silently treated
5033 as 'x'. The following induces an error, until -std is added to get
5034 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5035 array size at least. It's necessary to write '\x00'==0 to get something
5036 that's true only with -std. */
5037 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5039 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5040 inside strings and character constants. */
5042 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5044 int test (int i, double x);
5045 struct s1 {int (*f) (int a);};
5046 struct s2 {int (*f) (double a);};
5047 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5053 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5058 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5059 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5061 CC="$ac_save_CC $ac_arg"
5062 if ac_fn_c_try_compile "$LINENO"; then :
5063 ac_cv_prog_cc_c89=$ac_arg
5065 rm -f core conftest.err conftest.$ac_objext
5066 test "x$ac_cv_prog_cc_c89" != "xno" && break
5068 rm -f conftest.$ac_ext
5073 case "x$ac_cv_prog_cc_c89" in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5076 $as_echo "none needed" >&6; } ;;
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5079 $as_echo "unsupported" >&6; } ;;
5081 CC="$CC $ac_cv_prog_cc_c89"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5083 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5085 if test "x$ac_cv_prog_cc_c89" != xno; then :
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5095 depcc="$CC" am_compiler_list=
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5098 $as_echo_n "checking dependency style of $depcc... " >&6; }
5099 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5103 # We make a subdir and do the tests there. Otherwise we can end up
5104 # making bogus files that we don't know about and never remove. For
5105 # instance it was reported that on HP-UX the gcc test will end up
5106 # making a dummy file named `D
' -- because `-MD' means
`put the output
5109 # Copy depcomp to subdir because otherwise we won't find it if we're
5110 # using a relative directory.
5111 cp "$am_depcomp" conftest.dir
5113 # We will build objects and dependencies in a subdirectory because
5114 # it helps to detect inapplicable dependency modes. For instance
5115 # both Tru64's cc and ICC support -MD to output dependencies as a
5116 # side effect of compilation, but ICC will put the dependencies in
5117 # the current directory while Tru64 will put them in the object
5121 am_cv_CC_dependencies_compiler_type=none
5122 if test "$am_compiler_list" = ""; then
5123 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5126 case " $depcc " in #(
5127 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5130 for depmode in $am_compiler_list; do
5131 # Setup a source with many dependencies, because some compilers
5132 # like to wrap large dependency lists on column 80 (with \), and
5133 # we should not choose a depcomp mode which is confused by this.
5135 # We need to recreate these files for each test, as the compiler may
5136 # overwrite some of them when testing with obscure command lines.
5137 # This happens at least with the AIX C compiler.
5139 for i in 1 2 3 4 5 6; do
5140 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5141 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5142 # Solaris 8's
{/usr
,}/bin
/sh.
5143 touch sub
/conftst
$i.h
5145 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5147 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5148 # mode. It turns out that the SunPro C++ compiler does not properly
5149 # handle `-M -o', and we need to detect this. Also, some Intel
5150 # versions had trouble with output in subdirs
5151 am__obj
=sub
/conftest.
${OBJEXT-o}
5152 am__minus_obj
="-o $am__obj"
5155 # This depmode causes a compiler race in universal mode.
5156 test "$am__universal" = false ||
continue
5159 # after this tag, mechanisms are not by side-effect, so they'll
5160 # only be used when explicitly requested
5161 if test "x$enable_dependency_tracking" = xyes
; then
5167 msvisualcpp | msvcmsys
)
5168 # This compiler won't grok `-c -o', but also, the minuso test has
5169 # not run yet. These depmodes are late enough in the game, and
5170 # so weak that their functioning should not be impacted.
5171 am__obj
=conftest.
${OBJEXT-o}
5176 if depmode
=$depmode \
5177 source=sub
/conftest.c object
=$am__obj \
5178 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5179 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5180 >/dev
/null
2>conftest.err
&&
5181 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5183 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5184 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5185 # icc doesn't choke on unknown options, it will just issue warnings
5186 # or remarks (even with -Werror). So we grep stderr for any message
5187 # that says an option was ignored or not supported.
5188 # When given -MP, icc 7.0 and 7.1 complain thusly:
5189 # icc: Command line warning: ignoring option '-M'; no argument required
5190 # The diagnosis changed in icc 8.0:
5191 # icc: Command line remark: option '-MP' not supported
5192 if (grep 'ignoring option' conftest.err ||
5193 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5194 am_cv_CC_dependencies_compiler_type
=$depmode
5203 am_cv_CC_dependencies_compiler_type
=none
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5208 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5209 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5212 test "x$enable_dependency_tracking" != xno \
5213 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5215 am__fastdepCC_FALSE
='#'
5217 am__fastdepCC_TRUE
='#'
5218 am__fastdepCC_FALSE
=
5223 ac_cpp
='$CXXCPP $CPPFLAGS'
5224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5227 if test -z "$CXX"; then
5228 if test -n "$CCC"; then
5231 if test -n "$ac_tool_prefix"; then
5232 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5235 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if test "${ac_cv_prog_CXX+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$CXX"; then
5242 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5251 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 if test -n "$CXX"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5264 $as_echo "$CXX" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 test -n "$CXX" && break
5274 if test -z "$CXX"; then
5276 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy
$ac_prog; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$ac_ct_CXX"; then
5286 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5306 if test -n "$ac_ct_CXX"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5308 $as_echo "$ac_ct_CXX" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 test -n "$ac_ct_CXX" && break
5318 if test "x$ac_ct_CXX" = x
; then
5321 case $cross_compiling:$ac_tool_warned in
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5325 ac_tool_warned
=yes ;;
5333 # Provide some information about the compiler.
5334 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5337 for ac_option
in --version -v -V -qversion; do
5338 { { ac_try
="$ac_compiler $ac_option >&5"
5340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5344 $as_echo "$ac_try_echo"; } >&5
5345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5347 if test -s conftest.err; then
5349 ... rest of stderr output deleted ...
5350 10q' conftest.err >conftest.er1
5351 cat conftest.er1 >&5
5352 rm -f conftest.er1 conftest.err
5354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5355 test $ac_status = 0; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5359 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5360 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5377 if ac_fn_cxx_try_compile "$LINENO"; then :
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5387 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5388 if test $ac_compiler_gnu = yes; then
5393 ac_test_CXXFLAGS=${CXXFLAGS+set}
5394 ac_save_CXXFLAGS=$CXXFLAGS
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5396 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5397 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5398 $as_echo_n "(cached) " >&6
5400 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5401 ac_cxx_werror_flag=yes
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5415 if ac_fn_cxx_try_compile "$LINENO"; then :
5416 ac_cv_prog_cxx_g=yes
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5430 if ac_fn_cxx_try_compile "$LINENO"; then :
5433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5446 if ac_fn_cxx_try_compile "$LINENO"; then :
5447 ac_cv_prog_cxx_g=yes
5449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5457 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5458 if test "$ac_test_CXXFLAGS" = set; then
5459 CXXFLAGS=$ac_save_CXXFLAGS
5460 elif test $ac_cv_prog_cxx_g = yes; then
5461 if test "$GXX" = yes; then
5467 if test "$GXX" = yes; then
5474 ac_cpp='$CPP $CPPFLAGS'
5475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5479 depcc="$CXX" am_compiler_list=
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5482 $as_echo_n "checking dependency style of $depcc... " >&6; }
5483 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5487 # We make a subdir and do the tests there. Otherwise we can end up
5488 # making bogus files that we don't know about and never remove. For
5489 # instance it was reported that on HP-UX the gcc test will end up
5490 # making a dummy file named `D
' -- because `-MD' means
`put the output
5493 # Copy depcomp to subdir because otherwise we won't find it if we're
5494 # using a relative directory.
5495 cp "$am_depcomp" conftest.dir
5497 # We will build objects and dependencies in a subdirectory because
5498 # it helps to detect inapplicable dependency modes. For instance
5499 # both Tru64's cc and ICC support -MD to output dependencies as a
5500 # side effect of compilation, but ICC will put the dependencies in
5501 # the current directory while Tru64 will put them in the object
5505 am_cv_CXX_dependencies_compiler_type=none
5506 if test "$am_compiler_list" = ""; then
5507 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5510 case " $depcc " in #(
5511 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5514 for depmode in $am_compiler_list; do
5515 # Setup a source with many dependencies, because some compilers
5516 # like to wrap large dependency lists on column 80 (with \), and
5517 # we should not choose a depcomp mode which is confused by this.
5519 # We need to recreate these files for each test, as the compiler may
5520 # overwrite some of them when testing with obscure command lines.
5521 # This happens at least with the AIX C compiler.
5523 for i in 1 2 3 4 5 6; do
5524 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5525 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5526 # Solaris 8's
{/usr
,}/bin
/sh.
5527 touch sub
/conftst
$i.h
5529 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5531 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5532 # mode. It turns out that the SunPro C++ compiler does not properly
5533 # handle `-M -o', and we need to detect this. Also, some Intel
5534 # versions had trouble with output in subdirs
5535 am__obj
=sub
/conftest.
${OBJEXT-o}
5536 am__minus_obj
="-o $am__obj"
5539 # This depmode causes a compiler race in universal mode.
5540 test "$am__universal" = false ||
continue
5543 # after this tag, mechanisms are not by side-effect, so they'll
5544 # only be used when explicitly requested
5545 if test "x$enable_dependency_tracking" = xyes
; then
5551 msvisualcpp | msvcmsys
)
5552 # This compiler won't grok `-c -o', but also, the minuso test has
5553 # not run yet. These depmodes are late enough in the game, and
5554 # so weak that their functioning should not be impacted.
5555 am__obj
=conftest.
${OBJEXT-o}
5560 if depmode
=$depmode \
5561 source=sub
/conftest.c object
=$am__obj \
5562 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5563 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5564 >/dev
/null
2>conftest.err
&&
5565 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5566 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5567 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5568 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5569 # icc doesn't choke on unknown options, it will just issue warnings
5570 # or remarks (even with -Werror). So we grep stderr for any message
5571 # that says an option was ignored or not supported.
5572 # When given -MP, icc 7.0 and 7.1 complain thusly:
5573 # icc: Command line warning: ignoring option '-M'; no argument required
5574 # The diagnosis changed in icc 8.0:
5575 # icc: Command line remark: option '-MP' not supported
5576 if (grep 'ignoring option' conftest.err ||
5577 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5578 am_cv_CXX_dependencies_compiler_type
=$depmode
5587 am_cv_CXX_dependencies_compiler_type
=none
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5592 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5593 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5596 test "x$enable_dependency_tracking" != xno \
5597 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5598 am__fastdepCXX_TRUE
=
5599 am__fastdepCXX_FALSE
='#'
5601 am__fastdepCXX_TRUE
='#'
5602 am__fastdepCXX_FALSE
=
5608 if test "x$CC" != xcc
; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5610 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5613 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5615 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5616 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5617 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5618 $as_echo_n "(cached) " >&6
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5631 # Make sure it works both with $CC and with simple cc.
5632 # We do the test twice because some compilers refuse to overwrite an
5633 # existing .o file with -o, though they will create one.
5634 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5636 if { { case "(($ac_try" in
5637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5638 *) ac_try_echo=$ac_try;;
5640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5641 $as_echo "$ac_try_echo"; } >&5
5642 (eval "$ac_try") 2>&5
5644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5645 test $ac_status = 0; } &&
5646 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5648 *) ac_try_echo
=$ac_try;;
5650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5651 $as_echo "$ac_try_echo"; } >&5
5652 (eval "$ac_try") 2>&5
5654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5655 test $ac_status = 0; };
5657 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5658 if test "x$CC" != xcc
; then
5659 # Test first that cc exists at all.
5660 if { ac_try
='cc -c conftest.$ac_ext >&5'
5661 { { case "(($ac_try" in
5662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5666 $as_echo "$ac_try_echo"; } >&5
5667 (eval "$ac_try") 2>&5
5669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670 test $ac_status = 0; }; }; then
5671 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5673 if { { case "(($ac_try" in
5674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5675 *) ac_try_echo
=$ac_try;;
5677 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5678 $as_echo "$ac_try_echo"; } >&5
5679 (eval "$ac_try") 2>&5
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682 test $ac_status = 0; } &&
5683 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5685 *) ac_try_echo=$ac_try;;
5687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5688 $as_echo "$ac_try_echo"; } >&5
5689 (eval "$ac_try") 2>&5
5691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5692 test $ac_status = 0; };
5697 # cc exists but doesn't like -o.
5698 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5703 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5705 rm -f core conftest*
5708 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5710 $as_echo "yes" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5715 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5719 # FIXME: we rely on the cache variable name because
5720 # there is no other way.
5722 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5723 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5724 if test "$am_t" != yes; then
5725 # Losing compiler, so override with the script.
5726 # FIXME: It is wrong to rewrite CC.
5727 # But if we don't then we get into trouble of one sort or another.
5728 # A longer-term fix would be to have automake use am__CC in this case,
5729 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5730 CC="$am_aux_dir/compile $CC"
5738 # Newer automakes demand CCAS and CCASFLAGS.
5740 : ${CCASFLAGS='$(CFLAGS)'}
5744 if test -n "$ac_tool_prefix"; then
5745 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5746 set dummy ${ac_tool_prefix}as; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if test "${ac_cv_prog_AS+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$AS"; then
5753 ac_cv_prog_AS="$AS" # Let the user override the test.
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_AS="${ac_tool_prefix}as"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 if test -n "$AS"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5775 $as_echo "$AS" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5783 if test -z "$ac_cv_prog_AS"; then
5785 # Extract the first word of "as", so it can be a program name with args.
5786 set dummy as; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$ac_ct_AS"; then
5793 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802 ac_cv_prog_ac_ct_AS="as"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5813 if test -n "$ac_ct_AS"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5815 $as_echo "$ac_ct_AS" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5821 if test "x$ac_ct_AS" = x; then
5824 case $cross_compiling:$ac_tool_warned in
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5828 ac_tool_warned=yes ;;
5836 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5838 set dummy ${ac_tool_prefix}ar; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if test "${ac_cv_prog_AR+set}" = set; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$AR"; then
5845 ac_cv_prog_AR="$AR" # Let the user override the test.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854 ac_cv_prog_AR="${ac_tool_prefix}ar"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 if test -n "$AR"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5867 $as_echo "$AR" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if test -z "$ac_cv_prog_AR"; then
5877 # Extract the first word of "ar", so it can be a program name with args.
5878 set dummy ar; ac_word=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5884 if test -n "$ac_ct_AR"; then
5885 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5894 ac_cv_prog_ac_ct_AR="ar"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5905 if test -n "$ac_ct_AR"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5907 $as_echo "$ac_ct_AR" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5913 if test "x$ac_ct_AR" = x; then
5916 case $cross_compiling:$ac_tool_warned in
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5920 ac_tool_warned=yes ;;
5928 if test -n "$ac_tool_prefix"; then
5929 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5934 $as_echo_n "(cached) " >&6
5936 if test -n "$RANLIB"; then
5937 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5946 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 RANLIB=$ac_cv_prog_RANLIB
5957 if test -n "$RANLIB"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5959 $as_echo "$RANLIB" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5967 if test -z "$ac_cv_prog_RANLIB"; then
5968 ac_ct_RANLIB=$RANLIB
5969 # Extract the first word of "ranlib", so it can be a program name with args.
5970 set dummy ranlib; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5974 $as_echo_n "(cached) " >&6
5976 if test -n "$ac_ct_RANLIB"; then
5977 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5986 ac_cv_prog_ac_ct_RANLIB="ranlib"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5997 if test -n "$ac_ct_RANLIB"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5999 $as_echo "$ac_ct_RANLIB" >&6; }
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6005 if test "x$ac_ct_RANLIB" = x; then
6008 case $cross_compiling:$ac_tool_warned in
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6014 RANLIB=$ac_ct_RANLIB
6017 RANLIB="$ac_cv_prog_RANLIB"
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6029 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6034 macro_version='2.2.7a'
6035 macro_revision='1.3134'
6049 ltmain="$ac_aux_dir/ltmain.sh"
6051 # Backslashify metacharacters that are still active within
6052 # double-quoted strings.
6053 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6055 # Same as above, but do not quote variable references.
6056 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6058 # Sed substitution to delay expansion of an escaped shell variable in a
6059 # double_quote_subst'ed string.
6060 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6062 # Sed substitution to delay expansion of an escaped single quote.
6063 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6065 # Sed substitution to avoid accidental globbing in evaled expressions
6066 no_glob_subst='s/\*/\\\*/g'
6068 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6069 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6070 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6073 $as_echo_n "checking how to print
strings...
" >&6; }
6074 # Test print first, because it will be a builtin if present.
6075 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6076 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6078 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6081 # Use this function as a fallback that always works.
6082 func_fallback_echo ()
6084 eval 'cat <<_LTECHO_EOF
6088 ECHO='func_fallback_echo'
6091 # func_echo_all arg...
6092 # Invoke $ECHO with all args, space-separated.
6099 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6100 $as_echo "printf" >&6; } ;;
6101 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6102 $as_echo "print
-r" >&6; } ;;
6103 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6104 $as_echo "cat" >&6; } ;;
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6121 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6122 if test "${ac_cv_path_SED+set}" = set; then :
6123 $as_echo_n "(cached
) " >&6
6125 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6126 for ac_i in 1 2 3 4 5 6 7; do
6127 ac_script="$ac_script$as_nl$ac_script"
6129 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6130 { ac_script=; unset ac_script;}
6131 if test -z "$SED"; then
6132 ac_path_SED_found=false
6133 # Loop through the user's path and test for each of PROGNAME-LIST
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_prog in sed gsed; do
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6142 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6143 # Check for GNU ac_path_SED and select it if it is found.
6144 # Check for GNU $ac_path_SED
6145 case `"$ac_path_SED" --version 2>&1` in
6147 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6150 $as_echo_n 0123456789 >"conftest.
in"
6153 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6154 mv "conftest.tmp
" "conftest.
in"
6155 cp "conftest.
in" "conftest.
nl"
6156 $as_echo '' >> "conftest.
nl"
6157 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6158 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6159 as_fn_arith $ac_count + 1 && ac_count=$as_val
6160 if test $ac_count -gt ${ac_path_SED_max-0}; then
6161 # Best one so far, save it but keep looking for a better one
6162 ac_cv_path_SED="$ac_path_SED"
6163 ac_path_SED_max=$ac_count
6165 # 10*(2^10) chars as input seems more than enough
6166 test $ac_count -gt 10 && break
6168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6171 $ac_path_SED_found && break 3
6176 if test -z "$ac_cv_path_SED"; then
6177 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6185 $as_echo "$ac_cv_path_SED" >&6; }
6186 SED="$ac_cv_path_SED"
6189 test -z "$SED" && SED=sed
6190 Xsed="$SED -e 1s
/^X
//"
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6203 $as_echo_n "checking
for fgrep...
" >&6; }
6204 if test "${ac_cv_path_FGREP+set}" = set; then :
6205 $as_echo_n "(cached
) " >&6
6207 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6208 then ac_cv_path_FGREP="$GREP -F"
6210 if test -z "$FGREP"; then
6211 ac_path_FGREP_found=false
6212 # Loop through the user's path and test for each of PROGNAME-LIST
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6217 test -z "$as_dir" && as_dir=.
6218 for ac_prog in fgrep; do
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6221 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6222 # Check for GNU ac_path_FGREP and select it if it is found.
6223 # Check for GNU $ac_path_FGREP
6224 case `"$ac_path_FGREP" --version 2>&1` in
6226 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6229 $as_echo_n 0123456789 >"conftest.
in"
6232 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6233 mv "conftest.tmp
" "conftest.
in"
6234 cp "conftest.
in" "conftest.
nl"
6235 $as_echo 'FGREP' >> "conftest.
nl"
6236 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6237 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6238 as_fn_arith $ac_count + 1 && ac_count=$as_val
6239 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6240 # Best one so far, save it but keep looking for a better one
6241 ac_cv_path_FGREP="$ac_path_FGREP"
6242 ac_path_FGREP_max=$ac_count
6244 # 10*(2^10) chars as input seems more than enough
6245 test $ac_count -gt 10 && break
6247 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6250 $ac_path_FGREP_found && break 3
6255 if test -z "$ac_cv_path_FGREP"; then
6256 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6259 ac_cv_path_FGREP=$FGREP
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6265 $as_echo "$ac_cv_path_FGREP" >&6; }
6266 FGREP="$ac_cv_path_FGREP"
6269 test -z "$GREP" && GREP=grep
6289 # Check whether --with-gnu-ld was given.
6290 if test "${with_gnu_ld+set}" = set; then :
6291 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6297 if test "$GCC" = yes; then
6298 # Check if gcc -print-prog-name=ld gives a path.
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6300 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6303 # gcc leaves a trailing carriage return which upsets mingw
6304 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6306 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6309 # Accept absolute paths.
6311 re_direlt='/[^/][^/]*/\.\./'
6312 # Canonicalize the pathname of ld
6313 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6314 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6315 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6317 test -z "$LD" && LD="$ac_prog"
6320 # If it fails, then pretend we aren't using GCC.
6324 # If it is relative, then search for the first ld in PATH.
6328 elif test "$with_gnu_ld" = yes; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6330 $as_echo_n "checking
for GNU ld...
" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6333 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6335 if test "${lt_cv_path_LD+set}" = set; then :
6336 $as_echo_n "(cached
) " >&6
6338 if test -z "$LD"; then
6339 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6340 for ac_dir in $PATH; do
6342 test -z "$ac_dir" && ac_dir=.
6343 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6344 lt_cv_path_LD="$ac_dir/$ac_prog"
6345 # Check to see if the program is GNU ld. I'd rather use --version,
6346 # but apparently some variants of GNU ld only accept -v.
6347 # Break only if it was the GNU/non-GNU ld that we prefer.
6348 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6349 *GNU* | *'with BFD'*)
6350 test "$with_gnu_ld" != no && break
6353 test "$with_gnu_ld" != yes && break
6360 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6365 if test -n "$LD"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6367 $as_echo "$LD" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6370 $as_echo "no
" >&6; }
6372 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6374 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6375 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6376 $as_echo_n "(cached
) " >&6
6378 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6379 case `$LD -v 2>&1 </dev/null` in
6380 *GNU* | *'with BFD'*)
6381 lt_cv_prog_gnu_ld=yes
6384 lt_cv_prog_gnu_ld=no
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6389 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6390 with_gnu_ld=$lt_cv_prog_gnu_ld
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6401 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6402 if test "${lt_cv_path_NM+set}" = set; then :
6403 $as_echo_n "(cached
) " >&6
6405 if test -n "$NM"; then
6406 # Let the user override the test.
6409 lt_nm_to_check="${ac_tool_prefix}nm
"
6410 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6411 lt_nm_to_check="$lt_nm_to_check nm
"
6413 for lt_tmp_nm in $lt_nm_to_check; do
6414 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6415 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6417 test -z "$ac_dir" && ac_dir=.
6418 tmp_nm="$ac_dir/$lt_tmp_nm"
6419 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6420 # Check to see if the nm accepts a BSD-compat flag.
6421 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6422 # nm: unknown option "B
" ignored
6423 # Tru64's nm complains that /dev/null is an invalid object file
6424 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6425 */dev/null* | *'Invalid file or object type'*)
6426 lt_cv_path_NM="$tmp_nm -B"
6430 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6432 lt_cv_path_NM="$tmp_nm -p"
6436 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6437 continue # so that we can try to find one that supports BSD flags
6446 : ${lt_cv_path_NM=no}
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6450 $as_echo "$lt_cv_path_NM" >&6; }
6451 if test "$lt_cv_path_NM" != "no
"; then
6454 # Didn't find any BSD compatible name lister, look for dumpbin.
6455 if test -n "$DUMPBIN"; then :
6456 # Let the user override the test.
6458 if test -n "$ac_tool_prefix"; then
6459 for ac_prog in dumpbin "link
-dump"
6461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6464 $as_echo_n "checking
for $ac_word...
" >&6; }
6465 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6466 $as_echo_n "(cached
) " >&6
6468 if test -n "$DUMPBIN"; then
6469 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6488 DUMPBIN=$ac_cv_prog_DUMPBIN
6489 if test -n "$DUMPBIN"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6491 $as_echo "$DUMPBIN" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6494 $as_echo "no
" >&6; }
6498 test -n "$DUMPBIN" && break
6501 if test -z "$DUMPBIN"; then
6502 ac_ct_DUMPBIN=$DUMPBIN
6503 for ac_prog in dumpbin "link
-dump"
6505 # Extract the first word of "$ac_prog", so it can be a program name with args.
6506 set dummy $ac_prog; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6508 $as_echo_n "checking
for $ac_word...
" >&6; }
6509 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6510 $as_echo_n "(cached
) " >&6
6512 if test -n "$ac_ct_DUMPBIN"; then
6513 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6522 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6532 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6533 if test -n "$ac_ct_DUMPBIN"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6535 $as_echo "$ac_ct_DUMPBIN" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6538 $as_echo "no
" >&6; }
6542 test -n "$ac_ct_DUMPBIN" && break
6545 if test "x
$ac_ct_DUMPBIN" = x; then
6548 case $cross_compiling:$ac_tool_warned in
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6551 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6552 ac_tool_warned=yes ;;
6554 DUMPBIN=$ac_ct_DUMPBIN
6558 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6560 DUMPBIN="$DUMPBIN -symbols"
6568 if test "$DUMPBIN" != ":"; then
6572 test -z "$NM" && NM=nm
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6580 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6581 if test "${lt_cv_nm_interface+set}" = set; then :
6582 $as_echo_n "(cached
) " >&6
6584 lt_cv_nm_interface="BSD nm
"
6585 echo "int some_variable
= 0;" > conftest.$ac_ext
6586 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6587 (eval "$ac_compile" 2>conftest.err)
6588 cat conftest.err >&5
6589 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6590 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6591 cat conftest.err >&5
6592 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6593 cat conftest.out >&5
6594 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6595 lt_cv_nm_interface="MS dumpbin
"
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6600 $as_echo "$lt_cv_nm_interface" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6603 $as_echo_n "checking whether
ln -s works...
" >&6; }
6605 if test "$LN_S" = "ln -s"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6607 $as_echo "yes" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6610 $as_echo "no
, using
$LN_S" >&6; }
6613 # find the maximum length of command line arguments
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6615 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6616 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6617 $as_echo_n "(cached
) " >&6
6624 # On DJGPP, this test can blow up pretty badly due to problems in libc
6625 # (any single argument exceeding 2000 bytes causes a buffer overrun
6626 # during glob expansion). Even if it were fixed, the result of this
6627 # check would be larger than it should be.
6628 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6632 # Under GNU Hurd, this test is not required because there is
6633 # no limit to the length of command line arguments.
6634 # Libtool will interpret -1 as no limit whatsoever
6635 lt_cv_sys_max_cmd_len=-1;
6638 cygwin* | mingw* | cegcc*)
6639 # On Win9x/ME, this test blows up -- it succeeds, but takes
6640 # about 5 minutes as the teststring grows exponentially.
6641 # Worse, since 9x/ME are not pre-emptively multitasking,
6642 # you end up with a "frozen
" computer, even though with patience
6643 # the test eventually succeeds (with a max line length of 256k).
6644 # Instead, let's just punt: use the minimum linelength reported by
6645 # all of the supported platforms: 8192 (on NT/2K/XP).
6646 lt_cv_sys_max_cmd_len=8192;
6650 # On MiNT this can take a long time and run out of memory.
6651 lt_cv_sys_max_cmd_len=8192;
6655 # On AmigaOS with pdksh, this test takes hours, literally.
6656 # So we just punt and use a minimum line length of 8192.
6657 lt_cv_sys_max_cmd_len=8192;
6660 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6661 # This has been around since 386BSD, at least. Likely further.
6662 if test -x /sbin/sysctl; then
6663 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6664 elif test -x /usr/sbin/sysctl; then
6665 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6667 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6669 # And add a safety zone
6670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6671 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6675 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6676 lt_cv_sys_max_cmd_len=196608
6680 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6681 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6682 # nice to cause kernel panics so lets avoid the loop below.
6683 # First set a reasonable default.
6684 lt_cv_sys_max_cmd_len=16384
6686 if test -x /sbin/sysconfig; then
6687 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6688 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6693 lt_cv_sys_max_cmd_len=102400
6695 sysv5* | sco5v6* | sysv4.2uw2*)
6696 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6697 if test -n "$kargmax"; then
6698 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6700 lt_cv_sys_max_cmd_len=32768
6704 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6705 if test -n "$lt_cv_sys_max_cmd_len"; then
6706 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6707 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6709 # Make teststring a little bigger before we do anything with it.
6710 # a 1K string should be a reasonable start.
6711 for i in 1 2 3 4 5 6 7 8 ; do
6712 teststring=$teststring$teststring
6714 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6715 # If test is not a shell built-in, we'll probably end up computing a
6716 # maximum length that is only half of the actual maximum length, but
6718 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6719 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6720 test $i != 17 # 1/2 MB should be enough
6723 teststring=$teststring$teststring
6725 # Only check the string length outside the loop.
6726 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6728 # Add a significant safety factor because C++ compilers can tack on
6729 # massive amounts of additional arguments before passing them to the
6730 # linker. It appears as though 1/2 is a usable value.
6731 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6738 if test -n $lt_cv_sys_max_cmd_len ; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6740 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6743 $as_echo "none
" >&6; }
6745 max_cmd_len=$lt_cv_sys_max_cmd_len
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6757 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6758 # Try some XSI features
6761 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6763 && eval 'test $(( 1 + 1 )) -eq 2 \
6764 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6767 $as_echo "$xsi_shell" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6771 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6773 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6775 && lt_shell_append
=yes
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6777 $as_echo "$lt_shell_append" >&6; }
6780 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6790 # test EBCDIC or ASCII
6791 case `echo X|tr X '\101'` in
6792 A
) # ASCII based system
6793 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6794 lt_SP2NL
='tr \040 \012'
6795 lt_NL2SP
='tr \015\012 \040\040'
6797 *) # EBCDIC based system
6798 lt_SP2NL
='tr \100 \n'
6799 lt_NL2SP
='tr \r\n \100\100'
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6812 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6813 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6814 $as_echo_n "(cached) " >&6
6816 lt_cv_ld_reload_flag
='-r'
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6819 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6820 reload_flag
=$lt_cv_ld_reload_flag
6821 case $reload_flag in
6823 *) reload_flag
=" $reload_flag" ;;
6825 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6828 if test "$GCC" = yes; then
6829 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6831 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6844 if test -n "$ac_tool_prefix"; then
6845 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6846 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6850 $as_echo_n "(cached) " >&6
6852 if test -n "$OBJDUMP"; then
6853 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6859 test -z "$as_dir" && as_dir
=.
6860 for ac_exec_ext
in '' $ac_executable_extensions; do
6861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6862 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 OBJDUMP
=$ac_cv_prog_OBJDUMP
6873 if test -n "$OBJDUMP"; then
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6875 $as_echo "$OBJDUMP" >&6; }
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 $as_echo "no" >&6; }
6883 if test -z "$ac_cv_prog_OBJDUMP"; then
6884 ac_ct_OBJDUMP
=$OBJDUMP
6885 # Extract the first word of "objdump", so it can be a program name with args.
6886 set dummy objdump
; ac_word
=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6890 $as_echo_n "(cached) " >&6
6892 if test -n "$ac_ct_OBJDUMP"; then
6893 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir
=.
6900 for ac_exec_ext
in '' $ac_executable_extensions; do
6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6913 if test -n "$ac_ct_OBJDUMP"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6915 $as_echo "$ac_ct_OBJDUMP" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6921 if test "x$ac_ct_OBJDUMP" = x
; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned
=yes ;;
6930 OBJDUMP
=$ac_ct_OBJDUMP
6933 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6936 test -z "$OBJDUMP" && OBJDUMP
=objdump
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6947 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6948 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6949 $as_echo_n "(cached) " >&6
6951 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6952 lt_cv_file_magic_test_file
=
6953 lt_cv_deplibs_check_method
='unknown'
6954 # Need to set the preceding variable on all platforms that support
6955 # interlibrary dependencies.
6956 # 'none' -- dependencies not supported.
6957 # `unknown' -- same as none, but documents that we really don't know.
6958 # 'pass_all' -- all dependencies passed with no checks.
6959 # 'test_compile' -- check by making test program.
6960 # 'file_magic [[regex]]' -- check by looking for files in library path
6961 # which responds to the $file_magic_cmd with a given extended regex.
6962 # If you have `file' or equivalent on your system and you're not sure
6963 # whether `pass_all' will *always* work, you probably want this one.
6967 lt_cv_deplibs_check_method
=pass_all
6971 lt_cv_deplibs_check_method
=pass_all
6975 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6976 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6977 lt_cv_file_magic_test_file
=/shlib
/libc.so
6981 # func_win32_libid is a shell function defined in ltmain.sh
6982 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6983 lt_cv_file_magic_cmd
='func_win32_libid'
6987 # Base MSYS/MinGW do not provide the 'file' command needed by
6988 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6989 # unless we find 'file', for example because we are cross-compiling.
6990 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6991 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6992 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6993 lt_cv_file_magic_cmd
='func_win32_libid'
6995 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6996 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7001 # use the weaker test based on 'objdump'. See mingw*.
7002 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7003 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7006 darwin
* | rhapsody
*)
7007 lt_cv_deplibs_check_method
=pass_all
7010 freebsd
* | dragonfly
*)
7011 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7014 # Not sure whether the presence of OpenBSD here was a mistake.
7015 # Let's accept both of them until this is cleared up.
7016 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7017 lt_cv_file_magic_cmd
=/usr
/bin
/file
7018 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7022 lt_cv_deplibs_check_method
=pass_all
7027 lt_cv_deplibs_check_method
=pass_all
7031 lt_cv_deplibs_check_method
=pass_all
7034 hpux10.20
* | hpux11
*)
7035 lt_cv_file_magic_cmd
=/usr
/bin
/file
7038 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7039 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7042 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]'
7043 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7046 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7047 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7053 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7054 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7057 irix5
* | irix6
* | nonstopux
*)
7059 *-32|
*"-32 ") libmagic
=32-bit;;
7060 *-n32|
*"-n32 ") libmagic
=N32
;;
7061 *-64|
*"-64 ") libmagic
=64-bit;;
7062 *) libmagic
=never-match
;;
7064 lt_cv_deplibs_check_method
=pass_all
7067 # This must be Linux ELF.
7068 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7069 lt_cv_deplibs_check_method
=pass_all
7073 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7074 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7076 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7081 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7082 lt_cv_file_magic_cmd
=/usr
/bin
/file
7083 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7087 lt_cv_deplibs_check_method
=pass_all
7091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7092 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7094 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7098 osf3
* | osf4
* | osf5
*)
7099 lt_cv_deplibs_check_method
=pass_all
7103 lt_cv_deplibs_check_method
=pass_all
7107 lt_cv_deplibs_check_method
=pass_all
7110 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7111 lt_cv_deplibs_check_method
=pass_all
7115 case $host_vendor in
7117 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]'
7118 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7121 lt_cv_deplibs_check_method
=pass_all
7124 lt_cv_file_magic_cmd
='/bin/file'
7125 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7128 lt_cv_file_magic_cmd
='/bin/file'
7129 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7130 lt_cv_file_magic_test_file
=/lib
/libc.so
7133 lt_cv_deplibs_check_method
=pass_all
7136 lt_cv_deplibs_check_method
=pass_all
7142 lt_cv_deplibs_check_method
=pass_all
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7148 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7149 file_magic_cmd
=$lt_cv_file_magic_cmd
7150 deplibs_check_method
=$lt_cv_deplibs_check_method
7151 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7164 if test -n "$ac_tool_prefix"; then
7165 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7166 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if test "${ac_cv_prog_AR+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7172 if test -n "$AR"; then
7173 ac_cv_prog_AR
="$AR" # Let the user override the test.
7175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir
=.
7180 for ac_exec_ext
in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 if test -n "$AR"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7195 $as_echo "$AR" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7203 if test -z "$ac_cv_prog_AR"; then
7205 # Extract the first word of "ar", so it can be a program name with args.
7206 set dummy
ar; ac_word
=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208 $as_echo_n "checking for $ac_word... " >&6; }
7209 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7212 if test -n "$ac_ct_AR"; then
7213 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7219 test -z "$as_dir" && as_dir
=.
7220 for ac_exec_ext
in '' $ac_executable_extensions; do
7221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7222 ac_cv_prog_ac_ct_AR
="ar"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7233 if test -n "$ac_ct_AR"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7235 $as_echo "$ac_ct_AR" >&6; }
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7241 if test "x$ac_ct_AR" = x
; then
7244 case $cross_compiling:$ac_tool_warned in
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248 ac_tool_warned
=yes ;;
7256 test -z "$AR" && AR
=ar
7257 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7269 if test -n "$ac_tool_prefix"; then
7270 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7271 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if test "${ac_cv_prog_STRIP+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7277 if test -n "$STRIP"; then
7278 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir
=.
7285 for ac_exec_ext
in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 STRIP
=$ac_cv_prog_STRIP
7298 if test -n "$STRIP"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7300 $as_echo "$STRIP" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7308 if test -z "$ac_cv_prog_STRIP"; then
7310 # Extract the first word of "strip", so it can be a program name with args.
7311 set dummy strip
; ac_word
=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7315 $as_echo_n "(cached) " >&6
7317 if test -n "$ac_ct_STRIP"; then
7318 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7324 test -z "$as_dir" && as_dir
=.
7325 for ac_exec_ext
in '' $ac_executable_extensions; do
7326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7327 ac_cv_prog_ac_ct_STRIP
="strip"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7337 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7338 if test -n "$ac_ct_STRIP"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7340 $as_echo "$ac_ct_STRIP" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343 $as_echo "no" >&6; }
7346 if test "x$ac_ct_STRIP" = x
; then
7349 case $cross_compiling:$ac_tool_warned in
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7353 ac_tool_warned
=yes ;;
7358 STRIP
="$ac_cv_prog_STRIP"
7361 test -z "$STRIP" && STRIP
=:
7368 if test -n "$ac_tool_prefix"; then
7369 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7370 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$RANLIB"; then
7377 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir
=.
7384 for ac_exec_ext
in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 RANLIB
=$ac_cv_prog_RANLIB
7397 if test -n "$RANLIB"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7399 $as_echo "$RANLIB" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7407 if test -z "$ac_cv_prog_RANLIB"; then
7408 ac_ct_RANLIB
=$RANLIB
7409 # Extract the first word of "ranlib", so it can be a program name with args.
7410 set dummy ranlib
; ac_word
=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$ac_ct_RANLIB"; then
7417 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7437 if test -n "$ac_ct_RANLIB"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7439 $as_echo "$ac_ct_RANLIB" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7445 if test "x$ac_ct_RANLIB" = x
; then
7448 case $cross_compiling:$ac_tool_warned in
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452 ac_tool_warned
=yes ;;
7454 RANLIB
=$ac_ct_RANLIB
7457 RANLIB
="$ac_cv_prog_RANLIB"
7460 test -z "$RANLIB" && RANLIB
=:
7467 # Determine commands to create old-style static archives.
7468 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7469 old_postinstall_cmds
='chmod 644 $oldlib'
7470 old_postuninstall_cmds
=
7472 if test -n "$RANLIB"; then
7475 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7478 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7481 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7486 lock_old_archive_extraction
=yes ;;
7488 lock_old_archive_extraction
=no
;;
7529 # If no C compiler was specified, use CC.
7532 # If no C compiler flags were specified, use CFLAGS.
7533 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7535 # Allow CC to be a program name with arguments.
7539 # Check for command to grab the raw symbol name followed by C symbol from nm.
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7541 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7542 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7543 $as_echo_n "(cached) " >&6
7546 # These are sane defaults that work on at least a few old systems.
7547 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7549 # Character class describing NM global symbol codes.
7550 symcode
='[BCDEGRST]'
7552 # Regexp to match symbols that can be accessed directly from C.
7553 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7555 # Define system-specific variables.
7560 cygwin
* | mingw
* | pw32
* | cegcc
*)
7561 symcode
='[ABCDGISTW]'
7564 if test "$host_cpu" = ia64
; then
7565 symcode
='[ABCDEGRST]'
7569 symcode
='[BCDEGRST]'
7572 symcode
='[BCDEGQRST]'
7583 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7591 # If we're using GNU nm, then use its standard symbol codes.
7592 case `$NM -V 2>&1` in
7593 *GNU
* |
*'with BFD'*)
7594 symcode
='[ABCDGIRSTW]' ;;
7597 # Transform an extracted symbol line into a proper C declaration.
7598 # Some systems (esp. on ia64) link data and code symbols differently,
7599 # so use this general approach.
7600 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7602 # Transform an extracted symbol line into symbol name and symbol address
7603 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7604 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'"
7606 # Handle CRLF in mingw tool chain
7610 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7614 # Try without a prefix underscore, then with it.
7615 for ac_symprfx
in "" "_"; do
7617 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7618 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7620 # Write the raw and C identifiers.
7621 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7622 # Fake it for dumpbin and say T for any non-static function
7623 # and D for any global variable.
7624 # Also find C++ and __fastcall symbols from MSVC++,
7625 # which start with @ or ?.
7626 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7627 " {last_section=section; section=\$ 3};"\
7628 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7629 " \$ 0!~/External *\|/{next};"\
7630 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7631 " {if(hide[section]) next};"\
7632 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7633 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7634 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7635 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7636 " ' prfx=^$ac_symprfx"
7638 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7641 # Check to see that the pipe works correctly.
7645 cat > conftest.
$ac_ext <<_LT_EOF
7650 void nm_test_func(void);
7651 void nm_test_func(void){}
7655 int main(){nm_test_var='a';nm_test_func();return(0);}
7658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7659 (eval $ac_compile) 2>&5
7661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7662 test $ac_status = 0; }; then
7663 # Now try to grab the symbols.
7665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7666 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7669 test $ac_status = 0; } && test -s "$nlist"; then
7670 # Try sorting and uniquifying the output.
7671 if sort "$nlist" |
uniq > "$nlist"T
; then
7672 mv -f "$nlist"T
"$nlist"
7677 # Make sure that we snagged all the symbols we need.
7678 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7679 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7680 cat <<_LT_EOF > conftest.$ac_ext
7686 # Now generate the symbol file.
7687 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7689 cat <<_LT_EOF >> conftest.$ac_ext
7691 /* The mapping between symbol names and symbols. */
7696 lt__PROGRAM__LTX_preloaded_symbols[] =
7698 { "@PROGRAM@", (void *) 0 },
7700 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7701 cat <<\_LT_EOF
>> conftest.
$ac_ext
7705 /* This works around a problem
in FreeBSD linker
*/
7706 #ifdef FREEBSD_WORKAROUND
7707 static const void
*lt_preloaded_setup
() {
7708 return lt__PROGRAM__LTX_preloaded_symbols
;
7716 # Now try linking the two files.
7717 mv conftest.
$ac_objext conftstm.
$ac_objext
7718 lt_save_LIBS
="$LIBS"
7719 lt_save_CFLAGS
="$CFLAGS"
7720 LIBS
="conftstm.$ac_objext"
7721 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7723 (eval $ac_link) 2>&5
7725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7726 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7729 LIBS
="$lt_save_LIBS"
7730 CFLAGS
="$lt_save_CFLAGS"
7732 echo "cannot find nm_test_func in $nlist" >&5
7735 echo "cannot find nm_test_var in $nlist" >&5
7738 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7741 echo "$progname: failed program was:" >&5
7742 cat conftest.
$ac_ext >&5
7744 rm -rf conftest
* conftst
*
7746 # Do not use the global_symbol_pipe unless it works.
7747 if test "$pipe_works" = yes; then
7750 lt_cv_sys_global_symbol_pipe
=
7756 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7757 lt_cv_sys_global_symbol_to_cdecl
=
7759 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7761 $as_echo "failed" >&6; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7764 $as_echo "ok" >&6; }
7788 # Check whether --enable-libtool-lock was given.
7789 if test "${enable_libtool_lock+set}" = set; then :
7790 enableval
=$enable_libtool_lock;
7793 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7795 # Some flags need to be propagated to the compiler or linker for good
7799 # Find out which ABI we are using.
7800 echo 'int i;' > conftest.
$ac_ext
7801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7802 (eval $ac_compile) 2>&5
7804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7805 test $ac_status = 0; }; then
7806 case `/usr/bin/file conftest.$ac_objext` in
7818 # Find out which ABI we are using.
7819 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7820 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7821 (eval $ac_compile) 2>&5
7823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7824 test $ac_status = 0; }; then
7825 if test "$lt_cv_prog_gnu_ld" = yes; then
7826 case `/usr/bin/file conftest.$ac_objext` in
7828 LD
="${LD-ld} -melf32bsmip"
7831 LD
="${LD-ld} -melf32bmipn32"
7834 LD
="${LD-ld} -melf64bmip"
7838 case `/usr/bin/file conftest.$ac_objext` in
7854 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7855 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7856 # Find out which ABI we are using.
7857 echo 'int i;' > conftest.
$ac_ext
7858 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7859 (eval $ac_compile) 2>&5
7861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7862 test $ac_status = 0; }; then
7863 case `/usr/bin/file conftest.o` in
7866 x86_64-
*kfreebsd
*-gnu)
7867 LD
="${LD-ld} -m elf_i386_fbsd"
7870 case `/usr/bin/file conftest.o` in
7872 LD
="${LD-ld} -m elf32_x86_64"
7875 LD
="${LD-ld} -m elf_i386"
7879 ppc64-
*linux
*|powerpc64-
*linux
*)
7880 LD
="${LD-ld} -m elf32ppclinux"
7883 LD
="${LD-ld} -m elf_s390"
7886 LD
="${LD-ld} -m elf32_sparc"
7892 x86_64-
*kfreebsd
*-gnu)
7893 LD
="${LD-ld} -m elf_x86_64_fbsd"
7896 LD
="${LD-ld} -m elf_x86_64"
7898 ppc
*-*linux
*|powerpc
*-*linux
*)
7899 LD
="${LD-ld} -m elf64ppc"
7901 s390
*-*linux
*|s390
*-*tpf
*)
7902 LD
="${LD-ld} -m elf64_s390"
7905 LD
="${LD-ld} -m elf64_sparc"
7915 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7916 SAVE_CFLAGS
="$CFLAGS"
7917 CFLAGS
="$CFLAGS -belf"
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7919 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7920 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7921 $as_echo_n "(cached) " >&6
7924 ac_cpp
='$CPP $CPPFLAGS'
7925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7940 if ac_fn_c_try_link
"$LINENO"; then :
7941 lt_cv_cc_needs_belf
=yes
7943 lt_cv_cc_needs_belf
=no
7945 rm -f core conftest.err conftest.
$ac_objext \
7946 conftest
$ac_exeext conftest.
$ac_ext
7948 ac_cpp
='$CPP $CPPFLAGS'
7949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7955 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7956 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7957 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7958 CFLAGS
="$SAVE_CFLAGS"
7962 # Find out which ABI we are using.
7963 echo 'int i;' > conftest.
$ac_ext
7964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7965 (eval $ac_compile) 2>&5
7967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7968 test $ac_status = 0; }; then
7969 case `/usr/bin/file conftest.o` in
7971 case $lt_cv_prog_gnu_ld in
7972 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7974 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7986 need_locks
="$enable_libtool_lock"
7990 rhapsody
* | darwin
*)
7991 if test -n "$ac_tool_prefix"; then
7992 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7993 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995 $as_echo_n "checking for $ac_word... " >&6; }
7996 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7997 $as_echo_n "(cached) " >&6
7999 if test -n "$DSYMUTIL"; then
8000 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8006 test -z "$as_dir" && as_dir
=.
8007 for ac_exec_ext
in '' $ac_executable_extensions; do
8008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8019 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8020 if test -n "$DSYMUTIL"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8022 $as_echo "$DSYMUTIL" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8030 if test -z "$ac_cv_prog_DSYMUTIL"; then
8031 ac_ct_DSYMUTIL
=$DSYMUTIL
8032 # Extract the first word of "dsymutil", so it can be a program name with args.
8033 set dummy dsymutil
; ac_word
=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8037 $as_echo_n "(cached) " >&6
8039 if test -n "$ac_ct_DSYMUTIL"; then
8040 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir
=.
8047 for ac_exec_ext
in '' $ac_executable_extensions; do
8048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8060 if test -n "$ac_ct_DSYMUTIL"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8062 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8068 if test "x$ac_ct_DSYMUTIL" = x
; then
8071 case $cross_compiling:$ac_tool_warned in
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8075 ac_tool_warned
=yes ;;
8077 DSYMUTIL
=$ac_ct_DSYMUTIL
8080 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8083 if test -n "$ac_tool_prefix"; then
8084 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8085 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087 $as_echo_n "checking for $ac_word... " >&6; }
8088 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8089 $as_echo_n "(cached) " >&6
8091 if test -n "$NMEDIT"; then
8092 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8098 test -z "$as_dir" && as_dir
=.
8099 for ac_exec_ext
in '' $ac_executable_extensions; do
8100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111 NMEDIT
=$ac_cv_prog_NMEDIT
8112 if test -n "$NMEDIT"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8114 $as_echo "$NMEDIT" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8122 if test -z "$ac_cv_prog_NMEDIT"; then
8123 ac_ct_NMEDIT
=$NMEDIT
8124 # Extract the first word of "nmedit", so it can be a program name with args.
8125 set dummy nmedit
; ac_word
=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8129 $as_echo_n "(cached) " >&6
8131 if test -n "$ac_ct_NMEDIT"; then
8132 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8138 test -z "$as_dir" && as_dir
=.
8139 for ac_exec_ext
in '' $ac_executable_extensions; do
8140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8152 if test -n "$ac_ct_NMEDIT"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8154 $as_echo "$ac_ct_NMEDIT" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8160 if test "x$ac_ct_NMEDIT" = x
; then
8163 case $cross_compiling:$ac_tool_warned in
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8167 ac_tool_warned
=yes ;;
8169 NMEDIT
=$ac_ct_NMEDIT
8172 NMEDIT
="$ac_cv_prog_NMEDIT"
8175 if test -n "$ac_tool_prefix"; then
8176 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8177 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8179 $as_echo_n "checking for $ac_word... " >&6; }
8180 if test "${ac_cv_prog_LIPO+set}" = set; then :
8181 $as_echo_n "(cached) " >&6
8183 if test -n "$LIPO"; then
8184 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8190 test -z "$as_dir" && as_dir
=.
8191 for ac_exec_ext
in '' $ac_executable_extensions; do
8192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8193 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 LIPO
=$ac_cv_prog_LIPO
8204 if test -n "$LIPO"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8206 $as_echo "$LIPO" >&6; }
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209 $as_echo "no" >&6; }
8214 if test -z "$ac_cv_prog_LIPO"; then
8216 # Extract the first word of "lipo", so it can be a program name with args.
8217 set dummy lipo
; ac_word
=$2
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8219 $as_echo_n "checking for $ac_word... " >&6; }
8220 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8221 $as_echo_n "(cached) " >&6
8223 if test -n "$ac_ct_LIPO"; then
8224 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir
=.
8231 for ac_exec_ext
in '' $ac_executable_extensions; do
8232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8233 ac_cv_prog_ac_ct_LIPO
="lipo"
8234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8244 if test -n "$ac_ct_LIPO"; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8246 $as_echo "$ac_ct_LIPO" >&6; }
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249 $as_echo "no" >&6; }
8252 if test "x$ac_ct_LIPO" = x
; then
8255 case $cross_compiling:$ac_tool_warned in
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8259 ac_tool_warned
=yes ;;
8264 LIPO
="$ac_cv_prog_LIPO"
8267 if test -n "$ac_tool_prefix"; then
8268 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8269 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8271 $as_echo_n "checking for $ac_word... " >&6; }
8272 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8275 if test -n "$OTOOL"; then
8276 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8282 test -z "$as_dir" && as_dir
=.
8283 for ac_exec_ext
in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 OTOOL
=$ac_cv_prog_OTOOL
8296 if test -n "$OTOOL"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8298 $as_echo "$OTOOL" >&6; }
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8306 if test -z "$ac_cv_prog_OTOOL"; then
8308 # Extract the first word of "otool", so it can be a program name with args.
8309 set dummy otool
; ac_word
=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8313 $as_echo_n "(cached) " >&6
8315 if test -n "$ac_ct_OTOOL"; then
8316 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir
=.
8323 for ac_exec_ext
in '' $ac_executable_extensions; do
8324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8325 ac_cv_prog_ac_ct_OTOOL
="otool"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8335 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8336 if test -n "$ac_ct_OTOOL"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8338 $as_echo "$ac_ct_OTOOL" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8344 if test "x$ac_ct_OTOOL" = x
; then
8347 case $cross_compiling:$ac_tool_warned in
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8351 ac_tool_warned
=yes ;;
8356 OTOOL
="$ac_cv_prog_OTOOL"
8359 if test -n "$ac_tool_prefix"; then
8360 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8361 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8365 $as_echo_n "(cached) " >&6
8367 if test -n "$OTOOL64"; then
8368 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8374 test -z "$as_dir" && as_dir
=.
8375 for ac_exec_ext
in '' $ac_executable_extensions; do
8376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8377 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 OTOOL64
=$ac_cv_prog_OTOOL64
8388 if test -n "$OTOOL64"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8390 $as_echo "$OTOOL64" >&6; }
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8393 $as_echo "no" >&6; }
8398 if test -z "$ac_cv_prog_OTOOL64"; then
8399 ac_ct_OTOOL64
=$OTOOL64
8400 # Extract the first word of "otool64", so it can be a program name with args.
8401 set dummy otool64
; ac_word
=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403 $as_echo_n "checking for $ac_word... " >&6; }
8404 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8407 if test -n "$ac_ct_OTOOL64"; then
8408 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8414 test -z "$as_dir" && as_dir
=.
8415 for ac_exec_ext
in '' $ac_executable_extensions; do
8416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8417 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8427 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8428 if test -n "$ac_ct_OTOOL64"; then
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8430 $as_echo "$ac_ct_OTOOL64" >&6; }
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8433 $as_echo "no" >&6; }
8436 if test "x$ac_ct_OTOOL64" = x
; then
8439 case $cross_compiling:$ac_tool_warned in
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8443 ac_tool_warned
=yes ;;
8445 OTOOL64
=$ac_ct_OTOOL64
8448 OTOOL64
="$ac_cv_prog_OTOOL64"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8478 $as_echo_n "checking for -single_module linker flag... " >&6; }
8479 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8480 $as_echo_n "(cached) " >&6
8482 lt_cv_apple_cc_single_mod
=no
8483 if test -z "${LT_MULTI_MODULE}"; then
8484 # By default we will add the -single_module flag. You can override
8485 # by either setting the environment variable LT_MULTI_MODULE
8486 # non-empty at configure time, or by adding -multi_module to the
8488 rm -rf libconftest.dylib
*
8489 echo "int foo(void){return 1;}" > conftest.c
8490 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8491 -dynamiclib -Wl,-single_module conftest.c" >&5
8492 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8493 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8495 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8496 lt_cv_apple_cc_single_mod
=yes
8498 cat conftest.err
>&5
8500 rm -rf libconftest.dylib
*
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8505 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8507 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8508 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8509 $as_echo_n "(cached) " >&6
8511 lt_cv_ld_exported_symbols_list
=no
8512 save_LDFLAGS
=$LDFLAGS
8513 echo "_main" > conftest.sym
8514 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8526 if ac_fn_c_try_link
"$LINENO"; then :
8527 lt_cv_ld_exported_symbols_list
=yes
8529 lt_cv_ld_exported_symbols_list
=no
8531 rm -f core conftest.err conftest.
$ac_objext \
8532 conftest
$ac_exeext conftest.
$ac_ext
8533 LDFLAGS
="$save_LDFLAGS"
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8537 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8539 $as_echo_n "checking for -force_load linker flag... " >&6; }
8540 if test "${lt_cv_ld_force_load+set}" = set; then :
8541 $as_echo_n "(cached) " >&6
8543 lt_cv_ld_force_load
=no
8544 cat > conftest.c
<< _LT_EOF
8545 int forced_loaded() { return 2;}
8547 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8548 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8549 echo "$AR cru libconftest.a conftest.o" >&5
8550 $AR cru libconftest.a conftest.o
2>&5
8551 cat > conftest.c
<< _LT_EOF
8552 int main() { return 0;}
8554 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8555 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8557 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8558 lt_cv_ld_force_load
=yes
8560 cat conftest.err
>&5
8562 rm -f conftest.err libconftest.a conftest conftest.c
8563 rm -rf conftest.dSYM
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8567 $as_echo "$lt_cv_ld_force_load" >&6; }
8569 rhapsody
* | darwin1.
[012])
8570 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8572 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8573 darwin
*) # darwin 5.x on
8574 # if running on 10.5 or later, the deployment target defaults
8575 # to the OS version, if on x86, and 10.4, the deployment
8576 # target defaults to 10.4. Don't you love it?
8577 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8578 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8579 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8581 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8583 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8587 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8588 _lt_dar_single_mod
='$single_module'
8590 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8591 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8593 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8595 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8596 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8603 for ac_header
in dlfcn.h
8605 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8607 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8608 cat >>confdefs.h
<<_ACEOF
8609 #define HAVE_DLFCN_H 1
8629 # Check whether --enable-shared was given.
8630 if test "${enable_shared+set}" = set; then :
8631 enableval
=$enable_shared; p
=${PACKAGE-default}
8633 yes) enable_shared
=yes ;;
8634 no
) enable_shared
=no
;;
8637 # Look at the argument we got. We use all the common list separators.
8638 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8639 for pkg
in $enableval; do
8641 if test "X$pkg" = "X$p"; then
8660 # Check whether --enable-static was given.
8661 if test "${enable_static+set}" = set; then :
8662 enableval
=$enable_static; p
=${PACKAGE-default}
8664 yes) enable_static
=yes ;;
8665 no
) enable_static
=no
;;
8668 # Look at the argument we got. We use all the common list separators.
8669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8670 for pkg
in $enableval; do
8672 if test "X$pkg" = "X$p"; then
8692 # Check whether --with-pic was given.
8693 if test "${with_pic+set}" = set; then :
8694 withval
=$with_pic; pic_mode
="$withval"
8700 test -z "$pic_mode" && pic_mode
=default
8708 # Check whether --enable-fast-install was given.
8709 if test "${enable_fast_install+set}" = set; then :
8710 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8712 yes) enable_fast_install
=yes ;;
8713 no
) enable_fast_install
=no
;;
8715 enable_fast_install
=no
8716 # Look at the argument we got. We use all the common list separators.
8717 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8718 for pkg
in $enableval; do
8720 if test "X$pkg" = "X$p"; then
8721 enable_fast_install
=yes
8728 enable_fast_install
=yes
8741 # This can be used to rebuild libtool when needed
8742 LIBTOOL_DEPS
="$ltmain"
8744 # Always use our own libtool.
8745 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8772 test -z "$LN_S" && LN_S
="ln -s"
8787 if test -n "${ZSH_VERSION+set}" ; then
8788 setopt NO_GLOB_SUBST
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8792 $as_echo_n "checking for objdir... " >&6; }
8793 if test "${lt_cv_objdir+set}" = set; then :
8794 $as_echo_n "(cached) " >&6
8796 rm -f .libs
2>/dev
/null
8797 mkdir .libs
2>/dev
/null
8798 if test -d .libs
; then
8801 # MS-DOS does not allow filenames that begin with a dot.
8804 rmdir .libs
2>/dev
/null
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8807 $as_echo "$lt_cv_objdir" >&6; }
8808 objdir
=$lt_cv_objdir
8814 cat >>confdefs.h
<<_ACEOF
8815 #define LT_OBJDIR "$lt_cv_objdir/"
8823 # AIX sometimes has problems with the GCC collect2 program. For some
8824 # reason, if we set the COLLECT_NAMES environment variable, the problems
8825 # vanish in a puff of smoke.
8826 if test "X${COLLECT_NAMES+set}" != Xset
; then
8828 export COLLECT_NAMES
8835 can_build_shared
=yes
8837 # All known linkers require a `.a' archive for static linking (except MSVC,
8838 # which needs '.lib').
8841 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8844 old_CFLAGS
="$CFLAGS"
8846 # Set sane defaults for various variables
8847 test -z "$CC" && CC
=cc
8848 test -z "$LTCC" && LTCC
=$CC
8849 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8850 test -z "$LD" && LD
=ld
8851 test -z "$ac_objext" && ac_objext
=o
8853 for cc_temp
in $compiler""; do
8855 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8856 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8861 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8864 # Only perform the check for file, if the check method requires it
8865 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8866 case $deplibs_check_method in
8868 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8870 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8872 $as_echo_n "(cached) " >&6
8876 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8879 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8880 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8881 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8882 for ac_dir
in $ac_dummy; do
8884 test -z "$ac_dir" && ac_dir
=.
8885 if test -f $ac_dir/${ac_tool_prefix}file; then
8886 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8887 if test -n "$file_magic_test_file"; then
8888 case $deplibs_check_method in
8890 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8891 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8892 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8893 $EGREP "$file_magic_regex" > /dev
/null
; then
8898 *** Warning: the command libtool uses to detect shared libraries,
8899 *** $file_magic_cmd, produces output that libtool cannot recognize.
8900 *** The result is that libtool may fail to recognize shared libraries
8901 *** as such. This will affect the creation of libtool libraries that
8902 *** depend on shared libraries, but programs linked with such libtool
8903 *** libraries will work regardless of this problem. Nevertheless, you
8904 *** may want to report the problem to your system manager and/or to
8905 *** bug-libtool@gnu.org
8915 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8920 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8921 if test -n "$MAGIC_CMD"; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8923 $as_echo "$MAGIC_CMD" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8933 if test -z "$lt_cv_path_MAGIC_CMD"; then
8934 if test -n "$ac_tool_prefix"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8936 $as_echo_n "checking for file... " >&6; }
8937 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8938 $as_echo_n "(cached) " >&6
8942 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8945 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8946 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8947 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8948 for ac_dir
in $ac_dummy; do
8950 test -z "$ac_dir" && ac_dir
=.
8951 if test -f $ac_dir/file; then
8952 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8953 if test -n "$file_magic_test_file"; then
8954 case $deplibs_check_method in
8956 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8957 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8958 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8959 $EGREP "$file_magic_regex" > /dev
/null
; then
8964 *** Warning: the command libtool uses to detect shared libraries,
8965 *** $file_magic_cmd, produces output that libtool cannot recognize.
8966 *** The result is that libtool may fail to recognize shared libraries
8967 *** as such. This will affect the creation of libtool libraries that
8968 *** depend on shared libraries, but programs linked with such libtool
8969 *** libraries will work regardless of this problem. Nevertheless, you
8970 *** may want to report the problem to your system manager and/or to
8971 *** bug-libtool@gnu.org
8981 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8986 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8987 if test -n "$MAGIC_CMD"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8989 $as_echo "$MAGIC_CMD" >&6; }
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
9005 # Use C for the default configuration in the libtool script
9009 ac_cpp
='$CPP $CPPFLAGS'
9010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9015 # Source file extension for C test sources.
9018 # Object file extension for compiled C test sources.
9022 # Code to be used in simple compile tests
9023 lt_simple_compile_test_code
="int some_variable = 0;"
9025 # Code to be used in simple link tests
9026 lt_simple_link_test_code
='int main(){return(0);}'
9034 # If no C compiler was specified, use CC.
9037 # If no C compiler flags were specified, use CFLAGS.
9038 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9040 # Allow CC to be a program name with arguments.
9043 # Save the default compiler, since it gets overwritten when the other
9044 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9045 compiler_DEFAULT
=$CC
9047 # save warnings/boilerplate of simple test code
9048 ac_outfile
=conftest.
$ac_objext
9049 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9050 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9051 _lt_compiler_boilerplate
=`cat conftest.err`
9054 ac_outfile
=conftest.
$ac_objext
9055 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9056 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9057 _lt_linker_boilerplate
=`cat conftest.err`
9062 ## There is no encapsulation within the following macros, do not change
9063 ## the running order or otherwise move them around unless you know exactly
9064 ## what you are doing...
9065 if test -n "$compiler"; then
9067 lt_prog_compiler_no_builtin_flag
=
9069 if test "$GCC" = yes; then
9070 case $cc_basename in
9072 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9074 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9078 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9079 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9082 lt_cv_prog_compiler_rtti_exceptions
=no
9083 ac_outfile
=conftest.
$ac_objext
9084 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9085 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9086 # Insert the option either (1) after the last *FLAGS variable, or
9087 # (2) before a word containing "conftest.", or (3) at the end.
9088 # Note that $ac_compile itself does not contain backslashes and begins
9089 # with a dollar sign (not a hyphen), so the echo should work correctly.
9090 # The option is referenced via a variable to avoid confusing sed.
9091 lt_compile
=`echo "$ac_compile" | $SED \
9092 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9093 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9094 -e 's:$: $lt_compiler_flag:'`
9095 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9096 (eval "$lt_compile" 2>conftest.err
)
9098 cat conftest.err
>&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 if (exit $ac_status) && test -s "$ac_outfile"; then
9101 # The compiler can only warn and ignore the option if not recognized
9102 # So say no if there are warnings other than the usual output.
9103 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9104 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9105 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9106 lt_cv_prog_compiler_rtti_exceptions
=yes
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9113 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9115 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9116 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9128 lt_prog_compiler_wl
=
9129 lt_prog_compiler_pic
=
9130 lt_prog_compiler_static
=
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9133 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9135 if test "$GCC" = yes; then
9136 lt_prog_compiler_wl
='-Wl,'
9137 lt_prog_compiler_static
='-static'
9141 # All AIX code is PIC.
9142 if test "$host_cpu" = ia64
; then
9143 # AIX 5 now supports IA64 processor
9144 lt_prog_compiler_static
='-Bstatic'
9146 lt_prog_compiler_pic
='-fPIC'
9152 # see comment about AmigaOS4 .so support
9153 lt_prog_compiler_pic
='-fPIC'
9156 # FIXME: we need at least 68020 code to build shared libraries, but
9157 # adding the `-m68020' flag to GCC prevents building anything better,
9159 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9164 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9165 # PIC is the default for these OSes.
9168 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9169 # This hack is so that the source file can tell whether it is being
9170 # built for inclusion in a dll (and should export symbols for example).
9171 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9172 # (--disable-auto-import) libraries
9173 lt_prog_compiler_pic
='-DDLL_EXPORT'
9176 darwin
* | rhapsody
*)
9177 # PIC is the default on this platform
9178 # Common symbols not allowed in MH_DYLIB files
9179 lt_prog_compiler_pic
='-fno-common'
9183 # PIC is the default for Haiku.
9184 # The "-static" flag exists, but is broken.
9185 lt_prog_compiler_static
=
9189 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9190 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9191 # sets the default TLS model and affects inlining.
9197 lt_prog_compiler_pic
='-fPIC'
9203 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9204 # Instead, we relocate shared libraries at runtime.
9208 # Just because we use GCC doesn't mean we suddenly get shared libraries
9209 # on systems that don't support them.
9210 lt_prog_compiler_can_build_shared
=no
9215 # QNX uses GNU C++, but need to define -shared option too, otherwise
9217 lt_prog_compiler_pic
='-fPIC -shared'
9221 if test -d /usr
/nec
; then
9222 lt_prog_compiler_pic
=-Kconform_pic
9227 lt_prog_compiler_pic
='-fPIC'
9231 case $cc_basename in
9232 nvcc
*) # Cuda Compiler Driver 2.2
9233 lt_prog_compiler_wl
='-Xlinker '
9234 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9238 # PORTME Check for flag to pass linker flags through the system compiler.
9241 lt_prog_compiler_wl
='-Wl,'
9242 if test "$host_cpu" = ia64
; then
9243 # AIX 5 now supports IA64 processor
9244 lt_prog_compiler_static
='-Bstatic'
9246 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9250 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9251 # This hack is so that the source file can tell whether it is being
9252 # built for inclusion in a dll (and should export symbols for example).
9253 lt_prog_compiler_pic
='-DDLL_EXPORT'
9256 hpux9
* | hpux10
* | hpux11
*)
9257 lt_prog_compiler_wl
='-Wl,'
9258 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9265 lt_prog_compiler_pic
='+Z'
9268 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9269 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9272 irix5
* | irix6
* | nonstopux
*)
9273 lt_prog_compiler_wl
='-Wl,'
9274 # PIC (with -KPIC) is the default.
9275 lt_prog_compiler_static
='-non_shared'
9278 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9279 case $cc_basename in
9280 # old Intel for x86_64 which still supported -KPIC.
9282 lt_prog_compiler_wl
='-Wl,'
9283 lt_prog_compiler_pic
='-KPIC'
9284 lt_prog_compiler_static
='-static'
9286 # icc used to be incompatible with GCC.
9287 # ICC 10 doesn't accept -KPIC any more.
9289 lt_prog_compiler_wl
='-Wl,'
9290 lt_prog_compiler_pic
='-fPIC'
9291 lt_prog_compiler_static
='-static'
9293 # Lahey Fortran 8.1.
9295 lt_prog_compiler_wl
='-Wl,'
9296 lt_prog_compiler_pic
='--shared'
9297 lt_prog_compiler_static
='--static'
9299 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9300 # Portland Group compilers (*not* the Pentium gcc compiler,
9301 # which looks to be a dead project)
9302 lt_prog_compiler_wl
='-Wl,'
9303 lt_prog_compiler_pic
='-fpic'
9304 lt_prog_compiler_static
='-Bstatic'
9307 lt_prog_compiler_wl
='-Wl,'
9308 # All Alpha code is PIC.
9309 lt_prog_compiler_static
='-non_shared'
9311 xl
* | bgxl
* | bgf
* | mpixl
*)
9312 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9313 lt_prog_compiler_wl
='-Wl,'
9314 lt_prog_compiler_pic
='-qpic'
9315 lt_prog_compiler_static
='-qstaticlink'
9318 case `$CC -V 2>&1 | sed 5q` in
9319 *Sun\ F
* |
*Sun
*Fortran
*)
9320 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9321 lt_prog_compiler_pic
='-KPIC'
9322 lt_prog_compiler_static
='-Bstatic'
9323 lt_prog_compiler_wl
=''
9327 lt_prog_compiler_pic
='-KPIC'
9328 lt_prog_compiler_static
='-Bstatic'
9329 lt_prog_compiler_wl
='-Wl,'
9337 lt_prog_compiler_pic
='-KPIC'
9338 lt_prog_compiler_static
='-Bstatic'
9342 # QNX uses GNU C++, but need to define -shared option too, otherwise
9344 lt_prog_compiler_pic
='-fPIC -shared'
9347 osf3
* | osf4
* | osf5
*)
9348 lt_prog_compiler_wl
='-Wl,'
9349 # All OSF/1 code is PIC.
9350 lt_prog_compiler_static
='-non_shared'
9354 lt_prog_compiler_static
='-non_shared'
9358 lt_prog_compiler_pic
='-KPIC'
9359 lt_prog_compiler_static
='-Bstatic'
9360 case $cc_basename in
9362 lt_prog_compiler_wl
='-Qoption ld ';;
9364 lt_prog_compiler_wl
='-Wl,';;
9369 lt_prog_compiler_wl
='-Qoption ld '
9370 lt_prog_compiler_pic
='-PIC'
9371 lt_prog_compiler_static
='-Bstatic'
9374 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9375 lt_prog_compiler_wl
='-Wl,'
9376 lt_prog_compiler_pic
='-KPIC'
9377 lt_prog_compiler_static
='-Bstatic'
9381 if test -d /usr
/nec
;then
9382 lt_prog_compiler_pic
='-Kconform_pic'
9383 lt_prog_compiler_static
='-Bstatic'
9387 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9388 lt_prog_compiler_wl
='-Wl,'
9389 lt_prog_compiler_pic
='-KPIC'
9390 lt_prog_compiler_static
='-Bstatic'
9394 lt_prog_compiler_wl
='-Wl,'
9395 lt_prog_compiler_can_build_shared
=no
9399 lt_prog_compiler_pic
='-pic'
9400 lt_prog_compiler_static
='-Bstatic'
9404 lt_prog_compiler_can_build_shared
=no
9410 # For platforms which do not support PIC, -DPIC is meaningless:
9412 lt_prog_compiler_pic
=
9415 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9419 $as_echo "$lt_prog_compiler_pic" >&6; }
9427 # Check to make sure the PIC flag actually works.
9429 if test -n "$lt_prog_compiler_pic"; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9431 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9432 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9433 $as_echo_n "(cached) " >&6
9435 lt_cv_prog_compiler_pic_works
=no
9436 ac_outfile
=conftest.
$ac_objext
9437 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9438 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9439 # Insert the option either (1) after the last *FLAGS variable, or
9440 # (2) before a word containing "conftest.", or (3) at the end.
9441 # Note that $ac_compile itself does not contain backslashes and begins
9442 # with a dollar sign (not a hyphen), so the echo should work correctly.
9443 # The option is referenced via a variable to avoid confusing sed.
9444 lt_compile
=`echo "$ac_compile" | $SED \
9445 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9446 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9447 -e 's:$: $lt_compiler_flag:'`
9448 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9449 (eval "$lt_compile" 2>conftest.err
)
9451 cat conftest.err
>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 if (exit $ac_status) && test -s "$ac_outfile"; then
9454 # The compiler can only warn and ignore the option if not recognized
9455 # So say no if there are warnings other than the usual output.
9456 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9457 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9458 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9459 lt_cv_prog_compiler_pic_works
=yes
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9466 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9468 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9469 case $lt_prog_compiler_pic in
9471 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9474 lt_prog_compiler_pic
=
9475 lt_prog_compiler_can_build_shared
=no
9486 # Check to make sure the static flag actually works.
9488 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9490 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9491 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9492 $as_echo_n "(cached) " >&6
9494 lt_cv_prog_compiler_static_works
=no
9495 save_LDFLAGS
="$LDFLAGS"
9496 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9497 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9498 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9499 # The linker can only warn and ignore the option if not recognized
9500 # So say no if there are warnings
9501 if test -s conftest.err
; then
9502 # Append any errors to the config.log.
9503 cat conftest.err
1>&5
9504 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9505 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9506 if diff conftest.exp conftest.er2
>/dev
/null
; then
9507 lt_cv_prog_compiler_static_works
=yes
9510 lt_cv_prog_compiler_static_works
=yes
9514 LDFLAGS
="$save_LDFLAGS"
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9518 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9520 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9523 lt_prog_compiler_static
=
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9533 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9534 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9535 $as_echo_n "(cached) " >&6
9537 lt_cv_prog_compiler_c_o
=no
9538 $RM -r conftest
2>/dev
/null
9542 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9544 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9545 # Insert the option either (1) after the last *FLAGS variable, or
9546 # (2) before a word containing "conftest.", or (3) at the end.
9547 # Note that $ac_compile itself does not contain backslashes and begins
9548 # with a dollar sign (not a hyphen), so the echo should work correctly.
9549 lt_compile
=`echo "$ac_compile" | $SED \
9550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9552 -e 's:$: $lt_compiler_flag:'`
9553 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9554 (eval "$lt_compile" 2>out
/conftest.err
)
9556 cat out
/conftest.err
>&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9560 # The compiler can only warn and ignore the option if not recognized
9561 # So say no if there are warnings
9562 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9563 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9564 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9565 lt_cv_prog_compiler_c_o
=yes
9570 # SGI C++ compiler will create directory out/ii_files/ for
9571 # template instantiation
9572 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9573 $RM out
/* && rmdir out
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9580 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9588 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9589 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9590 $as_echo_n "(cached) " >&6
9592 lt_cv_prog_compiler_c_o
=no
9593 $RM -r conftest
2>/dev
/null
9597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9599 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9600 # Insert the option either (1) after the last *FLAGS variable, or
9601 # (2) before a word containing "conftest.", or (3) at the end.
9602 # Note that $ac_compile itself does not contain backslashes and begins
9603 # with a dollar sign (not a hyphen), so the echo should work correctly.
9604 lt_compile
=`echo "$ac_compile" | $SED \
9605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9607 -e 's:$: $lt_compiler_flag:'`
9608 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9609 (eval "$lt_compile" 2>out
/conftest.err
)
9611 cat out
/conftest.err
>&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9615 # The compiler can only warn and ignore the option if not recognized
9616 # So say no if there are warnings
9617 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9618 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9619 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9620 lt_cv_prog_compiler_c_o
=yes
9625 # SGI C++ compiler will create directory out/ii_files/ for
9626 # template instantiation
9627 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9628 $RM out
/* && rmdir out
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9635 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9640 hard_links
="nottested"
9641 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9642 # do not overwrite the value of need_locks provided by the user
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9644 $as_echo_n "checking if we can lock with hard links... " >&6; }
9647 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9649 ln conftest.a conftest.b
2>&5 || hard_links
=no
9650 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9652 $as_echo "$hard_links" >&6; }
9653 if test "$hard_links" = no
; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9655 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9668 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9671 allow_undefined_flag
=
9672 always_export_symbols
=no
9674 archive_expsym_cmds
=
9675 compiler_needs_object
=no
9676 enable_shared_with_static_runtimes
=no
9677 export_dynamic_flag_spec
=
9678 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9679 hardcode_automatic
=no
9681 hardcode_direct_absolute
=no
9682 hardcode_libdir_flag_spec
=
9683 hardcode_libdir_flag_spec_ld
=
9684 hardcode_libdir_separator
=
9686 hardcode_shlibpath_var
=unsupported
9688 link_all_deplibs
=unknown
9691 old_archive_from_new_cmds
=
9692 old_archive_from_expsyms_cmds
=
9693 thread_safe_flag_spec
=
9694 whole_archive_flag_spec
=
9695 # include_expsyms should be a list of space-separated symbols to be *always*
9696 # included in the symbol list
9698 # exclude_expsyms can be an extended regexp of symbols to exclude
9699 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9700 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9701 # as well as any symbol that contains `d'.
9702 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9703 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9704 # platforms (ab)use it in PIC code, but their linkers get confused if
9705 # the symbol is explicitly referenced. Since portable code cannot
9706 # rely on this symbol name, it's probably fine to never include it in
9707 # preloaded symbol tables.
9708 # Exclude shared library initialization/finalization symbols.
9709 extract_expsyms_cmds
=
9712 cygwin
* | mingw
* | pw32
* | cegcc
*)
9713 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9714 # When not using gcc, we currently assume that we are using
9715 # Microsoft Visual C++.
9716 if test "$GCC" != yes; then
9721 # we just hope/assume this is gcc and not c89 (= MSVC++)
9731 # On some targets, GNU ld is compatible enough with the native linker
9732 # that we're better off using the native interface for both.
9733 lt_use_gnu_ld_interface
=no
9734 if test "$with_gnu_ld" = yes; then
9737 # The AIX port of GNU ld has always aspired to compatibility
9738 # with the native linker. However, as the warning in the GNU ld
9739 # block says, versions before 2.19.5* couldn't really create working
9740 # shared libraries, regardless of the interface used.
9741 case `$LD -v 2>&1` in
9742 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9743 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9744 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9746 lt_use_gnu_ld_interface
=yes
9751 lt_use_gnu_ld_interface
=yes
9756 if test "$lt_use_gnu_ld_interface" = yes; then
9757 # If archive_cmds runs LD, not CC, wlarc should be empty
9760 # Set some defaults for GNU ld with shared library support. These
9761 # are reset later if shared libraries are not supported. Putting them
9762 # here allows them to be overridden if necessary.
9763 runpath_var
=LD_RUN_PATH
9764 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9765 export_dynamic_flag_spec
='${wl}--export-dynamic'
9766 # ancient GNU ld didn't support --whole-archive et. al.
9767 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9768 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9770 whole_archive_flag_spec
=
9772 supports_anon_versioning
=no
9773 case `$LD -v 2>&1` in
9774 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9775 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9776 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9777 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9778 *\
2.11.
*) ;; # other 2.11 versions
9779 *) supports_anon_versioning
=yes ;;
9782 # See if GNU ld supports shared libraries.
9785 # On AIX/PPC, the GNU linker is very broken
9786 if test "$host_cpu" != ia64
; then
9790 *** Warning: the GNU linker, at least up to release 2.19, is reported
9791 *** to be unable to reliably create shared libraries on AIX.
9792 *** Therefore, libtool is disabling shared libraries support. If you
9793 *** really care for shared libraries, you may want to install binutils
9794 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9795 *** You will then need to restart the configuration process.
9804 # see comment about AmigaOS4 .so support
9805 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 archive_expsym_cmds
=''
9809 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)'
9810 hardcode_libdir_flag_spec
='-L$libdir'
9811 hardcode_minus_L
=yes
9817 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9818 allow_undefined_flag
=unsupported
9819 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9820 # support --undefined. This deserves some investigation. FIXME
9821 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9827 cygwin
* | mingw
* | pw32
* | cegcc
*)
9828 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9829 # as there is no search path for DLLs.
9830 hardcode_libdir_flag_spec
='-L$libdir'
9831 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9832 allow_undefined_flag
=unsupported
9833 always_export_symbols
=no
9834 enable_shared_with_static_runtimes
=yes
9835 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9837 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9839 # If the export-symbols file already is a .def file (1st line
9840 # is EXPORTS), use it as is; otherwise, prepend...
9841 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9842 cp $export_symbols $output_objdir/$soname.def;
9844 echo EXPORTS > $output_objdir/$soname.def;
9845 cat $export_symbols >> $output_objdir/$soname.def;
9847 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9854 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9855 link_all_deplibs
=yes
9860 hardcode_shlibpath_var
=no
9861 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9862 export_dynamic_flag_spec
='${wl}-E'
9863 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9864 # Instead, shared libraries are loaded at an image base (0x10000000 by
9865 # default) and relocated if they conflict, which is a slow very memory
9866 # consuming and fragmenting process. To avoid this, we pick a random,
9867 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9868 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9869 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9870 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'
9873 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9875 if test "$host_os" = linux-dietlibc
; then
9876 case $cc_basename in
9877 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9880 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9881 && test "$tmp_diet" = no
9884 tmp_sharedflag
='-shared'
9885 case $cc_basename,$host_cpu in
9886 pgcc
*) # Portland Group C compiler
9887 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'
9888 tmp_addflag
=' $pic_flag'
9890 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9891 # Portland Group f77 and f90 compilers
9892 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'
9893 tmp_addflag
=' $pic_flag -Mnomain' ;;
9894 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9895 tmp_addflag
=' -i_dynamic' ;;
9896 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9897 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9898 ifc
* | ifort
*) # Intel Fortran compiler
9899 tmp_addflag
=' -nofor_main' ;;
9900 lf95
*) # Lahey Fortran 8.1
9901 whole_archive_flag_spec
=
9902 tmp_sharedflag
='--shared' ;;
9903 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9904 tmp_sharedflag
='-qmkshrobj'
9906 nvcc
*) # Cuda Compiler Driver 2.2
9907 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'
9908 compiler_needs_object
=yes
9911 case `$CC -V 2>&1 | sed 5q` in
9912 *Sun\ C
*) # Sun C 5.9
9913 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'
9914 compiler_needs_object
=yes
9915 tmp_sharedflag
='-G' ;;
9916 *Sun\ F
*) # Sun Fortran 8.3
9917 tmp_sharedflag
='-G' ;;
9919 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9921 if test "x$supports_anon_versioning" = xyes
; then
9922 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9923 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9924 echo "local: *; };" >> $output_objdir/$libname.ver~
9925 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9928 case $cc_basename in
9929 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9930 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9931 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9932 hardcode_libdir_flag_spec
=
9933 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9934 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9935 if test "x$supports_anon_versioning" = xyes
; then
9936 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9937 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9938 echo "local: *; };" >> $output_objdir/$libname.ver~
9939 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9949 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9950 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9954 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9959 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9963 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9964 *** create shared libraries on Solaris systems. Therefore, libtool
9965 *** is disabling shared libraries support. We urge you to upgrade GNU
9966 *** binutils to release 2.9.1 or newer. Another option is to modify
9967 *** your PATH or compiler configuration so that the native linker is
9968 *** used, and then restart.
9971 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9972 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9973 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9979 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9980 case `$LD -v 2>&1` in
9981 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9985 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9986 *** reliably create shared libraries on SCO systems. Therefore, libtool
9987 *** is disabling shared libraries support. We urge you to upgrade GNU
9988 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9989 *** your PATH or compiler configuration so that the native linker is
9990 *** used, and then restart.
9995 # For security reasons, it is highly recommended that you always
9996 # use absolute paths for naming shared libraries, and exclude the
9997 # DT_RUNPATH tag from executables and libraries. But doing so
9998 # requires that you compile everything twice, which is a pain.
9999 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10000 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10001 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10002 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10011 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_direct
=yes
10014 hardcode_shlibpath_var
=no
10018 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10019 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10020 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10027 if test "$ld_shlibs" = no
; then
10029 hardcode_libdir_flag_spec
=
10030 export_dynamic_flag_spec
=
10031 whole_archive_flag_spec
=
10034 # PORTME fill in a description of your system's linker (not GNU ld)
10037 allow_undefined_flag
=unsupported
10038 always_export_symbols
=yes
10039 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'
10040 # Note: this linker hardcodes the directories in LIBPATH if there
10041 # are no directories specified by -L.
10042 hardcode_minus_L
=yes
10043 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10044 # Neither direct hardcoding nor static linking is supported with a
10046 hardcode_direct
=unsupported
10051 if test "$host_cpu" = ia64
; then
10052 # On IA64, the linker does run time linking by default, so we don't
10053 # have to do anything special.
10054 aix_use_runtimelinking
=no
10055 exp_sym_flag
='-Bexport'
10058 # If we're using GNU nm, then we don't want the "-C" option.
10059 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10060 # Also, AIX nm treats weak defined symbols like other global
10061 # defined symbols, whereas GNU nm marks them as "W".
10062 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10063 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'
10065 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10067 aix_use_runtimelinking
=no
10069 # Test if we are trying to use run time linking or normal
10070 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10071 # need to do runtime linking.
10072 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10073 for ld_flag
in $LDFLAGS; do
10074 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10075 aix_use_runtimelinking
=yes
10082 exp_sym_flag
='-bexport'
10083 no_entry_flag
='-bnoentry'
10086 # When large executables or shared objects are built, AIX ld can
10087 # have problems creating the table of contents. If linking a library
10088 # or program results in "error TOC overflow" add -mminimal-toc to
10089 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10090 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10093 hardcode_direct
=yes
10094 hardcode_direct_absolute
=yes
10095 hardcode_libdir_separator
=':'
10096 link_all_deplibs
=yes
10097 file_list_spec
='${wl}-f,'
10099 if test "$GCC" = yes; then
10100 case $host_os in aix4.
[012]|aix4.
[012].
*)
10101 # We only want to do this on AIX 4.2 and lower, the check
10102 # below for broken collect2 doesn't work under 4.3+
10103 collect2name
=`${CC} -print-prog-name=collect2`
10104 if test -f "$collect2name" &&
10105 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10107 # We have reworked collect2
10110 # We have old collect2
10111 hardcode_direct
=unsupported
10112 # It fails to find uninstalled libraries when the uninstalled
10113 # path is not listed in the libpath. Setting hardcode_minus_L
10114 # to unsupported forces relinking
10115 hardcode_minus_L
=yes
10116 hardcode_libdir_flag_spec
='-L$libdir'
10117 hardcode_libdir_separator
=
10121 shared_flag
='-shared'
10122 if test "$aix_use_runtimelinking" = yes; then
10123 shared_flag
="$shared_flag "'${wl}-G'
10127 if test "$host_cpu" = ia64
; then
10128 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10129 # chokes on -Wl,-G. The following line is correct:
10132 if test "$aix_use_runtimelinking" = yes; then
10133 shared_flag
='${wl}-G'
10135 shared_flag
='${wl}-bM:SRE'
10140 export_dynamic_flag_spec
='${wl}-bexpall'
10141 # It seems that -bexpall does not export symbols beginning with
10142 # underscore (_), so it is better to generate a list of symbols to export.
10143 always_export_symbols
=yes
10144 if test "$aix_use_runtimelinking" = yes; then
10145 # Warning - without using the other runtime loading flags (-brtl),
10146 # -berok will link without error, but may produce a broken library.
10147 allow_undefined_flag
='-berok'
10148 # Determine the default libpath from the value encoded in an
10149 # empty executable.
10150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10161 if ac_fn_c_try_link
"$LINENO"; then :
10163 lt_aix_libpath_sed
='
10164 /Import File Strings/,/^$/ {
10170 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10171 # Check for a 64-bit object if we didn't find anything.
10172 if test -z "$aix_libpath"; then
10173 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10176 rm -f core conftest.err conftest.
$ac_objext \
10177 conftest
$ac_exeext conftest.
$ac_ext
10178 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10180 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10181 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"
10183 if test "$host_cpu" = ia64
; then
10184 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10185 allow_undefined_flag
="-z nodefs"
10186 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"
10188 # Determine the default libpath from the value encoded in an
10189 # empty executable.
10190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10201 if ac_fn_c_try_link
"$LINENO"; then :
10203 lt_aix_libpath_sed
='
10204 /Import File Strings/,/^$/ {
10210 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10211 # Check for a 64-bit object if we didn't find anything.
10212 if test -z "$aix_libpath"; then
10213 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10216 rm -f core conftest.err conftest.
$ac_objext \
10217 conftest
$ac_exeext conftest.
$ac_ext
10218 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10220 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10221 # Warning - without using the other run time loading flags,
10222 # -berok will link without error, but may produce a broken library.
10223 no_undefined_flag
=' ${wl}-bernotok'
10224 allow_undefined_flag
=' ${wl}-berok'
10225 if test "$with_gnu_ld" = yes; then
10226 # We only use this code for GNU lds that support --whole-archive.
10227 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10229 # Exported symbols can be pulled into shared objects from archives
10230 whole_archive_flag_spec
='$convenience'
10232 archive_cmds_need_lc
=yes
10233 # This is similar to how AIX traditionally builds its shared libraries.
10234 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'
10242 # see comment about AmigaOS4 .so support
10243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10244 archive_expsym_cmds
=''
10247 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)'
10248 hardcode_libdir_flag_spec
='-L$libdir'
10249 hardcode_minus_L
=yes
10255 export_dynamic_flag_spec
=-rdynamic
10258 cygwin
* | mingw
* | pw32
* | cegcc
*)
10259 # When not using gcc, we currently assume that we are using
10260 # Microsoft Visual C++.
10261 # hardcode_libdir_flag_spec is actually meaningless, as there is
10262 # no search path for DLLs.
10263 hardcode_libdir_flag_spec
=' '
10264 allow_undefined_flag
=unsupported
10265 # Tell ltmain to make .lib files, not .a files.
10267 # Tell ltmain to make .dll files, not .so files.
10269 # FIXME: Setting linknames here is a bad hack.
10270 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10271 # The linker will automatically build a .lib file if we build a DLL.
10272 old_archive_from_new_cmds
='true'
10273 # FIXME: Should let the user specify the lib program.
10274 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10275 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10276 enable_shared_with_static_runtimes
=yes
10279 darwin
* | rhapsody
*)
10282 archive_cmds_need_lc
=no
10284 hardcode_automatic
=yes
10285 hardcode_shlibpath_var
=unsupported
10286 if test "$lt_cv_ld_force_load" = "yes"; then
10287 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\"`'
10289 whole_archive_flag_spec
=''
10291 link_all_deplibs
=yes
10292 allow_undefined_flag
="$_lt_dar_allow_undefined"
10293 case $cc_basename in
10294 ifort
*) _lt_dar_can_shared
=yes ;;
10295 *) _lt_dar_can_shared
=$GCC ;;
10297 if test "$_lt_dar_can_shared" = "yes"; then
10298 output_verbose_link_cmd
=func_echo_all
10299 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10300 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10301 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}"
10302 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}"
10311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10312 hardcode_libdir_flag_spec
='-L$libdir'
10313 hardcode_shlibpath_var
=no
10316 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10317 # support. Future versions do this automatically, but an explicit c++rt0.o
10318 # does not break anything, and helps significantly (at the cost of a little
10321 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10322 hardcode_libdir_flag_spec
='-R$libdir'
10323 hardcode_direct
=yes
10324 hardcode_shlibpath_var
=no
10327 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10329 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10330 hardcode_direct
=yes
10331 hardcode_minus_L
=yes
10332 hardcode_shlibpath_var
=no
10335 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10336 freebsd
* | dragonfly
*)
10337 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10338 hardcode_libdir_flag_spec
='-R$libdir'
10339 hardcode_direct
=yes
10340 hardcode_shlibpath_var
=no
10344 if test "$GCC" = yes; then
10345 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'
10347 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'
10349 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10350 hardcode_libdir_separator
=:
10351 hardcode_direct
=yes
10353 # hardcode_minus_L: Not really in the search PATH,
10354 # but as the default location of the library.
10355 hardcode_minus_L
=yes
10356 export_dynamic_flag_spec
='${wl}-E'
10360 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10361 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10365 if test "$with_gnu_ld" = no
; then
10366 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10367 hardcode_libdir_flag_spec_ld
='+b $libdir'
10368 hardcode_libdir_separator
=:
10369 hardcode_direct
=yes
10370 hardcode_direct_absolute
=yes
10371 export_dynamic_flag_spec
='${wl}-E'
10372 # hardcode_minus_L: Not really in the search PATH,
10373 # but as the default location of the library.
10374 hardcode_minus_L
=yes
10379 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10382 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10385 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10394 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10397 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10401 # Older versions of the 11.00 compiler do not understand -b yet
10402 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10404 $as_echo_n "checking if $CC understands -b... " >&6; }
10405 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10406 $as_echo_n "(cached) " >&6
10408 lt_cv_prog_compiler__b
=no
10409 save_LDFLAGS
="$LDFLAGS"
10410 LDFLAGS
="$LDFLAGS -b"
10411 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10412 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10413 # The linker can only warn and ignore the option if not recognized
10414 # So say no if there are warnings
10415 if test -s conftest.err
; then
10416 # Append any errors to the config.log.
10417 cat conftest.err
1>&5
10418 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10419 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10420 if diff conftest.exp conftest.er2
>/dev
/null
; then
10421 lt_cv_prog_compiler__b
=yes
10424 lt_cv_prog_compiler__b
=yes
10428 LDFLAGS
="$save_LDFLAGS"
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10432 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10434 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10435 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10437 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10443 if test "$with_gnu_ld" = no
; then
10444 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10445 hardcode_libdir_separator
=:
10450 hardcode_shlibpath_var
=no
10453 hardcode_direct
=yes
10454 hardcode_direct_absolute
=yes
10455 export_dynamic_flag_spec
='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L
=yes
10465 irix5
* | irix6
* | nonstopux
*)
10466 if test "$GCC" = yes; then
10467 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'
10468 # Try to use the -exported_symbol ld option, if it does not
10469 # work, assume that -exports_file does not work either and
10470 # implicitly export all symbols.
10471 save_LDFLAGS
="$LDFLAGS"
10472 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10477 if ac_fn_c_try_link
"$LINENO"; then :
10478 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'
10481 rm -f core conftest.err conftest.
$ac_objext \
10482 conftest
$ac_exeext conftest.
$ac_ext
10483 LDFLAGS
="$save_LDFLAGS"
10485 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'
10486 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'
10488 archive_cmds_need_lc
='no'
10489 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10490 hardcode_libdir_separator
=:
10492 link_all_deplibs
=yes
10496 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10497 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10499 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10501 hardcode_libdir_flag_spec
='-R$libdir'
10502 hardcode_direct
=yes
10503 hardcode_shlibpath_var
=no
10507 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10508 hardcode_direct
=yes
10509 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10510 hardcode_libdir_separator
=:
10511 hardcode_shlibpath_var
=no
10518 if test -f /usr
/libexec
/ld.so
; then
10519 hardcode_direct
=yes
10520 hardcode_shlibpath_var
=no
10521 hardcode_direct_absolute
=yes
10522 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10523 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10524 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10525 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10526 export_dynamic_flag_spec
='${wl}-E'
10529 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10530 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10531 hardcode_libdir_flag_spec
='-R$libdir'
10534 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10535 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10545 hardcode_libdir_flag_spec
='-L$libdir'
10546 hardcode_minus_L
=yes
10547 allow_undefined_flag
=unsupported
10548 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'
10549 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10553 if test "$GCC" = yes; then
10554 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10555 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'
10557 allow_undefined_flag
=' -expect_unresolved \*'
10558 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'
10560 archive_cmds_need_lc
='no'
10561 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10562 hardcode_libdir_separator
=:
10565 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10566 if test "$GCC" = yes; then
10567 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10568 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'
10569 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10571 allow_undefined_flag
=' -expect_unresolved \*'
10572 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'
10573 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~
10574 $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'
10576 # Both c and cxx compiler support -rpath directly
10577 hardcode_libdir_flag_spec
='-rpath $libdir'
10579 archive_cmds_need_lc
='no'
10580 hardcode_libdir_separator
=:
10584 no_undefined_flag
=' -z defs'
10585 if test "$GCC" = yes; then
10587 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10589 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10591 case `$CC -V 2>&1` in
10594 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10595 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10596 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10600 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10602 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10606 hardcode_libdir_flag_spec
='-R$libdir'
10607 hardcode_shlibpath_var
=no
10609 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10611 # The compiler driver will combine and reorder linker options,
10612 # but understands `-z linker_flag'. GCC discards it without `$wl',
10613 # but is careful enough not to reorder.
10614 # Supported since Solaris 2.6 (maybe 2.5.1?)
10615 if test "$GCC" = yes; then
10616 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10618 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10622 link_all_deplibs
=yes
10626 if test "x$host_vendor" = xsequent
; then
10627 # Use $CC to link under sequent, because it throws in some extra .o
10628 # files that make .init and .fini sections work.
10629 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10631 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_libdir_flag_spec
='-L$libdir'
10634 hardcode_direct
=yes
10635 hardcode_minus_L
=yes
10636 hardcode_shlibpath_var
=no
10640 case $host_vendor in
10642 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643 hardcode_direct
=yes # is this really true???
10646 ## LD is ld it makes a PLAMLIB
10647 ## CC just makes a GrossModule.
10648 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10649 reload_cmds
='$CC -r -o $output$reload_objs'
10653 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10654 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10657 runpath_var
='LD_RUN_PATH'
10658 hardcode_shlibpath_var
=no
10662 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10663 hardcode_shlibpath_var
=no
10664 export_dynamic_flag_spec
='-Bexport'
10668 if test -d /usr
/nec
; then
10669 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10670 hardcode_shlibpath_var
=no
10671 runpath_var
=LD_RUN_PATH
10672 hardcode_runpath_var
=yes
10677 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10678 no_undefined_flag
='${wl}-z,text'
10679 archive_cmds_need_lc
=no
10680 hardcode_shlibpath_var
=no
10681 runpath_var
='LD_RUN_PATH'
10683 if test "$GCC" = yes; then
10684 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10687 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692 sysv5
* | sco3.2v5
* | sco5v6
*)
10693 # Note: We can NOT use -z defs as we might desire, because we do not
10694 # link with -lc, and that would cause any symbols used from libc to
10695 # always be unresolved, which means just about no library would
10696 # ever link correctly. If we're not using GNU ld we use -z text
10697 # though, which does catch some bad symbols but isn't as heavy-handed
10699 no_undefined_flag
='${wl}-z,text'
10700 allow_undefined_flag
='${wl}-z,nodefs'
10701 archive_cmds_need_lc
=no
10702 hardcode_shlibpath_var
=no
10703 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10704 hardcode_libdir_separator
=':'
10705 link_all_deplibs
=yes
10706 export_dynamic_flag_spec
='${wl}-Bexport'
10707 runpath_var
='LD_RUN_PATH'
10709 if test "$GCC" = yes; then
10710 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10711 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10714 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10720 hardcode_libdir_flag_spec
='-L$libdir'
10721 hardcode_shlibpath_var
=no
10729 if test x
$host_vendor = xsni
; then
10731 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10732 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10739 $as_echo "$ld_shlibs" >&6; }
10740 test "$ld_shlibs" = no
&& can_build_shared
=no
10742 with_gnu_ld
=$with_gnu_ld
10759 # Do we need to explicitly link libc?
10761 case "x$archive_cmds_need_lc" in
10763 # Assume -lc should be added
10764 archive_cmds_need_lc
=yes
10766 if test "$enable_shared" = yes && test "$GCC" = yes; then
10767 case $archive_cmds in
10769 # FIXME: we may have to deal with multi-command sequences.
10772 # Test whether the compiler implicitly links with -lc since on some
10773 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10774 # to ld, don't add -lc before -lgcc.
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10776 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10777 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10778 $as_echo_n "(cached) " >&6
10781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10784 (eval $ac_compile) 2>&5
10786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10787 test $ac_status = 0; } 2>conftest.err
; then
10790 libobjs
=conftest.
$ac_objext
10792 wl
=$lt_prog_compiler_wl
10793 pic_flag
=$lt_prog_compiler_pic
10799 lt_save_allow_undefined_flag
=$allow_undefined_flag
10800 allow_undefined_flag
=
10801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10802 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10805 test $ac_status = 0; }
10807 lt_cv_archive_cmds_need_lc
=no
10809 lt_cv_archive_cmds_need_lc
=yes
10811 allow_undefined_flag
=$lt_save_allow_undefined_flag
10813 cat conftest.err
1>&5
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10819 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10820 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10984 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10986 if test "$GCC" = yes; then
10988 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10989 *) lt_awk_arg
="/^libraries:/" ;;
10992 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10993 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10995 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10996 case $lt_search_path_spec in
10998 # if the path contains ";" then we assume it to be the separator
10999 # otherwise default to the standard path separator (i.e. ":") - it is
11000 # assumed that no part of a normal pathname contains ";" but that should
11001 # okay in the real world where ";" in dirpaths is itself problematic.
11002 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11005 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11008 # Ok, now we have the path, separated by spaces, we can step through it
11009 # and add multilib dir if necessary.
11010 lt_tmp_lt_search_path_spec
=
11011 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11012 for lt_sys_path
in $lt_search_path_spec; do
11013 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11014 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11016 test -d "$lt_sys_path" && \
11017 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11020 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11021 BEGIN {RS=" "; FS="/|\n";} {
11024 for (lt_i = NF; lt_i > 0; lt_i--) {
11025 if ($lt_i != "" && $lt_i != ".") {
11026 if ($lt_i == "..") {
11029 if (lt_count == 0) {
11030 lt_foo="/" $lt_i lt_foo;
11037 if (lt_foo != "") { lt_freq[lt_foo]++; }
11038 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11040 # AWK program above erroneously prepends '/' to C:/dos/paths
11043 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11044 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11046 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11048 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11050 library_names_spec
=
11051 libname_spec
='lib$name'
11055 postuninstall_cmds
=
11059 shlibpath_overrides_runpath
=unknown
11061 dynamic_linker
="$host_os ld.so"
11062 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11063 need_lib_prefix
=unknown
11064 hardcode_into_libs
=no
11066 # when you set need_version to no, make sure it does not cause -set_version
11067 # flags to be left without arguments
11068 need_version
=unknown
11073 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11074 shlibpath_var
=LIBPATH
11076 # AIX 3 has no versioning support, so we append a major version to the name.
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11084 hardcode_into_libs
=yes
11085 if test "$host_cpu" = ia64
; then
11086 # AIX 5 supports IA64
11087 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11088 shlibpath_var
=LD_LIBRARY_PATH
11090 # With GCC up to 2.95.x, collect2 would create an import file
11091 # for dependence libraries. The import file would start with
11092 # the line `#! .'. This would cause the generated library to
11093 # depend on `.', always an invalid library. This was fixed in
11094 # development snapshots of GCC prior to 3.0.
11096 aix4 | aix4.
[01] | aix4.
[01].
*)
11097 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11099 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11102 can_build_shared
=no
11106 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11107 # soname into executable. Probably we can add versioning support to
11108 # collect2, so additional links can be useful in future.
11109 if test "$aix_use_runtimelinking" = yes; then
11110 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11111 # instead of lib<name>.a to let people know that these are not
11112 # typical AIX shared libraries.
11113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 # We preserve .a as extension for shared libraries through AIX4.2
11116 # and later when we are not doing run time linking.
11117 library_names_spec
='${libname}${release}.a $libname.a'
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11120 shlibpath_var
=LIBPATH
11127 # Since July 2007 AmigaOS4 officially supports .so libraries.
11128 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 library_names_spec
='$libname.ixlibrary $libname.a'
11133 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11134 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'
11140 library_names_spec
='${libname}${shared_ext}'
11141 dynamic_linker
="$host_os ld.so"
11142 shlibpath_var
=LIBRARY_PATH
11148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149 soname_spec
='${libname}${release}${shared_ext}$major'
11150 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11151 shlibpath_var
=LD_LIBRARY_PATH
11152 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11153 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11154 # the default ld.so.conf also contains /usr/contrib/lib and
11155 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11156 # libtool to hard-code these into programs
11159 cygwin
* | mingw
* | pw32
* | cegcc
*)
11160 version_type
=windows
11165 case $GCC,$host_os in
11166 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11167 library_names_spec
='$libname.dll.a'
11168 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11169 postinstall_cmds
='base_file=`basename \${file}`~
11170 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11171 dldir=$destdir/`dirname \$dlpath`~
11172 test -d \$dldir || mkdir -p \$dldir~
11173 $install_prog $dir/$dlname \$dldir/$dlname~
11174 chmod a+x \$dldir/$dlname~
11175 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11176 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11178 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11179 dlpath=$dir/\$dldll~
11181 shlibpath_overrides_runpath
=yes
11185 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11186 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11188 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11191 # MinGW DLLs use traditional 'lib' prefix
11192 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11195 # pw32 DLLs use 'pw' prefix rather than 'lib'
11196 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11202 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11205 dynamic_linker
='Win32 ld.exe'
11206 # FIXME: first we should search . and the directory the executable is in
11210 darwin
* | rhapsody
*)
11211 dynamic_linker
="$host_os dyld"
11212 version_type
=darwin
11215 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11216 soname_spec
='${libname}${release}${major}$shared_ext'
11217 shlibpath_overrides_runpath
=yes
11218 shlibpath_var
=DYLD_LIBRARY_PATH
11219 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11221 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11222 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11230 soname_spec
='${libname}${release}${shared_ext}$major'
11231 shlibpath_var
=LD_LIBRARY_PATH
11234 freebsd
* | dragonfly
*)
11235 # DragonFly does not have aout. When/if they implement a new
11236 # versioning mechanism, adjust this.
11237 if test -x /usr
/bin
/objformat
; then
11238 objformat
=`/usr/bin/objformat`
11241 freebsd
[23].
*) objformat
=aout
;;
11242 *) objformat
=elf
;;
11245 version_type
=freebsd-
$objformat
11246 case $version_type in
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11253 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11257 shlibpath_var
=LD_LIBRARY_PATH
11260 shlibpath_overrides_runpath
=yes
11262 freebsd3.
[01]* | freebsdelf3.
[01]*)
11263 shlibpath_overrides_runpath
=yes
11264 hardcode_into_libs
=yes
11266 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11267 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11268 shlibpath_overrides_runpath
=no
11269 hardcode_into_libs
=yes
11271 *) # from 4.6 on, and DragonFly
11272 shlibpath_overrides_runpath
=yes
11273 hardcode_into_libs
=yes
11282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11283 soname_spec
='${libname}${release}${shared_ext}$major'
11284 shlibpath_var
=LD_LIBRARY_PATH
11285 hardcode_into_libs
=yes
11292 dynamic_linker
="$host_os runtime_loader"
11293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11294 soname_spec
='${libname}${release}${shared_ext}$major'
11295 shlibpath_var
=LIBRARY_PATH
11296 shlibpath_overrides_runpath
=yes
11297 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11298 hardcode_into_libs
=yes
11301 hpux9
* | hpux10
* | hpux11
*)
11302 # Give a soname corresponding to the major version so that dld.sl refuses to
11303 # link against other versions.
11310 hardcode_into_libs
=yes
11311 dynamic_linker
="$host_os dld.so"
11312 shlibpath_var
=LD_LIBRARY_PATH
11313 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11316 if test "X$HPUX_IA64_MODE" = X32
; then
11317 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11319 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11321 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11325 hardcode_into_libs
=yes
11326 dynamic_linker
="$host_os dld.sl"
11327 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11328 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11330 soname_spec
='${libname}${release}${shared_ext}$major'
11331 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11332 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11336 dynamic_linker
="$host_os dld.sl"
11337 shlibpath_var
=SHLIB_PATH
11338 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340 soname_spec
='${libname}${release}${shared_ext}$major'
11343 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11344 postinstall_cmds
='chmod 555 $lib'
11345 # or fails outright, so override atomically:
11346 install_override_mode
=555
11353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11354 soname_spec
='${libname}${release}${shared_ext}$major'
11355 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11356 shlibpath_var
=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath
=no
11358 hardcode_into_libs
=yes
11361 irix5
* | irix6
* | nonstopux
*)
11363 nonstopux
*) version_type
=nonstopux
;;
11365 if test "$lt_cv_prog_gnu_ld" = yes; then
11373 soname_spec
='${libname}${release}${shared_ext}$major'
11374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11376 irix5
* | nonstopux
*)
11377 libsuff
= shlibsuff
=
11380 case $LD in # libtool.m4 will add one of these switches to LD
11381 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11382 libsuff
= shlibsuff
= libmagic
=32-bit;;
11383 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11384 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11385 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11386 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11387 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11391 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11392 shlibpath_overrides_runpath
=no
11393 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11394 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11395 hardcode_into_libs
=yes
11398 # No shared lib support for Linux oldld, aout, or coff.
11399 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11403 # This must be Linux ELF.
11404 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409 soname_spec
='${libname}${release}${shared_ext}$major'
11410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11411 shlibpath_var
=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath
=no
11414 # Some binutils ld are patched to set DT_RUNPATH
11415 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11416 $as_echo_n "(cached) " >&6
11418 lt_cv_shlibpath_overrides_runpath
=no
11419 save_LDFLAGS
=$LDFLAGS
11420 save_libdir
=$libdir
11421 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11422 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11434 if ac_fn_c_try_link
"$LINENO"; then :
11435 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11436 lt_cv_shlibpath_overrides_runpath
=yes
11439 rm -f core conftest.err conftest.
$ac_objext \
11440 conftest
$ac_exeext conftest.
$ac_ext
11441 LDFLAGS
=$save_LDFLAGS
11442 libdir
=$save_libdir
11446 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11448 # This implies no fast_install, which is unacceptable.
11449 # Some rework will be needed to allow for fast_install
11450 # before this can be enabled.
11451 hardcode_into_libs
=yes
11453 # Append ld.so.conf contents to the search path
11454 if test -f /etc
/ld.so.conf
; then
11455 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' ' '`
11456 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11459 # We used to test for /lib/ld.so.1 and disable shared libraries on
11460 # powerpc, because MkLinux only supported shared libraries with the
11461 # GNU dynamic linker. Since this was broken with cross compilers,
11462 # most powerpc-linux boxes support dynamic linking these days and
11463 # people can always --disable-shared, the test was removed, and we
11464 # assume the GNU/Linux dynamic linker is in use.
11465 dynamic_linker
='GNU/Linux ld.so'
11472 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11474 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11475 dynamic_linker
='NetBSD (a.out) ld.so'
11477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11478 soname_spec
='${libname}${release}${shared_ext}$major'
11479 dynamic_linker
='NetBSD ld.elf_so'
11481 shlibpath_var
=LD_LIBRARY_PATH
11482 shlibpath_overrides_runpath
=yes
11483 hardcode_into_libs
=yes
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 shlibpath_var
=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath
=yes
11497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498 soname_spec
='${libname}${release}${shared_ext}$major'
11499 shlibpath_var
=LD_LIBRARY_PATH
11500 shlibpath_overrides_runpath
=no
11501 hardcode_into_libs
=yes
11502 dynamic_linker
='ldqnx.so'
11507 sys_lib_dlsearch_path_spec
="/usr/lib"
11509 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11511 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11512 *) need_version
=no
;;
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11515 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11516 shlibpath_var
=LD_LIBRARY_PATH
11517 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11519 openbsd2.
[89] | openbsd2.
[89].
*)
11520 shlibpath_overrides_runpath
=no
11523 shlibpath_overrides_runpath
=yes
11527 shlibpath_overrides_runpath
=yes
11532 libname_spec
='$name'
11535 library_names_spec
='$libname${shared_ext} $libname.a'
11536 dynamic_linker
='OS/2 ld.exe'
11537 shlibpath_var
=LIBPATH
11540 osf3
* | osf4
* | osf5
*)
11544 soname_spec
='${libname}${release}${shared_ext}$major'
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546 shlibpath_var
=LD_LIBRARY_PATH
11547 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11548 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec
='${libname}${release}${shared_ext}$major'
11561 shlibpath_var
=LD_LIBRARY_PATH
11562 shlibpath_overrides_runpath
=yes
11563 hardcode_into_libs
=yes
11564 # ldd complains unless libraries are executable
11565 postinstall_cmds
='chmod +x $lib'
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11571 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11572 shlibpath_var
=LD_LIBRARY_PATH
11573 shlibpath_overrides_runpath
=yes
11574 if test "$with_gnu_ld" = yes; then
11582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11583 soname_spec
='${libname}${release}${shared_ext}$major'
11584 shlibpath_var
=LD_LIBRARY_PATH
11585 case $host_vendor in
11587 shlibpath_overrides_runpath
=no
11589 runpath_var
=LD_RUN_PATH
11597 shlibpath_overrides_runpath
=no
11598 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11604 if test -d /usr
/nec
;then
11606 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11607 soname_spec
='$libname${shared_ext}.$major'
11608 shlibpath_var
=LD_LIBRARY_PATH
11612 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11613 version_type
=freebsd-elf
11616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11617 soname_spec
='${libname}${release}${shared_ext}$major'
11618 shlibpath_var
=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath
=yes
11620 hardcode_into_libs
=yes
11621 if test "$with_gnu_ld" = yes; then
11622 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11624 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11627 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11631 sys_lib_dlsearch_path_spec
='/usr/lib'
11635 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11640 shlibpath_var
=LD_LIBRARY_PATH
11641 shlibpath_overrides_runpath
=no
11642 hardcode_into_libs
=yes
11647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 soname_spec
='${libname}${release}${shared_ext}$major'
11649 shlibpath_var
=LD_LIBRARY_PATH
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11657 $as_echo "$dynamic_linker" >&6; }
11658 test "$dynamic_linker" = no
&& can_build_shared
=no
11660 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11661 if test "$GCC" = yes; then
11662 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11665 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11666 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11668 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11669 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11764 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11766 if test -n "$hardcode_libdir_flag_spec" ||
11767 test -n "$runpath_var" ||
11768 test "X$hardcode_automatic" = "Xyes" ; then
11770 # We can hardcode non-existent directories.
11771 if test "$hardcode_direct" != no
&&
11772 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11773 # have to relink, otherwise we might link with an installed library
11774 # when we should be linking with a yet-to-be-installed one
11775 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11776 test "$hardcode_minus_L" != no
; then
11777 # Linking always hardcodes the temporary library directory.
11778 hardcode_action
=relink
11780 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11781 hardcode_action
=immediate
11784 # We cannot hardcode anything, or else we can only hardcode existing
11786 hardcode_action
=unsupported
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11789 $as_echo "$hardcode_action" >&6; }
11791 if test "$hardcode_action" = relink ||
11792 test "$inherit_rpath" = yes; then
11793 # Fast installation is not supported
11794 enable_fast_install
=no
11795 elif test "$shlibpath_overrides_runpath" = yes ||
11796 test "$enable_shared" = no
; then
11797 # Fast installation is not necessary
11798 enable_fast_install
=needless
11806 if test "x$enable_dlopen" != xyes
; then
11807 enable_dlopen
=unknown
11808 enable_dlopen_self
=unknown
11809 enable_dlopen_self_static
=unknown
11816 lt_cv_dlopen
="load_add_on"
11818 lt_cv_dlopen_self
=yes
11821 mingw
* | pw32
* | cegcc
*)
11822 lt_cv_dlopen
="LoadLibrary"
11827 lt_cv_dlopen
="dlopen"
11832 # if libdl is installed we need to link against it
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11834 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11835 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11836 $as_echo_n "(cached) " >&6
11838 ac_check_lib_save_LIBS
=$LIBS
11840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11858 if ac_fn_c_try_link
"$LINENO"; then :
11859 ac_cv_lib_dl_dlopen
=yes
11861 ac_cv_lib_dl_dlopen
=no
11863 rm -f core conftest.err conftest.
$ac_objext \
11864 conftest
$ac_exeext conftest.
$ac_ext
11865 LIBS
=$ac_check_lib_save_LIBS
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11868 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11869 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11870 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11873 lt_cv_dlopen
="dyld"
11875 lt_cv_dlopen_self
=yes
11882 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11883 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11884 lt_cv_dlopen
="shl_load"
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11887 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11888 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11889 $as_echo_n "(cached) " >&6
11891 ac_check_lib_save_LIBS
=$LIBS
11893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11906 return shl_load ();
11911 if ac_fn_c_try_link
"$LINENO"; then :
11912 ac_cv_lib_dld_shl_load
=yes
11914 ac_cv_lib_dld_shl_load
=no
11916 rm -f core conftest.err conftest.
$ac_objext \
11917 conftest
$ac_exeext conftest.
$ac_ext
11918 LIBS
=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11921 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11922 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11923 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11925 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11926 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11927 lt_cv_dlopen
="dlopen"
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11930 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11931 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11934 ac_check_lib_save_LIBS
=$LIBS
11936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11937 /* end confdefs.h. */
11939 /* Override any GCC internal prototype to avoid an error.
11940 Use char because int might match the return type of a GCC
11941 builtin and then its argument prototype would still apply. */
11954 if ac_fn_c_try_link
"$LINENO"; then :
11955 ac_cv_lib_dl_dlopen
=yes
11957 ac_cv_lib_dl_dlopen
=no
11959 rm -f core conftest.err conftest.
$ac_objext \
11960 conftest
$ac_exeext conftest.
$ac_ext
11961 LIBS
=$ac_check_lib_save_LIBS
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11964 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11965 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11966 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11969 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11970 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11971 $as_echo_n "(cached) " >&6
11973 ac_check_lib_save_LIBS
=$LIBS
11974 LIBS
="-lsvld $LIBS"
11975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11993 if ac_fn_c_try_link
"$LINENO"; then :
11994 ac_cv_lib_svld_dlopen
=yes
11996 ac_cv_lib_svld_dlopen
=no
11998 rm -f core conftest.err conftest.
$ac_objext \
11999 conftest
$ac_exeext conftest.
$ac_ext
12000 LIBS
=$ac_check_lib_save_LIBS
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12003 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12004 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12005 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12008 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12009 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12010 $as_echo_n "(cached) " >&6
12012 ac_check_lib_save_LIBS
=$LIBS
12014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12027 return dld_link ();
12032 if ac_fn_c_try_link
"$LINENO"; then :
12033 ac_cv_lib_dld_dld_link
=yes
12035 ac_cv_lib_dld_dld_link
=no
12037 rm -f core conftest.err conftest.
$ac_objext \
12038 conftest
$ac_exeext conftest.
$ac_ext
12039 LIBS
=$ac_check_lib_save_LIBS
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12042 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12043 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12044 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12065 if test "x$lt_cv_dlopen" != xno
; then
12071 case $lt_cv_dlopen in
12073 save_CPPFLAGS
="$CPPFLAGS"
12074 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12076 save_LDFLAGS
="$LDFLAGS"
12077 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12080 LIBS
="$lt_cv_dlopen_libs $LIBS"
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12083 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12084 if test "${lt_cv_dlopen_self+set}" = set; then :
12085 $as_echo_n "(cached) " >&6
12087 if test "$cross_compiling" = yes; then :
12088 lt_cv_dlopen_self
=cross
12090 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12091 lt_status
=$lt_dlunknown
12092 cat > conftest.
$ac_ext <<_LT_EOF
12093 #line 12093 "configure"
12094 #include "confdefs.h"
12103 # define LT_DLGLOBAL RTLD_GLOBAL
12106 # define LT_DLGLOBAL DL_GLOBAL
12108 # define LT_DLGLOBAL 0
12112 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12113 find out it does not work in some platform. */
12114 #ifndef LT_DLLAZY_OR_NOW
12116 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12119 # define LT_DLLAZY_OR_NOW DL_LAZY
12122 # define LT_DLLAZY_OR_NOW RTLD_NOW
12125 # define LT_DLLAZY_OR_NOW DL_NOW
12127 # define LT_DLLAZY_OR_NOW 0
12134 /* When -fvisbility=hidden is used, assume the code has been annotated
12135 correspondingly for the symbols needed. */
12136 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12137 void fnord () __attribute__((visibility("default")));
12140 void fnord () { int i=42; }
12143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12144 int status = $lt_dlunknown;
12148 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12151 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12152 else puts (dlerror ());
12154 /* dlclose (self); */
12162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12163 (eval $ac_link) 2>&5
12165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12166 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12167 (.
/conftest
; exit; ) >&5 2>/dev
/null
12169 case x
$lt_status in
12170 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12171 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12172 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12175 # compilation failed
12176 lt_cv_dlopen_self
=no
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12184 $as_echo "$lt_cv_dlopen_self" >&6; }
12186 if test "x$lt_cv_dlopen_self" = xyes
; then
12187 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12189 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12190 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12191 $as_echo_n "(cached) " >&6
12193 if test "$cross_compiling" = yes; then :
12194 lt_cv_dlopen_self_static
=cross
12196 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12197 lt_status
=$lt_dlunknown
12198 cat > conftest.
$ac_ext <<_LT_EOF
12199 #line 12199 "configure"
12200 #include "confdefs.h"
12209 # define LT_DLGLOBAL RTLD_GLOBAL
12212 # define LT_DLGLOBAL DL_GLOBAL
12214 # define LT_DLGLOBAL 0
12218 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12219 find out it does not work in some platform. */
12220 #ifndef LT_DLLAZY_OR_NOW
12222 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12225 # define LT_DLLAZY_OR_NOW DL_LAZY
12228 # define LT_DLLAZY_OR_NOW RTLD_NOW
12231 # define LT_DLLAZY_OR_NOW DL_NOW
12233 # define LT_DLLAZY_OR_NOW 0
12240 /* When -fvisbility=hidden is used, assume the code has been annotated
12241 correspondingly for the symbols needed. */
12242 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12243 void fnord () __attribute__((visibility("default")));
12246 void fnord () { int i=42; }
12249 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12250 int status = $lt_dlunknown;
12254 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12257 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12258 else puts (dlerror ());
12260 /* dlclose (self); */
12268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12269 (eval $ac_link) 2>&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12273 (.
/conftest
; exit; ) >&5 2>/dev
/null
12275 case x
$lt_status in
12276 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12277 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12278 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12281 # compilation failed
12282 lt_cv_dlopen_self_static
=no
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12290 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12293 CPPFLAGS
="$save_CPPFLAGS"
12294 LDFLAGS
="$save_LDFLAGS"
12299 case $lt_cv_dlopen_self in
12300 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12301 *) enable_dlopen_self
=unknown
;;
12304 case $lt_cv_dlopen_self_static in
12305 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12306 *) enable_dlopen_self_static
=unknown
;;
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12329 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12330 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12331 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12332 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12334 $as_echo "yes" >&6; }
12336 # FIXME - insert some real tests, host_os isn't really good enough
12339 if test -n "$STRIP" ; then
12340 striplib
="$STRIP -x"
12341 old_striplib
="$STRIP -S"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12343 $as_echo "yes" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12351 $as_echo "no" >&6; }
12367 # Report which library types will actually be built
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12369 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12371 $as_echo "$can_build_shared" >&6; }
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12374 $as_echo_n "checking whether to build shared libraries... " >&6; }
12375 test "$can_build_shared" = "no" && enable_shared
=no
12377 # On AIX, shared libraries and static libraries use the same namespace, and
12378 # are all built from PIC.
12381 test "$enable_shared" = yes && enable_static
=no
12382 if test -n "$RANLIB"; then
12383 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12384 postinstall_cmds
='$RANLIB $lib'
12389 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12390 test "$enable_shared" = yes && enable_static
=no
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12395 $as_echo "$enable_shared" >&6; }
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12398 $as_echo_n "checking whether to build static libraries... " >&6; }
12399 # Make sure either enable_shared or enable_static is yes.
12400 test "$enable_shared" = yes || enable_static
=yes
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12402 $as_echo "$enable_static" >&6; }
12409 ac_cpp
='$CPP $CPPFLAGS'
12410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12416 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12417 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12418 (test "X$CXX" != "Xg++"))) ; then
12420 ac_cpp
='$CXXCPP $CPPFLAGS'
12421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12425 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12426 if test -z "$CXXCPP"; then
12427 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12428 $as_echo_n "(cached) " >&6
12430 # Double quotes because CXXCPP needs to be expanded
12431 for CXXCPP
in "$CXX -E" "/lib/cpp"
12433 ac_preproc_ok
=false
12434 for ac_cxx_preproc_warn_flag
in '' yes
12436 # Use a header file that comes with gcc, so configuring glibc
12437 # with a fresh cross-compiler works.
12438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12439 # <limits.h> exists even on freestanding compilers.
12440 # On the NeXT, cc -E runs the code through the compiler's parser,
12441 # not just through cpp. "Syntax error" is here to catch this case.
12442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 # include <limits.h>
12447 # include <assert.h>
12451 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12454 # Broken: fails on valid input.
12457 rm -f conftest.err conftest.
$ac_ext
12459 # OK, works on sane cases. Now check whether nonexistent headers
12460 # can be detected and how.
12461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12463 #include <ac_nonexistent.h>
12465 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12466 # Broken: success on invalid input.
12469 # Passes both tests.
12473 rm -f conftest.err conftest.
$ac_ext
12476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12477 rm -f conftest.err conftest.
$ac_ext
12478 if $ac_preproc_ok; then :
12483 ac_cv_prog_CXXCPP
=$CXXCPP
12486 CXXCPP
=$ac_cv_prog_CXXCPP
12488 ac_cv_prog_CXXCPP
=$CXXCPP
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12491 $as_echo "$CXXCPP" >&6; }
12492 ac_preproc_ok
=false
12493 for ac_cxx_preproc_warn_flag
in '' yes
12495 # Use a header file that comes with gcc, so configuring glibc
12496 # with a fresh cross-compiler works.
12497 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12498 # <limits.h> exists even on freestanding compilers.
12499 # On the NeXT, cc -E runs the code through the compiler's parser,
12500 # not just through cpp. "Syntax error" is here to catch this case.
12501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 # include <limits.h>
12506 # include <assert.h>
12510 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12513 # Broken: fails on valid input.
12516 rm -f conftest.err conftest.
$ac_ext
12518 # OK, works on sane cases. Now check whether nonexistent headers
12519 # can be detected and how.
12520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12522 #include <ac_nonexistent.h>
12524 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12525 # Broken: success on invalid input.
12528 # Passes both tests.
12532 rm -f conftest.err conftest.
$ac_ext
12535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12536 rm -f conftest.err conftest.
$ac_ext
12537 if $ac_preproc_ok; then :
12540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12542 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12543 See \`config.log' for more details." "$LINENO" 5; }
12547 ac_cpp
='$CPP $CPPFLAGS'
12548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12553 _lt_caught_CXX_error
=yes
12557 ac_cpp
='$CXXCPP $CPPFLAGS'
12558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12562 archive_cmds_need_lc_CXX
=no
12563 allow_undefined_flag_CXX
=
12564 always_export_symbols_CXX
=no
12565 archive_expsym_cmds_CXX
=
12566 compiler_needs_object_CXX
=no
12567 export_dynamic_flag_spec_CXX
=
12568 hardcode_direct_CXX
=no
12569 hardcode_direct_absolute_CXX
=no
12570 hardcode_libdir_flag_spec_CXX
=
12571 hardcode_libdir_flag_spec_ld_CXX
=
12572 hardcode_libdir_separator_CXX
=
12573 hardcode_minus_L_CXX
=no
12574 hardcode_shlibpath_var_CXX
=unsupported
12575 hardcode_automatic_CXX
=no
12576 inherit_rpath_CXX
=no
12578 module_expsym_cmds_CXX
=
12579 link_all_deplibs_CXX
=unknown
12580 old_archive_cmds_CXX
=$old_archive_cmds
12581 reload_flag_CXX
=$reload_flag
12582 reload_cmds_CXX
=$reload_cmds
12583 no_undefined_flag_CXX
=
12584 whole_archive_flag_spec_CXX
=
12585 enable_shared_with_static_runtimes_CXX
=no
12587 # Source file extension for C++ test sources.
12590 # Object file extension for compiled C++ test sources.
12594 # No sense in running all these tests if we already determined that
12595 # the CXX compiler isn't working. Some variables (like enable_shared)
12596 # are currently assumed to apply to all compilers on this platform,
12597 # and will be corrupted by setting them based on a non-working compiler.
12598 if test "$_lt_caught_CXX_error" != yes; then
12599 # Code to be used in simple compile tests
12600 lt_simple_compile_test_code
="int some_variable = 0;"
12602 # Code to be used in simple link tests
12603 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12605 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12612 # If no C compiler was specified, use CC.
12615 # If no C compiler flags were specified, use CFLAGS.
12616 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12618 # Allow CC to be a program name with arguments.
12622 # save warnings/boilerplate of simple test code
12623 ac_outfile
=conftest.
$ac_objext
12624 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12625 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12626 _lt_compiler_boilerplate
=`cat conftest.err`
12629 ac_outfile
=conftest.
$ac_objext
12630 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12631 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12632 _lt_linker_boilerplate
=`cat conftest.err`
12636 # Allow CC to be a program name with arguments.
12641 lt_save_with_gnu_ld
=$with_gnu_ld
12642 lt_save_path_LD
=$lt_cv_path_LD
12643 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12644 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12646 $as_unset lt_cv_prog_gnu_ld
12648 if test -n "${lt_cv_path_LDCXX+set}"; then
12649 lt_cv_path_LD
=$lt_cv_path_LDCXX
12651 $as_unset lt_cv_path_LD
12653 test -z "${LDCXX+set}" || LD
=$LDCXX
12657 for cc_temp
in $compiler""; do
12659 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12660 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12665 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12668 if test -n "$compiler"; then
12669 # We don't want -fno-exception when compiling C++ code, so set the
12670 # no_builtin_flag separately
12671 if test "$GXX" = yes; then
12672 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12674 lt_prog_compiler_no_builtin_flag_CXX
=
12677 if test "$GXX" = yes; then
12678 # Set up default GNU C++ configuration
12682 # Check whether --with-gnu-ld was given.
12683 if test "${with_gnu_ld+set}" = set; then :
12684 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12690 if test "$GCC" = yes; then
12691 # Check if gcc -print-prog-name=ld gives a path.
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12693 $as_echo_n "checking for ld used by $CC... " >&6; }
12696 # gcc leaves a trailing carriage return which upsets mingw
12697 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12699 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12702 # Accept absolute paths.
12704 re_direlt
='/[^/][^/]*/\.\./'
12705 # Canonicalize the pathname of ld
12706 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12707 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12708 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12710 test -z "$LD" && LD
="$ac_prog"
12713 # If it fails, then pretend we aren't using GCC.
12717 # If it is relative, then search for the first ld in PATH.
12718 with_gnu_ld
=unknown
12721 elif test "$with_gnu_ld" = yes; then
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12723 $as_echo_n "checking for GNU ld... " >&6; }
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12726 $as_echo_n "checking for non-GNU ld... " >&6; }
12728 if test "${lt_cv_path_LD+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12731 if test -z "$LD"; then
12732 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12733 for ac_dir
in $PATH; do
12735 test -z "$ac_dir" && ac_dir
=.
12736 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12737 lt_cv_path_LD
="$ac_dir/$ac_prog"
12738 # Check to see if the program is GNU ld. I'd rather use --version,
12739 # but apparently some variants of GNU ld only accept -v.
12740 # Break only if it was the GNU/non-GNU ld that we prefer.
12741 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12742 *GNU
* |
*'with BFD'*)
12743 test "$with_gnu_ld" != no
&& break
12746 test "$with_gnu_ld" != yes && break
12753 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12757 LD
="$lt_cv_path_LD"
12758 if test -n "$LD"; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12760 $as_echo "$LD" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12765 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12767 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12768 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12769 $as_echo_n "(cached) " >&6
12771 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12772 case `$LD -v 2>&1 </dev/null` in
12773 *GNU
* |
*'with BFD'*)
12774 lt_cv_prog_gnu_ld
=yes
12777 lt_cv_prog_gnu_ld
=no
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12782 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12783 with_gnu_ld
=$lt_cv_prog_gnu_ld
12791 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12792 # archiving commands below assume that GNU ld is being used.
12793 if test "$with_gnu_ld" = yes; then
12794 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12797 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12798 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12800 # If archive_cmds runs LD, not CC, wlarc should be empty
12801 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12802 # investigate it a little bit more. (MM)
12805 # ancient GNU ld didn't support --whole-archive et. al.
12806 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12807 $GREP 'no-whole-archive' > /dev
/null
; then
12808 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12810 whole_archive_flag_spec_CXX
=
12816 # A generic and very simple default shared library creation
12817 # command for GNU C++ for the case where it uses the native
12818 # linker, instead of GNU ld. If possible, this setting should
12819 # overridden to take advantage of the native linker features on
12820 # the platform it is being used on.
12821 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12824 # Commands to make compiler produce verbose output that lists
12825 # what "hidden" libraries, object files and flags are used when
12826 # linking a shared library.
12827 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12835 # PORTME: fill in a description of your system's C++ link characteristics
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12837 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12841 # FIXME: insert proper C++ library support
12845 if test "$host_cpu" = ia64
; then
12846 # On IA64, the linker does run time linking by default, so we don't
12847 # have to do anything special.
12848 aix_use_runtimelinking
=no
12849 exp_sym_flag
='-Bexport'
12852 aix_use_runtimelinking
=no
12854 # Test if we are trying to use run time linking or normal
12855 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12856 # need to do runtime linking.
12857 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12858 for ld_flag
in $LDFLAGS; do
12861 aix_use_runtimelinking
=yes
12869 exp_sym_flag
='-bexport'
12870 no_entry_flag
='-bnoentry'
12873 # When large executables or shared objects are built, AIX ld can
12874 # have problems creating the table of contents. If linking a library
12875 # or program results in "error TOC overflow" add -mminimal-toc to
12876 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12877 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12879 archive_cmds_CXX
=''
12880 hardcode_direct_CXX
=yes
12881 hardcode_direct_absolute_CXX
=yes
12882 hardcode_libdir_separator_CXX
=':'
12883 link_all_deplibs_CXX
=yes
12884 file_list_spec_CXX
='${wl}-f,'
12886 if test "$GXX" = yes; then
12887 case $host_os in aix4.
[012]|aix4.
[012].
*)
12888 # We only want to do this on AIX 4.2 and lower, the check
12889 # below for broken collect2 doesn't work under 4.3+
12890 collect2name
=`${CC} -print-prog-name=collect2`
12891 if test -f "$collect2name" &&
12892 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12894 # We have reworked collect2
12897 # We have old collect2
12898 hardcode_direct_CXX
=unsupported
12899 # It fails to find uninstalled libraries when the uninstalled
12900 # path is not listed in the libpath. Setting hardcode_minus_L
12901 # to unsupported forces relinking
12902 hardcode_minus_L_CXX
=yes
12903 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12904 hardcode_libdir_separator_CXX
=
12907 shared_flag
='-shared'
12908 if test "$aix_use_runtimelinking" = yes; then
12909 shared_flag
="$shared_flag "'${wl}-G'
12913 if test "$host_cpu" = ia64
; then
12914 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12915 # chokes on -Wl,-G. The following line is correct:
12918 if test "$aix_use_runtimelinking" = yes; then
12919 shared_flag
='${wl}-G'
12921 shared_flag
='${wl}-bM:SRE'
12926 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12927 # It seems that -bexpall does not export symbols beginning with
12928 # underscore (_), so it is better to generate a list of symbols to
12930 always_export_symbols_CXX
=yes
12931 if test "$aix_use_runtimelinking" = yes; then
12932 # Warning - without using the other runtime loading flags (-brtl),
12933 # -berok will link without error, but may produce a broken library.
12934 allow_undefined_flag_CXX
='-berok'
12935 # Determine the default libpath from the value encoded in an empty
12937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12948 if ac_fn_cxx_try_link
"$LINENO"; then :
12950 lt_aix_libpath_sed
='
12951 /Import File Strings/,/^$/ {
12957 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12958 # Check for a 64-bit object if we didn't find anything.
12959 if test -z "$aix_libpath"; then
12960 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12963 rm -f core conftest.err conftest.
$ac_objext \
12964 conftest
$ac_exeext conftest.
$ac_ext
12965 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12967 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12969 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"
12971 if test "$host_cpu" = ia64
; then
12972 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12973 allow_undefined_flag_CXX
="-z nodefs"
12974 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"
12976 # Determine the default libpath from the value encoded in an
12977 # empty executable.
12978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12989 if ac_fn_cxx_try_link
"$LINENO"; then :
12991 lt_aix_libpath_sed
='
12992 /Import File Strings/,/^$/ {
12998 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12999 # Check for a 64-bit object if we didn't find anything.
13000 if test -z "$aix_libpath"; then
13001 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13004 rm -f core conftest.err conftest.
$ac_objext \
13005 conftest
$ac_exeext conftest.
$ac_ext
13006 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13008 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13009 # Warning - without using the other run time loading flags,
13010 # -berok will link without error, but may produce a broken library.
13011 no_undefined_flag_CXX
=' ${wl}-bernotok'
13012 allow_undefined_flag_CXX
=' ${wl}-berok'
13013 if test "$with_gnu_ld" = yes; then
13014 # We only use this code for GNU lds that support --whole-archive.
13015 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13017 # Exported symbols can be pulled into shared objects from archives
13018 whole_archive_flag_spec_CXX
='$convenience'
13020 archive_cmds_need_lc_CXX
=yes
13021 # This is similar to how AIX traditionally builds its shared
13023 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'
13029 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13030 allow_undefined_flag_CXX
=unsupported
13031 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13032 # support --undefined. This deserves some investigation. FIXME
13033 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13040 case $cc_basename in
13042 # FIXME: insert proper C++ library support
13048 cygwin
* | mingw
* | pw32
* | cegcc
*)
13049 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13050 # as there is no search path for DLLs.
13051 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13052 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13053 allow_undefined_flag_CXX
=unsupported
13054 always_export_symbols_CXX
=no
13055 enable_shared_with_static_runtimes_CXX
=yes
13057 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13058 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'
13059 # If the export-symbols file already is a .def file (1st line
13060 # is EXPORTS), use it as is; otherwise, prepend...
13061 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13062 cp $export_symbols $output_objdir/$soname.def;
13064 echo EXPORTS > $output_objdir/$soname.def;
13065 cat $export_symbols >> $output_objdir/$soname.def;
13067 $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'
13072 darwin
* | rhapsody
*)
13075 archive_cmds_need_lc_CXX
=no
13076 hardcode_direct_CXX
=no
13077 hardcode_automatic_CXX
=yes
13078 hardcode_shlibpath_var_CXX
=unsupported
13079 if test "$lt_cv_ld_force_load" = "yes"; then
13080 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\"`'
13082 whole_archive_flag_spec_CXX
=''
13084 link_all_deplibs_CXX
=yes
13085 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13086 case $cc_basename in
13087 ifort
*) _lt_dar_can_shared
=yes ;;
13088 *) _lt_dar_can_shared
=$GCC ;;
13090 if test "$_lt_dar_can_shared" = "yes"; then
13091 output_verbose_link_cmd
=func_echo_all
13092 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}"
13093 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13094 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}"
13095 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}"
13096 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13097 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}"
13098 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}"
13108 case $cc_basename in
13110 # FIXME: insert proper C++ library support
13114 # Green Hills C++ Compiler
13115 # FIXME: insert proper C++ library support
13119 # FIXME: insert proper C++ library support
13126 # C++ shared libraries reported to be fairly broken before
13132 archive_cmds_need_lc_CXX
=no
13135 freebsd
* | dragonfly
*)
13136 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13145 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13146 link_all_deplibs_CXX
=yes
13150 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13151 hardcode_libdir_separator_CXX
=:
13152 export_dynamic_flag_spec_CXX
='${wl}-E'
13153 hardcode_direct_CXX
=yes
13154 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13155 # but as the default
13156 # location of the library.
13158 case $cc_basename in
13160 # FIXME: insert proper C++ library support
13164 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'
13165 # Commands to make compiler produce verbose output that lists
13166 # what "hidden" libraries, object files and flags are used when
13167 # linking a shared library.
13169 # There doesn't appear to be a way to prevent this compiler from
13170 # explicitly linking system object files so we need to strip them
13171 # from the output so that they don't get included in the library
13173 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"'
13176 if test "$GXX" = yes; then
13177 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'
13179 # FIXME: insert proper C++ library support
13187 if test $with_gnu_ld = no
; then
13188 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13189 hardcode_libdir_separator_CXX
=:
13195 export_dynamic_flag_spec_CXX
='${wl}-E'
13201 hardcode_direct_CXX
=no
13202 hardcode_shlibpath_var_CXX
=no
13205 hardcode_direct_CXX
=yes
13206 hardcode_direct_absolute_CXX
=yes
13207 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13208 # but as the default
13209 # location of the library.
13213 case $cc_basename in
13215 # FIXME: insert proper C++ library support
13221 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13224 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13227 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13230 # Commands to make compiler produce verbose output that lists
13231 # what "hidden" libraries, object files and flags are used when
13232 # linking a shared library.
13234 # There doesn't appear to be a way to prevent this compiler from
13235 # explicitly linking system object files so we need to strip them
13236 # from the output so that they don't get included in the library
13238 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"'
13241 if test "$GXX" = yes; then
13242 if test $with_gnu_ld = no
; then
13245 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13248 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13251 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'
13256 # FIXME: insert proper C++ library support
13264 hardcode_direct_CXX
=no
13265 hardcode_shlibpath_var_CXX
=no
13266 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13267 export_dynamic_flag_spec_CXX
='${wl}-E'
13268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13269 # Instead, shared libraries are loaded at an image base (0x10000000 by
13270 # default) and relocated if they conflict, which is a slow very memory
13271 # consuming and fragmenting process. To avoid this, we pick a random,
13272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13274 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'
13275 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'
13278 case $cc_basename in
13281 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'
13283 # Archives containing C++ object files must be created using
13284 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13285 # necessary to make sure instantiated templates are included
13287 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13290 if test "$GXX" = yes; then
13291 if test "$with_gnu_ld" = no
; then
13292 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'
13294 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'
13297 link_all_deplibs_CXX
=yes
13300 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13301 hardcode_libdir_separator_CXX
=:
13302 inherit_rpath_CXX
=yes
13305 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13306 case $cc_basename in
13308 # Kuck and Associates, Inc. (KAI) C++ Compiler
13310 # KCC will only create a shared library if the output file
13311 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13312 # to its proper name (with version) after linking.
13313 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'
13314 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'
13315 # Commands to make compiler produce verbose output that lists
13316 # what "hidden" libraries, object files and flags are used when
13317 # linking a shared library.
13319 # There doesn't appear to be a way to prevent this compiler from
13320 # explicitly linking system object files so we need to strip them
13321 # from the output so that they don't get included in the library
13323 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"'
13325 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13326 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13328 # Archives containing C++ object files must be created using
13329 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13330 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13335 # version 8.0 and above of icpc choke on multiply defined symbols
13336 # if we add $predep_objects and $postdep_objects, however 7.1 and
13337 # earlier do not add the objects themselves.
13338 case `$CC -V 2>&1` in
13340 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13341 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'
13343 *) # Version 8.0 or newer
13346 ia64
*) tmp_idyn
=' -i_dynamic';;
13348 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13349 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'
13352 archive_cmds_need_lc_CXX
=no
13353 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13354 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13355 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13358 # Portland Group C++ compiler
13360 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13361 prelink_cmds_CXX
='tpldir=Template.dir~
13363 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13364 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13365 old_archive_cmds_CXX
='tpldir=Template.dir~
13367 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13368 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13370 archive_cmds_CXX
='tpldir=Template.dir~
13372 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13373 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13374 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13376 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13377 $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'
13379 *) # Version 6 and above use weak symbols
13380 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13381 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'
13385 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13386 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13387 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'
13391 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13392 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'
13394 runpath_var
=LD_RUN_PATH
13395 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13396 hardcode_libdir_separator_CXX
=:
13398 # Commands to make compiler produce verbose output that lists
13399 # what "hidden" libraries, object files and flags are used when
13400 # linking a shared library.
13402 # There doesn't appear to be a way to prevent this compiler from
13403 # explicitly linking system object files so we need to strip them
13404 # from the output so that they don't get included in the library
13406 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'
13408 xl
* | mpixl
* | bgxl
*)
13409 # IBM XL 8.0 on PPC, with GNU ld
13410 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13411 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13412 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13413 if test "x$supports_anon_versioning" = xyes
; then
13414 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13416 echo "local: *; };" >> $output_objdir/$libname.ver~
13417 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13421 case `$CC -V 2>&1 | sed 5q` in
13424 no_undefined_flag_CXX
=' -zdefs'
13425 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13426 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'
13427 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13428 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'
13429 compiler_needs_object_CXX
=yes
13431 # Not sure whether something based on
13432 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13434 output_verbose_link_cmd
='func_echo_all'
13436 # Archives containing C++ object files must be created using
13437 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13438 # necessary to make sure instantiated templates are included
13440 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13448 # FIXME: insert proper C++ library support
13453 # FIXME: insert proper C++ library support
13458 case $cc_basename in
13460 # FIXME: insert proper C++ library support
13464 # FIXME: insert proper C++ library support
13471 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13472 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13474 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13475 hardcode_direct_CXX
=yes
13476 hardcode_shlibpath_var_CXX
=no
13478 # Workaround some broken pre-1.5 toolchains
13479 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13487 # C++ shared libraries are fairly broken
13492 if test -f /usr
/libexec
/ld.so
; then
13493 hardcode_direct_CXX
=yes
13494 hardcode_shlibpath_var_CXX
=no
13495 hardcode_direct_absolute_CXX
=yes
13496 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13497 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13498 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13499 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13500 export_dynamic_flag_spec_CXX
='${wl}-E'
13501 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13503 output_verbose_link_cmd
=func_echo_all
13509 osf3
* | osf4
* | osf5
*)
13510 case $cc_basename in
13512 # Kuck and Associates, Inc. (KAI) C++ Compiler
13514 # KCC will only create a shared library if the output file
13515 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13516 # to its proper name (with version) after linking.
13517 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'
13519 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13520 hardcode_libdir_separator_CXX
=:
13522 # Archives containing C++ object files must be created using
13523 # the KAI C++ compiler.
13525 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13526 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13530 # Rational C++ 2.4.1
13531 # FIXME: insert proper C++ library support
13537 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13538 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'
13539 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13542 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13543 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'
13544 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13545 echo "-hidden">> $lib.exp~
13546 $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~
13548 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13552 hardcode_libdir_separator_CXX
=:
13554 # Commands to make compiler produce verbose output that lists
13555 # what "hidden" libraries, object files and flags are used when
13556 # linking a shared library.
13558 # There doesn't appear to be a way to prevent this compiler from
13559 # explicitly linking system object files so we need to strip them
13560 # from the output so that they don't get included in the library
13562 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"'
13565 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13566 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13569 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'
13572 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'
13576 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13577 hardcode_libdir_separator_CXX
=:
13579 # Commands to make compiler produce verbose output that lists
13580 # what "hidden" libraries, object files and flags are used when
13581 # linking a shared library.
13582 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13585 # FIXME: insert proper C++ library support
13593 # FIXME: insert proper C++ library support
13598 case $cc_basename in
13601 # FIXME: insert proper C++ library support
13606 # FIXME: insert proper C++ library support
13610 # FIXME: insert proper C++ library support
13617 case $cc_basename in
13619 # Sun C++ 4.2, 5.x and Centerline C++
13620 archive_cmds_need_lc_CXX
=yes
13621 no_undefined_flag_CXX
=' -zdefs'
13622 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13623 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13624 $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'
13626 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13627 hardcode_shlibpath_var_CXX
=no
13629 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13631 # The compiler driver will combine and reorder linker options,
13632 # but understands `-z linker_flag'.
13633 # Supported since Solaris 2.6 (maybe 2.5.1?)
13634 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13637 link_all_deplibs_CXX
=yes
13639 output_verbose_link_cmd
='func_echo_all'
13641 # Archives containing C++ object files must be created using
13642 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13643 # necessary to make sure instantiated templates are included
13645 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13648 # Green Hills C++ Compiler
13649 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13651 # The C++ compiler must be used to create the archive.
13652 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13655 # GNU C++ compiler with Solaris linker
13656 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13657 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13658 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13659 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13660 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13661 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13663 # Commands to make compiler produce verbose output that lists
13664 # what "hidden" libraries, object files and flags are used when
13665 # linking a shared library.
13666 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13668 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13670 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13671 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13672 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13674 # Commands to make compiler produce verbose output that lists
13675 # what "hidden" libraries, object files and flags are used when
13676 # linking a shared library.
13677 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13680 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13682 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13684 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13692 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13693 no_undefined_flag_CXX
='${wl}-z,text'
13694 archive_cmds_need_lc_CXX
=no
13695 hardcode_shlibpath_var_CXX
=no
13696 runpath_var
='LD_RUN_PATH'
13698 case $cc_basename in
13700 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13701 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13704 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13705 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710 sysv5
* | sco3.2v5
* | sco5v6
*)
13711 # Note: We can NOT use -z defs as we might desire, because we do not
13712 # link with -lc, and that would cause any symbols used from libc to
13713 # always be unresolved, which means just about no library would
13714 # ever link correctly. If we're not using GNU ld we use -z text
13715 # though, which does catch some bad symbols but isn't as heavy-handed
13717 no_undefined_flag_CXX
='${wl}-z,text'
13718 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13719 archive_cmds_need_lc_CXX
=no
13720 hardcode_shlibpath_var_CXX
=no
13721 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13722 hardcode_libdir_separator_CXX
=':'
13723 link_all_deplibs_CXX
=yes
13724 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13725 runpath_var
='LD_RUN_PATH'
13727 case $cc_basename in
13729 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13730 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13731 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13732 '"$old_archive_cmds_CXX"
13733 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13734 '"$reload_cmds_CXX"
13737 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13738 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13744 case $cc_basename in
13746 # NonStop-UX NCC 3.20
13747 # FIXME: insert proper C++ library support
13751 # FIXME: insert proper C++ library support
13758 # FIXME: insert proper C++ library support
13763 # FIXME: insert proper C++ library support
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13769 $as_echo "$ld_shlibs_CXX" >&6; }
13770 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13776 ## There is no encapsulation within the following macros, do not change
13777 ## the running order or otherwise move them around unless you know exactly
13778 ## what you are doing...
13779 # Dependencies to place before and after the object being linked:
13780 predep_objects_CXX
=
13781 postdep_objects_CXX
=
13784 compiler_lib_search_path_CXX
=
13786 cat > conftest.
$ac_ext <<_LT_EOF
13790 Foo (void) { a = 0; }
13796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13797 (eval $ac_compile) 2>&5
13799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13800 test $ac_status = 0; }; then
13801 # Parse the compiler output and extract the necessary
13802 # objects, libraries and library flags.
13804 # Sentinel used to keep track of whether or not we are before
13805 # the conftest object file.
13806 pre_test_object_deps_done
=no
13808 for p
in `eval "$output_verbose_link_cmd"`; do
13812 # Some compilers place space between "-{L,R}" and the path.
13813 # Remove the space.
13814 if test $p = "-L" ||
13815 test $p = "-R"; then
13822 if test "$pre_test_object_deps_done" = no
; then
13825 # Internal compiler library paths should come after those
13826 # provided the user. The postdeps already come after the
13827 # user supplied libs so there is no need to process them.
13828 if test -z "$compiler_lib_search_path_CXX"; then
13829 compiler_lib_search_path_CXX
="${prev}${p}"
13831 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13834 # The "-l" case would never come before the object being
13835 # linked, so don't bother handling this case.
13838 if test -z "$postdeps_CXX"; then
13839 postdeps_CXX
="${prev}${p}"
13841 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13847 # This assumes that the test object file only shows up
13848 # once in the compiler output.
13849 if test "$p" = "conftest.$objext"; then
13850 pre_test_object_deps_done
=yes
13854 if test "$pre_test_object_deps_done" = no
; then
13855 if test -z "$predep_objects_CXX"; then
13856 predep_objects_CXX
="$p"
13858 predep_objects_CXX
="$predep_objects_CXX $p"
13861 if test -z "$postdep_objects_CXX"; then
13862 postdep_objects_CXX
="$p"
13864 postdep_objects_CXX
="$postdep_objects_CXX $p"
13869 *) ;; # Ignore the rest.
13877 echo "libtool.m4: error: problem compiling CXX test program"
13880 $RM -f confest.
$objext
13882 # PORTME: override above test on systems where it is broken
13885 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13886 # hack all around it, let's just trust "g++" to DTRT.
13887 predep_objects_CXX
=
13888 postdep_objects_CXX
=
13893 case `$CC -V 2>&1 | sed 5q` in
13897 # The more standards-conforming stlport4 library is
13898 # incompatible with the Cstd library. Avoid specifying
13899 # it if it's in CXXFLAGS. Ignore libCrun as
13900 # -library=stlport4 depends on it.
13901 case " $CXX $CXXFLAGS " in
13902 *" -library=stlport4 "*)
13903 solaris_use_stlport4
=yes
13907 if test "$solaris_use_stlport4" != yes; then
13908 postdeps_CXX
='-library=Cstd -library=Crun'
13915 case $cc_basename in
13917 # The more standards-conforming stlport4 library is
13918 # incompatible with the Cstd library. Avoid specifying
13919 # it if it's in CXXFLAGS. Ignore libCrun as
13920 # -library=stlport4 depends on it.
13921 case " $CXX $CXXFLAGS " in
13922 *" -library=stlport4 "*)
13923 solaris_use_stlport4
=yes
13927 # Adding this requires a known-good setup of shared libraries for
13928 # Sun compiler versions before 5.6, else PIC objects from an old
13929 # archive will be linked into the output, leading to subtle bugs.
13930 if test "$solaris_use_stlport4" != yes; then
13931 postdeps_CXX
='-library=Cstd -library=Crun'
13939 case " $postdeps_CXX " in
13940 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13942 compiler_lib_search_dirs_CXX
=
13943 if test -n "${compiler_lib_search_path_CXX}"; then
13944 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13977 lt_prog_compiler_wl_CXX
=
13978 lt_prog_compiler_pic_CXX
=
13979 lt_prog_compiler_static_CXX
=
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13982 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13984 # C++ specific cases for pic, static, wl, etc.
13985 if test "$GXX" = yes; then
13986 lt_prog_compiler_wl_CXX
='-Wl,'
13987 lt_prog_compiler_static_CXX
='-static'
13991 # All AIX code is PIC.
13992 if test "$host_cpu" = ia64
; then
13993 # AIX 5 now supports IA64 processor
13994 lt_prog_compiler_static_CXX
='-Bstatic'
13996 lt_prog_compiler_pic_CXX
='-fPIC'
14002 # see comment about AmigaOS4 .so support
14003 lt_prog_compiler_pic_CXX
='-fPIC'
14006 # FIXME: we need at least 68020 code to build shared libraries, but
14007 # adding the `-m68020' flag to GCC prevents building anything better,
14009 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14014 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14015 # PIC is the default for these OSes.
14017 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14018 # This hack is so that the source file can tell whether it is being
14019 # built for inclusion in a dll (and should export symbols for example).
14020 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14021 # (--disable-auto-import) libraries
14022 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14024 darwin
* | rhapsody
*)
14025 # PIC is the default on this platform
14026 # Common symbols not allowed in MH_DYLIB files
14027 lt_prog_compiler_pic_CXX
='-fno-common'
14030 # DJGPP does not support shared libraries at all
14031 lt_prog_compiler_pic_CXX
=
14034 # PIC is the default for Haiku.
14035 # The "-static" flag exists, but is broken.
14036 lt_prog_compiler_static_CXX
=
14039 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14040 # Instead, we relocate shared libraries at runtime.
14043 if test -d /usr
/nec
; then
14044 lt_prog_compiler_pic_CXX
=-Kconform_pic
14048 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14049 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14050 # sets the default TLS model and affects inlining.
14055 lt_prog_compiler_pic_CXX
='-fPIC'
14060 # QNX uses GNU C++, but need to define -shared option too, otherwise
14061 # it will coredump.
14062 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14065 lt_prog_compiler_pic_CXX
='-fPIC'
14071 # All AIX code is PIC.
14072 if test "$host_cpu" = ia64
; then
14073 # AIX 5 now supports IA64 processor
14074 lt_prog_compiler_static_CXX
='-Bstatic'
14076 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14080 case $cc_basename in
14082 # Green Hills C++ Compiler
14083 # _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"
14088 case $cc_basename in
14090 lt_prog_compiler_pic_CXX
='-KPIC'
14093 # Green Hills C++ Compiler
14094 lt_prog_compiler_pic_CXX
='-pic'
14100 freebsd
* | dragonfly
*)
14101 # FreeBSD uses GNU C++
14103 hpux9
* | hpux10
* | hpux11
*)
14104 case $cc_basename in
14106 lt_prog_compiler_wl_CXX
='-Wl,'
14107 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14108 if test "$host_cpu" != ia64
; then
14109 lt_prog_compiler_pic_CXX
='+Z'
14113 lt_prog_compiler_wl_CXX
='-Wl,'
14114 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14120 lt_prog_compiler_pic_CXX
='+Z'
14129 # This is c89, which is MS Visual C++ (no shared libs)
14130 # Anyone wants to do a port?
14132 irix5
* | irix6
* | nonstopux
*)
14133 case $cc_basename in
14135 lt_prog_compiler_wl_CXX
='-Wl,'
14136 lt_prog_compiler_static_CXX
='-non_shared'
14137 # CC pic flag -KPIC is the default.
14143 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14144 case $cc_basename in
14147 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14148 lt_prog_compiler_pic_CXX
='-fPIC'
14151 # old Intel C++ for x86_64 which still supported -KPIC.
14152 lt_prog_compiler_wl_CXX
='-Wl,'
14153 lt_prog_compiler_pic_CXX
='-KPIC'
14154 lt_prog_compiler_static_CXX
='-static'
14157 # Intel C++, used to be incompatible with GCC.
14158 # ICC 10 doesn't accept -KPIC any more.
14159 lt_prog_compiler_wl_CXX
='-Wl,'
14160 lt_prog_compiler_pic_CXX
='-fPIC'
14161 lt_prog_compiler_static_CXX
='-static'
14164 # Portland Group C++ compiler
14165 lt_prog_compiler_wl_CXX
='-Wl,'
14166 lt_prog_compiler_pic_CXX
='-fpic'
14167 lt_prog_compiler_static_CXX
='-Bstatic'
14171 # Make sure the PIC flag is empty. It appears that all Alpha
14172 # Linux and Compaq Tru64 Unix objects are PIC.
14173 lt_prog_compiler_pic_CXX
=
14174 lt_prog_compiler_static_CXX
='-non_shared'
14176 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14177 # IBM XL 8.0, 9.0 on PPC and BlueGene
14178 lt_prog_compiler_wl_CXX
='-Wl,'
14179 lt_prog_compiler_pic_CXX
='-qpic'
14180 lt_prog_compiler_static_CXX
='-qstaticlink'
14183 case `$CC -V 2>&1 | sed 5q` in
14186 lt_prog_compiler_pic_CXX
='-KPIC'
14187 lt_prog_compiler_static_CXX
='-Bstatic'
14188 lt_prog_compiler_wl_CXX
='-Qoption ld '
14199 case $cc_basename in
14201 lt_prog_compiler_pic_CXX
='-W c,exportall'
14210 # QNX uses GNU C++, but need to define -shared option too, otherwise
14211 # it will coredump.
14212 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14214 osf3
* | osf4
* | osf5
*)
14215 case $cc_basename in
14217 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14220 # Rational C++ 2.4.1
14221 lt_prog_compiler_pic_CXX
='-pic'
14224 # Digital/Compaq C++
14225 lt_prog_compiler_wl_CXX
='-Wl,'
14226 # Make sure the PIC flag is empty. It appears that all Alpha
14227 # Linux and Compaq Tru64 Unix objects are PIC.
14228 lt_prog_compiler_pic_CXX
=
14229 lt_prog_compiler_static_CXX
='-non_shared'
14238 case $cc_basename in
14240 # Sun C++ 4.2, 5.x and Centerline C++
14241 lt_prog_compiler_pic_CXX
='-KPIC'
14242 lt_prog_compiler_static_CXX
='-Bstatic'
14243 lt_prog_compiler_wl_CXX
='-Qoption ld '
14246 # Green Hills C++ Compiler
14247 lt_prog_compiler_pic_CXX
='-PIC'
14254 case $cc_basename in
14257 lt_prog_compiler_pic_CXX
='-pic'
14258 lt_prog_compiler_static_CXX
='-Bstatic'
14262 lt_prog_compiler_pic_CXX
='-pic'
14268 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14269 case $cc_basename in
14271 lt_prog_compiler_wl_CXX
='-Wl,'
14272 lt_prog_compiler_pic_CXX
='-KPIC'
14273 lt_prog_compiler_static_CXX
='-Bstatic'
14278 case $cc_basename in
14280 # NonStop-UX NCC 3.20
14281 lt_prog_compiler_pic_CXX
='-KPIC'
14290 lt_prog_compiler_can_build_shared_CXX
=no
14296 # For platforms which do not support PIC, -DPIC is meaningless:
14298 lt_prog_compiler_pic_CXX
=
14301 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14305 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14310 # Check to make sure the PIC flag actually works.
14312 if test -n "$lt_prog_compiler_pic_CXX"; then
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14314 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14315 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14316 $as_echo_n "(cached) " >&6
14318 lt_cv_prog_compiler_pic_works_CXX
=no
14319 ac_outfile
=conftest.
$ac_objext
14320 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14321 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14322 # Insert the option either (1) after the last *FLAGS variable, or
14323 # (2) before a word containing "conftest.", or (3) at the end.
14324 # Note that $ac_compile itself does not contain backslashes and begins
14325 # with a dollar sign (not a hyphen), so the echo should work correctly.
14326 # The option is referenced via a variable to avoid confusing sed.
14327 lt_compile
=`echo "$ac_compile" | $SED \
14328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14330 -e 's:$: $lt_compiler_flag:'`
14331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14332 (eval "$lt_compile" 2>conftest.err
)
14334 cat conftest.err
>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 if (exit $ac_status) && test -s "$ac_outfile"; then
14337 # The compiler can only warn and ignore the option if not recognized
14338 # So say no if there are warnings other than the usual output.
14339 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14340 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14341 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14342 lt_cv_prog_compiler_pic_works_CXX
=yes
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14349 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14351 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14352 case $lt_prog_compiler_pic_CXX in
14354 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14357 lt_prog_compiler_pic_CXX
=
14358 lt_prog_compiler_can_build_shared_CXX
=no
14366 # Check to make sure the static flag actually works.
14368 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14370 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14371 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14372 $as_echo_n "(cached) " >&6
14374 lt_cv_prog_compiler_static_works_CXX
=no
14375 save_LDFLAGS
="$LDFLAGS"
14376 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14377 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14378 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14379 # The linker can only warn and ignore the option if not recognized
14380 # So say no if there are warnings
14381 if test -s conftest.err
; then
14382 # Append any errors to the config.log.
14383 cat conftest.err
1>&5
14384 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14385 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14386 if diff conftest.exp conftest.er2
>/dev
/null
; then
14387 lt_cv_prog_compiler_static_works_CXX
=yes
14390 lt_cv_prog_compiler_static_works_CXX
=yes
14394 LDFLAGS
="$save_LDFLAGS"
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14398 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14400 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14403 lt_prog_compiler_static_CXX
=
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14410 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14411 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14412 $as_echo_n "(cached) " >&6
14414 lt_cv_prog_compiler_c_o_CXX
=no
14415 $RM -r conftest
2>/dev
/null
14419 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14421 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14422 # Insert the option either (1) after the last *FLAGS variable, or
14423 # (2) before a word containing "conftest.", or (3) at the end.
14424 # Note that $ac_compile itself does not contain backslashes and begins
14425 # with a dollar sign (not a hyphen), so the echo should work correctly.
14426 lt_compile
=`echo "$ac_compile" | $SED \
14427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14429 -e 's:$: $lt_compiler_flag:'`
14430 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14431 (eval "$lt_compile" 2>out
/conftest.err
)
14433 cat out
/conftest.err
>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14437 # The compiler can only warn and ignore the option if not recognized
14438 # So say no if there are warnings
14439 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14440 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14441 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14442 lt_cv_prog_compiler_c_o_CXX
=yes
14447 # SGI C++ compiler will create directory out/ii_files/ for
14448 # template instantiation
14449 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14450 $RM out
/* && rmdir out
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14457 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14462 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14463 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14464 $as_echo_n "(cached) " >&6
14466 lt_cv_prog_compiler_c_o_CXX
=no
14467 $RM -r conftest
2>/dev
/null
14471 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14473 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14474 # Insert the option either (1) after the last *FLAGS variable, or
14475 # (2) before a word containing "conftest.", or (3) at the end.
14476 # Note that $ac_compile itself does not contain backslashes and begins
14477 # with a dollar sign (not a hyphen), so the echo should work correctly.
14478 lt_compile
=`echo "$ac_compile" | $SED \
14479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14481 -e 's:$: $lt_compiler_flag:'`
14482 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14483 (eval "$lt_compile" 2>out
/conftest.err
)
14485 cat out
/conftest.err
>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14489 # The compiler can only warn and ignore the option if not recognized
14490 # So say no if there are warnings
14491 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14492 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14493 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14494 lt_cv_prog_compiler_c_o_CXX
=yes
14499 # SGI C++ compiler will create directory out/ii_files/ for
14500 # template instantiation
14501 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14502 $RM out
/* && rmdir out
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14509 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14514 hard_links
="nottested"
14515 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14516 # do not overwrite the value of need_locks provided by the user
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14518 $as_echo_n "checking if we can lock with hard links... " >&6; }
14521 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14523 ln conftest.a conftest.b
2>&5 || hard_links
=no
14524 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14526 $as_echo "$hard_links" >&6; }
14527 if test "$hard_links" = no
; then
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14529 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14539 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14541 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14544 # If we're using GNU nm, then we don't want the "-C" option.
14545 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14546 # Also, AIX nm treats weak defined symbols like other global defined
14547 # symbols, whereas GNU nm marks them as "W".
14548 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14549 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'
14551 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14555 export_symbols_cmds_CXX
="$ltdll_cmds"
14557 cygwin
* | mingw
* | cegcc
*)
14558 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'
14561 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14564 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14567 $as_echo "$ld_shlibs_CXX" >&6; }
14568 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14570 with_gnu_ld_CXX
=$with_gnu_ld
14578 # Do we need to explicitly link libc?
14580 case "x$archive_cmds_need_lc_CXX" in
14582 # Assume -lc should be added
14583 archive_cmds_need_lc_CXX
=yes
14585 if test "$enable_shared" = yes && test "$GCC" = yes; then
14586 case $archive_cmds_CXX in
14588 # FIXME: we may have to deal with multi-command sequences.
14591 # Test whether the compiler implicitly links with -lc since on some
14592 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14593 # to ld, don't add -lc before -lgcc.
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14595 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14596 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14597 $as_echo_n "(cached) " >&6
14600 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14603 (eval $ac_compile) 2>&5
14605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14606 test $ac_status = 0; } 2>conftest.err
; then
14609 libobjs
=conftest.
$ac_objext
14611 wl
=$lt_prog_compiler_wl_CXX
14612 pic_flag
=$lt_prog_compiler_pic_CXX
14618 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14619 allow_undefined_flag_CXX
=
14620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14621 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14624 test $ac_status = 0; }
14626 lt_cv_archive_cmds_need_lc_CXX
=no
14628 lt_cv_archive_cmds_need_lc_CXX
=yes
14630 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14632 cat conftest.err
1>&5
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14638 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14639 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14710 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14712 library_names_spec
=
14713 libname_spec
='lib$name'
14717 postuninstall_cmds
=
14721 shlibpath_overrides_runpath
=unknown
14723 dynamic_linker
="$host_os ld.so"
14724 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14725 need_lib_prefix
=unknown
14726 hardcode_into_libs
=no
14728 # when you set need_version to no, make sure it does not cause -set_version
14729 # flags to be left without arguments
14730 need_version
=unknown
14735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14736 shlibpath_var
=LIBPATH
14738 # AIX 3 has no versioning support, so we append a major version to the name.
14739 soname_spec
='${libname}${release}${shared_ext}$major'
14746 hardcode_into_libs
=yes
14747 if test "$host_cpu" = ia64
; then
14748 # AIX 5 supports IA64
14749 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14750 shlibpath_var
=LD_LIBRARY_PATH
14752 # With GCC up to 2.95.x, collect2 would create an import file
14753 # for dependence libraries. The import file would start with
14754 # the line `#! .'. This would cause the generated library to
14755 # depend on `.', always an invalid library. This was fixed in
14756 # development snapshots of GCC prior to 3.0.
14758 aix4 | aix4.
[01] | aix4.
[01].
*)
14759 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14761 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14764 can_build_shared
=no
14768 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14769 # soname into executable. Probably we can add versioning support to
14770 # collect2, so additional links can be useful in future.
14771 if test "$aix_use_runtimelinking" = yes; then
14772 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14773 # instead of lib<name>.a to let people know that these are not
14774 # typical AIX shared libraries.
14775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14777 # We preserve .a as extension for shared libraries through AIX4.2
14778 # and later when we are not doing run time linking.
14779 library_names_spec
='${libname}${release}.a $libname.a'
14780 soname_spec
='${libname}${release}${shared_ext}$major'
14782 shlibpath_var
=LIBPATH
14789 # Since July 2007 AmigaOS4 officially supports .so libraries.
14790 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14794 library_names_spec
='$libname.ixlibrary $libname.a'
14795 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14796 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'
14802 library_names_spec
='${libname}${shared_ext}'
14803 dynamic_linker
="$host_os ld.so"
14804 shlibpath_var
=LIBRARY_PATH
14810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14811 soname_spec
='${libname}${release}${shared_ext}$major'
14812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14813 shlibpath_var
=LD_LIBRARY_PATH
14814 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14815 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14816 # the default ld.so.conf also contains /usr/contrib/lib and
14817 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14818 # libtool to hard-code these into programs
14821 cygwin
* | mingw
* | pw32
* | cegcc
*)
14822 version_type
=windows
14827 case $GCC,$host_os in
14828 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14829 library_names_spec
='$libname.dll.a'
14830 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14831 postinstall_cmds
='base_file=`basename \${file}`~
14832 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14833 dldir=$destdir/`dirname \$dlpath`~
14834 test -d \$dldir || mkdir -p \$dldir~
14835 $install_prog $dir/$dlname \$dldir/$dlname~
14836 chmod a+x \$dldir/$dlname~
14837 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14838 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14840 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14841 dlpath=$dir/\$dldll~
14843 shlibpath_overrides_runpath
=yes
14847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14848 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14852 # MinGW DLLs use traditional 'lib' prefix
14853 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14856 # pw32 DLLs use 'pw' prefix rather than 'lib'
14857 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14863 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14866 dynamic_linker
='Win32 ld.exe'
14867 # FIXME: first we should search . and the directory the executable is in
14871 darwin
* | rhapsody
*)
14872 dynamic_linker
="$host_os dyld"
14873 version_type
=darwin
14876 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14877 soname_spec
='${libname}${release}${major}$shared_ext'
14878 shlibpath_overrides_runpath
=yes
14879 shlibpath_var
=DYLD_LIBRARY_PATH
14880 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14882 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14890 soname_spec
='${libname}${release}${shared_ext}$major'
14891 shlibpath_var
=LD_LIBRARY_PATH
14894 freebsd
* | dragonfly
*)
14895 # DragonFly does not have aout. When/if they implement a new
14896 # versioning mechanism, adjust this.
14897 if test -x /usr
/bin
/objformat
; then
14898 objformat
=`/usr/bin/objformat`
14901 freebsd
[23].
*) objformat
=aout
;;
14902 *) objformat
=elf
;;
14905 version_type
=freebsd-
$objformat
14906 case $version_type in
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14913 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14917 shlibpath_var
=LD_LIBRARY_PATH
14920 shlibpath_overrides_runpath
=yes
14922 freebsd3.
[01]* | freebsdelf3.
[01]*)
14923 shlibpath_overrides_runpath
=yes
14924 hardcode_into_libs
=yes
14926 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14927 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14928 shlibpath_overrides_runpath
=no
14929 hardcode_into_libs
=yes
14931 *) # from 4.6 on, and DragonFly
14932 shlibpath_overrides_runpath
=yes
14933 hardcode_into_libs
=yes
14942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14943 soname_spec
='${libname}${release}${shared_ext}$major'
14944 shlibpath_var
=LD_LIBRARY_PATH
14945 hardcode_into_libs
=yes
14952 dynamic_linker
="$host_os runtime_loader"
14953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14954 soname_spec
='${libname}${release}${shared_ext}$major'
14955 shlibpath_var
=LIBRARY_PATH
14956 shlibpath_overrides_runpath
=yes
14957 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14958 hardcode_into_libs
=yes
14961 hpux9
* | hpux10
* | hpux11
*)
14962 # Give a soname corresponding to the major version so that dld.sl refuses to
14963 # link against other versions.
14970 hardcode_into_libs
=yes
14971 dynamic_linker
="$host_os dld.so"
14972 shlibpath_var
=LD_LIBRARY_PATH
14973 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 soname_spec
='${libname}${release}${shared_ext}$major'
14976 if test "X$HPUX_IA64_MODE" = X32
; then
14977 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14979 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14981 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14985 hardcode_into_libs
=yes
14986 dynamic_linker
="$host_os dld.sl"
14987 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14988 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14990 soname_spec
='${libname}${release}${shared_ext}$major'
14991 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14992 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14996 dynamic_linker
="$host_os dld.sl"
14997 shlibpath_var
=SHLIB_PATH
14998 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 soname_spec
='${libname}${release}${shared_ext}$major'
15003 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15004 postinstall_cmds
='chmod 555 $lib'
15005 # or fails outright, so override atomically:
15006 install_override_mode
=555
15013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15014 soname_spec
='${libname}${release}${shared_ext}$major'
15015 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15016 shlibpath_var
=LD_LIBRARY_PATH
15017 shlibpath_overrides_runpath
=no
15018 hardcode_into_libs
=yes
15021 irix5
* | irix6
* | nonstopux
*)
15023 nonstopux
*) version_type
=nonstopux
;;
15025 if test "$lt_cv_prog_gnu_ld" = yes; then
15033 soname_spec
='${libname}${release}${shared_ext}$major'
15034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15036 irix5
* | nonstopux
*)
15037 libsuff
= shlibsuff
=
15040 case $LD in # libtool.m4 will add one of these switches to LD
15041 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15042 libsuff
= shlibsuff
= libmagic
=32-bit;;
15043 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15044 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15045 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15046 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15047 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15051 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15052 shlibpath_overrides_runpath
=no
15053 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15054 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15055 hardcode_into_libs
=yes
15058 # No shared lib support for Linux oldld, aout, or coff.
15059 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15063 # This must be Linux ELF.
15064 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec
='${libname}${release}${shared_ext}$major'
15070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 shlibpath_overrides_runpath
=no
15074 # Some binutils ld are patched to set DT_RUNPATH
15075 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15076 $as_echo_n "(cached) " >&6
15078 lt_cv_shlibpath_overrides_runpath
=no
15079 save_LDFLAGS
=$LDFLAGS
15080 save_libdir
=$libdir
15081 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15082 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15094 if ac_fn_cxx_try_link
"$LINENO"; then :
15095 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15096 lt_cv_shlibpath_overrides_runpath
=yes
15099 rm -f core conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LDFLAGS
=$save_LDFLAGS
15102 libdir
=$save_libdir
15106 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15108 # This implies no fast_install, which is unacceptable.
15109 # Some rework will be needed to allow for fast_install
15110 # before this can be enabled.
15111 hardcode_into_libs
=yes
15113 # Append ld.so.conf contents to the search path
15114 if test -f /etc
/ld.so.conf
; then
15115 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' ' '`
15116 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15119 # We used to test for /lib/ld.so.1 and disable shared libraries on
15120 # powerpc, because MkLinux only supported shared libraries with the
15121 # GNU dynamic linker. Since this was broken with cross compilers,
15122 # most powerpc-linux boxes support dynamic linking these days and
15123 # people can always --disable-shared, the test was removed, and we
15124 # assume the GNU/Linux dynamic linker is in use.
15125 dynamic_linker
='GNU/Linux ld.so'
15132 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15135 dynamic_linker
='NetBSD (a.out) ld.so'
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15139 dynamic_linker
='NetBSD ld.elf_so'
15141 shlibpath_var
=LD_LIBRARY_PATH
15142 shlibpath_overrides_runpath
=yes
15143 hardcode_into_libs
=yes
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 shlibpath_var
=LD_LIBRARY_PATH
15150 shlibpath_overrides_runpath
=yes
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 soname_spec
='${libname}${release}${shared_ext}$major'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=no
15161 hardcode_into_libs
=yes
15162 dynamic_linker
='ldqnx.so'
15167 sys_lib_dlsearch_path_spec
="/usr/lib"
15169 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15171 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15172 *) need_version
=no
;;
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15176 shlibpath_var
=LD_LIBRARY_PATH
15177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15179 openbsd2.
[89] | openbsd2.
[89].
*)
15180 shlibpath_overrides_runpath
=no
15183 shlibpath_overrides_runpath
=yes
15187 shlibpath_overrides_runpath
=yes
15192 libname_spec
='$name'
15195 library_names_spec
='$libname${shared_ext} $libname.a'
15196 dynamic_linker
='OS/2 ld.exe'
15197 shlibpath_var
=LIBPATH
15200 osf3
* | osf4
* | osf5
*)
15204 soname_spec
='${libname}${release}${shared_ext}$major'
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15206 shlibpath_var
=LD_LIBRARY_PATH
15207 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15208 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=yes
15223 hardcode_into_libs
=yes
15224 # ldd complains unless libraries are executable
15225 postinstall_cmds
='chmod +x $lib'
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15231 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15232 shlibpath_var
=LD_LIBRARY_PATH
15233 shlibpath_overrides_runpath
=yes
15234 if test "$with_gnu_ld" = yes; then
15242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243 soname_spec
='${libname}${release}${shared_ext}$major'
15244 shlibpath_var
=LD_LIBRARY_PATH
15245 case $host_vendor in
15247 shlibpath_overrides_runpath
=no
15249 runpath_var
=LD_RUN_PATH
15257 shlibpath_overrides_runpath
=no
15258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15264 if test -d /usr
/nec
;then
15266 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15267 soname_spec
='$libname${shared_ext}.$major'
15268 shlibpath_var
=LD_LIBRARY_PATH
15272 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15273 version_type
=freebsd-elf
15276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15277 soname_spec
='${libname}${release}${shared_ext}$major'
15278 shlibpath_var
=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath
=yes
15280 hardcode_into_libs
=yes
15281 if test "$with_gnu_ld" = yes; then
15282 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15284 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15287 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15291 sys_lib_dlsearch_path_spec
='/usr/lib'
15295 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15300 shlibpath_var
=LD_LIBRARY_PATH
15301 shlibpath_overrides_runpath
=no
15302 hardcode_into_libs
=yes
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 shlibpath_var
=LD_LIBRARY_PATH
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15317 $as_echo "$dynamic_linker" >&6; }
15318 test "$dynamic_linker" = no
&& can_build_shared
=no
15320 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15321 if test "$GCC" = yes; then
15322 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15325 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15326 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15328 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15329 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15370 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15371 hardcode_action_CXX
=
15372 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15373 test -n "$runpath_var_CXX" ||
15374 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15376 # We can hardcode non-existent directories.
15377 if test "$hardcode_direct_CXX" != no
&&
15378 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15379 # have to relink, otherwise we might link with an installed library
15380 # when we should be linking with a yet-to-be-installed one
15381 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15382 test "$hardcode_minus_L_CXX" != no
; then
15383 # Linking always hardcodes the temporary library directory.
15384 hardcode_action_CXX
=relink
15386 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15387 hardcode_action_CXX
=immediate
15390 # We cannot hardcode anything, or else we can only hardcode existing
15392 hardcode_action_CXX
=unsupported
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15395 $as_echo "$hardcode_action_CXX" >&6; }
15397 if test "$hardcode_action_CXX" = relink ||
15398 test "$inherit_rpath_CXX" = yes; then
15399 # Fast installation is not supported
15400 enable_fast_install
=no
15401 elif test "$shlibpath_overrides_runpath" = yes ||
15402 test "$enable_shared" = no
; then
15403 # Fast installation is not necessary
15404 enable_fast_install
=needless
15413 fi # test -n "$compiler"
15419 with_gnu_ld
=$lt_save_with_gnu_ld
15420 lt_cv_path_LDCXX
=$lt_cv_path_LD
15421 lt_cv_path_LD
=$lt_save_path_LD
15422 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15423 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15424 fi # test "$_lt_caught_CXX_error" != yes
15427 ac_cpp
='$CPP $CPPFLAGS'
15428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15444 ac_config_commands
="$ac_config_commands libtool"
15449 # Only expand once:
15455 # For libtool versioning info, format is CURRENT:REVISION:AGE
15456 libtool_VERSION
=1:0:0
15459 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15462 if test "${multilib}" = "yes"; then
15463 multilib_arg
="--enable-multilib"
15468 ac_config_files
="$ac_config_files Makefile"
15471 if test "x$VTV_SUPPORTED" = "xyes"; then
15472 ac_config_files
="$ac_config_files ./Makefile testsuite/Makefile"
15476 cat >confcache
<<\_ACEOF
15477 # This file is a shell script that caches the results of configure
15478 # tests run on this system so they can be shared between configure
15479 # scripts and configure runs, see configure's option --config-cache.
15480 # It is not useful on other systems. If it contains results you don't
15481 # want to keep, you may remove or edit it.
15483 # config.status only pays attention to the cache file if you give it
15484 # the --recheck option to rerun configure.
15486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15488 # following values.
15492 # The following way of writing the cache mishandles newlines in values,
15493 # but we know of no workaround that is simple, portable, and efficient.
15494 # So, we kill variables containing newlines.
15495 # Ultrix sh set writes to stderr and can't be redirected directly,
15496 # and sets the high bit in the cache file unless we assign to the vars.
15498 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15499 eval ac_val
=\$
$ac_var
15503 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15507 _ | IFS | as_nl
) ;; #(
15508 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15509 *) { eval $ac_var=; unset $ac_var;} ;;
15515 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15516 *${as_nl}ac_space
=\
*)
15517 # `set' does not quote correctly, so add quotes: double-quote
15518 # substitution turns \\\\ into \\, and sed turns \\ into \.
15521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15524 # `set' quotes correctly as required by POSIX, so do not add quotes.
15525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15536 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15538 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15539 if test -w "$cache_file"; then
15540 test "x$cache_file" != "x/dev/null" &&
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15542 $as_echo "$as_me: updating cache $cache_file" >&6;}
15543 cat confcache
>$cache_file
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15546 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15551 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15552 # Let make expand exec_prefix.
15553 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15555 # Transform confdefs.h into DEFS.
15556 # Protect against shell expansion while executing Makefile rules.
15557 # Protect against Makefile macro expansion.
15559 # If the first sed substitution is executed (which looks for macros that
15560 # take arguments), then branch to the quote section. Otherwise,
15561 # look for a macro that doesn't take arguments.
15571 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15573 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15577 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15590 DEFS
=`sed -n "$ac_script" confdefs.h`
15595 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15596 # 1. Remove the extension, and $U if already installed.
15597 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15598 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15599 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15600 # will be set to the directory where LIBOBJS objects are built.
15601 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15602 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15604 LIBOBJS
=$ac_libobjs
15606 LTLIBOBJS
=$ac_ltlibobjs
15609 if test -n "$EXEEXT"; then
15611 am__EXEEXT_FALSE
='#'
15613 am__EXEEXT_TRUE
='#'
15617 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15618 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15621 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15622 as_fn_error
"conditional \"AMDEP\" was never defined.
15623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15625 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15626 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15629 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15630 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15633 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15634 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 : ${CONFIG_STATUS=./config.status}
15640 ac_clean_files_save
=$ac_clean_files
15641 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15643 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15645 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15647 # Generated by $as_me.
15648 # Run this file to recreate the current configuration.
15649 # Compiler output produced by configure, useful for debugging
15650 # configure, is in config.log if it exists.
15653 ac_cs_recheck=false
15656 SHELL=\${CONFIG_SHELL-$SHELL}
15659 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15660 ## -------------------- ##
15661 ## M4sh Initialization. ##
15662 ## -------------------- ##
15664 # Be more Bourne compatible
15665 DUALCASE
=1; export DUALCASE
# for MKS sh
15666 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15669 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15670 # is contrary to our usage. Disable this feature.
15671 alias -g '${1+"$@"}'='"$@"'
15672 setopt NO_GLOB_SUBST
15674 case `(set -o) 2>/dev/null` in #(
15686 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15687 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15688 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15690 # Prefer a ksh shell builtin over an external printf program on Solaris,
15691 # but without wasting forks for bash or zsh.
15692 if test -z "$BASH_VERSION$ZSH_VERSION" \
15693 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15694 as_echo='print
-r --'
15695 as_echo_n='print
-rn --'
15696 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15697 as_echo='printf %s
\n'
15698 as_echo_n='printf %s
'
15700 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15701 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15702 as_echo_n='/usr
/ucb
/echo -n'
15704 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15705 as_echo_n_body='eval
15709 expr "X$arg" : "X\\(.*\\)$as_nl";
15710 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15712 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15714 export as_echo_n_body
15715 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15717 export as_echo_body
15718 as_echo='sh
-c $as_echo_body as_echo
'
15721 # The user is always right.
15722 if test "${PATH_SEPARATOR+set}" != set; then
15724 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15725 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15732 # We need space, tab and new line, in precisely that order. Quoting is
15733 # there to prevent editors from complaining about space-tab.
15734 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15735 # splitting by setting IFS to empty value.)
15738 # Find who we are. Look in the path if we contain no directory separator.
15740 *[\\/]* ) as_myself=$0 ;;
15741 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15742 for as_dir in $PATH
15745 test -z "$as_dir" && as_dir=.
15746 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15752 # We did not find ourselves, most probably we were run as `sh COMMAND'
15753 # in which case we are not to be found in the path.
15754 if test "x$as_myself" = x
; then
15757 if test ! -f "$as_myself"; then
15758 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15762 # Unset variables that we do not need and which cause bugs (e.g. in
15763 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15764 # suppresses any "Segmentation fault" message there. '((' could
15765 # trigger a bug in pdksh 5.2.14.
15766 for as_var
in BASH_ENV ENV MAIL MAILPATH
15767 do eval test x\
${$as_var+set} = xset \
15768 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15781 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15784 # as_fn_error ERROR [LINENO LOG_FD]
15785 # ---------------------------------
15786 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15787 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15788 # script with status $?, using 1 if that was 0.
15791 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15793 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15794 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15796 $as_echo "$as_me: error: $1" >&2
15797 as_fn_exit
$as_status
15801 # as_fn_set_status STATUS
15802 # -----------------------
15803 # Set $? to STATUS, without forking.
15804 as_fn_set_status
()
15807 } # as_fn_set_status
15809 # as_fn_exit STATUS
15810 # -----------------
15811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15815 as_fn_set_status
$1
15821 # Portably unset VAR.
15824 { eval $1=; unset $1;}
15826 as_unset
=as_fn_unset
15827 # as_fn_append VAR VALUE
15828 # ----------------------
15829 # Append the text in VALUE to the end of the definition contained in VAR. Take
15830 # advantage of any shell optimizations that allow amortized linear growth over
15831 # repeated appends, instead of the typical quadratic growth present in naive
15833 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15834 eval 'as_fn_append ()
15845 # as_fn_arith ARG...
15846 # ------------------
15847 # Perform arithmetic evaluation on the ARGs, and store the result in the
15848 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15849 # must be portable across $(()) and expr.
15850 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15851 eval 'as_fn_arith ()
15858 as_val
=`expr "$@" || test $? -eq 1`
15863 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15864 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15870 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15871 as_basename
=basename
15876 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15882 as_me
=`$as_basename -- "$0" ||
15883 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15884 X"$0" : 'X\(//\)$' \| \
15885 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15887 sed '/^.*\/\([^/][^/]*\)\/*$/{
15901 # Avoid depending upon Character Ranges.
15902 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15903 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15904 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15905 as_cr_digits
='0123456789'
15906 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15908 ECHO_C
= ECHO_N
= ECHO_T
=
15909 case `echo -n x` in #(((((
15911 case `echo 'xy\c'` in
15912 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15914 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15921 rm -f conf$$ conf$$.exe conf$$.
file
15922 if test -d conf$$.dir
; then
15923 rm -f conf$$.dir
/conf$$.
file
15926 mkdir conf$$.dir
2>/dev
/null
15928 if (echo >conf$$.
file) 2>/dev
/null
; then
15929 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15931 # ... but there are two gotchas:
15932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15934 # In both cases, we have to default to `cp -p'.
15935 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15937 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15945 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15946 rmdir conf$$.dir
2>/dev
/null
15951 # Create "$as_dir" as a directory, including parents if necessary.
15956 -*) as_dir
=.
/$as_dir;;
15958 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15962 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15963 *) as_qdir
=$as_dir;;
15965 as_dirs
="'$as_qdir' $as_dirs"
15966 as_dir
=`$as_dirname -- "$as_dir" ||
15967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15968 X"$as_dir" : 'X\(//\)[^/]' \| \
15969 X"$as_dir" : 'X\(//\)$' \| \
15970 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15971 $as_echo X"$as_dir" |
15972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15976 /^X\(\/\/\)[^/].*/{
15989 test -d "$as_dir" && break
15991 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15992 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15996 if mkdir
-p .
2>/dev
/null
; then
15997 as_mkdir_p
='mkdir -p "$as_dir"'
15999 test -d .
/-p && rmdir .
/-p
16003 if test -x / >/dev
/null
2>&1; then
16004 as_test_x
='test -x'
16006 if ls -dL / >/dev
/null
2>&1; then
16013 if test -d "$1"; then
16019 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16020 ???[sx]*):;;*)false;;esac;fi
16024 as_executable_p
=$as_test_x
16026 # Sed expression to map a string onto a valid CPP name.
16027 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16029 # Sed expression to map a string onto a valid variable name.
16030 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16034 ## ----------------------------------- ##
16035 ## Main body of $CONFIG_STATUS script. ##
16036 ## ----------------------------------- ##
16038 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16041 # Save the log message, to keep $0 and so on meaningful, and to
16042 # report actual input values of CONFIG_FILES etc. instead of their
16043 # values after options handling.
16045 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16046 generated by GNU Autoconf 2.64. Invocation command line was
16048 CONFIG_FILES = $CONFIG_FILES
16049 CONFIG_HEADERS = $CONFIG_HEADERS
16050 CONFIG_LINKS = $CONFIG_LINKS
16051 CONFIG_COMMANDS = $CONFIG_COMMANDS
16054 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16059 case $ac_config_files in *"
16060 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16066 # Files that config.status was made for.
16067 config_files="$ac_config_files"
16068 config_commands="$ac_config_commands"
16072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16074 \`$as_me' instantiates files and other configuration actions
16075 from templates according to the current configuration. Unless the files
16076 and actions are specified as TAGs, all are instantiated by default.
16078 Usage: $0 [OPTION]... [TAG]...
16080 -h, --help print this help, then exit
16081 -V, --version print version number and configuration settings, then exit
16082 -q, --quiet, --silent
16083 do not print progress messages
16084 -d, --debug don't remove temporary files
16085 --recheck update $as_me by reconfiguring in the same conditions
16086 --file=FILE[:TEMPLATE]
16087 instantiate the configuration file FILE
16089 Configuration files:
16092 Configuration commands:
16095 Report bugs to the package provider.
16096 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16097 General help using GNU software: <http://www.gnu.org/gethelp/>."
16100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102 GNU Vtable Verification Runtime Library config.status 1.0
16103 configured by $0, generated by GNU Autoconf 2.64,
16104 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16106 Copyright (C) 2009 Free Software Foundation, Inc.
16107 This config.status script is free software; the Free Software Foundation
16108 gives unlimited permission to copy, distribute and modify it."
16115 test -n "\$AWK" || AWK=awk
16118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16119 # The default lists apply if the user does not specify any file.
16125 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16126 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16137 # Handling of the options.
16138 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16140 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16141 $as_echo "$ac_cs_version"; exit ;;
16142 --debug |
--debu |
--deb |
--de |
--d |
-d )
16144 --file |
--fil |
--fi |
--f )
16147 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16149 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16150 ac_need_defaults
=false
;;
16151 --he |
--h |
--help |
--hel |
-h )
16152 $as_echo "$ac_cs_usage"; exit ;;
16153 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16154 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16157 # This is an error.
16158 -*) as_fn_error
"unrecognized option: \`$1'
16159 Try \`$0 --help' for more information." ;;
16161 *) as_fn_append ac_config_targets
" $1"
16162 ac_need_defaults
=false
;;
16168 ac_configure_extra_args
=
16170 if $ac_cs_silent; then
16172 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16177 if \$ac_cs_recheck; then
16178 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16180 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16181 CONFIG_SHELL='$SHELL'
16182 export CONFIG_SHELL
16187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16191 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16192 ## Running $as_me. ##
16198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16206 with_multisubdir="$with_multisubdir"
16207 with_multisrctop="$with_multisrctop"
16208 with_target_subdir="$with_target_subdir"
16209 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16210 multi_basedir="$multi_basedir"
16211 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16214 GFORTRAN="$GFORTRAN"
16216 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16219 # The HP-UX ksh and POSIX shell print the target directory to stdout
16220 # if CDPATH is set.
16221 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16223 sed_quote_subst='$sed_quote_subst'
16224 double_quote_subst='$double_quote_subst'
16225 delay_variable_subst='$delay_variable_subst'
16226 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16227 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16228 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16229 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16230 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16231 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16232 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16233 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16234 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16235 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16236 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16237 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16238 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16239 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16240 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16241 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16242 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16243 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16244 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16245 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16246 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16247 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16248 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16249 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16250 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16251 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16252 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16253 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16254 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16255 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16256 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16257 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16258 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16259 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16260 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16261 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16262 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16263 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16264 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16265 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16266 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16267 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16268 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16269 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16270 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16271 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16272 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16273 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16274 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"`'
16275 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16276 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16277 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16278 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16279 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16280 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16281 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16282 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16283 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16284 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16285 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16286 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16287 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16288 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16289 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16290 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16291 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16292 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16293 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16294 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16295 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16296 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16297 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16298 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16299 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16300 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16301 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16302 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16303 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16304 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16305 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16306 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16307 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16308 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16309 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16310 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16311 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16312 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16313 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16314 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16315 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16316 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16317 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16318 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16319 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16320 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16321 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16322 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16323 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16324 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16325 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16326 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16327 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16328 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16329 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16330 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16331 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16332 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16333 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16334 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16335 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16336 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16337 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16338 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16339 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16340 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16341 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16342 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16343 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16344 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16345 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16346 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16347 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16348 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16349 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16350 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16351 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16352 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16353 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16354 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16355 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16356 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16357 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16358 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16359 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16360 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16361 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16362 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16363 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16364 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16365 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16366 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16367 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16368 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16369 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16370 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16371 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16372 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16373 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16374 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16375 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16376 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16377 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16378 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16379 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16380 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16381 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16382 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16383 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16384 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16385 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16386 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16387 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16388 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16389 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16390 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16391 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16392 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16393 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16394 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16395 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16396 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16397 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16398 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16399 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16400 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16403 LTCFLAGS='$LTCFLAGS'
16404 compiler='$compiler_DEFAULT'
16406 # A function that is used when there is no print builtin or printf.
16407 func_fallback_echo ()
16409 eval 'cat <<_LTECHO_EOF
16414 # Quote evaled strings.
16428 deplibs_check_method \
16437 lt_cv_sys_global_symbol_pipe \
16438 lt_cv_sys_global_symbol_to_cdecl \
16439 lt_cv_sys_global_symbol_to_c_name_address \
16440 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16441 lt_prog_compiler_no_builtin_flag \
16442 lt_prog_compiler_wl \
16443 lt_prog_compiler_pic \
16444 lt_prog_compiler_static \
16445 lt_cv_prog_compiler_c_o \
16453 export_dynamic_flag_spec \
16454 whole_archive_flag_spec \
16455 compiler_needs_object \
16457 allow_undefined_flag \
16458 no_undefined_flag \
16459 hardcode_libdir_flag_spec \
16460 hardcode_libdir_flag_spec_ld \
16461 hardcode_libdir_separator \
16466 variables_saved_for_relink \
16468 library_names_spec \
16470 install_override_mode \
16474 compiler_lib_search_dirs \
16479 compiler_lib_search_path \
16483 lt_prog_compiler_no_builtin_flag_CXX \
16484 lt_prog_compiler_wl_CXX \
16485 lt_prog_compiler_pic_CXX \
16486 lt_prog_compiler_static_CXX \
16487 lt_cv_prog_compiler_c_o_CXX \
16488 export_dynamic_flag_spec_CXX \
16489 whole_archive_flag_spec_CXX \
16490 compiler_needs_object_CXX \
16492 allow_undefined_flag_CXX \
16493 no_undefined_flag_CXX \
16494 hardcode_libdir_flag_spec_CXX \
16495 hardcode_libdir_flag_spec_ld_CXX \
16496 hardcode_libdir_separator_CXX \
16497 fix_srcfile_path_CXX \
16498 exclude_expsyms_CXX \
16499 include_expsyms_CXX \
16500 file_list_spec_CXX \
16501 compiler_lib_search_dirs_CXX \
16502 predep_objects_CXX \
16503 postdep_objects_CXX \
16506 compiler_lib_search_path_CXX; do
16507 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16508 *[\\\\\\\`\\"\\\$]*)
16509 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16512 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16517 # Double-quote double-evaled strings.
16518 for var in reload_cmds \
16519 old_postinstall_cmds \
16520 old_postuninstall_cmds \
16522 extract_expsyms_cmds \
16523 old_archive_from_new_cmds \
16524 old_archive_from_expsyms_cmds \
16526 archive_expsym_cmds \
16528 module_expsym_cmds \
16529 export_symbols_cmds \
16532 postuninstall_cmds \
16534 sys_lib_search_path_spec \
16535 sys_lib_dlsearch_path_spec \
16537 old_archive_cmds_CXX \
16538 old_archive_from_new_cmds_CXX \
16539 old_archive_from_expsyms_cmds_CXX \
16541 archive_expsym_cmds_CXX \
16543 module_expsym_cmds_CXX \
16544 export_symbols_cmds_CXX \
16545 prelink_cmds_CXX; do
16546 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16547 *[\\\\\\\`\\"\\\$]*)
16548 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16551 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16556 ac_aux_dir='$ac_aux_dir'
16557 xsi_shell='$xsi_shell'
16558 lt_shell_append='$lt_shell_append'
16560 # See if we are running on zsh, and set the options which allow our
16561 # commands through without removal of \ escapes INIT.
16562 if test -n "\${ZSH_VERSION+set}" ; then
16563 setopt NO_GLOB_SUBST
16569 TIMESTAMP='$TIMESTAMP'
16580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16582 # Handling of arguments.
16583 for ac_config_target
in $ac_config_targets
16585 case $ac_config_target in
16586 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16587 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16588 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16589 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16590 "./Makefile") CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
16591 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16593 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16598 # If the user did not use the arguments to specify the items to instantiate,
16599 # then the envvar interface is used. Set only those that are not.
16600 # We use the long form for the default assignment because of an extremely
16601 # bizarre bug on SunOS 4.1.3.
16602 if $ac_need_defaults; then
16603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16604 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16607 # Have a temporary directory for convenience. Make it in the build tree
16608 # simply because there is no reason against having it here, and in addition,
16609 # creating and moving files from /tmp can sometimes cause problems.
16610 # Hook for its removal unless debugging.
16611 # Note that there is a small window in which the directory will not be cleaned:
16612 # after its creation but before its name has been assigned to `$tmp'.
16616 trap 'exit_status=$?
16617 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16619 trap 'as_fn_exit 1' 1 2 13 15
16621 # Create a (secure) tmp directory for tmp files.
16624 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16625 test -n "$tmp" && test -d "$tmp"
16628 tmp
=.
/conf$$
-$RANDOM
16629 (umask 077 && mkdir
"$tmp")
16630 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16632 # Set up the scripts for CONFIG_FILES section.
16633 # No need to generate them if there are no CONFIG_FILES.
16634 # This happens for instance with `./config.status config.h'.
16635 if test -n "$CONFIG_FILES"; then
16638 ac_cr
=`echo X | tr X '\015'`
16639 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16640 # But we know of no other shell where ac_cr would be empty at this
16641 # point, so we can use a bashism as a fallback.
16642 if test "x$ac_cr" = x
; then
16643 eval ac_cr
=\$
\'\\r
\'
16645 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16646 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16649 ac_cs_awk_cr
=$ac_cr
16652 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16657 echo "cat >conf$$subs.awk <<_ACEOF" &&
16658 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16660 } >conf$$subs.sh ||
16661 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16662 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16664 for ac_last_try in false false false false false :; do
16665 . ./conf$$subs.sh ||
16666 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16668 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16669 if test $ac_delim_n = $ac_delim_num; then
16671 elif $ac_last_try; then
16672 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16674 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16677 rm -f conf$$subs.sh
16679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16680 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16684 s/^/S["/; s
/!.
*/"]=/
16694 s/\(.\{148\}\).*/\1/
16696 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16701 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16708 s/\(.\{148\}\).*/\1/
16710 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16714 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16719 ' <conf$$subs.awk | sed '
16724 ' >>$CONFIG_STATUS || ac_write_fail=1
16725 rm -f conf$$subs.awk
16726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16728 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16729 for (key in S) S_is_set[key] = 1
16735 nfields = split(line, field, "@
")
16737 len = length(field[1])
16738 for (i = 2; i < nfields; i++) {
16740 keylen = length(key)
16741 if (S_is_set[key]) {
16743 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16744 len += length(value) + length(field[++i])
16755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16756 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16757 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16760 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16761 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16764 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16765 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16766 # trailing colons and then remove the whole line if VPATH becomes empty
16767 # (actually we leave an empty line to preserve line numbers).
16768 if test "x
$srcdir" = x.; then
16769 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16770 s/:*\$(srcdir):*/:/
16771 s/:*\${srcdir}:*/:/
16773 s/^\([^=]*=[ ]*\):*/\1/
16779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16780 fi # test -n "$CONFIG_FILES"
16783 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16788 :[FHLC]) ac_mode=$ac_tag; continue;;
16790 case $ac_mode$ac_tag in
16792 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16793 :[FH]-) ac_tag=-:-;;
16794 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16811 -) ac_f="$tmp/stdin";;
16812 *) # Look for the file first in the build tree, then in the source tree
16813 # (if the path is not absolute). The absolute path cannot be DOS-style,
16814 # because $ac_f cannot contain `:'.
16818 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16820 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16822 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16823 as_fn_append ac_file_inputs " '$ac_f'"
16826 # Let's still pretend it is `configure' which instantiates (i.e., don't
16827 # use $as_me), people would be surprised to read:
16828 # /* config.h. Generated by config.status. */
16829 configure_input='Generated from '`
16830 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16832 if test x"$ac_file" != x-; then
16833 configure_input="$ac_file.
$configure_input"
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16835 $as_echo "$as_me: creating
$ac_file" >&6;}
16837 # Neutralize special characters interpreted by sed in replacement strings.
16838 case $configure_input in #(
16839 *\&* | *\|* | *\\* )
16840 ac_sed_conf_input=`$as_echo "$configure_input" |
16841 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16842 *) ac_sed_conf_input=$configure_input;;
16846 *:-:* | *:-) cat >"$tmp/stdin
" \
16847 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16852 ac_dir=`$as_dirname -- "$ac_file" ||
16853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16854 X"$ac_file" : 'X\(//\)[^/]' \| \
16855 X"$ac_file" : 'X\(//\)$' \| \
16856 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16857 $as_echo X"$ac_file" |
16858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16862 /^X\(\/\/\)[^/].*/{
16875 as_dir="$ac_dir"; as_fn_mkdir_p
16879 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16881 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16882 # A "..
" for each directory in $ac_dir_suffix.
16883 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16884 case $ac_top_builddir_sub in
16885 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16886 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16889 ac_abs_top_builddir=$ac_pwd
16890 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16891 # for backward compatibility:
16892 ac_top_builddir=$ac_top_build_prefix
16895 .) # We are building in place.
16897 ac_top_srcdir=$ac_top_builddir_sub
16898 ac_abs_top_srcdir=$ac_pwd ;;
16899 [\\/]* | ?:[\\/]* ) # Absolute name.
16900 ac_srcdir=$srcdir$ac_dir_suffix;
16901 ac_top_srcdir=$srcdir
16902 ac_abs_top_srcdir=$srcdir ;;
16903 *) # Relative name.
16904 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16905 ac_top_srcdir=$ac_top_build_prefix$srcdir
16906 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16908 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16918 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16919 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16921 ac_MKDIR_P=$MKDIR_P
16923 [\\/$]* | ?:[\\/]* ) ;;
16924 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16929 # If the template does not know about datarootdir, expand it.
16930 # FIXME: This hack should be removed a few years after 2.60.
16931 ac_datarootdir_hack=; ac_datarootdir_seen=
16942 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16943 *datarootdir*) ac_datarootdir_seen=yes;;
16944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16946 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16949 ac_datarootdir_hack='
16950 s&@datadir@&$datadir&g
16951 s&@docdir@&$docdir&g
16952 s&@infodir@&$infodir&g
16953 s&@localedir@&$localedir&g
16954 s&@mandir@&$mandir&g
16955 s&\\\${datarootdir}&$datarootdir&g' ;;
16959 # Neutralize VPATH when `$srcdir' = `.'.
16960 # Shell code in configure.ac might set extrasub.
16961 # FIXME: do we really want to maintain this feature?
16962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16963 ac_sed_extra="$ac_vpsub
16966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16968 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16969 s|@configure_input@|
$ac_sed_conf_input|
;t t
16970 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16971 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16972 s
&@srcdir@
&$ac_srcdir&;t t
16973 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16974 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16975 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16976 s
&@builddir@
&$ac_builddir&;t t
16977 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16978 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16979 s
&@INSTALL@
&$ac_INSTALL&;t t
16980 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16981 $ac_datarootdir_hack
16983 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16984 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16986 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16987 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16988 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16990 which seems to be undefined. Please make sure it is defined." >&5
16991 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16992 which seems to be undefined. Please make sure it is defined." >&2;}
16996 -) cat "$tmp/out" && rm -f "$tmp/out";;
16997 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16999 || as_fn_error "could not create $ac_file" "$LINENO" 5
17003 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17004 $as_echo "$as_me: executing $ac_file commands" >&6;}
17009 case $ac_file$ac_mode in
17011 # Only add multilib support code if we just rebuilt the top-level
17013 case " $CONFIG_FILES " in
17015 ac_file=Makefile . ${multi_basedir}/config-ml.in
17018 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17019 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17020 # are listed without --file. Let's play safe and only
enable the
eval
17021 # if we detect the quoting.
17022 case $CONFIG_FILES in
17023 *\'*) eval set x
"$CONFIG_FILES" ;;
17024 *) set x
$CONFIG_FILES ;;
17029 # Strip MF so we end up with the name of the file.
17030 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17031 # Check whether this is an Automake generated Makefile or not.
17032 # We used to match only the files named `Makefile.in', but
17033 # some people rename them; so instead we look at the file content.
17034 # Grep'ing the first line is not enough: some people post-process
17035 # each Makefile.in and add a new line on top of each file to say so.
17036 # Grep'ing the whole file is not good either: AIX grep has a line
17037 # limit of 2048, but all sed's we know have understand at least 4000.
17038 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17039 dirpart
=`$as_dirname -- "$mf" ||
17040 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17041 X"$mf" : 'X\(//\)[^/]' \| \
17042 X"$mf" : 'X\(//\)$' \| \
17043 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17049 /^X\(\/\/\)[^/].*/{
17065 # Extract the definition of DEPDIR, am__include, and am__quote
17066 # from the Makefile without running `make'.
17067 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17068 test -z "$DEPDIR" && continue
17069 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17070 test -z "am__include" && continue
17071 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17072 # When using ansi2knr, U may be empty or an underscore; expand it
17073 U
=`sed -n 's/^U = //p' < "$mf"`
17074 # Find all dependency output files, they are included files with
17075 # $(DEPDIR) in their names. We invoke sed twice because it is the
17076 # simplest approach to changing $(DEPDIR) to its actual value in the
17078 for file in `sed -n "
17079 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17080 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17081 # Make sure the directory exists.
17082 test -f "$dirpart/$file" && continue
17083 fdir
=`$as_dirname -- "$file" ||
17084 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17085 X"$file" : 'X\(//\)[^/]' \| \
17086 X"$file" : 'X\(//\)$' \| \
17087 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17088 $as_echo X"$file" |
17089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17093 /^X\(\/\/\)[^/].*/{
17106 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17107 # echo "creating $dirpart/$file"
17108 echo '# dummy' > "$dirpart/$file"
17115 # See if we are running on zsh, and set the options which allow our
17116 # commands through without removal of \ escapes.
17117 if test -n "${ZSH_VERSION+set}" ; then
17118 setopt NO_GLOB_SUBST
17121 cfgfile
="${ofile}T"
17122 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17125 cat <<_LT_EOF >> "$cfgfile"
17128 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17129 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17130 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17131 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17133 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17134 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17135 # Written by Gordon Matzigkeit, 1996
17137 # This file is part of GNU Libtool.
17139 # GNU Libtool is free software; you can redistribute it and/or
17140 # modify it under the terms of the GNU General Public License as
17141 # published by the Free Software Foundation; either version 2 of
17142 # the License, or (at your option) any later version.
17144 # As a special exception to the GNU General Public License,
17145 # if you distribute this file as part of a program or library that
17146 # is built using GNU Libtool, you may include this file under the
17147 # same distribution terms that you use for the rest of that program.
17149 # GNU Libtool is distributed in the hope that it will be useful,
17150 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17151 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17152 # GNU General Public License for more details.
17154 # You should have received a copy of the GNU General Public License
17155 # along with GNU Libtool; see the file COPYING. If not, a copy
17156 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17157 # obtained by writing to the Free Software Foundation, Inc.,
17158 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17161 # The names of the tagged configurations supported by this script.
17162 available_tags="CXX "
17164 # ### BEGIN LIBTOOL CONFIG
17166 # Which release of libtool.m4 was used?
17167 macro_version=$macro_version
17168 macro_revision=$macro_revision
17170 # Whether or not to build shared libraries.
17171 build_libtool_libs=$enable_shared
17173 # Whether or not to build static libraries.
17174 build_old_libs=$enable_static
17176 # What type of objects to build.
17179 # Whether or not to optimize for fast installation.
17180 fast_install=$enable_fast_install
17182 # Shell to use when invoking shell scripts.
17185 # An echo program that protects backslashes.
17189 host_alias=$host_alias
17193 # The build system.
17194 build_alias=$build_alias
17198 # A sed program that does not truncate output.
17201 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17202 Xsed="\$SED -e 1s/^X//"
17204 # A grep program that handles long lines.
17210 # A literal string matcher.
17213 # A BSD- or MS-compatible name lister.
17216 # Whether we need soft or hard links.
17219 # What is the maximum length of a command?
17220 max_cmd_len=$max_cmd_len
17222 # Object file suffix (normally "o").
17225 # Executable file suffix (normally "").
17228 # whether the shell understands "unset".
17231 # turn spaces into newlines.
17234 # turn newlines into spaces.
17237 # An object symbol dumper.
17238 OBJDUMP=$lt_OBJDUMP
17240 # Method to check whether dependent libraries are shared objects.
17241 deplibs_check_method=$lt_deplibs_check_method
17243 # Command to use when deplibs_check_method == "file_magic".
17244 file_magic_cmd=$lt_file_magic_cmd
17248 AR_FLAGS=$lt_AR_FLAGS
17250 # A symbol stripping program.
17253 # Commands used to install an old-style archive.
17255 old_postinstall_cmds=$lt_old_postinstall_cmds
17256 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17258 # Whether to use a lock for old archive extraction.
17259 lock_old_archive_extraction=$lock_old_archive_extraction
17264 # LTCC compiler flags.
17265 LTCFLAGS=$lt_CFLAGS
17267 # Take the output of nm and produce a listing of raw symbols and C names.
17268 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17270 # Transform the output of nm in a proper C declaration.
17271 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17273 # Transform the output of nm in a C name address pair.
17274 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17276 # Transform the output of nm in a C name address pair when lib prefix is needed.
17277 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17279 # The name of the directory that contains temporary libtool files.
17282 # Used to examine libraries when file_magic_cmd begins with "file".
17283 MAGIC_CMD=$MAGIC_CMD
17285 # Must we lock files when doing compilation?
17286 need_locks=$lt_need_locks
17288 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17289 DSYMUTIL=$lt_DSYMUTIL
17291 # Tool to change global to local symbols on Mac OS X.
17294 # Tool to manipulate fat objects and archives on Mac OS X.
17297 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17300 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17301 OTOOL64=$lt_OTOOL64
17303 # Old archive suffix (normally "a").
17306 # Shared library suffix (normally ".so").
17307 shrext_cmds=$lt_shrext_cmds
17309 # The commands to extract the exported symbol list from a shared archive.
17310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17312 # Variables whose values should be saved in libtool wrapper scripts and
17313 # restored at link time.
17314 variables_saved_for_relink=$lt_variables_saved_for_relink
17316 # Do we need the "lib" prefix for modules?
17317 need_lib_prefix=$need_lib_prefix
17319 # Do we need a version for libraries?
17320 need_version=$need_version
17322 # Library versioning type.
17323 version_type=$version_type
17325 # Shared library runtime path variable.
17326 runpath_var=$runpath_var
17328 # Shared library path variable.
17329 shlibpath_var=$shlibpath_var
17331 # Is shlibpath searched before the hard-coded library search path?
17332 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17334 # Format of library name prefix.
17335 libname_spec=$lt_libname_spec
17337 # List of archive names. First name is the real one, the rest are links.
17338 # The last name is the one that the linker finds with -lNAME
17339 library_names_spec=$lt_library_names_spec
17341 # The coded name of the library, if different from the real name.
17342 soname_spec=$lt_soname_spec
17344 # Permission mode override for installation of shared libraries.
17345 install_override_mode=$lt_install_override_mode
17347 # Command to use after installation of a shared archive.
17348 postinstall_cmds=$lt_postinstall_cmds
17350 # Command to use after uninstallation of a shared archive.
17351 postuninstall_cmds=$lt_postuninstall_cmds
17353 # Commands used to finish a libtool library installation in a directory.
17354 finish_cmds=$lt_finish_cmds
17356 # As "finish_cmds", except a single script fragment to be evaled but
17358 finish_eval=$lt_finish_eval
17360 # Whether we should hardcode library paths into libraries.
17361 hardcode_into_libs=$hardcode_into_libs
17363 # Compile-time system search path for libraries.
17364 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17366 # Run-time system search path for libraries.
17367 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17369 # Whether dlopen is supported.
17370 dlopen_support=$enable_dlopen
17372 # Whether dlopen of programs is supported.
17373 dlopen_self=$enable_dlopen_self
17375 # Whether dlopen of statically linked programs is supported.
17376 dlopen_self_static=$enable_dlopen_self_static
17378 # Commands to strip libraries.
17379 old_striplib=$lt_old_striplib
17380 striplib=$lt_striplib
17383 # The linker used to build libraries.
17386 # How to create reloadable object files.
17387 reload_flag=$lt_reload_flag
17388 reload_cmds=$lt_reload_cmds
17390 # Commands used to build an old-style archive.
17391 old_archive_cmds=$lt_old_archive_cmds
17393 # A language specific compiler.
17396 # Is the compiler the GNU compiler?
17399 # Compiler flag to turn off builtin functions.
17400 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17402 # How to pass a linker flag through the compiler.
17403 wl=$lt_lt_prog_compiler_wl
17405 # Additional compiler flags for building library objects.
17406 pic_flag=$lt_lt_prog_compiler_pic
17408 # Compiler flag to prevent dynamic linking.
17409 link_static_flag=$lt_lt_prog_compiler_static
17411 # Does compiler simultaneously support -c and -o options?
17412 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17414 # Whether or not to add -lc for building shared libraries.
17415 build_libtool_need_lc=$archive_cmds_need_lc
17417 # Whether or not to disallow shared libs when runtime libs are static.
17418 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17420 # Compiler flag to allow reflexive dlopens.
17421 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17423 # Compiler flag to generate shared objects directly from archives.
17424 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17426 # Whether the compiler copes with passing no objects directly.
17427 compiler_needs_object=$lt_compiler_needs_object
17429 # Create an old-style archive from a shared archive.
17430 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17432 # Create a temporary old-style archive to link instead of a shared archive.
17433 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17435 # Commands used to build a shared archive.
17436 archive_cmds=$lt_archive_cmds
17437 archive_expsym_cmds=$lt_archive_expsym_cmds
17439 # Commands used to build a loadable module if different from building
17440 # a shared archive.
17441 module_cmds=$lt_module_cmds
17442 module_expsym_cmds=$lt_module_expsym_cmds
17444 # Whether we are building with GNU ld or not.
17445 with_gnu_ld=$lt_with_gnu_ld
17447 # Flag that allows shared libraries with undefined symbols to be built.
17448 allow_undefined_flag=$lt_allow_undefined_flag
17450 # Flag that enforces no undefined symbols.
17451 no_undefined_flag=$lt_no_undefined_flag
17453 # Flag to hardcode \$libdir into a binary during linking.
17454 # This must work even if \$libdir does not exist
17455 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17457 # If ld is used when linking, flag to hardcode \$libdir into a binary
17458 # during linking. This must work even if \$libdir does not exist.
17459 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17461 # Whether we need a single "-rpath" flag with a separated argument.
17462 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17464 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17465 # DIR into the resulting binary.
17466 hardcode_direct=$hardcode_direct
17468 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17469 # DIR into the resulting binary and the resulting library dependency is
17470 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17471 # library is relocated.
17472 hardcode_direct_absolute=$hardcode_direct_absolute
17474 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17475 # into the resulting binary.
17476 hardcode_minus_L=$hardcode_minus_L
17478 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17479 # into the resulting binary.
17480 hardcode_shlibpath_var=$hardcode_shlibpath_var
17482 # Set to "yes" if building a shared library automatically hardcodes DIR
17483 # into the library and all subsequent libraries and executables linked
17485 hardcode_automatic=$hardcode_automatic
17487 # Set to yes if linker adds runtime paths of dependent libraries
17488 # to runtime path list.
17489 inherit_rpath=$inherit_rpath
17491 # Whether libtool must link a program against all its dependency libraries.
17492 link_all_deplibs=$link_all_deplibs
17494 # Fix the shell variable \$srcfile for the compiler.
17495 fix_srcfile_path=$lt_fix_srcfile_path
17497 # Set to "yes" if exported symbols are required.
17498 always_export_symbols=$always_export_symbols
17500 # The commands to list exported symbols.
17501 export_symbols_cmds=$lt_export_symbols_cmds
17503 # Symbols that should not be listed in the preloaded symbols.
17504 exclude_expsyms=$lt_exclude_expsyms
17506 # Symbols that must always be exported.
17507 include_expsyms=$lt_include_expsyms
17509 # Commands necessary for linking programs (against libraries) with templates.
17510 prelink_cmds=$lt_prelink_cmds
17512 # Specify filename containing input files.
17513 file_list_spec=$lt_file_list_spec
17515 # How to hardcode a shared library path into an executable.
17516 hardcode_action=$hardcode_action
17518 # The directories searched by this compiler when creating a shared library.
17519 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17521 # Dependencies to place before and after the objects being linked to
17522 # create a shared library.
17523 predep_objects=$lt_predep_objects
17524 postdep_objects=$lt_postdep_objects
17525 predeps=$lt_predeps
17526 postdeps=$lt_postdeps
17528 # The library search path used internally by the compiler when linking
17529 # a shared library.
17530 compiler_lib_search_path=$lt_compiler_lib_search_path
17532 # ### END LIBTOOL CONFIG
17538 cat <<\_LT_EOF
>> "$cfgfile"
17539 # AIX sometimes has problems with the GCC collect2 program. For some
17540 # reason, if we set the COLLECT_NAMES environment variable, the problems
17541 # vanish in a puff of smoke.
17542 if test "X${COLLECT_NAMES+set}" != Xset
; then
17544 export COLLECT_NAMES
17551 ltmain
="$ac_aux_dir/ltmain.sh"
17554 # We use sed instead of cat because bash on DJGPP gets confused if
17555 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17556 # text mode, it properly converts lines to CR/LF. This bash problem
17557 # is reportedly fixed, but why not run on old versions too?
17558 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17559 ||
(rm -f "$cfgfile"; exit 1)
17563 cat << \_LT_EOF
>> "$cfgfile"
17565 # func_dirname file append nondir_replacement
17566 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17567 # otherwise set result to NONDIR_REPLACEMENT.
17571 */*) func_dirname_result
="${1%/*}${2}" ;;
17572 * ) func_dirname_result
="${3}" ;;
17576 # func_basename file
17579 func_basename_result
="${1##*/}"
17582 # func_dirname_and_basename file append nondir_replacement
17583 # perform func_basename and func_dirname in a single function
17585 # dirname: Compute the dirname of FILE. If nonempty,
17586 # add APPEND to the result, otherwise set result
17587 # to NONDIR_REPLACEMENT.
17588 # value returned in "$func_dirname_result"
17589 # basename: Compute filename of FILE.
17590 # value retuned in "$func_basename_result"
17591 # Implementation must be kept synchronized with func_dirname
17592 # and func_basename. For efficiency, we do not delegate to
17593 # those functions but instead duplicate the functionality here.
17594 func_dirname_and_basename
()
17597 */*) func_dirname_result
="${1%/*}${2}" ;;
17598 * ) func_dirname_result
="${3}" ;;
17600 func_basename_result
="${1##*/}"
17603 # func_stripname prefix suffix name
17604 # strip PREFIX and SUFFIX off of NAME.
17605 # PREFIX and SUFFIX must not contain globbing or regex special
17606 # characters, hashes, percent signs, but SUFFIX may contain a leading
17607 # dot (in which case that matches only a dot).
17610 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17611 # positional parameters, so assign one to ordinary parameter first.
17612 func_stripname_result
=${3}
17613 func_stripname_result
=${func_stripname_result#"${1}"}
17614 func_stripname_result
=${func_stripname_result%"${2}"}
17620 func_opt_split_opt
=${1%%=*}
17621 func_opt_split_arg
=${1#*=}
17628 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17629 *) func_lo2o_result
=${1} ;;
17633 # func_xform libobj-or-source
17636 func_xform_result
=${1%.*}.lo
17639 # func_arith arithmetic-term...
17642 func_arith_result
=$
(( $
* ))
17646 # STRING may not start with a hyphen.
17649 func_len_result
=${#1}
17654 *) # Bourne compatible functions.
17655 cat << \_LT_EOF
>> "$cfgfile"
17657 # func_dirname file append nondir_replacement
17658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17659 # otherwise set result to NONDIR_REPLACEMENT.
17662 # Extract subdirectory from the argument.
17663 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17664 if test "X$func_dirname_result" = "X${1}"; then
17665 func_dirname_result
="${3}"
17667 func_dirname_result
="$func_dirname_result${2}"
17671 # func_basename file
17674 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17678 # func_stripname prefix suffix name
17679 # strip PREFIX and SUFFIX off of NAME.
17680 # PREFIX and SUFFIX must not contain globbing or regex special
17681 # characters, hashes, percent signs, but SUFFIX may contain a leading
17682 # dot (in which case that matches only a dot).
17683 # func_strip_suffix prefix name
17687 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17688 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17693 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17694 my_sed_long_arg
='1s/^-[^=]*=//'
17699 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17700 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17706 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17709 # func_xform libobj-or-source
17712 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17715 # func_arith arithmetic-term...
17718 func_arith_result
=`expr "$@"`
17722 # STRING may not start with a hyphen.
17725 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17731 case $lt_shell_append in
17733 cat << \_LT_EOF
>> "$cfgfile"
17735 # func_append var value
17736 # Append VALUE to the end of shell variable VAR.
17744 cat << \_LT_EOF
>> "$cfgfile"
17746 # func_append var value
17747 # Append VALUE to the end of shell variable VAR.
17758 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17759 ||
(rm -f "$cfgfile"; exit 1)
17761 mv -f "$cfgfile" "$ofile" ||
17762 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17766 cat <<_LT_EOF >> "$ofile"
17768 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17770 # The linker used to build libraries.
17773 # How to create reloadable object files.
17774 reload_flag=$lt_reload_flag_CXX
17775 reload_cmds=$lt_reload_cmds_CXX
17777 # Commands used to build an old-style archive.
17778 old_archive_cmds=$lt_old_archive_cmds_CXX
17780 # A language specific compiler.
17781 CC=$lt_compiler_CXX
17783 # Is the compiler the GNU compiler?
17786 # Compiler flag to turn off builtin functions.
17787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17789 # How to pass a linker flag through the compiler.
17790 wl=$lt_lt_prog_compiler_wl_CXX
17792 # Additional compiler flags for building library objects.
17793 pic_flag=$lt_lt_prog_compiler_pic_CXX
17795 # Compiler flag to prevent dynamic linking.
17796 link_static_flag=$lt_lt_prog_compiler_static_CXX
17798 # Does compiler simultaneously support -c and -o options?
17799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17801 # Whether or not to add -lc for building shared libraries.
17802 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17804 # Whether or not to disallow shared libs when runtime libs are static.
17805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17807 # Compiler flag to allow reflexive dlopens.
17808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17810 # Compiler flag to generate shared objects directly from archives.
17811 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17813 # Whether the compiler copes with passing no objects directly.
17814 compiler_needs_object=$lt_compiler_needs_object_CXX
17816 # Create an old-style archive from a shared archive.
17817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17819 # Create a temporary old-style archive to link instead of a shared archive.
17820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17822 # Commands used to build a shared archive.
17823 archive_cmds=$lt_archive_cmds_CXX
17824 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17826 # Commands used to build a loadable module if different from building
17827 # a shared archive.
17828 module_cmds=$lt_module_cmds_CXX
17829 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17831 # Whether we are building with GNU ld or not.
17832 with_gnu_ld=$lt_with_gnu_ld_CXX
17834 # Flag that allows shared libraries with undefined symbols to be built.
17835 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17837 # Flag that enforces no undefined symbols.
17838 no_undefined_flag=$lt_no_undefined_flag_CXX
17840 # Flag to hardcode \$libdir into a binary during linking.
17841 # This must work even if \$libdir does not exist
17842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17844 # If ld is used when linking, flag to hardcode \$libdir into a binary
17845 # during linking. This must work even if \$libdir does not exist.
17846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17848 # Whether we need a single "-rpath" flag with a separated argument.
17849 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17852 # DIR into the resulting binary.
17853 hardcode_direct=$hardcode_direct_CXX
17855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17856 # DIR into the resulting binary and the resulting library dependency is
17857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17858 # library is relocated.
17859 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17862 # into the resulting binary.
17863 hardcode_minus_L=$hardcode_minus_L_CXX
17865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17866 # into the resulting binary.
17867 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17869 # Set to "yes" if building a shared library automatically hardcodes DIR
17870 # into the library and all subsequent libraries and executables linked
17872 hardcode_automatic=$hardcode_automatic_CXX
17874 # Set to yes if linker adds runtime paths of dependent libraries
17875 # to runtime path list.
17876 inherit_rpath=$inherit_rpath_CXX
17878 # Whether libtool must link a program against all its dependency libraries.
17879 link_all_deplibs=$link_all_deplibs_CXX
17881 # Fix the shell variable \$srcfile for the compiler.
17882 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17884 # Set to "yes" if exported symbols are required.
17885 always_export_symbols=$always_export_symbols_CXX
17887 # The commands to list exported symbols.
17888 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17890 # Symbols that should not be listed in the preloaded symbols.
17891 exclude_expsyms=$lt_exclude_expsyms_CXX
17893 # Symbols that must always be exported.
17894 include_expsyms=$lt_include_expsyms_CXX
17896 # Commands necessary for linking programs (against libraries) with templates.
17897 prelink_cmds=$lt_prelink_cmds_CXX
17899 # Specify filename containing input files.
17900 file_list_spec=$lt_file_list_spec_CXX
17902 # How to hardcode a shared library path into an executable.
17903 hardcode_action=$hardcode_action_CXX
17905 # The directories searched by this compiler when creating a shared library.
17906 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17908 # Dependencies to place before and after the objects being linked to
17909 # create a shared library.
17910 predep_objects=$lt_predep_objects_CXX
17911 postdep_objects=$lt_postdep_objects_CXX
17912 predeps=$lt_predeps_CXX
17913 postdeps=$lt_postdeps_CXX
17915 # The library search path used internally by the compiler when linking
17916 # a shared library.
17917 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17919 # ### END LIBTOOL TAG CONFIG: CXX
17923 "./Makefile":F
) cat > vpsed$$
<< \_EOF
17924 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17926 sed -f vpsed$$
$ac_file > tmp$$
17929 echo 'MULTISUBDIR =' >> $ac_file
17931 .
${multi_basedir}/config-ml.
in
17932 { ml_norecursion
=; unset ml_norecursion
;}
17934 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17935 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17937 sed -f vpsed$$
$ac_file > tmp$$
17940 echo 'MULTISUBDIR =' >> $ac_file
17942 .
${multi_basedir}/config-ml.
in
17943 { ml_norecursion
=; unset ml_norecursion
;}
17952 ac_clean_files
=$ac_clean_files_save
17954 test $ac_write_fail = 0 ||
17955 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17958 # configure is writing to config.log, and then calls config.status.
17959 # config.status does its own redirection, appending to config.log.
17960 # Unfortunately, on DOS this fails, as config.log is still kept open
17961 # by configure, so config.status won't be able to write to it; its
17962 # output is simply discarded. So we exec the FD to /dev/null,
17963 # effectively closing config.log, so it can be properly (re)opened and
17964 # appended to by config.status. When coming back to configure, we
17965 # need to make the FD available again.
17966 if test "$no_create" != yes; then
17968 ac_config_status_args
=
17969 test "$silent" = yes &&
17970 ac_config_status_args
="$ac_config_status_args --quiet"
17972 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17974 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17975 # would make configure fail if this is the last instruction.
17976 $ac_cs_success || as_fn_exit $?
17978 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17980 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}