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
*|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 powerpc64le-
*linux
*)
7880 LD
="${LD-ld} -m elf32lppclinux"
7883 LD
="${LD-ld} -m elf32ppclinux"
7886 LD
="${LD-ld} -m elf_s390"
7889 LD
="${LD-ld} -m elf32_sparc"
7895 x86_64-
*kfreebsd
*-gnu)
7896 LD
="${LD-ld} -m elf_x86_64_fbsd"
7899 LD
="${LD-ld} -m elf_x86_64"
7902 LD
="${LD-ld} -m elf64lppc"
7905 LD
="${LD-ld} -m elf64ppc"
7907 s390
*-*linux
*|s390
*-*tpf
*)
7908 LD
="${LD-ld} -m elf64_s390"
7911 LD
="${LD-ld} -m elf64_sparc"
7921 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7922 SAVE_CFLAGS
="$CFLAGS"
7923 CFLAGS
="$CFLAGS -belf"
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7925 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7926 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7930 ac_cpp
='$CPP $CPPFLAGS'
7931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7946 if ac_fn_c_try_link
"$LINENO"; then :
7947 lt_cv_cc_needs_belf
=yes
7949 lt_cv_cc_needs_belf
=no
7951 rm -f core conftest.err conftest.
$ac_objext \
7952 conftest
$ac_exeext conftest.
$ac_ext
7954 ac_cpp
='$CPP $CPPFLAGS'
7955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7961 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7962 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7963 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7964 CFLAGS
="$SAVE_CFLAGS"
7968 # Find out which ABI we are using.
7969 echo 'int i;' > conftest.
$ac_ext
7970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7971 (eval $ac_compile) 2>&5
7973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974 test $ac_status = 0; }; then
7975 case `/usr/bin/file conftest.o` in
7977 case $lt_cv_prog_gnu_ld in
7978 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7980 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7992 need_locks
="$enable_libtool_lock"
7996 rhapsody
* | darwin
*)
7997 if test -n "$ac_tool_prefix"; then
7998 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7999 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8003 $as_echo_n "(cached) " >&6
8005 if test -n "$DSYMUTIL"; then
8006 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir
=.
8013 for ac_exec_ext
in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8026 if test -n "$DSYMUTIL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8028 $as_echo "$DSYMUTIL" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8036 if test -z "$ac_cv_prog_DSYMUTIL"; then
8037 ac_ct_DSYMUTIL
=$DSYMUTIL
8038 # Extract the first word of "dsymutil", so it can be a program name with args.
8039 set dummy dsymutil
; ac_word
=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8043 $as_echo_n "(cached) " >&6
8045 if test -n "$ac_ct_DSYMUTIL"; then
8046 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8052 test -z "$as_dir" && as_dir
=.
8053 for ac_exec_ext
in '' $ac_executable_extensions; do
8054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8055 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8066 if test -n "$ac_ct_DSYMUTIL"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8068 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8074 if test "x$ac_ct_DSYMUTIL" = x
; then
8077 case $cross_compiling:$ac_tool_warned in
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8081 ac_tool_warned
=yes ;;
8083 DSYMUTIL
=$ac_ct_DSYMUTIL
8086 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8089 if test -n "$ac_tool_prefix"; then
8090 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8091 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8095 $as_echo_n "(cached) " >&6
8097 if test -n "$NMEDIT"; then
8098 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir
=.
8105 for ac_exec_ext
in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 NMEDIT
=$ac_cv_prog_NMEDIT
8118 if test -n "$NMEDIT"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8120 $as_echo "$NMEDIT" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8128 if test -z "$ac_cv_prog_NMEDIT"; then
8129 ac_ct_NMEDIT
=$NMEDIT
8130 # Extract the first word of "nmedit", so it can be a program name with args.
8131 set dummy nmedit
; ac_word
=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8134 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8135 $as_echo_n "(cached) " >&6
8137 if test -n "$ac_ct_NMEDIT"; then
8138 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir
=.
8145 for ac_exec_ext
in '' $ac_executable_extensions; do
8146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8147 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8158 if test -n "$ac_ct_NMEDIT"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8160 $as_echo "$ac_ct_NMEDIT" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8166 if test "x$ac_ct_NMEDIT" = x
; then
8169 case $cross_compiling:$ac_tool_warned in
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8173 ac_tool_warned
=yes ;;
8175 NMEDIT
=$ac_ct_NMEDIT
8178 NMEDIT
="$ac_cv_prog_NMEDIT"
8181 if test -n "$ac_tool_prefix"; then
8182 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8183 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185 $as_echo_n "checking for $ac_word... " >&6; }
8186 if test "${ac_cv_prog_LIPO+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8189 if test -n "$LIPO"; then
8190 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8196 test -z "$as_dir" && as_dir
=.
8197 for ac_exec_ext
in '' $ac_executable_extensions; do
8198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8199 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 LIPO
=$ac_cv_prog_LIPO
8210 if test -n "$LIPO"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8212 $as_echo "$LIPO" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8220 if test -z "$ac_cv_prog_LIPO"; then
8222 # Extract the first word of "lipo", so it can be a program name with args.
8223 set dummy lipo
; ac_word
=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225 $as_echo_n "checking for $ac_word... " >&6; }
8226 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8227 $as_echo_n "(cached) " >&6
8229 if test -n "$ac_ct_LIPO"; then
8230 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir
=.
8237 for ac_exec_ext
in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_ac_ct_LIPO
="lipo"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8250 if test -n "$ac_ct_LIPO"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8252 $as_echo "$ac_ct_LIPO" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8258 if test "x$ac_ct_LIPO" = x
; then
8261 case $cross_compiling:$ac_tool_warned in
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8265 ac_tool_warned
=yes ;;
8270 LIPO
="$ac_cv_prog_LIPO"
8273 if test -n "$ac_tool_prefix"; then
8274 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8275 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8279 $as_echo_n "(cached) " >&6
8281 if test -n "$OTOOL"; then
8282 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8288 test -z "$as_dir" && as_dir
=.
8289 for ac_exec_ext
in '' $ac_executable_extensions; do
8290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8291 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 OTOOL
=$ac_cv_prog_OTOOL
8302 if test -n "$OTOOL"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8304 $as_echo "$OTOOL" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8312 if test -z "$ac_cv_prog_OTOOL"; then
8314 # Extract the first word of "otool", so it can be a program name with args.
8315 set dummy otool
; ac_word
=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8321 if test -n "$ac_ct_OTOOL"; then
8322 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir
=.
8329 for ac_exec_ext
in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_prog_ac_ct_OTOOL
="otool"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8342 if test -n "$ac_ct_OTOOL"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8344 $as_echo "$ac_ct_OTOOL" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8350 if test "x$ac_ct_OTOOL" = x
; then
8353 case $cross_compiling:$ac_tool_warned in
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8357 ac_tool_warned
=yes ;;
8362 OTOOL
="$ac_cv_prog_OTOOL"
8365 if test -n "$ac_tool_prefix"; then
8366 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8367 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369 $as_echo_n "checking for $ac_word... " >&6; }
8370 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8371 $as_echo_n "(cached) " >&6
8373 if test -n "$OTOOL64"; then
8374 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8380 test -z "$as_dir" && as_dir
=.
8381 for ac_exec_ext
in '' $ac_executable_extensions; do
8382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8383 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8393 OTOOL64
=$ac_cv_prog_OTOOL64
8394 if test -n "$OTOOL64"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8396 $as_echo "$OTOOL64" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8404 if test -z "$ac_cv_prog_OTOOL64"; then
8405 ac_ct_OTOOL64
=$OTOOL64
8406 # Extract the first word of "otool64", so it can be a program name with args.
8407 set dummy otool64
; ac_word
=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409 $as_echo_n "checking for $ac_word... " >&6; }
8410 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8411 $as_echo_n "(cached) " >&6
8413 if test -n "$ac_ct_OTOOL64"; then
8414 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir
=.
8421 for ac_exec_ext
in '' $ac_executable_extensions; do
8422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8423 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8434 if test -n "$ac_ct_OTOOL64"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8436 $as_echo "$ac_ct_OTOOL64" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8442 if test "x$ac_ct_OTOOL64" = x
; then
8445 case $cross_compiling:$ac_tool_warned in
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8449 ac_tool_warned
=yes ;;
8451 OTOOL64
=$ac_ct_OTOOL64
8454 OTOOL64
="$ac_cv_prog_OTOOL64"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8484 $as_echo_n "checking for -single_module linker flag... " >&6; }
8485 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8486 $as_echo_n "(cached) " >&6
8488 lt_cv_apple_cc_single_mod
=no
8489 if test -z "${LT_MULTI_MODULE}"; then
8490 # By default we will add the -single_module flag. You can override
8491 # by either setting the environment variable LT_MULTI_MODULE
8492 # non-empty at configure time, or by adding -multi_module to the
8494 rm -rf libconftest.dylib
*
8495 echo "int foo(void){return 1;}" > conftest.c
8496 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8497 -dynamiclib -Wl,-single_module conftest.c" >&5
8498 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8499 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8501 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8502 lt_cv_apple_cc_single_mod
=yes
8504 cat conftest.err
>&5
8506 rm -rf libconftest.dylib
*
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8511 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8513 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8514 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8515 $as_echo_n "(cached) " >&6
8517 lt_cv_ld_exported_symbols_list
=no
8518 save_LDFLAGS
=$LDFLAGS
8519 echo "_main" > conftest.sym
8520 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8532 if ac_fn_c_try_link
"$LINENO"; then :
8533 lt_cv_ld_exported_symbols_list
=yes
8535 lt_cv_ld_exported_symbols_list
=no
8537 rm -f core conftest.err conftest.
$ac_objext \
8538 conftest
$ac_exeext conftest.
$ac_ext
8539 LDFLAGS
="$save_LDFLAGS"
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8543 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8545 $as_echo_n "checking for -force_load linker flag... " >&6; }
8546 if test "${lt_cv_ld_force_load+set}" = set; then :
8547 $as_echo_n "(cached) " >&6
8549 lt_cv_ld_force_load
=no
8550 cat > conftest.c
<< _LT_EOF
8551 int forced_loaded() { return 2;}
8553 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8554 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8555 echo "$AR cru libconftest.a conftest.o" >&5
8556 $AR cru libconftest.a conftest.o
2>&5
8557 cat > conftest.c
<< _LT_EOF
8558 int main() { return 0;}
8560 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8561 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8563 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8564 lt_cv_ld_force_load
=yes
8566 cat conftest.err
>&5
8568 rm -f conftest.err libconftest.a conftest conftest.c
8569 rm -rf conftest.dSYM
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8573 $as_echo "$lt_cv_ld_force_load" >&6; }
8575 rhapsody
* | darwin1.
[012])
8576 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8578 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8579 darwin
*) # darwin 5.x on
8580 # if running on 10.5 or later, the deployment target defaults
8581 # to the OS version, if on x86, and 10.4, the deployment
8582 # target defaults to 10.4. Don't you love it?
8583 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8584 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8585 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8587 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8589 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8593 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8594 _lt_dar_single_mod
='$single_module'
8596 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8597 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8599 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8601 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8602 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8609 for ac_header
in dlfcn.h
8611 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8613 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8614 cat >>confdefs.h
<<_ACEOF
8615 #define HAVE_DLFCN_H 1
8635 # Check whether --enable-shared was given.
8636 if test "${enable_shared+set}" = set; then :
8637 enableval
=$enable_shared; p
=${PACKAGE-default}
8639 yes) enable_shared
=yes ;;
8640 no
) enable_shared
=no
;;
8643 # Look at the argument we got. We use all the common list separators.
8644 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8645 for pkg
in $enableval; do
8647 if test "X$pkg" = "X$p"; then
8666 # Check whether --enable-static was given.
8667 if test "${enable_static+set}" = set; then :
8668 enableval
=$enable_static; p
=${PACKAGE-default}
8670 yes) enable_static
=yes ;;
8671 no
) enable_static
=no
;;
8674 # Look at the argument we got. We use all the common list separators.
8675 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8676 for pkg
in $enableval; do
8678 if test "X$pkg" = "X$p"; then
8698 # Check whether --with-pic was given.
8699 if test "${with_pic+set}" = set; then :
8700 withval
=$with_pic; pic_mode
="$withval"
8706 test -z "$pic_mode" && pic_mode
=default
8714 # Check whether --enable-fast-install was given.
8715 if test "${enable_fast_install+set}" = set; then :
8716 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8718 yes) enable_fast_install
=yes ;;
8719 no
) enable_fast_install
=no
;;
8721 enable_fast_install
=no
8722 # Look at the argument we got. We use all the common list separators.
8723 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8724 for pkg
in $enableval; do
8726 if test "X$pkg" = "X$p"; then
8727 enable_fast_install
=yes
8734 enable_fast_install
=yes
8747 # This can be used to rebuild libtool when needed
8748 LIBTOOL_DEPS
="$ltmain"
8750 # Always use our own libtool.
8751 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8778 test -z "$LN_S" && LN_S
="ln -s"
8793 if test -n "${ZSH_VERSION+set}" ; then
8794 setopt NO_GLOB_SUBST
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8798 $as_echo_n "checking for objdir... " >&6; }
8799 if test "${lt_cv_objdir+set}" = set; then :
8800 $as_echo_n "(cached) " >&6
8802 rm -f .libs
2>/dev
/null
8803 mkdir .libs
2>/dev
/null
8804 if test -d .libs
; then
8807 # MS-DOS does not allow filenames that begin with a dot.
8810 rmdir .libs
2>/dev
/null
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8813 $as_echo "$lt_cv_objdir" >&6; }
8814 objdir
=$lt_cv_objdir
8820 cat >>confdefs.h
<<_ACEOF
8821 #define LT_OBJDIR "$lt_cv_objdir/"
8829 # AIX sometimes has problems with the GCC collect2 program. For some
8830 # reason, if we set the COLLECT_NAMES environment variable, the problems
8831 # vanish in a puff of smoke.
8832 if test "X${COLLECT_NAMES+set}" != Xset
; then
8834 export COLLECT_NAMES
8841 can_build_shared
=yes
8843 # All known linkers require a `.a' archive for static linking (except MSVC,
8844 # which needs '.lib').
8847 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8850 old_CFLAGS
="$CFLAGS"
8852 # Set sane defaults for various variables
8853 test -z "$CC" && CC
=cc
8854 test -z "$LTCC" && LTCC
=$CC
8855 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8856 test -z "$LD" && LD
=ld
8857 test -z "$ac_objext" && ac_objext
=o
8859 for cc_temp
in $compiler""; do
8861 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8862 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8867 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8870 # Only perform the check for file, if the check method requires it
8871 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8872 case $deplibs_check_method in
8874 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8876 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8877 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8878 $as_echo_n "(cached) " >&6
8882 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8885 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8886 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8887 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8888 for ac_dir
in $ac_dummy; do
8890 test -z "$ac_dir" && ac_dir
=.
8891 if test -f $ac_dir/${ac_tool_prefix}file; then
8892 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8893 if test -n "$file_magic_test_file"; then
8894 case $deplibs_check_method in
8896 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8897 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8898 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8899 $EGREP "$file_magic_regex" > /dev
/null
; then
8904 *** Warning: the command libtool uses to detect shared libraries,
8905 *** $file_magic_cmd, produces output that libtool cannot recognize.
8906 *** The result is that libtool may fail to recognize shared libraries
8907 *** as such. This will affect the creation of libtool libraries that
8908 *** depend on shared libraries, but programs linked with such libtool
8909 *** libraries will work regardless of this problem. Nevertheless, you
8910 *** may want to report the problem to your system manager and/or to
8911 *** bug-libtool@gnu.org
8921 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8926 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8927 if test -n "$MAGIC_CMD"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8929 $as_echo "$MAGIC_CMD" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 $as_echo "no" >&6; }
8939 if test -z "$lt_cv_path_MAGIC_CMD"; then
8940 if test -n "$ac_tool_prefix"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8942 $as_echo_n "checking for file... " >&6; }
8943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8948 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8951 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8952 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8953 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8954 for ac_dir
in $ac_dummy; do
8956 test -z "$ac_dir" && ac_dir
=.
8957 if test -f $ac_dir/file; then
8958 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8959 if test -n "$file_magic_test_file"; then
8960 case $deplibs_check_method in
8962 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8963 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8964 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8965 $EGREP "$file_magic_regex" > /dev
/null
; then
8970 *** Warning: the command libtool uses to detect shared libraries,
8971 *** $file_magic_cmd, produces output that libtool cannot recognize.
8972 *** The result is that libtool may fail to recognize shared libraries
8973 *** as such. This will affect the creation of libtool libraries that
8974 *** depend on shared libraries, but programs linked with such libtool
8975 *** libraries will work regardless of this problem. Nevertheless, you
8976 *** may want to report the problem to your system manager and/or to
8977 *** bug-libtool@gnu.org
8987 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8992 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8993 if test -n "$MAGIC_CMD"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8995 $as_echo "$MAGIC_CMD" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
9011 # Use C for the default configuration in the libtool script
9015 ac_cpp
='$CPP $CPPFLAGS'
9016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9021 # Source file extension for C test sources.
9024 # Object file extension for compiled C test sources.
9028 # Code to be used in simple compile tests
9029 lt_simple_compile_test_code
="int some_variable = 0;"
9031 # Code to be used in simple link tests
9032 lt_simple_link_test_code
='int main(){return(0);}'
9040 # If no C compiler was specified, use CC.
9043 # If no C compiler flags were specified, use CFLAGS.
9044 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9046 # Allow CC to be a program name with arguments.
9049 # Save the default compiler, since it gets overwritten when the other
9050 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9051 compiler_DEFAULT
=$CC
9053 # save warnings/boilerplate of simple test code
9054 ac_outfile
=conftest.
$ac_objext
9055 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9056 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9057 _lt_compiler_boilerplate
=`cat conftest.err`
9060 ac_outfile
=conftest.
$ac_objext
9061 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9062 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9063 _lt_linker_boilerplate
=`cat conftest.err`
9068 ## There is no encapsulation within the following macros, do not change
9069 ## the running order or otherwise move them around unless you know exactly
9070 ## what you are doing...
9071 if test -n "$compiler"; then
9073 lt_prog_compiler_no_builtin_flag
=
9075 if test "$GCC" = yes; then
9076 case $cc_basename in
9078 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9080 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9084 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9085 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9086 $as_echo_n "(cached) " >&6
9088 lt_cv_prog_compiler_rtti_exceptions
=no
9089 ac_outfile
=conftest.
$ac_objext
9090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9091 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9092 # Insert the option either (1) after the last *FLAGS variable, or
9093 # (2) before a word containing "conftest.", or (3) at the end.
9094 # Note that $ac_compile itself does not contain backslashes and begins
9095 # with a dollar sign (not a hyphen), so the echo should work correctly.
9096 # The option is referenced via a variable to avoid confusing sed.
9097 lt_compile
=`echo "$ac_compile" | $SED \
9098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9100 -e 's:$: $lt_compiler_flag:'`
9101 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9102 (eval "$lt_compile" 2>conftest.err
)
9104 cat conftest.err
>&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 if (exit $ac_status) && test -s "$ac_outfile"; then
9107 # The compiler can only warn and ignore the option if not recognized
9108 # So say no if there are warnings other than the usual output.
9109 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9111 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9112 lt_cv_prog_compiler_rtti_exceptions
=yes
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9119 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9121 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9122 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9134 lt_prog_compiler_wl
=
9135 lt_prog_compiler_pic
=
9136 lt_prog_compiler_static
=
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9139 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9141 if test "$GCC" = yes; then
9142 lt_prog_compiler_wl
='-Wl,'
9143 lt_prog_compiler_static
='-static'
9147 # All AIX code is PIC.
9148 if test "$host_cpu" = ia64
; then
9149 # AIX 5 now supports IA64 processor
9150 lt_prog_compiler_static
='-Bstatic'
9152 lt_prog_compiler_pic
='-fPIC'
9158 # see comment about AmigaOS4 .so support
9159 lt_prog_compiler_pic
='-fPIC'
9162 # FIXME: we need at least 68020 code to build shared libraries, but
9163 # adding the `-m68020' flag to GCC prevents building anything better,
9165 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9170 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9171 # PIC is the default for these OSes.
9174 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9175 # This hack is so that the source file can tell whether it is being
9176 # built for inclusion in a dll (and should export symbols for example).
9177 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9178 # (--disable-auto-import) libraries
9179 lt_prog_compiler_pic
='-DDLL_EXPORT'
9182 darwin
* | rhapsody
*)
9183 # PIC is the default on this platform
9184 # Common symbols not allowed in MH_DYLIB files
9185 lt_prog_compiler_pic
='-fno-common'
9189 # PIC is the default for Haiku.
9190 # The "-static" flag exists, but is broken.
9191 lt_prog_compiler_static
=
9195 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9196 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9197 # sets the default TLS model and affects inlining.
9203 lt_prog_compiler_pic
='-fPIC'
9209 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9210 # Instead, we relocate shared libraries at runtime.
9214 # Just because we use GCC doesn't mean we suddenly get shared libraries
9215 # on systems that don't support them.
9216 lt_prog_compiler_can_build_shared
=no
9221 # QNX uses GNU C++, but need to define -shared option too, otherwise
9223 lt_prog_compiler_pic
='-fPIC -shared'
9227 if test -d /usr
/nec
; then
9228 lt_prog_compiler_pic
=-Kconform_pic
9233 lt_prog_compiler_pic
='-fPIC'
9237 case $cc_basename in
9238 nvcc
*) # Cuda Compiler Driver 2.2
9239 lt_prog_compiler_wl
='-Xlinker '
9240 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9244 # PORTME Check for flag to pass linker flags through the system compiler.
9247 lt_prog_compiler_wl
='-Wl,'
9248 if test "$host_cpu" = ia64
; then
9249 # AIX 5 now supports IA64 processor
9250 lt_prog_compiler_static
='-Bstatic'
9252 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9256 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9257 # This hack is so that the source file can tell whether it is being
9258 # built for inclusion in a dll (and should export symbols for example).
9259 lt_prog_compiler_pic
='-DDLL_EXPORT'
9262 hpux9
* | hpux10
* | hpux11
*)
9263 lt_prog_compiler_wl
='-Wl,'
9264 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9271 lt_prog_compiler_pic
='+Z'
9274 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9275 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9278 irix5
* | irix6
* | nonstopux
*)
9279 lt_prog_compiler_wl
='-Wl,'
9280 # PIC (with -KPIC) is the default.
9281 lt_prog_compiler_static
='-non_shared'
9284 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9285 case $cc_basename in
9286 # old Intel for x86_64 which still supported -KPIC.
9288 lt_prog_compiler_wl
='-Wl,'
9289 lt_prog_compiler_pic
='-KPIC'
9290 lt_prog_compiler_static
='-static'
9292 # icc used to be incompatible with GCC.
9293 # ICC 10 doesn't accept -KPIC any more.
9295 lt_prog_compiler_wl
='-Wl,'
9296 lt_prog_compiler_pic
='-fPIC'
9297 lt_prog_compiler_static
='-static'
9299 # Lahey Fortran 8.1.
9301 lt_prog_compiler_wl
='-Wl,'
9302 lt_prog_compiler_pic
='--shared'
9303 lt_prog_compiler_static
='--static'
9305 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9306 # Portland Group compilers (*not* the Pentium gcc compiler,
9307 # which looks to be a dead project)
9308 lt_prog_compiler_wl
='-Wl,'
9309 lt_prog_compiler_pic
='-fpic'
9310 lt_prog_compiler_static
='-Bstatic'
9313 lt_prog_compiler_wl
='-Wl,'
9314 # All Alpha code is PIC.
9315 lt_prog_compiler_static
='-non_shared'
9317 xl
* | bgxl
* | bgf
* | mpixl
*)
9318 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9319 lt_prog_compiler_wl
='-Wl,'
9320 lt_prog_compiler_pic
='-qpic'
9321 lt_prog_compiler_static
='-qstaticlink'
9324 case `$CC -V 2>&1 | sed 5q` in
9325 *Sun\ F
* |
*Sun
*Fortran
*)
9326 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9327 lt_prog_compiler_pic
='-KPIC'
9328 lt_prog_compiler_static
='-Bstatic'
9329 lt_prog_compiler_wl
=''
9333 lt_prog_compiler_pic
='-KPIC'
9334 lt_prog_compiler_static
='-Bstatic'
9335 lt_prog_compiler_wl
='-Wl,'
9343 lt_prog_compiler_pic
='-KPIC'
9344 lt_prog_compiler_static
='-Bstatic'
9348 # QNX uses GNU C++, but need to define -shared option too, otherwise
9350 lt_prog_compiler_pic
='-fPIC -shared'
9353 osf3
* | osf4
* | osf5
*)
9354 lt_prog_compiler_wl
='-Wl,'
9355 # All OSF/1 code is PIC.
9356 lt_prog_compiler_static
='-non_shared'
9360 lt_prog_compiler_static
='-non_shared'
9364 lt_prog_compiler_pic
='-KPIC'
9365 lt_prog_compiler_static
='-Bstatic'
9366 case $cc_basename in
9368 lt_prog_compiler_wl
='-Qoption ld ';;
9370 lt_prog_compiler_wl
='-Wl,';;
9375 lt_prog_compiler_wl
='-Qoption ld '
9376 lt_prog_compiler_pic
='-PIC'
9377 lt_prog_compiler_static
='-Bstatic'
9380 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9381 lt_prog_compiler_wl
='-Wl,'
9382 lt_prog_compiler_pic
='-KPIC'
9383 lt_prog_compiler_static
='-Bstatic'
9387 if test -d /usr
/nec
;then
9388 lt_prog_compiler_pic
='-Kconform_pic'
9389 lt_prog_compiler_static
='-Bstatic'
9393 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9394 lt_prog_compiler_wl
='-Wl,'
9395 lt_prog_compiler_pic
='-KPIC'
9396 lt_prog_compiler_static
='-Bstatic'
9400 lt_prog_compiler_wl
='-Wl,'
9401 lt_prog_compiler_can_build_shared
=no
9405 lt_prog_compiler_pic
='-pic'
9406 lt_prog_compiler_static
='-Bstatic'
9410 lt_prog_compiler_can_build_shared
=no
9416 # For platforms which do not support PIC, -DPIC is meaningless:
9418 lt_prog_compiler_pic
=
9421 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9425 $as_echo "$lt_prog_compiler_pic" >&6; }
9433 # Check to make sure the PIC flag actually works.
9435 if test -n "$lt_prog_compiler_pic"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9437 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9438 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler_pic_works
=no
9442 ac_outfile
=conftest.
$ac_objext
9443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9444 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9445 # Insert the option either (1) after the last *FLAGS variable, or
9446 # (2) before a word containing "conftest.", or (3) at the end.
9447 # Note that $ac_compile itself does not contain backslashes and begins
9448 # with a dollar sign (not a hyphen), so the echo should work correctly.
9449 # The option is referenced via a variable to avoid confusing sed.
9450 lt_compile
=`echo "$ac_compile" | $SED \
9451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9453 -e 's:$: $lt_compiler_flag:'`
9454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9455 (eval "$lt_compile" 2>conftest.err
)
9457 cat conftest.err
>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 if (exit $ac_status) && test -s "$ac_outfile"; then
9460 # The compiler can only warn and ignore the option if not recognized
9461 # So say no if there are warnings other than the usual output.
9462 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9464 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9465 lt_cv_prog_compiler_pic_works
=yes
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9472 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9474 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9475 case $lt_prog_compiler_pic in
9477 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9480 lt_prog_compiler_pic
=
9481 lt_prog_compiler_can_build_shared
=no
9492 # Check to make sure the static flag actually works.
9494 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9496 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9497 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9498 $as_echo_n "(cached) " >&6
9500 lt_cv_prog_compiler_static_works
=no
9501 save_LDFLAGS
="$LDFLAGS"
9502 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9503 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9504 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9505 # The linker can only warn and ignore the option if not recognized
9506 # So say no if there are warnings
9507 if test -s conftest.err
; then
9508 # Append any errors to the config.log.
9509 cat conftest.err
1>&5
9510 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9512 if diff conftest.exp conftest.er2
>/dev
/null
; then
9513 lt_cv_prog_compiler_static_works
=yes
9516 lt_cv_prog_compiler_static_works
=yes
9520 LDFLAGS
="$save_LDFLAGS"
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9524 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9526 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9529 lt_prog_compiler_static
=
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9539 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9540 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9541 $as_echo_n "(cached) " >&6
9543 lt_cv_prog_compiler_c_o
=no
9544 $RM -r conftest
2>/dev
/null
9548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9550 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9551 # Insert the option either (1) after the last *FLAGS variable, or
9552 # (2) before a word containing "conftest.", or (3) at the end.
9553 # Note that $ac_compile itself does not contain backslashes and begins
9554 # with a dollar sign (not a hyphen), so the echo should work correctly.
9555 lt_compile
=`echo "$ac_compile" | $SED \
9556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9558 -e 's:$: $lt_compiler_flag:'`
9559 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9560 (eval "$lt_compile" 2>out
/conftest.err
)
9562 cat out
/conftest.err
>&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9566 # The compiler can only warn and ignore the option if not recognized
9567 # So say no if there are warnings
9568 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9569 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9570 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9571 lt_cv_prog_compiler_c_o
=yes
9576 # SGI C++ compiler will create directory out/ii_files/ for
9577 # template instantiation
9578 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9579 $RM out
/* && rmdir out
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9586 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9594 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9595 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9598 lt_cv_prog_compiler_c_o
=no
9599 $RM -r conftest
2>/dev
/null
9603 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9605 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9606 # Insert the option either (1) after the last *FLAGS variable, or
9607 # (2) before a word containing "conftest.", or (3) at the end.
9608 # Note that $ac_compile itself does not contain backslashes and begins
9609 # with a dollar sign (not a hyphen), so the echo should work correctly.
9610 lt_compile
=`echo "$ac_compile" | $SED \
9611 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9613 -e 's:$: $lt_compiler_flag:'`
9614 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9615 (eval "$lt_compile" 2>out
/conftest.err
)
9617 cat out
/conftest.err
>&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9621 # The compiler can only warn and ignore the option if not recognized
9622 # So say no if there are warnings
9623 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9624 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9625 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9626 lt_cv_prog_compiler_c_o
=yes
9631 # SGI C++ compiler will create directory out/ii_files/ for
9632 # template instantiation
9633 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9634 $RM out
/* && rmdir out
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9641 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9646 hard_links
="nottested"
9647 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9648 # do not overwrite the value of need_locks provided by the user
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9650 $as_echo_n "checking if we can lock with hard links... " >&6; }
9653 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9655 ln conftest.a conftest.b
2>&5 || hard_links
=no
9656 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9658 $as_echo "$hard_links" >&6; }
9659 if test "$hard_links" = no
; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9661 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9674 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9677 allow_undefined_flag
=
9678 always_export_symbols
=no
9680 archive_expsym_cmds
=
9681 compiler_needs_object
=no
9682 enable_shared_with_static_runtimes
=no
9683 export_dynamic_flag_spec
=
9684 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9685 hardcode_automatic
=no
9687 hardcode_direct_absolute
=no
9688 hardcode_libdir_flag_spec
=
9689 hardcode_libdir_flag_spec_ld
=
9690 hardcode_libdir_separator
=
9692 hardcode_shlibpath_var
=unsupported
9694 link_all_deplibs
=unknown
9697 old_archive_from_new_cmds
=
9698 old_archive_from_expsyms_cmds
=
9699 thread_safe_flag_spec
=
9700 whole_archive_flag_spec
=
9701 # include_expsyms should be a list of space-separated symbols to be *always*
9702 # included in the symbol list
9704 # exclude_expsyms can be an extended regexp of symbols to exclude
9705 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9706 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9707 # as well as any symbol that contains `d'.
9708 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9709 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9710 # platforms (ab)use it in PIC code, but their linkers get confused if
9711 # the symbol is explicitly referenced. Since portable code cannot
9712 # rely on this symbol name, it's probably fine to never include it in
9713 # preloaded symbol tables.
9714 # Exclude shared library initialization/finalization symbols.
9715 extract_expsyms_cmds
=
9718 cygwin
* | mingw
* | pw32
* | cegcc
*)
9719 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9720 # When not using gcc, we currently assume that we are using
9721 # Microsoft Visual C++.
9722 if test "$GCC" != yes; then
9727 # we just hope/assume this is gcc and not c89 (= MSVC++)
9737 # On some targets, GNU ld is compatible enough with the native linker
9738 # that we're better off using the native interface for both.
9739 lt_use_gnu_ld_interface
=no
9740 if test "$with_gnu_ld" = yes; then
9743 # The AIX port of GNU ld has always aspired to compatibility
9744 # with the native linker. However, as the warning in the GNU ld
9745 # block says, versions before 2.19.5* couldn't really create working
9746 # shared libraries, regardless of the interface used.
9747 case `$LD -v 2>&1` in
9748 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9749 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9750 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9752 lt_use_gnu_ld_interface
=yes
9757 lt_use_gnu_ld_interface
=yes
9762 if test "$lt_use_gnu_ld_interface" = yes; then
9763 # If archive_cmds runs LD, not CC, wlarc should be empty
9766 # Set some defaults for GNU ld with shared library support. These
9767 # are reset later if shared libraries are not supported. Putting them
9768 # here allows them to be overridden if necessary.
9769 runpath_var
=LD_RUN_PATH
9770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9771 export_dynamic_flag_spec
='${wl}--export-dynamic'
9772 # ancient GNU ld didn't support --whole-archive et. al.
9773 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9774 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9776 whole_archive_flag_spec
=
9778 supports_anon_versioning
=no
9779 case `$LD -v 2>&1` in
9780 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9781 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9782 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9783 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9784 *\
2.11.
*) ;; # other 2.11 versions
9785 *) supports_anon_versioning
=yes ;;
9788 # See if GNU ld supports shared libraries.
9791 # On AIX/PPC, the GNU linker is very broken
9792 if test "$host_cpu" != ia64
; then
9796 *** Warning: the GNU linker, at least up to release 2.19, is reported
9797 *** to be unable to reliably create shared libraries on AIX.
9798 *** Therefore, libtool is disabling shared libraries support. If you
9799 *** really care for shared libraries, you may want to install binutils
9800 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9801 *** You will then need to restart the configuration process.
9810 # see comment about AmigaOS4 .so support
9811 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9812 archive_expsym_cmds
=''
9815 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)'
9816 hardcode_libdir_flag_spec
='-L$libdir'
9817 hardcode_minus_L
=yes
9823 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9824 allow_undefined_flag
=unsupported
9825 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9826 # support --undefined. This deserves some investigation. FIXME
9827 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9833 cygwin
* | mingw
* | pw32
* | cegcc
*)
9834 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9835 # as there is no search path for DLLs.
9836 hardcode_libdir_flag_spec
='-L$libdir'
9837 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9838 allow_undefined_flag
=unsupported
9839 always_export_symbols
=no
9840 enable_shared_with_static_runtimes
=yes
9841 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9843 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9844 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9845 # If the export-symbols file already is a .def file (1st line
9846 # is EXPORTS), use it as is; otherwise, prepend...
9847 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9848 cp $export_symbols $output_objdir/$soname.def;
9850 echo EXPORTS > $output_objdir/$soname.def;
9851 cat $export_symbols >> $output_objdir/$soname.def;
9853 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9860 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9861 link_all_deplibs
=yes
9866 hardcode_shlibpath_var
=no
9867 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec
='${wl}-E'
9869 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9870 # Instead, shared libraries are loaded at an image base (0x10000000 by
9871 # default) and relocated if they conflict, which is a slow very memory
9872 # consuming and fragmenting process. To avoid this, we pick a random,
9873 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9874 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9875 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9876 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'
9879 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9881 if test "$host_os" = linux-dietlibc
; then
9882 case $cc_basename in
9883 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9886 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9887 && test "$tmp_diet" = no
9890 tmp_sharedflag
='-shared'
9891 case $cc_basename,$host_cpu in
9892 pgcc
*) # Portland Group C compiler
9893 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'
9894 tmp_addflag
=' $pic_flag'
9896 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9897 # Portland Group f77 and f90 compilers
9898 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'
9899 tmp_addflag
=' $pic_flag -Mnomain' ;;
9900 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9901 tmp_addflag
=' -i_dynamic' ;;
9902 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9903 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9904 ifc
* | ifort
*) # Intel Fortran compiler
9905 tmp_addflag
=' -nofor_main' ;;
9906 lf95
*) # Lahey Fortran 8.1
9907 whole_archive_flag_spec
=
9908 tmp_sharedflag
='--shared' ;;
9909 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9910 tmp_sharedflag
='-qmkshrobj'
9912 nvcc
*) # Cuda Compiler Driver 2.2
9913 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'
9914 compiler_needs_object
=yes
9917 case `$CC -V 2>&1 | sed 5q` in
9918 *Sun\ C
*) # Sun C 5.9
9919 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'
9920 compiler_needs_object
=yes
9921 tmp_sharedflag
='-G' ;;
9922 *Sun\ F
*) # Sun Fortran 8.3
9923 tmp_sharedflag
='-G' ;;
9925 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9927 if test "x$supports_anon_versioning" = xyes
; then
9928 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9930 echo "local: *; };" >> $output_objdir/$libname.ver~
9931 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9934 case $cc_basename in
9935 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9936 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9937 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9938 hardcode_libdir_flag_spec
=
9939 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9940 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9941 if test "x$supports_anon_versioning" = xyes
; then
9942 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9944 echo "local: *; };" >> $output_objdir/$libname.ver~
9945 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9955 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9956 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9965 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9969 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9970 *** create shared libraries on Solaris systems. Therefore, libtool
9971 *** is disabling shared libraries support. We urge you to upgrade GNU
9972 *** binutils to release 2.9.1 or newer. Another option is to modify
9973 *** your PATH or compiler configuration so that the native linker is
9974 *** used, and then restart.
9977 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9978 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9979 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9986 case `$LD -v 2>&1` in
9987 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9991 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9992 *** reliably create shared libraries on SCO systems. Therefore, libtool
9993 *** is disabling shared libraries support. We urge you to upgrade GNU
9994 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9995 *** your PATH or compiler configuration so that the native linker is
9996 *** used, and then restart.
10001 # For security reasons, it is highly recommended that you always
10002 # use absolute paths for naming shared libraries, and exclude the
10003 # DT_RUNPATH tag from executables and libraries. But doing so
10004 # requires that you compile everything twice, which is a pain.
10005 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10006 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10007 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10008 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10017 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct
=yes
10020 hardcode_shlibpath_var
=no
10024 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10026 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10033 if test "$ld_shlibs" = no
; then
10035 hardcode_libdir_flag_spec
=
10036 export_dynamic_flag_spec
=
10037 whole_archive_flag_spec
=
10040 # PORTME fill in a description of your system's linker (not GNU ld)
10043 allow_undefined_flag
=unsupported
10044 always_export_symbols
=yes
10045 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'
10046 # Note: this linker hardcodes the directories in LIBPATH if there
10047 # are no directories specified by -L.
10048 hardcode_minus_L
=yes
10049 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10050 # Neither direct hardcoding nor static linking is supported with a
10052 hardcode_direct
=unsupported
10057 if test "$host_cpu" = ia64
; then
10058 # On IA64, the linker does run time linking by default, so we don't
10059 # have to do anything special.
10060 aix_use_runtimelinking
=no
10061 exp_sym_flag
='-Bexport'
10064 # If we're using GNU nm, then we don't want the "-C" option.
10065 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10066 # Also, AIX nm treats weak defined symbols like other global
10067 # defined symbols, whereas GNU nm marks them as "W".
10068 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10069 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'
10071 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'
10073 aix_use_runtimelinking
=no
10075 # Test if we are trying to use run time linking or normal
10076 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10077 # need to do runtime linking.
10078 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10079 for ld_flag
in $LDFLAGS; do
10080 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10081 aix_use_runtimelinking
=yes
10088 exp_sym_flag
='-bexport'
10089 no_entry_flag
='-bnoentry'
10092 # When large executables or shared objects are built, AIX ld can
10093 # have problems creating the table of contents. If linking a library
10094 # or program results in "error TOC overflow" add -mminimal-toc to
10095 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10096 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10099 hardcode_direct
=yes
10100 hardcode_direct_absolute
=yes
10101 hardcode_libdir_separator
=':'
10102 link_all_deplibs
=yes
10103 file_list_spec
='${wl}-f,'
10105 if test "$GCC" = yes; then
10106 case $host_os in aix4.
[012]|aix4.
[012].
*)
10107 # We only want to do this on AIX 4.2 and lower, the check
10108 # below for broken collect2 doesn't work under 4.3+
10109 collect2name
=`${CC} -print-prog-name=collect2`
10110 if test -f "$collect2name" &&
10111 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10113 # We have reworked collect2
10116 # We have old collect2
10117 hardcode_direct
=unsupported
10118 # It fails to find uninstalled libraries when the uninstalled
10119 # path is not listed in the libpath. Setting hardcode_minus_L
10120 # to unsupported forces relinking
10121 hardcode_minus_L
=yes
10122 hardcode_libdir_flag_spec
='-L$libdir'
10123 hardcode_libdir_separator
=
10127 shared_flag
='-shared'
10128 if test "$aix_use_runtimelinking" = yes; then
10129 shared_flag
="$shared_flag "'${wl}-G'
10133 if test "$host_cpu" = ia64
; then
10134 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10135 # chokes on -Wl,-G. The following line is correct:
10138 if test "$aix_use_runtimelinking" = yes; then
10139 shared_flag
='${wl}-G'
10141 shared_flag
='${wl}-bM:SRE'
10146 export_dynamic_flag_spec
='${wl}-bexpall'
10147 # It seems that -bexpall does not export symbols beginning with
10148 # underscore (_), so it is better to generate a list of symbols to export.
10149 always_export_symbols
=yes
10150 if test "$aix_use_runtimelinking" = yes; then
10151 # Warning - without using the other runtime loading flags (-brtl),
10152 # -berok will link without error, but may produce a broken library.
10153 allow_undefined_flag
='-berok'
10154 # Determine the default libpath from the value encoded in an
10155 # empty executable.
10156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10167 if ac_fn_c_try_link
"$LINENO"; then :
10169 lt_aix_libpath_sed
='
10170 /Import File Strings/,/^$/ {
10176 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10177 # Check for a 64-bit object if we didn't find anything.
10178 if test -z "$aix_libpath"; then
10179 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10182 rm -f core conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10184 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10186 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10187 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"
10189 if test "$host_cpu" = ia64
; then
10190 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10191 allow_undefined_flag
="-z nodefs"
10192 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"
10194 # Determine the default libpath from the value encoded in an
10195 # empty executable.
10196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10207 if ac_fn_c_try_link
"$LINENO"; then :
10209 lt_aix_libpath_sed
='
10210 /Import File Strings/,/^$/ {
10216 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10217 # Check for a 64-bit object if we didn't find anything.
10218 if test -z "$aix_libpath"; then
10219 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10222 rm -f core conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10226 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10227 # Warning - without using the other run time loading flags,
10228 # -berok will link without error, but may produce a broken library.
10229 no_undefined_flag
=' ${wl}-bernotok'
10230 allow_undefined_flag
=' ${wl}-berok'
10231 if test "$with_gnu_ld" = yes; then
10232 # We only use this code for GNU lds that support --whole-archive.
10233 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10235 # Exported symbols can be pulled into shared objects from archives
10236 whole_archive_flag_spec
='$convenience'
10238 archive_cmds_need_lc
=yes
10239 # This is similar to how AIX traditionally builds its shared libraries.
10240 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'
10248 # see comment about AmigaOS4 .so support
10249 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10250 archive_expsym_cmds
=''
10253 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)'
10254 hardcode_libdir_flag_spec
='-L$libdir'
10255 hardcode_minus_L
=yes
10261 export_dynamic_flag_spec
=-rdynamic
10264 cygwin
* | mingw
* | pw32
* | cegcc
*)
10265 # When not using gcc, we currently assume that we are using
10266 # Microsoft Visual C++.
10267 # hardcode_libdir_flag_spec is actually meaningless, as there is
10268 # no search path for DLLs.
10269 hardcode_libdir_flag_spec
=' '
10270 allow_undefined_flag
=unsupported
10271 # Tell ltmain to make .lib files, not .a files.
10273 # Tell ltmain to make .dll files, not .so files.
10275 # FIXME: Setting linknames here is a bad hack.
10276 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10277 # The linker will automatically build a .lib file if we build a DLL.
10278 old_archive_from_new_cmds
='true'
10279 # FIXME: Should let the user specify the lib program.
10280 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10281 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10282 enable_shared_with_static_runtimes
=yes
10285 darwin
* | rhapsody
*)
10288 archive_cmds_need_lc
=no
10290 hardcode_automatic
=yes
10291 hardcode_shlibpath_var
=unsupported
10292 if test "$lt_cv_ld_force_load" = "yes"; then
10293 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\"`'
10295 whole_archive_flag_spec
=''
10297 link_all_deplibs
=yes
10298 allow_undefined_flag
="$_lt_dar_allow_undefined"
10299 case $cc_basename in
10300 ifort
*) _lt_dar_can_shared
=yes ;;
10301 *) _lt_dar_can_shared
=$GCC ;;
10303 if test "$_lt_dar_can_shared" = "yes"; then
10304 output_verbose_link_cmd
=func_echo_all
10305 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10306 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10307 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}"
10308 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}"
10317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10318 hardcode_libdir_flag_spec
='-L$libdir'
10319 hardcode_shlibpath_var
=no
10322 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10323 # support. Future versions do this automatically, but an explicit c++rt0.o
10324 # does not break anything, and helps significantly (at the cost of a little
10327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10328 hardcode_libdir_flag_spec
='-R$libdir'
10329 hardcode_direct
=yes
10330 hardcode_shlibpath_var
=no
10333 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10335 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_direct
=yes
10337 hardcode_minus_L
=yes
10338 hardcode_shlibpath_var
=no
10341 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10342 freebsd
* | dragonfly
*)
10343 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10344 hardcode_libdir_flag_spec
='-R$libdir'
10345 hardcode_direct
=yes
10346 hardcode_shlibpath_var
=no
10350 if test "$GCC" = yes; then
10351 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'
10353 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'
10355 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10356 hardcode_libdir_separator
=:
10357 hardcode_direct
=yes
10359 # hardcode_minus_L: Not really in the search PATH,
10360 # but as the default location of the library.
10361 hardcode_minus_L
=yes
10362 export_dynamic_flag_spec
='${wl}-E'
10366 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10367 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10369 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10371 if test "$with_gnu_ld" = no
; then
10372 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10373 hardcode_libdir_flag_spec_ld
='+b $libdir'
10374 hardcode_libdir_separator
=:
10375 hardcode_direct
=yes
10376 hardcode_direct_absolute
=yes
10377 export_dynamic_flag_spec
='${wl}-E'
10378 # hardcode_minus_L: Not really in the search PATH,
10379 # but as the default location of the library.
10380 hardcode_minus_L
=yes
10385 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10388 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10400 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10407 # Older versions of the 11.00 compiler do not understand -b yet
10408 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10410 $as_echo_n "checking if $CC understands -b... " >&6; }
10411 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10412 $as_echo_n "(cached) " >&6
10414 lt_cv_prog_compiler__b
=no
10415 save_LDFLAGS
="$LDFLAGS"
10416 LDFLAGS
="$LDFLAGS -b"
10417 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10418 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10419 # The linker can only warn and ignore the option if not recognized
10420 # So say no if there are warnings
10421 if test -s conftest.err
; then
10422 # Append any errors to the config.log.
10423 cat conftest.err
1>&5
10424 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10425 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10426 if diff conftest.exp conftest.er2
>/dev
/null
; then
10427 lt_cv_prog_compiler__b
=yes
10430 lt_cv_prog_compiler__b
=yes
10434 LDFLAGS
="$save_LDFLAGS"
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10438 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10440 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10441 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10449 if test "$with_gnu_ld" = no
; then
10450 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10451 hardcode_libdir_separator
=:
10456 hardcode_shlibpath_var
=no
10459 hardcode_direct
=yes
10460 hardcode_direct_absolute
=yes
10461 export_dynamic_flag_spec
='${wl}-E'
10463 # hardcode_minus_L: Not really in the search PATH,
10464 # but as the default location of the library.
10465 hardcode_minus_L
=yes
10471 irix5
* | irix6
* | nonstopux
*)
10472 if test "$GCC" = yes; then
10473 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'
10474 # Try to use the -exported_symbol ld option, if it does not
10475 # work, assume that -exports_file does not work either and
10476 # implicitly export all symbols.
10477 save_LDFLAGS
="$LDFLAGS"
10478 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10483 if ac_fn_c_try_link
"$LINENO"; then :
10484 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'
10487 rm -f core conftest.err conftest.
$ac_objext \
10488 conftest
$ac_exeext conftest.
$ac_ext
10489 LDFLAGS
="$save_LDFLAGS"
10491 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'
10492 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'
10494 archive_cmds_need_lc
='no'
10495 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10496 hardcode_libdir_separator
=:
10498 link_all_deplibs
=yes
10502 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10505 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10507 hardcode_libdir_flag_spec
='-R$libdir'
10508 hardcode_direct
=yes
10509 hardcode_shlibpath_var
=no
10513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_direct
=yes
10515 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10516 hardcode_libdir_separator
=:
10517 hardcode_shlibpath_var
=no
10524 if test -f /usr
/libexec
/ld.so
; then
10525 hardcode_direct
=yes
10526 hardcode_shlibpath_var
=no
10527 hardcode_direct_absolute
=yes
10528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10529 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10530 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10531 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10532 export_dynamic_flag_spec
='${wl}-E'
10535 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10536 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_libdir_flag_spec
='-R$libdir'
10540 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10541 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10551 hardcode_libdir_flag_spec
='-L$libdir'
10552 hardcode_minus_L
=yes
10553 allow_undefined_flag
=unsupported
10554 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'
10555 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10559 if test "$GCC" = yes; then
10560 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10561 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'
10563 allow_undefined_flag
=' -expect_unresolved \*'
10564 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'
10566 archive_cmds_need_lc
='no'
10567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10568 hardcode_libdir_separator
=:
10571 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10572 if test "$GCC" = yes; then
10573 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10574 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'
10575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10577 allow_undefined_flag
=' -expect_unresolved \*'
10578 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'
10579 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~
10580 $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'
10582 # Both c and cxx compiler support -rpath directly
10583 hardcode_libdir_flag_spec
='-rpath $libdir'
10585 archive_cmds_need_lc
='no'
10586 hardcode_libdir_separator
=:
10590 no_undefined_flag
=' -z defs'
10591 if test "$GCC" = yes; then
10593 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10594 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10595 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10597 case `$CC -V 2>&1` in
10600 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10606 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10608 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10612 hardcode_libdir_flag_spec
='-R$libdir'
10613 hardcode_shlibpath_var
=no
10615 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10617 # The compiler driver will combine and reorder linker options,
10618 # but understands `-z linker_flag'. GCC discards it without `$wl',
10619 # but is careful enough not to reorder.
10620 # Supported since Solaris 2.6 (maybe 2.5.1?)
10621 if test "$GCC" = yes; then
10622 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10624 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10628 link_all_deplibs
=yes
10632 if test "x$host_vendor" = xsequent
; then
10633 # Use $CC to link under sequent, because it throws in some extra .o
10634 # files that make .init and .fini sections work.
10635 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10637 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_libdir_flag_spec
='-L$libdir'
10640 hardcode_direct
=yes
10641 hardcode_minus_L
=yes
10642 hardcode_shlibpath_var
=no
10646 case $host_vendor in
10648 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10649 hardcode_direct
=yes # is this really true???
10652 ## LD is ld it makes a PLAMLIB
10653 ## CC just makes a GrossModule.
10654 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10655 reload_cmds
='$CC -r -o $output$reload_objs'
10659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10663 runpath_var
='LD_RUN_PATH'
10664 hardcode_shlibpath_var
=no
10668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10669 hardcode_shlibpath_var
=no
10670 export_dynamic_flag_spec
='-Bexport'
10674 if test -d /usr
/nec
; then
10675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10676 hardcode_shlibpath_var
=no
10677 runpath_var
=LD_RUN_PATH
10678 hardcode_runpath_var
=yes
10683 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10684 no_undefined_flag
='${wl}-z,text'
10685 archive_cmds_need_lc
=no
10686 hardcode_shlibpath_var
=no
10687 runpath_var
='LD_RUN_PATH'
10689 if test "$GCC" = yes; then
10690 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10693 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10694 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10698 sysv5
* | sco3.2v5
* | sco5v6
*)
10699 # Note: We can NOT use -z defs as we might desire, because we do not
10700 # link with -lc, and that would cause any symbols used from libc to
10701 # always be unresolved, which means just about no library would
10702 # ever link correctly. If we're not using GNU ld we use -z text
10703 # though, which does catch some bad symbols but isn't as heavy-handed
10705 no_undefined_flag
='${wl}-z,text'
10706 allow_undefined_flag
='${wl}-z,nodefs'
10707 archive_cmds_need_lc
=no
10708 hardcode_shlibpath_var
=no
10709 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10710 hardcode_libdir_separator
=':'
10711 link_all_deplibs
=yes
10712 export_dynamic_flag_spec
='${wl}-Bexport'
10713 runpath_var
='LD_RUN_PATH'
10715 if test "$GCC" = yes; then
10716 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10717 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10719 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10720 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10726 hardcode_libdir_flag_spec
='-L$libdir'
10727 hardcode_shlibpath_var
=no
10735 if test x
$host_vendor = xsni
; then
10737 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10738 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10745 $as_echo "$ld_shlibs" >&6; }
10746 test "$ld_shlibs" = no
&& can_build_shared
=no
10748 with_gnu_ld
=$with_gnu_ld
10765 # Do we need to explicitly link libc?
10767 case "x$archive_cmds_need_lc" in
10769 # Assume -lc should be added
10770 archive_cmds_need_lc
=yes
10772 if test "$enable_shared" = yes && test "$GCC" = yes; then
10773 case $archive_cmds in
10775 # FIXME: we may have to deal with multi-command sequences.
10778 # Test whether the compiler implicitly links with -lc since on some
10779 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10780 # to ld, don't add -lc before -lgcc.
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10782 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10783 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10784 $as_echo_n "(cached) " >&6
10787 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10790 (eval $ac_compile) 2>&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10793 test $ac_status = 0; } 2>conftest.err
; then
10796 libobjs
=conftest.
$ac_objext
10798 wl
=$lt_prog_compiler_wl
10799 pic_flag
=$lt_prog_compiler_pic
10805 lt_save_allow_undefined_flag
=$allow_undefined_flag
10806 allow_undefined_flag
=
10807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10808 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10811 test $ac_status = 0; }
10813 lt_cv_archive_cmds_need_lc
=no
10815 lt_cv_archive_cmds_need_lc
=yes
10817 allow_undefined_flag
=$lt_save_allow_undefined_flag
10819 cat conftest.err
1>&5
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10825 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10826 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10990 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10992 if test "$GCC" = yes; then
10994 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10995 *) lt_awk_arg
="/^libraries:/" ;;
10998 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10999 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11001 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11002 case $lt_search_path_spec in
11004 # if the path contains ";" then we assume it to be the separator
11005 # otherwise default to the standard path separator (i.e. ":") - it is
11006 # assumed that no part of a normal pathname contains ";" but that should
11007 # okay in the real world where ";" in dirpaths is itself problematic.
11008 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11011 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11014 # Ok, now we have the path, separated by spaces, we can step through it
11015 # and add multilib dir if necessary.
11016 lt_tmp_lt_search_path_spec
=
11017 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11018 for lt_sys_path
in $lt_search_path_spec; do
11019 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11020 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11022 test -d "$lt_sys_path" && \
11023 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11026 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11027 BEGIN {RS=" "; FS="/|\n";} {
11030 for (lt_i = NF; lt_i > 0; lt_i--) {
11031 if ($lt_i != "" && $lt_i != ".") {
11032 if ($lt_i == "..") {
11035 if (lt_count == 0) {
11036 lt_foo="/" $lt_i lt_foo;
11043 if (lt_foo != "") { lt_freq[lt_foo]++; }
11044 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11046 # AWK program above erroneously prepends '/' to C:/dos/paths
11049 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11050 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11052 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11054 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11056 library_names_spec
=
11057 libname_spec
='lib$name'
11061 postuninstall_cmds
=
11065 shlibpath_overrides_runpath
=unknown
11067 dynamic_linker
="$host_os ld.so"
11068 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11069 need_lib_prefix
=unknown
11070 hardcode_into_libs
=no
11072 # when you set need_version to no, make sure it does not cause -set_version
11073 # flags to be left without arguments
11074 need_version
=unknown
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11080 shlibpath_var
=LIBPATH
11082 # AIX 3 has no versioning support, so we append a major version to the name.
11083 soname_spec
='${libname}${release}${shared_ext}$major'
11090 hardcode_into_libs
=yes
11091 if test "$host_cpu" = ia64
; then
11092 # AIX 5 supports IA64
11093 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11094 shlibpath_var
=LD_LIBRARY_PATH
11096 # With GCC up to 2.95.x, collect2 would create an import file
11097 # for dependence libraries. The import file would start with
11098 # the line `#! .'. This would cause the generated library to
11099 # depend on `.', always an invalid library. This was fixed in
11100 # development snapshots of GCC prior to 3.0.
11102 aix4 | aix4.
[01] | aix4.
[01].
*)
11103 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11105 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11108 can_build_shared
=no
11112 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11113 # soname into executable. Probably we can add versioning support to
11114 # collect2, so additional links can be useful in future.
11115 if test "$aix_use_runtimelinking" = yes; then
11116 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11117 # instead of lib<name>.a to let people know that these are not
11118 # typical AIX shared libraries.
11119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11121 # We preserve .a as extension for shared libraries through AIX4.2
11122 # and later when we are not doing run time linking.
11123 library_names_spec
='${libname}${release}.a $libname.a'
11124 soname_spec
='${libname}${release}${shared_ext}$major'
11126 shlibpath_var
=LIBPATH
11133 # Since July 2007 AmigaOS4 officially supports .so libraries.
11134 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138 library_names_spec
='$libname.ixlibrary $libname.a'
11139 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11140 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'
11146 library_names_spec
='${libname}${shared_ext}'
11147 dynamic_linker
="$host_os ld.so"
11148 shlibpath_var
=LIBRARY_PATH
11154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155 soname_spec
='${libname}${release}${shared_ext}$major'
11156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11157 shlibpath_var
=LD_LIBRARY_PATH
11158 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11159 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11160 # the default ld.so.conf also contains /usr/contrib/lib and
11161 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11162 # libtool to hard-code these into programs
11165 cygwin
* | mingw
* | pw32
* | cegcc
*)
11166 version_type
=windows
11171 case $GCC,$host_os in
11172 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11173 library_names_spec
='$libname.dll.a'
11174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11175 postinstall_cmds
='base_file=`basename \${file}`~
11176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11177 dldir=$destdir/`dirname \$dlpath`~
11178 test -d \$dldir || mkdir -p \$dldir~
11179 $install_prog $dir/$dlname \$dldir/$dlname~
11180 chmod a+x \$dldir/$dlname~
11181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11184 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11185 dlpath=$dir/\$dldll~
11187 shlibpath_overrides_runpath
=yes
11191 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11192 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11197 # MinGW DLLs use traditional 'lib' prefix
11198 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11201 # pw32 DLLs use 'pw' prefix rather than 'lib'
11202 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11208 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11211 dynamic_linker
='Win32 ld.exe'
11212 # FIXME: first we should search . and the directory the executable is in
11216 darwin
* | rhapsody
*)
11217 dynamic_linker
="$host_os dyld"
11218 version_type
=darwin
11221 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11222 soname_spec
='${libname}${release}${major}$shared_ext'
11223 shlibpath_overrides_runpath
=yes
11224 shlibpath_var
=DYLD_LIBRARY_PATH
11225 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11227 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11228 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 shlibpath_var
=LD_LIBRARY_PATH
11240 freebsd
* | dragonfly
*)
11241 # DragonFly does not have aout. When/if they implement a new
11242 # versioning mechanism, adjust this.
11243 if test -x /usr
/bin
/objformat
; then
11244 objformat
=`/usr/bin/objformat`
11247 freebsd
[23].
*) objformat
=aout
;;
11248 *) objformat
=elf
;;
11251 version_type
=freebsd-
$objformat
11252 case $version_type in
11254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11259 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11263 shlibpath_var
=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath
=yes
11268 freebsd3.
[01]* | freebsdelf3.
[01]*)
11269 shlibpath_overrides_runpath
=yes
11270 hardcode_into_libs
=yes
11272 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11273 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11274 shlibpath_overrides_runpath
=no
11275 hardcode_into_libs
=yes
11277 *) # from 4.6 on, and DragonFly
11278 shlibpath_overrides_runpath
=yes
11279 hardcode_into_libs
=yes
11288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11289 soname_spec
='${libname}${release}${shared_ext}$major'
11290 shlibpath_var
=LD_LIBRARY_PATH
11291 hardcode_into_libs
=yes
11298 dynamic_linker
="$host_os runtime_loader"
11299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11300 soname_spec
='${libname}${release}${shared_ext}$major'
11301 shlibpath_var
=LIBRARY_PATH
11302 shlibpath_overrides_runpath
=yes
11303 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11304 hardcode_into_libs
=yes
11307 hpux9
* | hpux10
* | hpux11
*)
11308 # Give a soname corresponding to the major version so that dld.sl refuses to
11309 # link against other versions.
11316 hardcode_into_libs
=yes
11317 dynamic_linker
="$host_os dld.so"
11318 shlibpath_var
=LD_LIBRARY_PATH
11319 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11321 soname_spec
='${libname}${release}${shared_ext}$major'
11322 if test "X$HPUX_IA64_MODE" = X32
; then
11323 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11325 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11327 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11331 hardcode_into_libs
=yes
11332 dynamic_linker
="$host_os dld.sl"
11333 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11334 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec
='${libname}${release}${shared_ext}$major'
11337 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11338 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11342 dynamic_linker
="$host_os dld.sl"
11343 shlibpath_var
=SHLIB_PATH
11344 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 soname_spec
='${libname}${release}${shared_ext}$major'
11349 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11350 postinstall_cmds
='chmod 555 $lib'
11351 # or fails outright, so override atomically:
11352 install_override_mode
=555
11359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11360 soname_spec
='${libname}${release}${shared_ext}$major'
11361 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11362 shlibpath_var
=LD_LIBRARY_PATH
11363 shlibpath_overrides_runpath
=no
11364 hardcode_into_libs
=yes
11367 irix5
* | irix6
* | nonstopux
*)
11369 nonstopux
*) version_type
=nonstopux
;;
11371 if test "$lt_cv_prog_gnu_ld" = yes; then
11379 soname_spec
='${libname}${release}${shared_ext}$major'
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11382 irix5
* | nonstopux
*)
11383 libsuff
= shlibsuff
=
11386 case $LD in # libtool.m4 will add one of these switches to LD
11387 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11388 libsuff
= shlibsuff
= libmagic
=32-bit;;
11389 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11390 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11391 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11392 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11393 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11397 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11398 shlibpath_overrides_runpath
=no
11399 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11400 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11401 hardcode_into_libs
=yes
11404 # No shared lib support for Linux oldld, aout, or coff.
11405 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11409 # This must be Linux ELF.
11410 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11415 soname_spec
='${libname}${release}${shared_ext}$major'
11416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11417 shlibpath_var
=LD_LIBRARY_PATH
11418 shlibpath_overrides_runpath
=no
11420 # Some binutils ld are patched to set DT_RUNPATH
11421 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11422 $as_echo_n "(cached) " >&6
11424 lt_cv_shlibpath_overrides_runpath
=no
11425 save_LDFLAGS
=$LDFLAGS
11426 save_libdir
=$libdir
11427 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11428 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11440 if ac_fn_c_try_link
"$LINENO"; then :
11441 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11442 lt_cv_shlibpath_overrides_runpath
=yes
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LDFLAGS
=$save_LDFLAGS
11448 libdir
=$save_libdir
11452 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11454 # This implies no fast_install, which is unacceptable.
11455 # Some rework will be needed to allow for fast_install
11456 # before this can be enabled.
11457 hardcode_into_libs
=yes
11459 # Append ld.so.conf contents to the search path
11460 if test -f /etc
/ld.so.conf
; then
11461 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' ' '`
11462 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11465 # We used to test for /lib/ld.so.1 and disable shared libraries on
11466 # powerpc, because MkLinux only supported shared libraries with the
11467 # GNU dynamic linker. Since this was broken with cross compilers,
11468 # most powerpc-linux boxes support dynamic linking these days and
11469 # people can always --disable-shared, the test was removed, and we
11470 # assume the GNU/Linux dynamic linker is in use.
11471 dynamic_linker
='GNU/Linux ld.so'
11478 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11480 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11481 dynamic_linker
='NetBSD (a.out) ld.so'
11483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11484 soname_spec
='${libname}${release}${shared_ext}$major'
11485 dynamic_linker
='NetBSD ld.elf_so'
11487 shlibpath_var
=LD_LIBRARY_PATH
11488 shlibpath_overrides_runpath
=yes
11489 hardcode_into_libs
=yes
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11495 shlibpath_var
=LD_LIBRARY_PATH
11496 shlibpath_overrides_runpath
=yes
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11505 shlibpath_var
=LD_LIBRARY_PATH
11506 shlibpath_overrides_runpath
=no
11507 hardcode_into_libs
=yes
11508 dynamic_linker
='ldqnx.so'
11513 sys_lib_dlsearch_path_spec
="/usr/lib"
11515 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11517 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11518 *) need_version
=no
;;
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11522 shlibpath_var
=LD_LIBRARY_PATH
11523 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11525 openbsd2.
[89] | openbsd2.
[89].
*)
11526 shlibpath_overrides_runpath
=no
11529 shlibpath_overrides_runpath
=yes
11533 shlibpath_overrides_runpath
=yes
11538 libname_spec
='$name'
11541 library_names_spec
='$libname${shared_ext} $libname.a'
11542 dynamic_linker
='OS/2 ld.exe'
11543 shlibpath_var
=LIBPATH
11546 osf3
* | osf4
* | osf5
*)
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 shlibpath_var
=LD_LIBRARY_PATH
11553 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11554 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11566 soname_spec
='${libname}${release}${shared_ext}$major'
11567 shlibpath_var
=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath
=yes
11569 hardcode_into_libs
=yes
11570 # ldd complains unless libraries are executable
11571 postinstall_cmds
='chmod +x $lib'
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11577 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11578 shlibpath_var
=LD_LIBRARY_PATH
11579 shlibpath_overrides_runpath
=yes
11580 if test "$with_gnu_ld" = yes; then
11588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11589 soname_spec
='${libname}${release}${shared_ext}$major'
11590 shlibpath_var
=LD_LIBRARY_PATH
11591 case $host_vendor in
11593 shlibpath_overrides_runpath
=no
11595 runpath_var
=LD_RUN_PATH
11603 shlibpath_overrides_runpath
=no
11604 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11610 if test -d /usr
/nec
;then
11612 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11613 soname_spec
='$libname${shared_ext}.$major'
11614 shlibpath_var
=LD_LIBRARY_PATH
11618 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11619 version_type
=freebsd-elf
11622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11623 soname_spec
='${libname}${release}${shared_ext}$major'
11624 shlibpath_var
=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath
=yes
11626 hardcode_into_libs
=yes
11627 if test "$with_gnu_ld" = yes; then
11628 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11630 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11633 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11637 sys_lib_dlsearch_path_spec
='/usr/lib'
11641 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 shlibpath_var
=LD_LIBRARY_PATH
11647 shlibpath_overrides_runpath
=no
11648 hardcode_into_libs
=yes
11653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11654 soname_spec
='${libname}${release}${shared_ext}$major'
11655 shlibpath_var
=LD_LIBRARY_PATH
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11663 $as_echo "$dynamic_linker" >&6; }
11664 test "$dynamic_linker" = no
&& can_build_shared
=no
11666 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11667 if test "$GCC" = yes; then
11668 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11671 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11672 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11674 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11675 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11772 if test -n "$hardcode_libdir_flag_spec" ||
11773 test -n "$runpath_var" ||
11774 test "X$hardcode_automatic" = "Xyes" ; then
11776 # We can hardcode non-existent directories.
11777 if test "$hardcode_direct" != no
&&
11778 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11779 # have to relink, otherwise we might link with an installed library
11780 # when we should be linking with a yet-to-be-installed one
11781 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11782 test "$hardcode_minus_L" != no
; then
11783 # Linking always hardcodes the temporary library directory.
11784 hardcode_action
=relink
11786 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11787 hardcode_action
=immediate
11790 # We cannot hardcode anything, or else we can only hardcode existing
11792 hardcode_action
=unsupported
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11795 $as_echo "$hardcode_action" >&6; }
11797 if test "$hardcode_action" = relink ||
11798 test "$inherit_rpath" = yes; then
11799 # Fast installation is not supported
11800 enable_fast_install
=no
11801 elif test "$shlibpath_overrides_runpath" = yes ||
11802 test "$enable_shared" = no
; then
11803 # Fast installation is not necessary
11804 enable_fast_install
=needless
11812 if test "x$enable_dlopen" != xyes
; then
11813 enable_dlopen
=unknown
11814 enable_dlopen_self
=unknown
11815 enable_dlopen_self_static
=unknown
11822 lt_cv_dlopen
="load_add_on"
11824 lt_cv_dlopen_self
=yes
11827 mingw
* | pw32
* | cegcc
*)
11828 lt_cv_dlopen
="LoadLibrary"
11833 lt_cv_dlopen
="dlopen"
11838 # if libdl is installed we need to link against it
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11841 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11842 $as_echo_n "(cached) " >&6
11844 ac_check_lib_save_LIBS
=$LIBS
11846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11864 if ac_fn_c_try_link
"$LINENO"; then :
11865 ac_cv_lib_dl_dlopen
=yes
11867 ac_cv_lib_dl_dlopen
=no
11869 rm -f core conftest.err conftest.
$ac_objext \
11870 conftest
$ac_exeext conftest.
$ac_ext
11871 LIBS
=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11874 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11875 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11876 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11879 lt_cv_dlopen
="dyld"
11881 lt_cv_dlopen_self
=yes
11888 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11889 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11890 lt_cv_dlopen
="shl_load"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11893 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11894 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11895 $as_echo_n "(cached) " >&6
11897 ac_check_lib_save_LIBS
=$LIBS
11899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11912 return shl_load ();
11917 if ac_fn_c_try_link
"$LINENO"; then :
11918 ac_cv_lib_dld_shl_load
=yes
11920 ac_cv_lib_dld_shl_load
=no
11922 rm -f core conftest.err conftest.
$ac_objext \
11923 conftest
$ac_exeext conftest.
$ac_ext
11924 LIBS
=$ac_check_lib_save_LIBS
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11927 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11928 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11929 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11931 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11932 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11933 lt_cv_dlopen
="dlopen"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11936 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11938 $as_echo_n "(cached) " >&6
11940 ac_check_lib_save_LIBS
=$LIBS
11942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11960 if ac_fn_c_try_link
"$LINENO"; then :
11961 ac_cv_lib_dl_dlopen
=yes
11963 ac_cv_lib_dl_dlopen
=no
11965 rm -f core conftest.err conftest.
$ac_objext \
11966 conftest
$ac_exeext conftest.
$ac_ext
11967 LIBS
=$ac_check_lib_save_LIBS
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11970 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11971 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11972 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11975 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11976 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11977 $as_echo_n "(cached) " >&6
11979 ac_check_lib_save_LIBS
=$LIBS
11980 LIBS
="-lsvld $LIBS"
11981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11999 if ac_fn_c_try_link
"$LINENO"; then :
12000 ac_cv_lib_svld_dlopen
=yes
12002 ac_cv_lib_svld_dlopen
=no
12004 rm -f core conftest.err conftest.
$ac_objext \
12005 conftest
$ac_exeext conftest.
$ac_ext
12006 LIBS
=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12009 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12010 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12011 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12014 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12015 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12016 $as_echo_n "(cached) " >&6
12018 ac_check_lib_save_LIBS
=$LIBS
12020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12033 return dld_link ();
12038 if ac_fn_c_try_link
"$LINENO"; then :
12039 ac_cv_lib_dld_dld_link
=yes
12041 ac_cv_lib_dld_dld_link
=no
12043 rm -f core conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12045 LIBS
=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12048 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12049 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12050 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12071 if test "x$lt_cv_dlopen" != xno
; then
12077 case $lt_cv_dlopen in
12079 save_CPPFLAGS
="$CPPFLAGS"
12080 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12082 save_LDFLAGS
="$LDFLAGS"
12083 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12086 LIBS
="$lt_cv_dlopen_libs $LIBS"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12089 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12090 if test "${lt_cv_dlopen_self+set}" = set; then :
12091 $as_echo_n "(cached) " >&6
12093 if test "$cross_compiling" = yes; then :
12094 lt_cv_dlopen_self
=cross
12096 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12097 lt_status
=$lt_dlunknown
12098 cat > conftest.
$ac_ext <<_LT_EOF
12099 #line 12099 "configure"
12100 #include "confdefs.h"
12109 # define LT_DLGLOBAL RTLD_GLOBAL
12112 # define LT_DLGLOBAL DL_GLOBAL
12114 # define LT_DLGLOBAL 0
12118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12119 find out it does not work in some platform. */
12120 #ifndef LT_DLLAZY_OR_NOW
12122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12125 # define LT_DLLAZY_OR_NOW DL_LAZY
12128 # define LT_DLLAZY_OR_NOW RTLD_NOW
12131 # define LT_DLLAZY_OR_NOW DL_NOW
12133 # define LT_DLLAZY_OR_NOW 0
12140 /* When -fvisbility=hidden is used, assume the code has been annotated
12141 correspondingly for the symbols needed. */
12142 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12143 void fnord () __attribute__((visibility("default")));
12146 void fnord () { int i=42; }
12149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12150 int status = $lt_dlunknown;
12154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12157 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12158 else puts (dlerror ());
12160 /* dlclose (self); */
12168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12169 (eval $ac_link) 2>&5
12171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12172 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12173 (.
/conftest
; exit; ) >&5 2>/dev
/null
12175 case x
$lt_status in
12176 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12177 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12178 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12181 # compilation failed
12182 lt_cv_dlopen_self
=no
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12190 $as_echo "$lt_cv_dlopen_self" >&6; }
12192 if test "x$lt_cv_dlopen_self" = xyes
; then
12193 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12195 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12196 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12197 $as_echo_n "(cached) " >&6
12199 if test "$cross_compiling" = yes; then :
12200 lt_cv_dlopen_self_static
=cross
12202 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12203 lt_status
=$lt_dlunknown
12204 cat > conftest.
$ac_ext <<_LT_EOF
12205 #line 12205 "configure"
12206 #include "confdefs.h"
12215 # define LT_DLGLOBAL RTLD_GLOBAL
12218 # define LT_DLGLOBAL DL_GLOBAL
12220 # define LT_DLGLOBAL 0
12224 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12225 find out it does not work in some platform. */
12226 #ifndef LT_DLLAZY_OR_NOW
12228 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12231 # define LT_DLLAZY_OR_NOW DL_LAZY
12234 # define LT_DLLAZY_OR_NOW RTLD_NOW
12237 # define LT_DLLAZY_OR_NOW DL_NOW
12239 # define LT_DLLAZY_OR_NOW 0
12246 /* When -fvisbility=hidden is used, assume the code has been annotated
12247 correspondingly for the symbols needed. */
12248 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12249 void fnord () __attribute__((visibility("default")));
12252 void fnord () { int i=42; }
12255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12256 int status = $lt_dlunknown;
12260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12263 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12264 else puts (dlerror ());
12266 /* dlclose (self); */
12274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12275 (eval $ac_link) 2>&5
12277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12278 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12279 (.
/conftest
; exit; ) >&5 2>/dev
/null
12281 case x
$lt_status in
12282 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12283 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12284 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12287 # compilation failed
12288 lt_cv_dlopen_self_static
=no
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12296 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12299 CPPFLAGS
="$save_CPPFLAGS"
12300 LDFLAGS
="$save_LDFLAGS"
12305 case $lt_cv_dlopen_self in
12306 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12307 *) enable_dlopen_self
=unknown
;;
12310 case $lt_cv_dlopen_self_static in
12311 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12312 *) enable_dlopen_self_static
=unknown
;;
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12335 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12336 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12337 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12338 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12340 $as_echo "yes" >&6; }
12342 # FIXME - insert some real tests, host_os isn't really good enough
12345 if test -n "$STRIP" ; then
12346 striplib
="$STRIP -x"
12347 old_striplib
="$STRIP -S"
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12349 $as_echo "yes" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12373 # Report which library types will actually be built
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12375 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12377 $as_echo "$can_build_shared" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12380 $as_echo_n "checking whether to build shared libraries... " >&6; }
12381 test "$can_build_shared" = "no" && enable_shared
=no
12383 # On AIX, shared libraries and static libraries use the same namespace, and
12384 # are all built from PIC.
12387 test "$enable_shared" = yes && enable_static
=no
12388 if test -n "$RANLIB"; then
12389 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12390 postinstall_cmds
='$RANLIB $lib'
12395 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12396 test "$enable_shared" = yes && enable_static
=no
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12401 $as_echo "$enable_shared" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12404 $as_echo_n "checking whether to build static libraries... " >&6; }
12405 # Make sure either enable_shared or enable_static is yes.
12406 test "$enable_shared" = yes || enable_static
=yes
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12408 $as_echo "$enable_static" >&6; }
12415 ac_cpp
='$CPP $CPPFLAGS'
12416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12422 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12423 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12424 (test "X$CXX" != "Xg++"))) ; then
12426 ac_cpp
='$CXXCPP $CPPFLAGS'
12427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12431 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12432 if test -z "$CXXCPP"; then
12433 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12434 $as_echo_n "(cached) " >&6
12436 # Double quotes because CXXCPP needs to be expanded
12437 for CXXCPP
in "$CXX -E" "/lib/cpp"
12439 ac_preproc_ok
=false
12440 for ac_cxx_preproc_warn_flag
in '' yes
12442 # Use a header file that comes with gcc, so configuring glibc
12443 # with a fresh cross-compiler works.
12444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12445 # <limits.h> exists even on freestanding compilers.
12446 # On the NeXT, cc -E runs the code through the compiler's parser,
12447 # not just through cpp. "Syntax error" is here to catch this case.
12448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 # include <limits.h>
12453 # include <assert.h>
12457 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12460 # Broken: fails on valid input.
12463 rm -f conftest.err conftest.
$ac_ext
12465 # OK, works on sane cases. Now check whether nonexistent headers
12466 # can be detected and how.
12467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12469 #include <ac_nonexistent.h>
12471 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12472 # Broken: success on invalid input.
12475 # Passes both tests.
12479 rm -f conftest.err conftest.
$ac_ext
12482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12483 rm -f conftest.err conftest.
$ac_ext
12484 if $ac_preproc_ok; then :
12489 ac_cv_prog_CXXCPP
=$CXXCPP
12492 CXXCPP
=$ac_cv_prog_CXXCPP
12494 ac_cv_prog_CXXCPP
=$CXXCPP
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12497 $as_echo "$CXXCPP" >&6; }
12498 ac_preproc_ok
=false
12499 for ac_cxx_preproc_warn_flag
in '' yes
12501 # Use a header file that comes with gcc, so configuring glibc
12502 # with a fresh cross-compiler works.
12503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12504 # <limits.h> exists even on freestanding compilers.
12505 # On the NeXT, cc -E runs the code through the compiler's parser,
12506 # not just through cpp. "Syntax error" is here to catch this case.
12507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 # include <limits.h>
12512 # include <assert.h>
12516 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12519 # Broken: fails on valid input.
12522 rm -f conftest.err conftest.
$ac_ext
12524 # OK, works on sane cases. Now check whether nonexistent headers
12525 # can be detected and how.
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12528 #include <ac_nonexistent.h>
12530 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12531 # Broken: success on invalid input.
12534 # Passes both tests.
12538 rm -f conftest.err conftest.
$ac_ext
12541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12542 rm -f conftest.err conftest.
$ac_ext
12543 if $ac_preproc_ok; then :
12546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12548 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12549 See \`config.log' for more details." "$LINENO" 5; }
12553 ac_cpp
='$CPP $CPPFLAGS'
12554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12559 _lt_caught_CXX_error
=yes
12563 ac_cpp
='$CXXCPP $CPPFLAGS'
12564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12568 archive_cmds_need_lc_CXX
=no
12569 allow_undefined_flag_CXX
=
12570 always_export_symbols_CXX
=no
12571 archive_expsym_cmds_CXX
=
12572 compiler_needs_object_CXX
=no
12573 export_dynamic_flag_spec_CXX
=
12574 hardcode_direct_CXX
=no
12575 hardcode_direct_absolute_CXX
=no
12576 hardcode_libdir_flag_spec_CXX
=
12577 hardcode_libdir_flag_spec_ld_CXX
=
12578 hardcode_libdir_separator_CXX
=
12579 hardcode_minus_L_CXX
=no
12580 hardcode_shlibpath_var_CXX
=unsupported
12581 hardcode_automatic_CXX
=no
12582 inherit_rpath_CXX
=no
12584 module_expsym_cmds_CXX
=
12585 link_all_deplibs_CXX
=unknown
12586 old_archive_cmds_CXX
=$old_archive_cmds
12587 reload_flag_CXX
=$reload_flag
12588 reload_cmds_CXX
=$reload_cmds
12589 no_undefined_flag_CXX
=
12590 whole_archive_flag_spec_CXX
=
12591 enable_shared_with_static_runtimes_CXX
=no
12593 # Source file extension for C++ test sources.
12596 # Object file extension for compiled C++ test sources.
12600 # No sense in running all these tests if we already determined that
12601 # the CXX compiler isn't working. Some variables (like enable_shared)
12602 # are currently assumed to apply to all compilers on this platform,
12603 # and will be corrupted by setting them based on a non-working compiler.
12604 if test "$_lt_caught_CXX_error" != yes; then
12605 # Code to be used in simple compile tests
12606 lt_simple_compile_test_code
="int some_variable = 0;"
12608 # Code to be used in simple link tests
12609 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12611 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12618 # If no C compiler was specified, use CC.
12621 # If no C compiler flags were specified, use CFLAGS.
12622 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12624 # Allow CC to be a program name with arguments.
12628 # save warnings/boilerplate of simple test code
12629 ac_outfile
=conftest.
$ac_objext
12630 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12631 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12632 _lt_compiler_boilerplate
=`cat conftest.err`
12635 ac_outfile
=conftest.
$ac_objext
12636 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12637 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12638 _lt_linker_boilerplate
=`cat conftest.err`
12642 # Allow CC to be a program name with arguments.
12647 lt_save_with_gnu_ld
=$with_gnu_ld
12648 lt_save_path_LD
=$lt_cv_path_LD
12649 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12650 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12652 $as_unset lt_cv_prog_gnu_ld
12654 if test -n "${lt_cv_path_LDCXX+set}"; then
12655 lt_cv_path_LD
=$lt_cv_path_LDCXX
12657 $as_unset lt_cv_path_LD
12659 test -z "${LDCXX+set}" || LD
=$LDCXX
12663 for cc_temp
in $compiler""; do
12665 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12666 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12671 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12674 if test -n "$compiler"; then
12675 # We don't want -fno-exception when compiling C++ code, so set the
12676 # no_builtin_flag separately
12677 if test "$GXX" = yes; then
12678 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12680 lt_prog_compiler_no_builtin_flag_CXX
=
12683 if test "$GXX" = yes; then
12684 # Set up default GNU C++ configuration
12688 # Check whether --with-gnu-ld was given.
12689 if test "${with_gnu_ld+set}" = set; then :
12690 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12696 if test "$GCC" = yes; then
12697 # Check if gcc -print-prog-name=ld gives a path.
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12699 $as_echo_n "checking for ld used by $CC... " >&6; }
12702 # gcc leaves a trailing carriage return which upsets mingw
12703 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12705 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12708 # Accept absolute paths.
12710 re_direlt
='/[^/][^/]*/\.\./'
12711 # Canonicalize the pathname of ld
12712 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12713 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12714 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12716 test -z "$LD" && LD
="$ac_prog"
12719 # If it fails, then pretend we aren't using GCC.
12723 # If it is relative, then search for the first ld in PATH.
12724 with_gnu_ld
=unknown
12727 elif test "$with_gnu_ld" = yes; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12729 $as_echo_n "checking for GNU ld... " >&6; }
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12732 $as_echo_n "checking for non-GNU ld... " >&6; }
12734 if test "${lt_cv_path_LD+set}" = set; then :
12735 $as_echo_n "(cached) " >&6
12737 if test -z "$LD"; then
12738 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12739 for ac_dir
in $PATH; do
12741 test -z "$ac_dir" && ac_dir
=.
12742 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12743 lt_cv_path_LD
="$ac_dir/$ac_prog"
12744 # Check to see if the program is GNU ld. I'd rather use --version,
12745 # but apparently some variants of GNU ld only accept -v.
12746 # Break only if it was the GNU/non-GNU ld that we prefer.
12747 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12748 *GNU
* |
*'with BFD'*)
12749 test "$with_gnu_ld" != no
&& break
12752 test "$with_gnu_ld" != yes && break
12759 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12763 LD
="$lt_cv_path_LD"
12764 if test -n "$LD"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12766 $as_echo "$LD" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12771 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12774 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12778 case `$LD -v 2>&1 </dev/null` in
12779 *GNU
* |
*'with BFD'*)
12780 lt_cv_prog_gnu_ld
=yes
12783 lt_cv_prog_gnu_ld
=no
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12789 with_gnu_ld
=$lt_cv_prog_gnu_ld
12797 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12798 # archiving commands below assume that GNU ld is being used.
12799 if test "$with_gnu_ld" = yes; then
12800 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12801 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'
12803 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12804 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12806 # If archive_cmds runs LD, not CC, wlarc should be empty
12807 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12808 # investigate it a little bit more. (MM)
12811 # ancient GNU ld didn't support --whole-archive et. al.
12812 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12813 $GREP 'no-whole-archive' > /dev
/null
; then
12814 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12816 whole_archive_flag_spec_CXX
=
12822 # A generic and very simple default shared library creation
12823 # command for GNU C++ for the case where it uses the native
12824 # linker, instead of GNU ld. If possible, this setting should
12825 # overridden to take advantage of the native linker features on
12826 # the platform it is being used on.
12827 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12830 # Commands to make compiler produce verbose output that lists
12831 # what "hidden" libraries, object files and flags are used when
12832 # linking a shared library.
12833 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12841 # PORTME: fill in a description of your system's C++ link characteristics
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12847 # FIXME: insert proper C++ library support
12851 if test "$host_cpu" = ia64
; then
12852 # On IA64, the linker does run time linking by default, so we don't
12853 # have to do anything special.
12854 aix_use_runtimelinking
=no
12855 exp_sym_flag
='-Bexport'
12858 aix_use_runtimelinking
=no
12860 # Test if we are trying to use run time linking or normal
12861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12862 # need to do runtime linking.
12863 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12864 for ld_flag
in $LDFLAGS; do
12867 aix_use_runtimelinking
=yes
12875 exp_sym_flag
='-bexport'
12876 no_entry_flag
='-bnoentry'
12879 # When large executables or shared objects are built, AIX ld can
12880 # have problems creating the table of contents. If linking a library
12881 # or program results in "error TOC overflow" add -mminimal-toc to
12882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12885 archive_cmds_CXX
=''
12886 hardcode_direct_CXX
=yes
12887 hardcode_direct_absolute_CXX
=yes
12888 hardcode_libdir_separator_CXX
=':'
12889 link_all_deplibs_CXX
=yes
12890 file_list_spec_CXX
='${wl}-f,'
12892 if test "$GXX" = yes; then
12893 case $host_os in aix4.
[012]|aix4.
[012].
*)
12894 # We only want to do this on AIX 4.2 and lower, the check
12895 # below for broken collect2 doesn't work under 4.3+
12896 collect2name
=`${CC} -print-prog-name=collect2`
12897 if test -f "$collect2name" &&
12898 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12900 # We have reworked collect2
12903 # We have old collect2
12904 hardcode_direct_CXX
=unsupported
12905 # It fails to find uninstalled libraries when the uninstalled
12906 # path is not listed in the libpath. Setting hardcode_minus_L
12907 # to unsupported forces relinking
12908 hardcode_minus_L_CXX
=yes
12909 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12910 hardcode_libdir_separator_CXX
=
12913 shared_flag
='-shared'
12914 if test "$aix_use_runtimelinking" = yes; then
12915 shared_flag
="$shared_flag "'${wl}-G'
12919 if test "$host_cpu" = ia64
; then
12920 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12921 # chokes on -Wl,-G. The following line is correct:
12924 if test "$aix_use_runtimelinking" = yes; then
12925 shared_flag
='${wl}-G'
12927 shared_flag
='${wl}-bM:SRE'
12932 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12933 # It seems that -bexpall does not export symbols beginning with
12934 # underscore (_), so it is better to generate a list of symbols to
12936 always_export_symbols_CXX
=yes
12937 if test "$aix_use_runtimelinking" = yes; then
12938 # Warning - without using the other runtime loading flags (-brtl),
12939 # -berok will link without error, but may produce a broken library.
12940 allow_undefined_flag_CXX
='-berok'
12941 # Determine the default libpath from the value encoded in an empty
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12954 if ac_fn_cxx_try_link
"$LINENO"; then :
12956 lt_aix_libpath_sed
='
12957 /Import File Strings/,/^$/ {
12963 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12964 # Check for a 64-bit object if we didn't find anything.
12965 if test -z "$aix_libpath"; then
12966 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12969 rm -f core conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12971 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12973 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12975 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"
12977 if test "$host_cpu" = ia64
; then
12978 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12979 allow_undefined_flag_CXX
="-z nodefs"
12980 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"
12982 # Determine the default libpath from the value encoded in an
12983 # empty executable.
12984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12995 if ac_fn_cxx_try_link
"$LINENO"; then :
12997 lt_aix_libpath_sed
='
12998 /Import File Strings/,/^$/ {
13004 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13005 # Check for a 64-bit object if we didn't find anything.
13006 if test -z "$aix_libpath"; then
13007 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13010 rm -f core conftest.err conftest.
$ac_objext \
13011 conftest
$ac_exeext conftest.
$ac_ext
13012 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13014 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13015 # Warning - without using the other run time loading flags,
13016 # -berok will link without error, but may produce a broken library.
13017 no_undefined_flag_CXX
=' ${wl}-bernotok'
13018 allow_undefined_flag_CXX
=' ${wl}-berok'
13019 if test "$with_gnu_ld" = yes; then
13020 # We only use this code for GNU lds that support --whole-archive.
13021 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13023 # Exported symbols can be pulled into shared objects from archives
13024 whole_archive_flag_spec_CXX
='$convenience'
13026 archive_cmds_need_lc_CXX
=yes
13027 # This is similar to how AIX traditionally builds its shared
13029 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'
13035 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13036 allow_undefined_flag_CXX
=unsupported
13037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13038 # support --undefined. This deserves some investigation. FIXME
13039 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13046 case $cc_basename in
13048 # FIXME: insert proper C++ library support
13054 cygwin
* | mingw
* | pw32
* | cegcc
*)
13055 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13056 # as there is no search path for DLLs.
13057 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13058 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13059 allow_undefined_flag_CXX
=unsupported
13060 always_export_symbols_CXX
=no
13061 enable_shared_with_static_runtimes_CXX
=yes
13063 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13064 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'
13065 # If the export-symbols file already is a .def file (1st line
13066 # is EXPORTS), use it as is; otherwise, prepend...
13067 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13068 cp $export_symbols $output_objdir/$soname.def;
13070 echo EXPORTS > $output_objdir/$soname.def;
13071 cat $export_symbols >> $output_objdir/$soname.def;
13073 $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'
13078 darwin
* | rhapsody
*)
13081 archive_cmds_need_lc_CXX
=no
13082 hardcode_direct_CXX
=no
13083 hardcode_automatic_CXX
=yes
13084 hardcode_shlibpath_var_CXX
=unsupported
13085 if test "$lt_cv_ld_force_load" = "yes"; then
13086 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\"`'
13088 whole_archive_flag_spec_CXX
=''
13090 link_all_deplibs_CXX
=yes
13091 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13092 case $cc_basename in
13093 ifort
*) _lt_dar_can_shared
=yes ;;
13094 *) _lt_dar_can_shared
=$GCC ;;
13096 if test "$_lt_dar_can_shared" = "yes"; then
13097 output_verbose_link_cmd
=func_echo_all
13098 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}"
13099 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13100 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}"
13101 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}"
13102 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13103 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}"
13104 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}"
13114 case $cc_basename in
13116 # FIXME: insert proper C++ library support
13120 # Green Hills C++ Compiler
13121 # FIXME: insert proper C++ library support
13125 # FIXME: insert proper C++ library support
13132 # C++ shared libraries reported to be fairly broken before
13138 archive_cmds_need_lc_CXX
=no
13141 freebsd
* | dragonfly
*)
13142 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13151 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13152 link_all_deplibs_CXX
=yes
13156 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13157 hardcode_libdir_separator_CXX
=:
13158 export_dynamic_flag_spec_CXX
='${wl}-E'
13159 hardcode_direct_CXX
=yes
13160 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13161 # but as the default
13162 # location of the library.
13164 case $cc_basename in
13166 # FIXME: insert proper C++ library support
13170 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'
13171 # Commands to make compiler produce verbose output that lists
13172 # what "hidden" libraries, object files and flags are used when
13173 # linking a shared library.
13175 # There doesn't appear to be a way to prevent this compiler from
13176 # explicitly linking system object files so we need to strip them
13177 # from the output so that they don't get included in the library
13179 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"'
13182 if test "$GXX" = yes; then
13183 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'
13185 # FIXME: insert proper C++ library support
13193 if test $with_gnu_ld = no
; then
13194 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13195 hardcode_libdir_separator_CXX
=:
13201 export_dynamic_flag_spec_CXX
='${wl}-E'
13207 hardcode_direct_CXX
=no
13208 hardcode_shlibpath_var_CXX
=no
13211 hardcode_direct_CXX
=yes
13212 hardcode_direct_absolute_CXX
=yes
13213 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13214 # but as the default
13215 # location of the library.
13219 case $cc_basename in
13221 # FIXME: insert proper C++ library support
13227 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13230 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13233 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13236 # Commands to make compiler produce verbose output that lists
13237 # what "hidden" libraries, object files and flags are used when
13238 # linking a shared library.
13240 # There doesn't appear to be a way to prevent this compiler from
13241 # explicitly linking system object files so we need to strip them
13242 # from the output so that they don't get included in the library
13244 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"'
13247 if test "$GXX" = yes; then
13248 if test $with_gnu_ld = no
; then
13251 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13254 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13257 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'
13262 # FIXME: insert proper C++ library support
13270 hardcode_direct_CXX
=no
13271 hardcode_shlibpath_var_CXX
=no
13272 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13273 export_dynamic_flag_spec_CXX
='${wl}-E'
13274 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13275 # Instead, shared libraries are loaded at an image base (0x10000000 by
13276 # default) and relocated if they conflict, which is a slow very memory
13277 # consuming and fragmenting process. To avoid this, we pick a random,
13278 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13279 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13280 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'
13281 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'
13284 case $cc_basename in
13287 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'
13289 # Archives containing C++ object files must be created using
13290 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13291 # necessary to make sure instantiated templates are included
13293 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13296 if test "$GXX" = yes; then
13297 if test "$with_gnu_ld" = no
; then
13298 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'
13300 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'
13303 link_all_deplibs_CXX
=yes
13306 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13307 hardcode_libdir_separator_CXX
=:
13308 inherit_rpath_CXX
=yes
13311 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13312 case $cc_basename in
13314 # Kuck and Associates, Inc. (KAI) C++ Compiler
13316 # KCC will only create a shared library if the output file
13317 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13318 # to its proper name (with version) after linking.
13319 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'
13320 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'
13321 # Commands to make compiler produce verbose output that lists
13322 # what "hidden" libraries, object files and flags are used when
13323 # linking a shared library.
13325 # There doesn't appear to be a way to prevent this compiler from
13326 # explicitly linking system object files so we need to strip them
13327 # from the output so that they don't get included in the library
13329 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"'
13331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13332 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13334 # Archives containing C++ object files must be created using
13335 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13336 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13341 # version 8.0 and above of icpc choke on multiply defined symbols
13342 # if we add $predep_objects and $postdep_objects, however 7.1 and
13343 # earlier do not add the objects themselves.
13344 case `$CC -V 2>&1` in
13346 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13347 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'
13349 *) # Version 8.0 or newer
13352 ia64
*) tmp_idyn
=' -i_dynamic';;
13354 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13355 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'
13358 archive_cmds_need_lc_CXX
=no
13359 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13360 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13361 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13364 # Portland Group C++ compiler
13366 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13367 prelink_cmds_CXX
='tpldir=Template.dir~
13369 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13370 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13371 old_archive_cmds_CXX
='tpldir=Template.dir~
13373 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13374 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13376 archive_cmds_CXX
='tpldir=Template.dir~
13378 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13379 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13380 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13382 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13383 $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'
13385 *) # Version 6 and above use weak symbols
13386 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13387 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'
13391 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13392 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13393 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'
13397 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13398 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'
13400 runpath_var
=LD_RUN_PATH
13401 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13402 hardcode_libdir_separator_CXX
=:
13404 # Commands to make compiler produce verbose output that lists
13405 # what "hidden" libraries, object files and flags are used when
13406 # linking a shared library.
13408 # There doesn't appear to be a way to prevent this compiler from
13409 # explicitly linking system object files so we need to strip them
13410 # from the output so that they don't get included in the library
13412 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'
13414 xl
* | mpixl
* | bgxl
*)
13415 # IBM XL 8.0 on PPC, with GNU ld
13416 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13417 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13418 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13419 if test "x$supports_anon_versioning" = xyes
; then
13420 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13421 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13422 echo "local: *; };" >> $output_objdir/$libname.ver~
13423 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13427 case `$CC -V 2>&1 | sed 5q` in
13430 no_undefined_flag_CXX
=' -zdefs'
13431 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13432 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'
13433 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13434 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'
13435 compiler_needs_object_CXX
=yes
13437 # Not sure whether something based on
13438 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13440 output_verbose_link_cmd
='func_echo_all'
13442 # Archives containing C++ object files must be created using
13443 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13444 # necessary to make sure instantiated templates are included
13446 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13454 # FIXME: insert proper C++ library support
13459 # FIXME: insert proper C++ library support
13464 case $cc_basename in
13466 # FIXME: insert proper C++ library support
13470 # FIXME: insert proper C++ library support
13477 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13478 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13480 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13481 hardcode_direct_CXX
=yes
13482 hardcode_shlibpath_var_CXX
=no
13484 # Workaround some broken pre-1.5 toolchains
13485 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13493 # C++ shared libraries are fairly broken
13498 if test -f /usr
/libexec
/ld.so
; then
13499 hardcode_direct_CXX
=yes
13500 hardcode_shlibpath_var_CXX
=no
13501 hardcode_direct_absolute_CXX
=yes
13502 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13503 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13504 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13505 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13506 export_dynamic_flag_spec_CXX
='${wl}-E'
13507 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13509 output_verbose_link_cmd
=func_echo_all
13515 osf3
* | osf4
* | osf5
*)
13516 case $cc_basename in
13518 # Kuck and Associates, Inc. (KAI) C++ Compiler
13520 # KCC will only create a shared library if the output file
13521 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13522 # to its proper name (with version) after linking.
13523 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'
13525 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13526 hardcode_libdir_separator_CXX
=:
13528 # Archives containing C++ object files must be created using
13529 # the KAI C++ compiler.
13531 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13532 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13536 # Rational C++ 2.4.1
13537 # FIXME: insert proper C++ library support
13543 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13544 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'
13545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13548 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13549 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'
13550 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13551 echo "-hidden">> $lib.exp~
13552 $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~
13554 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13558 hardcode_libdir_separator_CXX
=:
13560 # Commands to make compiler produce verbose output that lists
13561 # what "hidden" libraries, object files and flags are used when
13562 # linking a shared library.
13564 # There doesn't appear to be a way to prevent this compiler from
13565 # explicitly linking system object files so we need to strip them
13566 # from the output so that they don't get included in the library
13568 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"'
13571 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13572 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13575 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'
13578 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'
13582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13583 hardcode_libdir_separator_CXX
=:
13585 # Commands to make compiler produce verbose output that lists
13586 # what "hidden" libraries, object files and flags are used when
13587 # linking a shared library.
13588 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13591 # FIXME: insert proper C++ library support
13599 # FIXME: insert proper C++ library support
13604 case $cc_basename in
13607 # FIXME: insert proper C++ library support
13612 # FIXME: insert proper C++ library support
13616 # FIXME: insert proper C++ library support
13623 case $cc_basename in
13625 # Sun C++ 4.2, 5.x and Centerline C++
13626 archive_cmds_need_lc_CXX
=yes
13627 no_undefined_flag_CXX
=' -zdefs'
13628 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13629 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13630 $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'
13632 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13633 hardcode_shlibpath_var_CXX
=no
13635 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13637 # The compiler driver will combine and reorder linker options,
13638 # but understands `-z linker_flag'.
13639 # Supported since Solaris 2.6 (maybe 2.5.1?)
13640 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13643 link_all_deplibs_CXX
=yes
13645 output_verbose_link_cmd
='func_echo_all'
13647 # Archives containing C++ object files must be created using
13648 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13649 # necessary to make sure instantiated templates are included
13651 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13654 # Green Hills C++ Compiler
13655 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13657 # The C++ compiler must be used to create the archive.
13658 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13661 # GNU C++ compiler with Solaris linker
13662 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13663 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13664 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13665 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13666 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13667 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13669 # Commands to make compiler produce verbose output that lists
13670 # what "hidden" libraries, object files and flags are used when
13671 # linking a shared library.
13672 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13674 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13676 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13677 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13678 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13680 # Commands to make compiler produce verbose output that lists
13681 # what "hidden" libraries, object files and flags are used when
13682 # linking a shared library.
13683 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13686 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13688 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13690 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13698 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13699 no_undefined_flag_CXX
='${wl}-z,text'
13700 archive_cmds_need_lc_CXX
=no
13701 hardcode_shlibpath_var_CXX
=no
13702 runpath_var
='LD_RUN_PATH'
13704 case $cc_basename in
13706 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13707 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13711 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 sysv5
* | sco3.2v5
* | sco5v6
*)
13717 # Note: We can NOT use -z defs as we might desire, because we do not
13718 # link with -lc, and that would cause any symbols used from libc to
13719 # always be unresolved, which means just about no library would
13720 # ever link correctly. If we're not using GNU ld we use -z text
13721 # though, which does catch some bad symbols but isn't as heavy-handed
13723 no_undefined_flag_CXX
='${wl}-z,text'
13724 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13725 archive_cmds_need_lc_CXX
=no
13726 hardcode_shlibpath_var_CXX
=no
13727 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13728 hardcode_libdir_separator_CXX
=':'
13729 link_all_deplibs_CXX
=yes
13730 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13731 runpath_var
='LD_RUN_PATH'
13733 case $cc_basename in
13735 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13736 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13737 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13738 '"$old_archive_cmds_CXX"
13739 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13740 '"$reload_cmds_CXX"
13743 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13744 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13750 case $cc_basename in
13752 # NonStop-UX NCC 3.20
13753 # FIXME: insert proper C++ library support
13757 # FIXME: insert proper C++ library support
13764 # FIXME: insert proper C++ library support
13769 # FIXME: insert proper C++ library support
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13775 $as_echo "$ld_shlibs_CXX" >&6; }
13776 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13782 ## There is no encapsulation within the following macros, do not change
13783 ## the running order or otherwise move them around unless you know exactly
13784 ## what you are doing...
13785 # Dependencies to place before and after the object being linked:
13786 predep_objects_CXX
=
13787 postdep_objects_CXX
=
13790 compiler_lib_search_path_CXX
=
13792 cat > conftest.
$ac_ext <<_LT_EOF
13796 Foo (void) { a = 0; }
13802 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13803 (eval $ac_compile) 2>&5
13805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806 test $ac_status = 0; }; then
13807 # Parse the compiler output and extract the necessary
13808 # objects, libraries and library flags.
13810 # Sentinel used to keep track of whether or not we are before
13811 # the conftest object file.
13812 pre_test_object_deps_done
=no
13814 for p
in `eval "$output_verbose_link_cmd"`; do
13818 # Some compilers place space between "-{L,R}" and the path.
13819 # Remove the space.
13820 if test $p = "-L" ||
13821 test $p = "-R"; then
13828 if test "$pre_test_object_deps_done" = no
; then
13831 # Internal compiler library paths should come after those
13832 # provided the user. The postdeps already come after the
13833 # user supplied libs so there is no need to process them.
13834 if test -z "$compiler_lib_search_path_CXX"; then
13835 compiler_lib_search_path_CXX
="${prev}${p}"
13837 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13840 # The "-l" case would never come before the object being
13841 # linked, so don't bother handling this case.
13844 if test -z "$postdeps_CXX"; then
13845 postdeps_CXX
="${prev}${p}"
13847 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13853 # This assumes that the test object file only shows up
13854 # once in the compiler output.
13855 if test "$p" = "conftest.$objext"; then
13856 pre_test_object_deps_done
=yes
13860 if test "$pre_test_object_deps_done" = no
; then
13861 if test -z "$predep_objects_CXX"; then
13862 predep_objects_CXX
="$p"
13864 predep_objects_CXX
="$predep_objects_CXX $p"
13867 if test -z "$postdep_objects_CXX"; then
13868 postdep_objects_CXX
="$p"
13870 postdep_objects_CXX
="$postdep_objects_CXX $p"
13875 *) ;; # Ignore the rest.
13883 echo "libtool.m4: error: problem compiling CXX test program"
13886 $RM -f confest.
$objext
13888 # PORTME: override above test on systems where it is broken
13891 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13892 # hack all around it, let's just trust "g++" to DTRT.
13893 predep_objects_CXX
=
13894 postdep_objects_CXX
=
13899 case `$CC -V 2>&1 | sed 5q` in
13903 # The more standards-conforming stlport4 library is
13904 # incompatible with the Cstd library. Avoid specifying
13905 # it if it's in CXXFLAGS. Ignore libCrun as
13906 # -library=stlport4 depends on it.
13907 case " $CXX $CXXFLAGS " in
13908 *" -library=stlport4 "*)
13909 solaris_use_stlport4
=yes
13913 if test "$solaris_use_stlport4" != yes; then
13914 postdeps_CXX
='-library=Cstd -library=Crun'
13921 case $cc_basename in
13923 # The more standards-conforming stlport4 library is
13924 # incompatible with the Cstd library. Avoid specifying
13925 # it if it's in CXXFLAGS. Ignore libCrun as
13926 # -library=stlport4 depends on it.
13927 case " $CXX $CXXFLAGS " in
13928 *" -library=stlport4 "*)
13929 solaris_use_stlport4
=yes
13933 # Adding this requires a known-good setup of shared libraries for
13934 # Sun compiler versions before 5.6, else PIC objects from an old
13935 # archive will be linked into the output, leading to subtle bugs.
13936 if test "$solaris_use_stlport4" != yes; then
13937 postdeps_CXX
='-library=Cstd -library=Crun'
13945 case " $postdeps_CXX " in
13946 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13948 compiler_lib_search_dirs_CXX
=
13949 if test -n "${compiler_lib_search_path_CXX}"; then
13950 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13983 lt_prog_compiler_wl_CXX
=
13984 lt_prog_compiler_pic_CXX
=
13985 lt_prog_compiler_static_CXX
=
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13988 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13990 # C++ specific cases for pic, static, wl, etc.
13991 if test "$GXX" = yes; then
13992 lt_prog_compiler_wl_CXX
='-Wl,'
13993 lt_prog_compiler_static_CXX
='-static'
13997 # All AIX code is PIC.
13998 if test "$host_cpu" = ia64
; then
13999 # AIX 5 now supports IA64 processor
14000 lt_prog_compiler_static_CXX
='-Bstatic'
14002 lt_prog_compiler_pic_CXX
='-fPIC'
14008 # see comment about AmigaOS4 .so support
14009 lt_prog_compiler_pic_CXX
='-fPIC'
14012 # FIXME: we need at least 68020 code to build shared libraries, but
14013 # adding the `-m68020' flag to GCC prevents building anything better,
14015 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14020 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14021 # PIC is the default for these OSes.
14023 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14024 # This hack is so that the source file can tell whether it is being
14025 # built for inclusion in a dll (and should export symbols for example).
14026 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14027 # (--disable-auto-import) libraries
14028 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14030 darwin
* | rhapsody
*)
14031 # PIC is the default on this platform
14032 # Common symbols not allowed in MH_DYLIB files
14033 lt_prog_compiler_pic_CXX
='-fno-common'
14036 # DJGPP does not support shared libraries at all
14037 lt_prog_compiler_pic_CXX
=
14040 # PIC is the default for Haiku.
14041 # The "-static" flag exists, but is broken.
14042 lt_prog_compiler_static_CXX
=
14045 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14046 # Instead, we relocate shared libraries at runtime.
14049 if test -d /usr
/nec
; then
14050 lt_prog_compiler_pic_CXX
=-Kconform_pic
14054 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14055 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14056 # sets the default TLS model and affects inlining.
14061 lt_prog_compiler_pic_CXX
='-fPIC'
14066 # QNX uses GNU C++, but need to define -shared option too, otherwise
14067 # it will coredump.
14068 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14071 lt_prog_compiler_pic_CXX
='-fPIC'
14077 # All AIX code is PIC.
14078 if test "$host_cpu" = ia64
; then
14079 # AIX 5 now supports IA64 processor
14080 lt_prog_compiler_static_CXX
='-Bstatic'
14082 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14086 case $cc_basename in
14088 # Green Hills C++ Compiler
14089 # _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"
14094 case $cc_basename in
14096 lt_prog_compiler_pic_CXX
='-KPIC'
14099 # Green Hills C++ Compiler
14100 lt_prog_compiler_pic_CXX
='-pic'
14106 freebsd
* | dragonfly
*)
14107 # FreeBSD uses GNU C++
14109 hpux9
* | hpux10
* | hpux11
*)
14110 case $cc_basename in
14112 lt_prog_compiler_wl_CXX
='-Wl,'
14113 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14114 if test "$host_cpu" != ia64
; then
14115 lt_prog_compiler_pic_CXX
='+Z'
14119 lt_prog_compiler_wl_CXX
='-Wl,'
14120 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14126 lt_prog_compiler_pic_CXX
='+Z'
14135 # This is c89, which is MS Visual C++ (no shared libs)
14136 # Anyone wants to do a port?
14138 irix5
* | irix6
* | nonstopux
*)
14139 case $cc_basename in
14141 lt_prog_compiler_wl_CXX
='-Wl,'
14142 lt_prog_compiler_static_CXX
='-non_shared'
14143 # CC pic flag -KPIC is the default.
14149 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14150 case $cc_basename in
14153 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14154 lt_prog_compiler_pic_CXX
='-fPIC'
14157 # old Intel C++ for x86_64 which still supported -KPIC.
14158 lt_prog_compiler_wl_CXX
='-Wl,'
14159 lt_prog_compiler_pic_CXX
='-KPIC'
14160 lt_prog_compiler_static_CXX
='-static'
14163 # Intel C++, used to be incompatible with GCC.
14164 # ICC 10 doesn't accept -KPIC any more.
14165 lt_prog_compiler_wl_CXX
='-Wl,'
14166 lt_prog_compiler_pic_CXX
='-fPIC'
14167 lt_prog_compiler_static_CXX
='-static'
14170 # Portland Group C++ compiler
14171 lt_prog_compiler_wl_CXX
='-Wl,'
14172 lt_prog_compiler_pic_CXX
='-fpic'
14173 lt_prog_compiler_static_CXX
='-Bstatic'
14177 # Make sure the PIC flag is empty. It appears that all Alpha
14178 # Linux and Compaq Tru64 Unix objects are PIC.
14179 lt_prog_compiler_pic_CXX
=
14180 lt_prog_compiler_static_CXX
='-non_shared'
14182 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14183 # IBM XL 8.0, 9.0 on PPC and BlueGene
14184 lt_prog_compiler_wl_CXX
='-Wl,'
14185 lt_prog_compiler_pic_CXX
='-qpic'
14186 lt_prog_compiler_static_CXX
='-qstaticlink'
14189 case `$CC -V 2>&1 | sed 5q` in
14192 lt_prog_compiler_pic_CXX
='-KPIC'
14193 lt_prog_compiler_static_CXX
='-Bstatic'
14194 lt_prog_compiler_wl_CXX
='-Qoption ld '
14205 case $cc_basename in
14207 lt_prog_compiler_pic_CXX
='-W c,exportall'
14216 # QNX uses GNU C++, but need to define -shared option too, otherwise
14217 # it will coredump.
14218 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14220 osf3
* | osf4
* | osf5
*)
14221 case $cc_basename in
14223 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14226 # Rational C++ 2.4.1
14227 lt_prog_compiler_pic_CXX
='-pic'
14230 # Digital/Compaq C++
14231 lt_prog_compiler_wl_CXX
='-Wl,'
14232 # Make sure the PIC flag is empty. It appears that all Alpha
14233 # Linux and Compaq Tru64 Unix objects are PIC.
14234 lt_prog_compiler_pic_CXX
=
14235 lt_prog_compiler_static_CXX
='-non_shared'
14244 case $cc_basename in
14246 # Sun C++ 4.2, 5.x and Centerline C++
14247 lt_prog_compiler_pic_CXX
='-KPIC'
14248 lt_prog_compiler_static_CXX
='-Bstatic'
14249 lt_prog_compiler_wl_CXX
='-Qoption ld '
14252 # Green Hills C++ Compiler
14253 lt_prog_compiler_pic_CXX
='-PIC'
14260 case $cc_basename in
14263 lt_prog_compiler_pic_CXX
='-pic'
14264 lt_prog_compiler_static_CXX
='-Bstatic'
14268 lt_prog_compiler_pic_CXX
='-pic'
14274 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14275 case $cc_basename in
14277 lt_prog_compiler_wl_CXX
='-Wl,'
14278 lt_prog_compiler_pic_CXX
='-KPIC'
14279 lt_prog_compiler_static_CXX
='-Bstatic'
14284 case $cc_basename in
14286 # NonStop-UX NCC 3.20
14287 lt_prog_compiler_pic_CXX
='-KPIC'
14296 lt_prog_compiler_can_build_shared_CXX
=no
14302 # For platforms which do not support PIC, -DPIC is meaningless:
14304 lt_prog_compiler_pic_CXX
=
14307 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14311 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14316 # Check to make sure the PIC flag actually works.
14318 if test -n "$lt_prog_compiler_pic_CXX"; then
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14320 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14321 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14322 $as_echo_n "(cached) " >&6
14324 lt_cv_prog_compiler_pic_works_CXX
=no
14325 ac_outfile
=conftest.
$ac_objext
14326 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14327 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14328 # Insert the option either (1) after the last *FLAGS variable, or
14329 # (2) before a word containing "conftest.", or (3) at the end.
14330 # Note that $ac_compile itself does not contain backslashes and begins
14331 # with a dollar sign (not a hyphen), so the echo should work correctly.
14332 # The option is referenced via a variable to avoid confusing sed.
14333 lt_compile
=`echo "$ac_compile" | $SED \
14334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14336 -e 's:$: $lt_compiler_flag:'`
14337 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14338 (eval "$lt_compile" 2>conftest.err
)
14340 cat conftest.err
>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 if (exit $ac_status) && test -s "$ac_outfile"; then
14343 # The compiler can only warn and ignore the option if not recognized
14344 # So say no if there are warnings other than the usual output.
14345 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14346 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14347 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14348 lt_cv_prog_compiler_pic_works_CXX
=yes
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14355 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14357 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14358 case $lt_prog_compiler_pic_CXX in
14360 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14363 lt_prog_compiler_pic_CXX
=
14364 lt_prog_compiler_can_build_shared_CXX
=no
14372 # Check to make sure the static flag actually works.
14374 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14376 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14377 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14378 $as_echo_n "(cached) " >&6
14380 lt_cv_prog_compiler_static_works_CXX
=no
14381 save_LDFLAGS
="$LDFLAGS"
14382 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14383 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14384 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14385 # The linker can only warn and ignore the option if not recognized
14386 # So say no if there are warnings
14387 if test -s conftest.err
; then
14388 # Append any errors to the config.log.
14389 cat conftest.err
1>&5
14390 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14391 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14392 if diff conftest.exp conftest.er2
>/dev
/null
; then
14393 lt_cv_prog_compiler_static_works_CXX
=yes
14396 lt_cv_prog_compiler_static_works_CXX
=yes
14400 LDFLAGS
="$save_LDFLAGS"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14404 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14406 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14409 lt_prog_compiler_static_CXX
=
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14416 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14417 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14418 $as_echo_n "(cached) " >&6
14420 lt_cv_prog_compiler_c_o_CXX
=no
14421 $RM -r conftest
2>/dev
/null
14425 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14427 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14428 # Insert the option either (1) after the last *FLAGS variable, or
14429 # (2) before a word containing "conftest.", or (3) at the end.
14430 # Note that $ac_compile itself does not contain backslashes and begins
14431 # with a dollar sign (not a hyphen), so the echo should work correctly.
14432 lt_compile
=`echo "$ac_compile" | $SED \
14433 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14434 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14435 -e 's:$: $lt_compiler_flag:'`
14436 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14437 (eval "$lt_compile" 2>out
/conftest.err
)
14439 cat out
/conftest.err
>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14443 # The compiler can only warn and ignore the option if not recognized
14444 # So say no if there are warnings
14445 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14446 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14447 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14448 lt_cv_prog_compiler_c_o_CXX
=yes
14453 # SGI C++ compiler will create directory out/ii_files/ for
14454 # template instantiation
14455 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14456 $RM out
/* && rmdir out
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14463 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14468 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14469 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14470 $as_echo_n "(cached) " >&6
14472 lt_cv_prog_compiler_c_o_CXX
=no
14473 $RM -r conftest
2>/dev
/null
14477 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14479 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14480 # Insert the option either (1) after the last *FLAGS variable, or
14481 # (2) before a word containing "conftest.", or (3) at the end.
14482 # Note that $ac_compile itself does not contain backslashes and begins
14483 # with a dollar sign (not a hyphen), so the echo should work correctly.
14484 lt_compile
=`echo "$ac_compile" | $SED \
14485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14487 -e 's:$: $lt_compiler_flag:'`
14488 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14489 (eval "$lt_compile" 2>out
/conftest.err
)
14491 cat out
/conftest.err
>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14495 # The compiler can only warn and ignore the option if not recognized
14496 # So say no if there are warnings
14497 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14498 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14499 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14500 lt_cv_prog_compiler_c_o_CXX
=yes
14505 # SGI C++ compiler will create directory out/ii_files/ for
14506 # template instantiation
14507 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14508 $RM out
/* && rmdir out
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14515 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14520 hard_links
="nottested"
14521 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14522 # do not overwrite the value of need_locks provided by the user
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14524 $as_echo_n "checking if we can lock with hard links... " >&6; }
14527 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14529 ln conftest.a conftest.b
2>&5 || hard_links
=no
14530 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14532 $as_echo "$hard_links" >&6; }
14533 if test "$hard_links" = no
; then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14535 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14545 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14547 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14550 # If we're using GNU nm, then we don't want the "-C" option.
14551 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14552 # Also, AIX nm treats weak defined symbols like other global defined
14553 # symbols, whereas GNU nm marks them as "W".
14554 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14555 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'
14557 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'
14561 export_symbols_cmds_CXX
="$ltdll_cmds"
14563 cygwin
* | mingw
* | cegcc
*)
14564 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'
14567 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14570 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14573 $as_echo "$ld_shlibs_CXX" >&6; }
14574 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14576 with_gnu_ld_CXX
=$with_gnu_ld
14584 # Do we need to explicitly link libc?
14586 case "x$archive_cmds_need_lc_CXX" in
14588 # Assume -lc should be added
14589 archive_cmds_need_lc_CXX
=yes
14591 if test "$enable_shared" = yes && test "$GCC" = yes; then
14592 case $archive_cmds_CXX in
14594 # FIXME: we may have to deal with multi-command sequences.
14597 # Test whether the compiler implicitly links with -lc since on some
14598 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14599 # to ld, don't add -lc before -lgcc.
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14601 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14602 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14603 $as_echo_n "(cached) " >&6
14606 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14609 (eval $ac_compile) 2>&5
14611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14612 test $ac_status = 0; } 2>conftest.err
; then
14615 libobjs
=conftest.
$ac_objext
14617 wl
=$lt_prog_compiler_wl_CXX
14618 pic_flag
=$lt_prog_compiler_pic_CXX
14624 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14625 allow_undefined_flag_CXX
=
14626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14627 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14630 test $ac_status = 0; }
14632 lt_cv_archive_cmds_need_lc_CXX
=no
14634 lt_cv_archive_cmds_need_lc_CXX
=yes
14636 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14638 cat conftest.err
1>&5
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14644 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14645 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14716 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14718 library_names_spec
=
14719 libname_spec
='lib$name'
14723 postuninstall_cmds
=
14727 shlibpath_overrides_runpath
=unknown
14729 dynamic_linker
="$host_os ld.so"
14730 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14731 need_lib_prefix
=unknown
14732 hardcode_into_libs
=no
14734 # when you set need_version to no, make sure it does not cause -set_version
14735 # flags to be left without arguments
14736 need_version
=unknown
14741 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14742 shlibpath_var
=LIBPATH
14744 # AIX 3 has no versioning support, so we append a major version to the name.
14745 soname_spec
='${libname}${release}${shared_ext}$major'
14752 hardcode_into_libs
=yes
14753 if test "$host_cpu" = ia64
; then
14754 # AIX 5 supports IA64
14755 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14756 shlibpath_var
=LD_LIBRARY_PATH
14758 # With GCC up to 2.95.x, collect2 would create an import file
14759 # for dependence libraries. The import file would start with
14760 # the line `#! .'. This would cause the generated library to
14761 # depend on `.', always an invalid library. This was fixed in
14762 # development snapshots of GCC prior to 3.0.
14764 aix4 | aix4.
[01] | aix4.
[01].
*)
14765 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14767 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14770 can_build_shared
=no
14774 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14775 # soname into executable. Probably we can add versioning support to
14776 # collect2, so additional links can be useful in future.
14777 if test "$aix_use_runtimelinking" = yes; then
14778 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14779 # instead of lib<name>.a to let people know that these are not
14780 # typical AIX shared libraries.
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 # We preserve .a as extension for shared libraries through AIX4.2
14784 # and later when we are not doing run time linking.
14785 library_names_spec
='${libname}${release}.a $libname.a'
14786 soname_spec
='${libname}${release}${shared_ext}$major'
14788 shlibpath_var
=LIBPATH
14795 # Since July 2007 AmigaOS4 officially supports .so libraries.
14796 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14800 library_names_spec
='$libname.ixlibrary $libname.a'
14801 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14802 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'
14808 library_names_spec
='${libname}${shared_ext}'
14809 dynamic_linker
="$host_os ld.so"
14810 shlibpath_var
=LIBRARY_PATH
14816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14817 soname_spec
='${libname}${release}${shared_ext}$major'
14818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14819 shlibpath_var
=LD_LIBRARY_PATH
14820 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14821 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14822 # the default ld.so.conf also contains /usr/contrib/lib and
14823 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14824 # libtool to hard-code these into programs
14827 cygwin
* | mingw
* | pw32
* | cegcc
*)
14828 version_type
=windows
14833 case $GCC,$host_os in
14834 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14835 library_names_spec
='$libname.dll.a'
14836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14837 postinstall_cmds
='base_file=`basename \${file}`~
14838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14839 dldir=$destdir/`dirname \$dlpath`~
14840 test -d \$dldir || mkdir -p \$dldir~
14841 $install_prog $dir/$dlname \$dldir/$dlname~
14842 chmod a+x \$dldir/$dlname~
14843 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14844 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14846 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14847 dlpath=$dir/\$dldll~
14849 shlibpath_overrides_runpath
=yes
14853 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14854 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14858 # MinGW DLLs use traditional 'lib' prefix
14859 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14862 # pw32 DLLs use 'pw' prefix rather than 'lib'
14863 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14869 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14872 dynamic_linker
='Win32 ld.exe'
14873 # FIXME: first we should search . and the directory the executable is in
14877 darwin
* | rhapsody
*)
14878 dynamic_linker
="$host_os dyld"
14879 version_type
=darwin
14882 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14883 soname_spec
='${libname}${release}${major}$shared_ext'
14884 shlibpath_overrides_runpath
=yes
14885 shlibpath_var
=DYLD_LIBRARY_PATH
14886 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14888 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 shlibpath_var
=LD_LIBRARY_PATH
14900 freebsd
* | dragonfly
*)
14901 # DragonFly does not have aout. When/if they implement a new
14902 # versioning mechanism, adjust this.
14903 if test -x /usr
/bin
/objformat
; then
14904 objformat
=`/usr/bin/objformat`
14907 freebsd
[23].
*) objformat
=aout
;;
14908 *) objformat
=elf
;;
14911 version_type
=freebsd-
$objformat
14912 case $version_type in
14914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14919 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14923 shlibpath_var
=LD_LIBRARY_PATH
14926 shlibpath_overrides_runpath
=yes
14928 freebsd3.
[01]* | freebsdelf3.
[01]*)
14929 shlibpath_overrides_runpath
=yes
14930 hardcode_into_libs
=yes
14932 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14933 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14934 shlibpath_overrides_runpath
=no
14935 hardcode_into_libs
=yes
14937 *) # from 4.6 on, and DragonFly
14938 shlibpath_overrides_runpath
=yes
14939 hardcode_into_libs
=yes
14948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14949 soname_spec
='${libname}${release}${shared_ext}$major'
14950 shlibpath_var
=LD_LIBRARY_PATH
14951 hardcode_into_libs
=yes
14958 dynamic_linker
="$host_os runtime_loader"
14959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14960 soname_spec
='${libname}${release}${shared_ext}$major'
14961 shlibpath_var
=LIBRARY_PATH
14962 shlibpath_overrides_runpath
=yes
14963 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14964 hardcode_into_libs
=yes
14967 hpux9
* | hpux10
* | hpux11
*)
14968 # Give a soname corresponding to the major version so that dld.sl refuses to
14969 # link against other versions.
14976 hardcode_into_libs
=yes
14977 dynamic_linker
="$host_os dld.so"
14978 shlibpath_var
=LD_LIBRARY_PATH
14979 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14981 soname_spec
='${libname}${release}${shared_ext}$major'
14982 if test "X$HPUX_IA64_MODE" = X32
; then
14983 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14985 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14987 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14991 hardcode_into_libs
=yes
14992 dynamic_linker
="$host_os dld.sl"
14993 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14994 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14996 soname_spec
='${libname}${release}${shared_ext}$major'
14997 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14998 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15002 dynamic_linker
="$host_os dld.sl"
15003 shlibpath_var
=SHLIB_PATH
15004 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 soname_spec
='${libname}${release}${shared_ext}$major'
15009 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15010 postinstall_cmds
='chmod 555 $lib'
15011 # or fails outright, so override atomically:
15012 install_override_mode
=555
15019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15020 soname_spec
='${libname}${release}${shared_ext}$major'
15021 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15022 shlibpath_var
=LD_LIBRARY_PATH
15023 shlibpath_overrides_runpath
=no
15024 hardcode_into_libs
=yes
15027 irix5
* | irix6
* | nonstopux
*)
15029 nonstopux
*) version_type
=nonstopux
;;
15031 if test "$lt_cv_prog_gnu_ld" = yes; then
15039 soname_spec
='${libname}${release}${shared_ext}$major'
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15042 irix5
* | nonstopux
*)
15043 libsuff
= shlibsuff
=
15046 case $LD in # libtool.m4 will add one of these switches to LD
15047 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15048 libsuff
= shlibsuff
= libmagic
=32-bit;;
15049 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15050 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15051 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15052 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15053 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15057 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15058 shlibpath_overrides_runpath
=no
15059 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15060 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15061 hardcode_into_libs
=yes
15064 # No shared lib support for Linux oldld, aout, or coff.
15065 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15069 # This must be Linux ELF.
15070 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15075 soname_spec
='${libname}${release}${shared_ext}$major'
15076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15077 shlibpath_var
=LD_LIBRARY_PATH
15078 shlibpath_overrides_runpath
=no
15080 # Some binutils ld are patched to set DT_RUNPATH
15081 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15082 $as_echo_n "(cached) " >&6
15084 lt_cv_shlibpath_overrides_runpath
=no
15085 save_LDFLAGS
=$LDFLAGS
15086 save_libdir
=$libdir
15087 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15088 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15100 if ac_fn_cxx_try_link
"$LINENO"; then :
15101 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15102 lt_cv_shlibpath_overrides_runpath
=yes
15105 rm -f core conftest.err conftest.
$ac_objext \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 LDFLAGS
=$save_LDFLAGS
15108 libdir
=$save_libdir
15112 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15114 # This implies no fast_install, which is unacceptable.
15115 # Some rework will be needed to allow for fast_install
15116 # before this can be enabled.
15117 hardcode_into_libs
=yes
15119 # Append ld.so.conf contents to the search path
15120 if test -f /etc
/ld.so.conf
; then
15121 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' ' '`
15122 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15125 # We used to test for /lib/ld.so.1 and disable shared libraries on
15126 # powerpc, because MkLinux only supported shared libraries with the
15127 # GNU dynamic linker. Since this was broken with cross compilers,
15128 # most powerpc-linux boxes support dynamic linking these days and
15129 # people can always --disable-shared, the test was removed, and we
15130 # assume the GNU/Linux dynamic linker is in use.
15131 dynamic_linker
='GNU/Linux ld.so'
15138 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15141 dynamic_linker
='NetBSD (a.out) ld.so'
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15144 soname_spec
='${libname}${release}${shared_ext}$major'
15145 dynamic_linker
='NetBSD ld.elf_so'
15147 shlibpath_var
=LD_LIBRARY_PATH
15148 shlibpath_overrides_runpath
=yes
15149 hardcode_into_libs
=yes
15154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 shlibpath_overrides_runpath
=yes
15163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15164 soname_spec
='${libname}${release}${shared_ext}$major'
15165 shlibpath_var
=LD_LIBRARY_PATH
15166 shlibpath_overrides_runpath
=no
15167 hardcode_into_libs
=yes
15168 dynamic_linker
='ldqnx.so'
15173 sys_lib_dlsearch_path_spec
="/usr/lib"
15175 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15177 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15178 *) need_version
=no
;;
15180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15182 shlibpath_var
=LD_LIBRARY_PATH
15183 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15185 openbsd2.
[89] | openbsd2.
[89].
*)
15186 shlibpath_overrides_runpath
=no
15189 shlibpath_overrides_runpath
=yes
15193 shlibpath_overrides_runpath
=yes
15198 libname_spec
='$name'
15201 library_names_spec
='$libname${shared_ext} $libname.a'
15202 dynamic_linker
='OS/2 ld.exe'
15203 shlibpath_var
=LIBPATH
15206 osf3
* | osf4
* | osf5
*)
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212 shlibpath_var
=LD_LIBRARY_PATH
15213 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15214 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15226 soname_spec
='${libname}${release}${shared_ext}$major'
15227 shlibpath_var
=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath
=yes
15229 hardcode_into_libs
=yes
15230 # ldd complains unless libraries are executable
15231 postinstall_cmds
='chmod +x $lib'
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15237 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15238 shlibpath_var
=LD_LIBRARY_PATH
15239 shlibpath_overrides_runpath
=yes
15240 if test "$with_gnu_ld" = yes; then
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15250 shlibpath_var
=LD_LIBRARY_PATH
15251 case $host_vendor in
15253 shlibpath_overrides_runpath
=no
15255 runpath_var
=LD_RUN_PATH
15263 shlibpath_overrides_runpath
=no
15264 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15270 if test -d /usr
/nec
;then
15272 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15273 soname_spec
='$libname${shared_ext}.$major'
15274 shlibpath_var
=LD_LIBRARY_PATH
15278 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15279 version_type
=freebsd-elf
15282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15283 soname_spec
='${libname}${release}${shared_ext}$major'
15284 shlibpath_var
=LD_LIBRARY_PATH
15285 shlibpath_overrides_runpath
=yes
15286 hardcode_into_libs
=yes
15287 if test "$with_gnu_ld" = yes; then
15288 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15290 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15293 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15297 sys_lib_dlsearch_path_spec
='/usr/lib'
15301 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15306 shlibpath_var
=LD_LIBRARY_PATH
15307 shlibpath_overrides_runpath
=no
15308 hardcode_into_libs
=yes
15313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15314 soname_spec
='${libname}${release}${shared_ext}$major'
15315 shlibpath_var
=LD_LIBRARY_PATH
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15323 $as_echo "$dynamic_linker" >&6; }
15324 test "$dynamic_linker" = no
&& can_build_shared
=no
15326 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15327 if test "$GCC" = yes; then
15328 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15331 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15332 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15334 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15335 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15376 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15377 hardcode_action_CXX
=
15378 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15379 test -n "$runpath_var_CXX" ||
15380 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15382 # We can hardcode non-existent directories.
15383 if test "$hardcode_direct_CXX" != no
&&
15384 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15385 # have to relink, otherwise we might link with an installed library
15386 # when we should be linking with a yet-to-be-installed one
15387 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15388 test "$hardcode_minus_L_CXX" != no
; then
15389 # Linking always hardcodes the temporary library directory.
15390 hardcode_action_CXX
=relink
15392 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15393 hardcode_action_CXX
=immediate
15396 # We cannot hardcode anything, or else we can only hardcode existing
15398 hardcode_action_CXX
=unsupported
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15401 $as_echo "$hardcode_action_CXX" >&6; }
15403 if test "$hardcode_action_CXX" = relink ||
15404 test "$inherit_rpath_CXX" = yes; then
15405 # Fast installation is not supported
15406 enable_fast_install
=no
15407 elif test "$shlibpath_overrides_runpath" = yes ||
15408 test "$enable_shared" = no
; then
15409 # Fast installation is not necessary
15410 enable_fast_install
=needless
15419 fi # test -n "$compiler"
15425 with_gnu_ld
=$lt_save_with_gnu_ld
15426 lt_cv_path_LDCXX
=$lt_cv_path_LD
15427 lt_cv_path_LD
=$lt_save_path_LD
15428 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15429 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15430 fi # test "$_lt_caught_CXX_error" != yes
15433 ac_cpp
='$CPP $CPPFLAGS'
15434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15450 ac_config_commands
="$ac_config_commands libtool"
15455 # Only expand once:
15461 # For libtool versioning info, format is CURRENT:REVISION:AGE
15462 libtool_VERSION
=1:0:0
15465 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15468 if test "${multilib}" = "yes"; then
15469 multilib_arg
="--enable-multilib"
15474 ac_config_files
="$ac_config_files Makefile"
15477 if test "x$VTV_SUPPORTED" = "xyes"; then
15478 ac_config_files
="$ac_config_files ./Makefile testsuite/Makefile"
15482 cat >confcache
<<\_ACEOF
15483 # This file is a shell script that caches the results of configure
15484 # tests run on this system so they can be shared between configure
15485 # scripts and configure runs, see configure's option --config-cache.
15486 # It is not useful on other systems. If it contains results you don't
15487 # want to keep, you may remove or edit it.
15489 # config.status only pays attention to the cache file if you give it
15490 # the --recheck option to rerun configure.
15492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15494 # following values.
15498 # The following way of writing the cache mishandles newlines in values,
15499 # but we know of no workaround that is simple, portable, and efficient.
15500 # So, we kill variables containing newlines.
15501 # Ultrix sh set writes to stderr and can't be redirected directly,
15502 # and sets the high bit in the cache file unless we assign to the vars.
15504 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15505 eval ac_val
=\$
$ac_var
15509 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15513 _ | IFS | as_nl
) ;; #(
15514 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15515 *) { eval $ac_var=; unset $ac_var;} ;;
15521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15522 *${as_nl}ac_space
=\
*)
15523 # `set' does not quote correctly, so add quotes: double-quote
15524 # substitution turns \\\\ into \\, and sed turns \\ into \.
15527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15530 # `set' quotes correctly as required by POSIX, so do not add quotes.
15531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15544 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15545 if test -w "$cache_file"; then
15546 test "x$cache_file" != "x/dev/null" &&
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15548 $as_echo "$as_me: updating cache $cache_file" >&6;}
15549 cat confcache
>$cache_file
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15557 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15558 # Let make expand exec_prefix.
15559 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15561 # Transform confdefs.h into DEFS.
15562 # Protect against shell expansion while executing Makefile rules.
15563 # Protect against Makefile macro expansion.
15565 # If the first sed substitution is executed (which looks for macros that
15566 # take arguments), then branch to the quote section. Otherwise,
15567 # look for a macro that doesn't take arguments.
15577 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15579 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15583 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15596 DEFS
=`sed -n "$ac_script" confdefs.h`
15601 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15602 # 1. Remove the extension, and $U if already installed.
15603 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15604 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15606 # will be set to the directory where LIBOBJS objects are built.
15607 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15608 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15610 LIBOBJS
=$ac_libobjs
15612 LTLIBOBJS
=$ac_ltlibobjs
15615 if test -n "$EXEEXT"; then
15617 am__EXEEXT_FALSE
='#'
15619 am__EXEEXT_TRUE
='#'
15623 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15624 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15627 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15628 as_fn_error
"conditional \"AMDEP\" was never defined.
15629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15631 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15632 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15635 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15636 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15639 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15640 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15644 : ${CONFIG_STATUS=./config.status}
15646 ac_clean_files_save
=$ac_clean_files
15647 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15653 # Generated by $as_me.
15654 # Run this file to recreate the current configuration.
15655 # Compiler output produced by configure, useful for debugging
15656 # configure, is in config.log if it exists.
15659 ac_cs_recheck=false
15662 SHELL=\${CONFIG_SHELL-$SHELL}
15665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15666 ## -------------------- ##
15667 ## M4sh Initialization. ##
15668 ## -------------------- ##
15670 # Be more Bourne compatible
15671 DUALCASE
=1; export DUALCASE
# for MKS sh
15672 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15676 # is contrary to our usage. Disable this feature.
15677 alias -g '${1+"$@"}'='"$@"'
15678 setopt NO_GLOB_SUBST
15680 case `(set -o) 2>/dev/null` in #(
15692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15693 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15696 # Prefer a ksh shell builtin over an external printf program on Solaris,
15697 # but without wasting forks for bash or zsh.
15698 if test -z "$BASH_VERSION$ZSH_VERSION" \
15699 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15700 as_echo='print
-r --'
15701 as_echo_n='print
-rn --'
15702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15703 as_echo='printf %s
\n'
15704 as_echo_n='printf %s
'
15706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15707 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15708 as_echo_n='/usr
/ucb
/echo -n'
15710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15711 as_echo_n_body='eval
15715 expr "X$arg" : "X\\(.*\\)$as_nl";
15716 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15718 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15720 export as_echo_n_body
15721 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15723 export as_echo_body
15724 as_echo='sh
-c $as_echo_body as_echo
'
15727 # The user is always right.
15728 if test "${PATH_SEPARATOR+set}" != set; then
15730 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15731 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15738 # We need space, tab and new line, in precisely that order. Quoting is
15739 # there to prevent editors from complaining about space-tab.
15740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15741 # splitting by setting IFS to empty value.)
15744 # Find who we are. Look in the path if we contain no directory separator.
15746 *[\\/]* ) as_myself=$0 ;;
15747 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15748 for as_dir in $PATH
15751 test -z "$as_dir" && as_dir=.
15752 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15758 # We did not find ourselves, most probably we were run as `sh COMMAND'
15759 # in which case we are not to be found in the path.
15760 if test "x$as_myself" = x
; then
15763 if test ! -f "$as_myself"; then
15764 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15768 # Unset variables that we do not need and which cause bugs (e.g. in
15769 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15770 # suppresses any "Segmentation fault" message there. '((' could
15771 # trigger a bug in pdksh 5.2.14.
15772 for as_var
in BASH_ENV ENV MAIL MAILPATH
15773 do eval test x\
${$as_var+set} = xset \
15774 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15787 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15790 # as_fn_error ERROR [LINENO LOG_FD]
15791 # ---------------------------------
15792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15794 # script with status $?, using 1 if that was 0.
15797 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15799 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15800 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15802 $as_echo "$as_me: error: $1" >&2
15803 as_fn_exit
$as_status
15807 # as_fn_set_status STATUS
15808 # -----------------------
15809 # Set $? to STATUS, without forking.
15810 as_fn_set_status
()
15813 } # as_fn_set_status
15815 # as_fn_exit STATUS
15816 # -----------------
15817 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15821 as_fn_set_status
$1
15827 # Portably unset VAR.
15830 { eval $1=; unset $1;}
15832 as_unset
=as_fn_unset
15833 # as_fn_append VAR VALUE
15834 # ----------------------
15835 # Append the text in VALUE to the end of the definition contained in VAR. Take
15836 # advantage of any shell optimizations that allow amortized linear growth over
15837 # repeated appends, instead of the typical quadratic growth present in naive
15839 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15840 eval 'as_fn_append ()
15851 # as_fn_arith ARG...
15852 # ------------------
15853 # Perform arithmetic evaluation on the ARGs, and store the result in the
15854 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15855 # must be portable across $(()) and expr.
15856 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15857 eval 'as_fn_arith ()
15864 as_val
=`expr "$@" || test $? -eq 1`
15869 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15870 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15876 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15877 as_basename
=basename
15882 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15888 as_me
=`$as_basename -- "$0" ||
15889 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15890 X"$0" : 'X\(//\)$' \| \
15891 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15893 sed '/^.*\/\([^/][^/]*\)\/*$/{
15907 # Avoid depending upon Character Ranges.
15908 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15909 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15910 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15911 as_cr_digits
='0123456789'
15912 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15914 ECHO_C
= ECHO_N
= ECHO_T
=
15915 case `echo -n x` in #(((((
15917 case `echo 'xy\c'` in
15918 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15920 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15927 rm -f conf$$ conf$$.exe conf$$.
file
15928 if test -d conf$$.dir
; then
15929 rm -f conf$$.dir
/conf$$.
file
15932 mkdir conf$$.dir
2>/dev
/null
15934 if (echo >conf$$.
file) 2>/dev
/null
; then
15935 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15937 # ... but there are two gotchas:
15938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15940 # In both cases, we have to default to `cp -p'.
15941 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15943 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15951 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15952 rmdir conf$$.dir
2>/dev
/null
15957 # Create "$as_dir" as a directory, including parents if necessary.
15962 -*) as_dir
=.
/$as_dir;;
15964 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15968 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15969 *) as_qdir
=$as_dir;;
15971 as_dirs
="'$as_qdir' $as_dirs"
15972 as_dir
=`$as_dirname -- "$as_dir" ||
15973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15974 X"$as_dir" : 'X\(//\)[^/]' \| \
15975 X"$as_dir" : 'X\(//\)$' \| \
15976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15977 $as_echo X"$as_dir" |
15978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15982 /^X\(\/\/\)[^/].*/{
15995 test -d "$as_dir" && break
15997 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15998 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16002 if mkdir
-p .
2>/dev
/null
; then
16003 as_mkdir_p
='mkdir -p "$as_dir"'
16005 test -d .
/-p && rmdir .
/-p
16009 if test -x / >/dev
/null
2>&1; then
16010 as_test_x
='test -x'
16012 if ls -dL / >/dev
/null
2>&1; then
16019 if test -d "$1"; then
16025 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16026 ???[sx]*):;;*)false;;esac;fi
16030 as_executable_p
=$as_test_x
16032 # Sed expression to map a string onto a valid CPP name.
16033 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16035 # Sed expression to map a string onto a valid variable name.
16036 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16040 ## ----------------------------------- ##
16041 ## Main body of $CONFIG_STATUS script. ##
16042 ## ----------------------------------- ##
16044 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16047 # Save the log message, to keep $0 and so on meaningful, and to
16048 # report actual input values of CONFIG_FILES etc. instead of their
16049 # values after options handling.
16051 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16052 generated by GNU Autoconf 2.64. Invocation command line was
16054 CONFIG_FILES = $CONFIG_FILES
16055 CONFIG_HEADERS = $CONFIG_HEADERS
16056 CONFIG_LINKS = $CONFIG_LINKS
16057 CONFIG_COMMANDS = $CONFIG_COMMANDS
16060 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16065 case $ac_config_files in *"
16066 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 # Files that config.status was made for.
16073 config_files="$ac_config_files"
16074 config_commands="$ac_config_commands"
16078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16080 \`$as_me' instantiates files and other configuration actions
16081 from templates according to the current configuration. Unless the files
16082 and actions are specified as TAGs, all are instantiated by default.
16084 Usage: $0 [OPTION]... [TAG]...
16086 -h, --help print this help, then exit
16087 -V, --version print version number and configuration settings, then exit
16088 -q, --quiet, --silent
16089 do not print progress messages
16090 -d, --debug don't remove temporary files
16091 --recheck update $as_me by reconfiguring in the same conditions
16092 --file=FILE[:TEMPLATE]
16093 instantiate the configuration file FILE
16095 Configuration files:
16098 Configuration commands:
16101 Report bugs to the package provider.
16102 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16103 General help using GNU software: <http://www.gnu.org/gethelp/>."
16106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16108 GNU Vtable Verification Runtime Library config.status 1.0
16109 configured by $0, generated by GNU Autoconf 2.64,
16110 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16112 Copyright (C) 2009 Free Software Foundation, Inc.
16113 This config.status script is free software; the Free Software Foundation
16114 gives unlimited permission to copy, distribute and modify it."
16121 test -n "\$AWK" || AWK=awk
16124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16125 # The default lists apply if the user does not specify any file.
16131 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16132 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16143 # Handling of the options.
16144 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16146 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16147 $as_echo "$ac_cs_version"; exit ;;
16148 --debug |
--debu |
--deb |
--de |
--d |
-d )
16150 --file |
--fil |
--fi |
--f )
16153 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16155 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16156 ac_need_defaults
=false
;;
16157 --he |
--h |
--help |
--hel |
-h )
16158 $as_echo "$ac_cs_usage"; exit ;;
16159 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16160 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16163 # This is an error.
16164 -*) as_fn_error
"unrecognized option: \`$1'
16165 Try \`$0 --help' for more information." ;;
16167 *) as_fn_append ac_config_targets
" $1"
16168 ac_need_defaults
=false
;;
16174 ac_configure_extra_args
=
16176 if $ac_cs_silent; then
16178 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16183 if \$ac_cs_recheck; then
16184 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16186 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16187 CONFIG_SHELL='$SHELL'
16188 export CONFIG_SHELL
16193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16198 ## Running $as_me. ##
16204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16212 with_multisubdir="$with_multisubdir"
16213 with_multisrctop="$with_multisrctop"
16214 with_target_subdir="$with_target_subdir"
16215 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16216 multi_basedir="$multi_basedir"
16217 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16220 GFORTRAN="$GFORTRAN"
16222 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16225 # The HP-UX ksh and POSIX shell print the target directory to stdout
16226 # if CDPATH is set.
16227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16229 sed_quote_subst='$sed_quote_subst'
16230 double_quote_subst='$double_quote_subst'
16231 delay_variable_subst='$delay_variable_subst'
16232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16238 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16239 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16240 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16241 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16242 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16243 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16244 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16245 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16246 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16247 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16248 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16249 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16250 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16251 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16252 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16253 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16254 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16255 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16256 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16257 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16258 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16259 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16265 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16266 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16267 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16268 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16269 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16270 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16271 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16272 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16273 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16274 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16275 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16276 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16277 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16278 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16279 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16280 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"`'
16281 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16282 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16283 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16284 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16285 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16286 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16287 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16288 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16289 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16290 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16291 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16292 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16293 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16294 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16295 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16296 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16297 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16298 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16299 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16300 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16301 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16302 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16303 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16304 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16305 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16306 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16307 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16308 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16309 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16310 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16311 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16312 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16313 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16314 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16315 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16316 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16317 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16318 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16319 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16320 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16321 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16322 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16323 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16324 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16325 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16326 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16327 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16328 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16329 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16330 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16331 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16332 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16333 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16334 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16335 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16336 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16337 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16338 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16339 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16340 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16341 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16342 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16343 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16344 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16345 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16346 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16347 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16348 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16349 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16350 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16351 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16352 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16353 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16354 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16355 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16356 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16357 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16358 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16359 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16360 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16361 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16362 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16363 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16364 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16365 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16366 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16367 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16368 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16369 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16370 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16371 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16372 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16373 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16374 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16375 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16376 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16377 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16378 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16379 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16380 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16381 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16382 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16383 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16384 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16385 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16386 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16387 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16388 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16389 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16390 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16391 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16392 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16393 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16394 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16395 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16396 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16397 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16398 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16399 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16400 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16401 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16402 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16403 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16404 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16405 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16406 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16409 LTCFLAGS='$LTCFLAGS'
16410 compiler='$compiler_DEFAULT'
16412 # A function that is used when there is no print builtin or printf.
16413 func_fallback_echo ()
16415 eval 'cat <<_LTECHO_EOF
16420 # Quote evaled strings.
16434 deplibs_check_method \
16443 lt_cv_sys_global_symbol_pipe \
16444 lt_cv_sys_global_symbol_to_cdecl \
16445 lt_cv_sys_global_symbol_to_c_name_address \
16446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16447 lt_prog_compiler_no_builtin_flag \
16448 lt_prog_compiler_wl \
16449 lt_prog_compiler_pic \
16450 lt_prog_compiler_static \
16451 lt_cv_prog_compiler_c_o \
16459 export_dynamic_flag_spec \
16460 whole_archive_flag_spec \
16461 compiler_needs_object \
16463 allow_undefined_flag \
16464 no_undefined_flag \
16465 hardcode_libdir_flag_spec \
16466 hardcode_libdir_flag_spec_ld \
16467 hardcode_libdir_separator \
16472 variables_saved_for_relink \
16474 library_names_spec \
16476 install_override_mode \
16480 compiler_lib_search_dirs \
16485 compiler_lib_search_path \
16489 lt_prog_compiler_no_builtin_flag_CXX \
16490 lt_prog_compiler_wl_CXX \
16491 lt_prog_compiler_pic_CXX \
16492 lt_prog_compiler_static_CXX \
16493 lt_cv_prog_compiler_c_o_CXX \
16494 export_dynamic_flag_spec_CXX \
16495 whole_archive_flag_spec_CXX \
16496 compiler_needs_object_CXX \
16498 allow_undefined_flag_CXX \
16499 no_undefined_flag_CXX \
16500 hardcode_libdir_flag_spec_CXX \
16501 hardcode_libdir_flag_spec_ld_CXX \
16502 hardcode_libdir_separator_CXX \
16503 fix_srcfile_path_CXX \
16504 exclude_expsyms_CXX \
16505 include_expsyms_CXX \
16506 file_list_spec_CXX \
16507 compiler_lib_search_dirs_CXX \
16508 predep_objects_CXX \
16509 postdep_objects_CXX \
16512 compiler_lib_search_path_CXX; do
16513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16514 *[\\\\\\\`\\"\\\$]*)
16515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16523 # Double-quote double-evaled strings.
16524 for var in reload_cmds \
16525 old_postinstall_cmds \
16526 old_postuninstall_cmds \
16528 extract_expsyms_cmds \
16529 old_archive_from_new_cmds \
16530 old_archive_from_expsyms_cmds \
16532 archive_expsym_cmds \
16534 module_expsym_cmds \
16535 export_symbols_cmds \
16538 postuninstall_cmds \
16540 sys_lib_search_path_spec \
16541 sys_lib_dlsearch_path_spec \
16543 old_archive_cmds_CXX \
16544 old_archive_from_new_cmds_CXX \
16545 old_archive_from_expsyms_cmds_CXX \
16547 archive_expsym_cmds_CXX \
16549 module_expsym_cmds_CXX \
16550 export_symbols_cmds_CXX \
16551 prelink_cmds_CXX; do
16552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16553 *[\\\\\\\`\\"\\\$]*)
16554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16562 ac_aux_dir='$ac_aux_dir'
16563 xsi_shell='$xsi_shell'
16564 lt_shell_append='$lt_shell_append'
16566 # See if we are running on zsh, and set the options which allow our
16567 # commands through without removal of \ escapes INIT.
16568 if test -n "\${ZSH_VERSION+set}" ; then
16569 setopt NO_GLOB_SUBST
16575 TIMESTAMP='$TIMESTAMP'
16586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16588 # Handling of arguments.
16589 for ac_config_target
in $ac_config_targets
16591 case $ac_config_target in
16592 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16593 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16594 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16595 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16596 "./Makefile") CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
16597 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16599 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16604 # If the user did not use the arguments to specify the items to instantiate,
16605 # then the envvar interface is used. Set only those that are not.
16606 # We use the long form for the default assignment because of an extremely
16607 # bizarre bug on SunOS 4.1.3.
16608 if $ac_need_defaults; then
16609 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16610 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16613 # Have a temporary directory for convenience. Make it in the build tree
16614 # simply because there is no reason against having it here, and in addition,
16615 # creating and moving files from /tmp can sometimes cause problems.
16616 # Hook for its removal unless debugging.
16617 # Note that there is a small window in which the directory will not be cleaned:
16618 # after its creation but before its name has been assigned to `$tmp'.
16622 trap 'exit_status=$?
16623 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16625 trap 'as_fn_exit 1' 1 2 13 15
16627 # Create a (secure) tmp directory for tmp files.
16630 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16631 test -n "$tmp" && test -d "$tmp"
16634 tmp
=.
/conf$$
-$RANDOM
16635 (umask 077 && mkdir
"$tmp")
16636 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16638 # Set up the scripts for CONFIG_FILES section.
16639 # No need to generate them if there are no CONFIG_FILES.
16640 # This happens for instance with `./config.status config.h'.
16641 if test -n "$CONFIG_FILES"; then
16644 ac_cr
=`echo X | tr X '\015'`
16645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16646 # But we know of no other shell where ac_cr would be empty at this
16647 # point, so we can use a bashism as a fallback.
16648 if test "x$ac_cr" = x
; then
16649 eval ac_cr
=\$
\'\\r
\'
16651 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16655 ac_cs_awk_cr
=$ac_cr
16658 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16663 echo "cat >conf$$subs.awk <<_ACEOF" &&
16664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16666 } >conf$$subs.sh ||
16667 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16670 for ac_last_try in false false false false false :; do
16671 . ./conf$$subs.sh ||
16672 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16674 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16675 if test $ac_delim_n = $ac_delim_num; then
16677 elif $ac_last_try; then
16678 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16680 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16683 rm -f conf$$subs.sh
16685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16686 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16690 s/^/S["/; s
/!.
*/"]=/
16700 s/\(.\{148\}\).*/\1/
16702 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16707 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16714 s/\(.\{148\}\).*/\1/
16716 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16720 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16725 ' <conf$$subs.awk | sed '
16730 ' >>$CONFIG_STATUS || ac_write_fail=1
16731 rm -f conf$$subs.awk
16732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16734 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16735 for (key in S) S_is_set[key] = 1
16741 nfields = split(line, field, "@
")
16743 len = length(field[1])
16744 for (i = 2; i < nfields; i++) {
16746 keylen = length(key)
16747 if (S_is_set[key]) {
16749 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16750 len += length(value) + length(field[++i])
16761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16762 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16763 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16766 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16767 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16770 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16771 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16772 # trailing colons and then remove the whole line if VPATH becomes empty
16773 # (actually we leave an empty line to preserve line numbers).
16774 if test "x
$srcdir" = x.; then
16775 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16776 s/:*\$(srcdir):*/:/
16777 s/:*\${srcdir}:*/:/
16779 s/^\([^=]*=[ ]*\):*/\1/
16785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16786 fi # test -n "$CONFIG_FILES"
16789 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16794 :[FHLC]) ac_mode=$ac_tag; continue;;
16796 case $ac_mode$ac_tag in
16798 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16799 :[FH]-) ac_tag=-:-;;
16800 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16817 -) ac_f="$tmp/stdin";;
16818 *) # Look for the file first in the build tree, then in the source tree
16819 # (if the path is not absolute). The absolute path cannot be DOS-style,
16820 # because $ac_f cannot contain `:'.
16824 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16826 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16828 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16829 as_fn_append ac_file_inputs " '$ac_f'"
16832 # Let's still pretend it is `configure' which instantiates (i.e., don't
16833 # use $as_me), people would be surprised to read:
16834 # /* config.h. Generated by config.status. */
16835 configure_input='Generated from '`
16836 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16838 if test x"$ac_file" != x-; then
16839 configure_input="$ac_file.
$configure_input"
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16841 $as_echo "$as_me: creating
$ac_file" >&6;}
16843 # Neutralize special characters interpreted by sed in replacement strings.
16844 case $configure_input in #(
16845 *\&* | *\|* | *\\* )
16846 ac_sed_conf_input=`$as_echo "$configure_input" |
16847 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16848 *) ac_sed_conf_input=$configure_input;;
16852 *:-:* | *:-) cat >"$tmp/stdin
" \
16853 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16858 ac_dir=`$as_dirname -- "$ac_file" ||
16859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16860 X"$ac_file" : 'X\(//\)[^/]' \| \
16861 X"$ac_file" : 'X\(//\)$' \| \
16862 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16863 $as_echo X"$ac_file" |
16864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16868 /^X\(\/\/\)[^/].*/{
16881 as_dir="$ac_dir"; as_fn_mkdir_p
16885 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16887 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16888 # A "..
" for each directory in $ac_dir_suffix.
16889 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16890 case $ac_top_builddir_sub in
16891 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16892 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16895 ac_abs_top_builddir=$ac_pwd
16896 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16897 # for backward compatibility:
16898 ac_top_builddir=$ac_top_build_prefix
16901 .) # We are building in place.
16903 ac_top_srcdir=$ac_top_builddir_sub
16904 ac_abs_top_srcdir=$ac_pwd ;;
16905 [\\/]* | ?:[\\/]* ) # Absolute name.
16906 ac_srcdir=$srcdir$ac_dir_suffix;
16907 ac_top_srcdir=$srcdir
16908 ac_abs_top_srcdir=$srcdir ;;
16909 *) # Relative name.
16910 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16911 ac_top_srcdir=$ac_top_build_prefix$srcdir
16912 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16914 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16924 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16925 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16927 ac_MKDIR_P=$MKDIR_P
16929 [\\/$]* | ?:[\\/]* ) ;;
16930 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16935 # If the template does not know about datarootdir, expand it.
16936 # FIXME: This hack should be removed a few years after 2.60.
16937 ac_datarootdir_hack=; ac_datarootdir_seen=
16948 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16949 *datarootdir*) ac_datarootdir_seen=yes;;
16950 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16952 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16955 ac_datarootdir_hack='
16956 s&@datadir@&$datadir&g
16957 s&@docdir@&$docdir&g
16958 s&@infodir@&$infodir&g
16959 s&@localedir@&$localedir&g
16960 s&@mandir@&$mandir&g
16961 s&\\\${datarootdir}&$datarootdir&g' ;;
16965 # Neutralize VPATH when `$srcdir' = `.'.
16966 # Shell code in configure.ac might set extrasub.
16967 # FIXME: do we really want to maintain this feature?
16968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16969 ac_sed_extra="$ac_vpsub
16972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16974 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16975 s|@configure_input@|
$ac_sed_conf_input|
;t t
16976 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16977 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16978 s
&@srcdir@
&$ac_srcdir&;t t
16979 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16980 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16981 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16982 s
&@builddir@
&$ac_builddir&;t t
16983 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16984 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16985 s
&@INSTALL@
&$ac_INSTALL&;t t
16986 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16987 $ac_datarootdir_hack
16989 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16990 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16992 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16993 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16994 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16996 which seems to be undefined. Please make sure it is defined." >&5
16997 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16998 which seems to be undefined. Please make sure it is defined." >&2;}
17002 -) cat "$tmp/out" && rm -f "$tmp/out";;
17003 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17005 || as_fn_error "could not create $ac_file" "$LINENO" 5
17009 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17010 $as_echo "$as_me: executing $ac_file commands" >&6;}
17015 case $ac_file$ac_mode in
17017 # Only add multilib support code if we just rebuilt the top-level
17019 case " $CONFIG_FILES " in
17021 ac_file=Makefile . ${multi_basedir}/config-ml.in
17024 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17025 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17026 # are listed without --file. Let's play safe and only
enable the
eval
17027 # if we detect the quoting.
17028 case $CONFIG_FILES in
17029 *\'*) eval set x
"$CONFIG_FILES" ;;
17030 *) set x
$CONFIG_FILES ;;
17035 # Strip MF so we end up with the name of the file.
17036 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17037 # Check whether this is an Automake generated Makefile or not.
17038 # We used to match only the files named `Makefile.in', but
17039 # some people rename them; so instead we look at the file content.
17040 # Grep'ing the first line is not enough: some people post-process
17041 # each Makefile.in and add a new line on top of each file to say so.
17042 # Grep'ing the whole file is not good either: AIX grep has a line
17043 # limit of 2048, but all sed's we know have understand at least 4000.
17044 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17045 dirpart
=`$as_dirname -- "$mf" ||
17046 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17047 X"$mf" : 'X\(//\)[^/]' \| \
17048 X"$mf" : 'X\(//\)$' \| \
17049 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17055 /^X\(\/\/\)[^/].*/{
17071 # Extract the definition of DEPDIR, am__include, and am__quote
17072 # from the Makefile without running `make'.
17073 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17074 test -z "$DEPDIR" && continue
17075 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17076 test -z "am__include" && continue
17077 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17078 # When using ansi2knr, U may be empty or an underscore; expand it
17079 U
=`sed -n 's/^U = //p' < "$mf"`
17080 # Find all dependency output files, they are included files with
17081 # $(DEPDIR) in their names. We invoke sed twice because it is the
17082 # simplest approach to changing $(DEPDIR) to its actual value in the
17084 for file in `sed -n "
17085 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17086 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17087 # Make sure the directory exists.
17088 test -f "$dirpart/$file" && continue
17089 fdir
=`$as_dirname -- "$file" ||
17090 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17091 X"$file" : 'X\(//\)[^/]' \| \
17092 X"$file" : 'X\(//\)$' \| \
17093 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17094 $as_echo X"$file" |
17095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17099 /^X\(\/\/\)[^/].*/{
17112 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17113 # echo "creating $dirpart/$file"
17114 echo '# dummy' > "$dirpart/$file"
17121 # See if we are running on zsh, and set the options which allow our
17122 # commands through without removal of \ escapes.
17123 if test -n "${ZSH_VERSION+set}" ; then
17124 setopt NO_GLOB_SUBST
17127 cfgfile
="${ofile}T"
17128 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17131 cat <<_LT_EOF >> "$cfgfile"
17134 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17135 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17136 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17137 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17139 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17140 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17141 # Written by Gordon Matzigkeit, 1996
17143 # This file is part of GNU Libtool.
17145 # GNU Libtool is free software; you can redistribute it and/or
17146 # modify it under the terms of the GNU General Public License as
17147 # published by the Free Software Foundation; either version 2 of
17148 # the License, or (at your option) any later version.
17150 # As a special exception to the GNU General Public License,
17151 # if you distribute this file as part of a program or library that
17152 # is built using GNU Libtool, you may include this file under the
17153 # same distribution terms that you use for the rest of that program.
17155 # GNU Libtool is distributed in the hope that it will be useful,
17156 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17157 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17158 # GNU General Public License for more details.
17160 # You should have received a copy of the GNU General Public License
17161 # along with GNU Libtool; see the file COPYING. If not, a copy
17162 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17163 # obtained by writing to the Free Software Foundation, Inc.,
17164 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17167 # The names of the tagged configurations supported by this script.
17168 available_tags="CXX "
17170 # ### BEGIN LIBTOOL CONFIG
17172 # Which release of libtool.m4 was used?
17173 macro_version=$macro_version
17174 macro_revision=$macro_revision
17176 # Whether or not to build shared libraries.
17177 build_libtool_libs=$enable_shared
17179 # Whether or not to build static libraries.
17180 build_old_libs=$enable_static
17182 # What type of objects to build.
17185 # Whether or not to optimize for fast installation.
17186 fast_install=$enable_fast_install
17188 # Shell to use when invoking shell scripts.
17191 # An echo program that protects backslashes.
17195 host_alias=$host_alias
17199 # The build system.
17200 build_alias=$build_alias
17204 # A sed program that does not truncate output.
17207 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17208 Xsed="\$SED -e 1s/^X//"
17210 # A grep program that handles long lines.
17216 # A literal string matcher.
17219 # A BSD- or MS-compatible name lister.
17222 # Whether we need soft or hard links.
17225 # What is the maximum length of a command?
17226 max_cmd_len=$max_cmd_len
17228 # Object file suffix (normally "o").
17231 # Executable file suffix (normally "").
17234 # whether the shell understands "unset".
17237 # turn spaces into newlines.
17240 # turn newlines into spaces.
17243 # An object symbol dumper.
17244 OBJDUMP=$lt_OBJDUMP
17246 # Method to check whether dependent libraries are shared objects.
17247 deplibs_check_method=$lt_deplibs_check_method
17249 # Command to use when deplibs_check_method == "file_magic".
17250 file_magic_cmd=$lt_file_magic_cmd
17254 AR_FLAGS=$lt_AR_FLAGS
17256 # A symbol stripping program.
17259 # Commands used to install an old-style archive.
17261 old_postinstall_cmds=$lt_old_postinstall_cmds
17262 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17264 # Whether to use a lock for old archive extraction.
17265 lock_old_archive_extraction=$lock_old_archive_extraction
17270 # LTCC compiler flags.
17271 LTCFLAGS=$lt_CFLAGS
17273 # Take the output of nm and produce a listing of raw symbols and C names.
17274 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17276 # Transform the output of nm in a proper C declaration.
17277 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17279 # Transform the output of nm in a C name address pair.
17280 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17282 # Transform the output of nm in a C name address pair when lib prefix is needed.
17283 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17285 # The name of the directory that contains temporary libtool files.
17288 # Used to examine libraries when file_magic_cmd begins with "file".
17289 MAGIC_CMD=$MAGIC_CMD
17291 # Must we lock files when doing compilation?
17292 need_locks=$lt_need_locks
17294 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17295 DSYMUTIL=$lt_DSYMUTIL
17297 # Tool to change global to local symbols on Mac OS X.
17300 # Tool to manipulate fat objects and archives on Mac OS X.
17303 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17306 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17307 OTOOL64=$lt_OTOOL64
17309 # Old archive suffix (normally "a").
17312 # Shared library suffix (normally ".so").
17313 shrext_cmds=$lt_shrext_cmds
17315 # The commands to extract the exported symbol list from a shared archive.
17316 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17318 # Variables whose values should be saved in libtool wrapper scripts and
17319 # restored at link time.
17320 variables_saved_for_relink=$lt_variables_saved_for_relink
17322 # Do we need the "lib" prefix for modules?
17323 need_lib_prefix=$need_lib_prefix
17325 # Do we need a version for libraries?
17326 need_version=$need_version
17328 # Library versioning type.
17329 version_type=$version_type
17331 # Shared library runtime path variable.
17332 runpath_var=$runpath_var
17334 # Shared library path variable.
17335 shlibpath_var=$shlibpath_var
17337 # Is shlibpath searched before the hard-coded library search path?
17338 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17340 # Format of library name prefix.
17341 libname_spec=$lt_libname_spec
17343 # List of archive names. First name is the real one, the rest are links.
17344 # The last name is the one that the linker finds with -lNAME
17345 library_names_spec=$lt_library_names_spec
17347 # The coded name of the library, if different from the real name.
17348 soname_spec=$lt_soname_spec
17350 # Permission mode override for installation of shared libraries.
17351 install_override_mode=$lt_install_override_mode
17353 # Command to use after installation of a shared archive.
17354 postinstall_cmds=$lt_postinstall_cmds
17356 # Command to use after uninstallation of a shared archive.
17357 postuninstall_cmds=$lt_postuninstall_cmds
17359 # Commands used to finish a libtool library installation in a directory.
17360 finish_cmds=$lt_finish_cmds
17362 # As "finish_cmds", except a single script fragment to be evaled but
17364 finish_eval=$lt_finish_eval
17366 # Whether we should hardcode library paths into libraries.
17367 hardcode_into_libs=$hardcode_into_libs
17369 # Compile-time system search path for libraries.
17370 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17372 # Run-time system search path for libraries.
17373 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17375 # Whether dlopen is supported.
17376 dlopen_support=$enable_dlopen
17378 # Whether dlopen of programs is supported.
17379 dlopen_self=$enable_dlopen_self
17381 # Whether dlopen of statically linked programs is supported.
17382 dlopen_self_static=$enable_dlopen_self_static
17384 # Commands to strip libraries.
17385 old_striplib=$lt_old_striplib
17386 striplib=$lt_striplib
17389 # The linker used to build libraries.
17392 # How to create reloadable object files.
17393 reload_flag=$lt_reload_flag
17394 reload_cmds=$lt_reload_cmds
17396 # Commands used to build an old-style archive.
17397 old_archive_cmds=$lt_old_archive_cmds
17399 # A language specific compiler.
17402 # Is the compiler the GNU compiler?
17405 # Compiler flag to turn off builtin functions.
17406 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17408 # How to pass a linker flag through the compiler.
17409 wl=$lt_lt_prog_compiler_wl
17411 # Additional compiler flags for building library objects.
17412 pic_flag=$lt_lt_prog_compiler_pic
17414 # Compiler flag to prevent dynamic linking.
17415 link_static_flag=$lt_lt_prog_compiler_static
17417 # Does compiler simultaneously support -c and -o options?
17418 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17420 # Whether or not to add -lc for building shared libraries.
17421 build_libtool_need_lc=$archive_cmds_need_lc
17423 # Whether or not to disallow shared libs when runtime libs are static.
17424 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17426 # Compiler flag to allow reflexive dlopens.
17427 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17429 # Compiler flag to generate shared objects directly from archives.
17430 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17432 # Whether the compiler copes with passing no objects directly.
17433 compiler_needs_object=$lt_compiler_needs_object
17435 # Create an old-style archive from a shared archive.
17436 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17438 # Create a temporary old-style archive to link instead of a shared archive.
17439 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17441 # Commands used to build a shared archive.
17442 archive_cmds=$lt_archive_cmds
17443 archive_expsym_cmds=$lt_archive_expsym_cmds
17445 # Commands used to build a loadable module if different from building
17446 # a shared archive.
17447 module_cmds=$lt_module_cmds
17448 module_expsym_cmds=$lt_module_expsym_cmds
17450 # Whether we are building with GNU ld or not.
17451 with_gnu_ld=$lt_with_gnu_ld
17453 # Flag that allows shared libraries with undefined symbols to be built.
17454 allow_undefined_flag=$lt_allow_undefined_flag
17456 # Flag that enforces no undefined symbols.
17457 no_undefined_flag=$lt_no_undefined_flag
17459 # Flag to hardcode \$libdir into a binary during linking.
17460 # This must work even if \$libdir does not exist
17461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17463 # If ld is used when linking, flag to hardcode \$libdir into a binary
17464 # during linking. This must work even if \$libdir does not exist.
17465 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17467 # Whether we need a single "-rpath" flag with a separated argument.
17468 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17470 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17471 # DIR into the resulting binary.
17472 hardcode_direct=$hardcode_direct
17474 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17475 # DIR into the resulting binary and the resulting library dependency is
17476 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17477 # library is relocated.
17478 hardcode_direct_absolute=$hardcode_direct_absolute
17480 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17481 # into the resulting binary.
17482 hardcode_minus_L=$hardcode_minus_L
17484 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17485 # into the resulting binary.
17486 hardcode_shlibpath_var=$hardcode_shlibpath_var
17488 # Set to "yes" if building a shared library automatically hardcodes DIR
17489 # into the library and all subsequent libraries and executables linked
17491 hardcode_automatic=$hardcode_automatic
17493 # Set to yes if linker adds runtime paths of dependent libraries
17494 # to runtime path list.
17495 inherit_rpath=$inherit_rpath
17497 # Whether libtool must link a program against all its dependency libraries.
17498 link_all_deplibs=$link_all_deplibs
17500 # Fix the shell variable \$srcfile for the compiler.
17501 fix_srcfile_path=$lt_fix_srcfile_path
17503 # Set to "yes" if exported symbols are required.
17504 always_export_symbols=$always_export_symbols
17506 # The commands to list exported symbols.
17507 export_symbols_cmds=$lt_export_symbols_cmds
17509 # Symbols that should not be listed in the preloaded symbols.
17510 exclude_expsyms=$lt_exclude_expsyms
17512 # Symbols that must always be exported.
17513 include_expsyms=$lt_include_expsyms
17515 # Commands necessary for linking programs (against libraries) with templates.
17516 prelink_cmds=$lt_prelink_cmds
17518 # Specify filename containing input files.
17519 file_list_spec=$lt_file_list_spec
17521 # How to hardcode a shared library path into an executable.
17522 hardcode_action=$hardcode_action
17524 # The directories searched by this compiler when creating a shared library.
17525 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17527 # Dependencies to place before and after the objects being linked to
17528 # create a shared library.
17529 predep_objects=$lt_predep_objects
17530 postdep_objects=$lt_postdep_objects
17531 predeps=$lt_predeps
17532 postdeps=$lt_postdeps
17534 # The library search path used internally by the compiler when linking
17535 # a shared library.
17536 compiler_lib_search_path=$lt_compiler_lib_search_path
17538 # ### END LIBTOOL CONFIG
17544 cat <<\_LT_EOF
>> "$cfgfile"
17545 # AIX sometimes has problems with the GCC collect2 program. For some
17546 # reason, if we set the COLLECT_NAMES environment variable, the problems
17547 # vanish in a puff of smoke.
17548 if test "X${COLLECT_NAMES+set}" != Xset
; then
17550 export COLLECT_NAMES
17557 ltmain
="$ac_aux_dir/ltmain.sh"
17560 # We use sed instead of cat because bash on DJGPP gets confused if
17561 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17562 # text mode, it properly converts lines to CR/LF. This bash problem
17563 # is reportedly fixed, but why not run on old versions too?
17564 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17565 ||
(rm -f "$cfgfile"; exit 1)
17569 cat << \_LT_EOF
>> "$cfgfile"
17571 # func_dirname file append nondir_replacement
17572 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17573 # otherwise set result to NONDIR_REPLACEMENT.
17577 */*) func_dirname_result
="${1%/*}${2}" ;;
17578 * ) func_dirname_result
="${3}" ;;
17582 # func_basename file
17585 func_basename_result
="${1##*/}"
17588 # func_dirname_and_basename file append nondir_replacement
17589 # perform func_basename and func_dirname in a single function
17591 # dirname: Compute the dirname of FILE. If nonempty,
17592 # add APPEND to the result, otherwise set result
17593 # to NONDIR_REPLACEMENT.
17594 # value returned in "$func_dirname_result"
17595 # basename: Compute filename of FILE.
17596 # value retuned in "$func_basename_result"
17597 # Implementation must be kept synchronized with func_dirname
17598 # and func_basename. For efficiency, we do not delegate to
17599 # those functions but instead duplicate the functionality here.
17600 func_dirname_and_basename
()
17603 */*) func_dirname_result
="${1%/*}${2}" ;;
17604 * ) func_dirname_result
="${3}" ;;
17606 func_basename_result
="${1##*/}"
17609 # func_stripname prefix suffix name
17610 # strip PREFIX and SUFFIX off of NAME.
17611 # PREFIX and SUFFIX must not contain globbing or regex special
17612 # characters, hashes, percent signs, but SUFFIX may contain a leading
17613 # dot (in which case that matches only a dot).
17616 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17617 # positional parameters, so assign one to ordinary parameter first.
17618 func_stripname_result
=${3}
17619 func_stripname_result
=${func_stripname_result#"${1}"}
17620 func_stripname_result
=${func_stripname_result%"${2}"}
17626 func_opt_split_opt
=${1%%=*}
17627 func_opt_split_arg
=${1#*=}
17634 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17635 *) func_lo2o_result
=${1} ;;
17639 # func_xform libobj-or-source
17642 func_xform_result
=${1%.*}.lo
17645 # func_arith arithmetic-term...
17648 func_arith_result
=$
(( $
* ))
17652 # STRING may not start with a hyphen.
17655 func_len_result
=${#1}
17660 *) # Bourne compatible functions.
17661 cat << \_LT_EOF
>> "$cfgfile"
17663 # func_dirname file append nondir_replacement
17664 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17665 # otherwise set result to NONDIR_REPLACEMENT.
17668 # Extract subdirectory from the argument.
17669 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17670 if test "X$func_dirname_result" = "X${1}"; then
17671 func_dirname_result
="${3}"
17673 func_dirname_result
="$func_dirname_result${2}"
17677 # func_basename file
17680 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17684 # func_stripname prefix suffix name
17685 # strip PREFIX and SUFFIX off of NAME.
17686 # PREFIX and SUFFIX must not contain globbing or regex special
17687 # characters, hashes, percent signs, but SUFFIX may contain a leading
17688 # dot (in which case that matches only a dot).
17689 # func_strip_suffix prefix name
17693 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17694 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17699 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17700 my_sed_long_arg
='1s/^-[^=]*=//'
17705 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17706 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17712 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17715 # func_xform libobj-or-source
17718 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17721 # func_arith arithmetic-term...
17724 func_arith_result
=`expr "$@"`
17728 # STRING may not start with a hyphen.
17731 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17737 case $lt_shell_append in
17739 cat << \_LT_EOF
>> "$cfgfile"
17741 # func_append var value
17742 # Append VALUE to the end of shell variable VAR.
17750 cat << \_LT_EOF
>> "$cfgfile"
17752 # func_append var value
17753 # Append VALUE to the end of shell variable VAR.
17764 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17765 ||
(rm -f "$cfgfile"; exit 1)
17767 mv -f "$cfgfile" "$ofile" ||
17768 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17772 cat <<_LT_EOF >> "$ofile"
17774 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17776 # The linker used to build libraries.
17779 # How to create reloadable object files.
17780 reload_flag=$lt_reload_flag_CXX
17781 reload_cmds=$lt_reload_cmds_CXX
17783 # Commands used to build an old-style archive.
17784 old_archive_cmds=$lt_old_archive_cmds_CXX
17786 # A language specific compiler.
17787 CC=$lt_compiler_CXX
17789 # Is the compiler the GNU compiler?
17792 # Compiler flag to turn off builtin functions.
17793 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17795 # How to pass a linker flag through the compiler.
17796 wl=$lt_lt_prog_compiler_wl_CXX
17798 # Additional compiler flags for building library objects.
17799 pic_flag=$lt_lt_prog_compiler_pic_CXX
17801 # Compiler flag to prevent dynamic linking.
17802 link_static_flag=$lt_lt_prog_compiler_static_CXX
17804 # Does compiler simultaneously support -c and -o options?
17805 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17807 # Whether or not to add -lc for building shared libraries.
17808 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17810 # Whether or not to disallow shared libs when runtime libs are static.
17811 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17813 # Compiler flag to allow reflexive dlopens.
17814 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17816 # Compiler flag to generate shared objects directly from archives.
17817 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17819 # Whether the compiler copes with passing no objects directly.
17820 compiler_needs_object=$lt_compiler_needs_object_CXX
17822 # Create an old-style archive from a shared archive.
17823 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17825 # Create a temporary old-style archive to link instead of a shared archive.
17826 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17828 # Commands used to build a shared archive.
17829 archive_cmds=$lt_archive_cmds_CXX
17830 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17832 # Commands used to build a loadable module if different from building
17833 # a shared archive.
17834 module_cmds=$lt_module_cmds_CXX
17835 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17837 # Whether we are building with GNU ld or not.
17838 with_gnu_ld=$lt_with_gnu_ld_CXX
17840 # Flag that allows shared libraries with undefined symbols to be built.
17841 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17843 # Flag that enforces no undefined symbols.
17844 no_undefined_flag=$lt_no_undefined_flag_CXX
17846 # Flag to hardcode \$libdir into a binary during linking.
17847 # This must work even if \$libdir does not exist
17848 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17850 # If ld is used when linking, flag to hardcode \$libdir into a binary
17851 # during linking. This must work even if \$libdir does not exist.
17852 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17854 # Whether we need a single "-rpath" flag with a separated argument.
17855 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17857 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17858 # DIR into the resulting binary.
17859 hardcode_direct=$hardcode_direct_CXX
17861 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17862 # DIR into the resulting binary and the resulting library dependency is
17863 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17864 # library is relocated.
17865 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17867 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17868 # into the resulting binary.
17869 hardcode_minus_L=$hardcode_minus_L_CXX
17871 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17872 # into the resulting binary.
17873 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17875 # Set to "yes" if building a shared library automatically hardcodes DIR
17876 # into the library and all subsequent libraries and executables linked
17878 hardcode_automatic=$hardcode_automatic_CXX
17880 # Set to yes if linker adds runtime paths of dependent libraries
17881 # to runtime path list.
17882 inherit_rpath=$inherit_rpath_CXX
17884 # Whether libtool must link a program against all its dependency libraries.
17885 link_all_deplibs=$link_all_deplibs_CXX
17887 # Fix the shell variable \$srcfile for the compiler.
17888 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17890 # Set to "yes" if exported symbols are required.
17891 always_export_symbols=$always_export_symbols_CXX
17893 # The commands to list exported symbols.
17894 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17896 # Symbols that should not be listed in the preloaded symbols.
17897 exclude_expsyms=$lt_exclude_expsyms_CXX
17899 # Symbols that must always be exported.
17900 include_expsyms=$lt_include_expsyms_CXX
17902 # Commands necessary for linking programs (against libraries) with templates.
17903 prelink_cmds=$lt_prelink_cmds_CXX
17905 # Specify filename containing input files.
17906 file_list_spec=$lt_file_list_spec_CXX
17908 # How to hardcode a shared library path into an executable.
17909 hardcode_action=$hardcode_action_CXX
17911 # The directories searched by this compiler when creating a shared library.
17912 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17914 # Dependencies to place before and after the objects being linked to
17915 # create a shared library.
17916 predep_objects=$lt_predep_objects_CXX
17917 postdep_objects=$lt_postdep_objects_CXX
17918 predeps=$lt_predeps_CXX
17919 postdeps=$lt_postdeps_CXX
17921 # The library search path used internally by the compiler when linking
17922 # a shared library.
17923 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17925 # ### END LIBTOOL TAG CONFIG: CXX
17929 "./Makefile":F
) cat > vpsed$$
<< \_EOF
17930 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17932 sed -f vpsed$$
$ac_file > tmp$$
17935 echo 'MULTISUBDIR =' >> $ac_file
17937 .
${multi_basedir}/config-ml.
in
17938 { ml_norecursion
=; unset ml_norecursion
;}
17940 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17941 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17943 sed -f vpsed$$
$ac_file > tmp$$
17946 echo 'MULTISUBDIR =' >> $ac_file
17948 .
${multi_basedir}/config-ml.
in
17949 { ml_norecursion
=; unset ml_norecursion
;}
17958 ac_clean_files
=$ac_clean_files_save
17960 test $ac_write_fail = 0 ||
17961 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17964 # configure is writing to config.log, and then calls config.status.
17965 # config.status does its own redirection, appending to config.log.
17966 # Unfortunately, on DOS this fails, as config.log is still kept open
17967 # by configure, so config.status won't be able to write to it; its
17968 # output is simply discarded. So we exec the FD to /dev/null,
17969 # effectively closing config.log, so it can be properly (re)opened and
17970 # appended to by config.status. When coming back to configure, we
17971 # need to make the FD available again.
17972 if test "$no_create" != yes; then
17974 ac_config_status_args
=
17975 test "$silent" = yes &&
17976 ac_config_status_args
="$ac_config_status_args --quiet"
17978 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17980 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17981 # would make configure fail if this is the last instruction.
17982 $ac_cs_success || as_fn_exit $?
17984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17986 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}