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 ENABLE_VTABLE_VERIFY_FALSE
688 ENABLE_VTABLE_VERIFY_TRUE
689 LIBSTDCXX_RAW_CXX_LDFLAGS
690 LIBSTDCXX_RAW_CXX_CXXFLAGS
731 program_transform_name
744 enable_option_checking
745 enable_version_specific_runtime_libs
748 enable_maintainer_mode
749 enable_dependency_tracking
757 ac_precious_vars
='build_alias
769 # Initialize some variables set by options.
771 ac_init_version
=false
772 ac_unrecognized_opts
=
774 # The variables have the same names as the options, with
775 # dashes changed to underlines.
783 program_transform_name
=s
,x
,x
,
791 # Installation directory options.
792 # These are left unexpanded so users can "make install exec_prefix=/foo"
793 # and all the variables that are supposed to be based on exec_prefix
794 # by default will actually change.
795 # Use braces instead of parens because sh, perl, etc. also accept them.
796 # (The list follows the same order as the GNU Coding Standards.)
797 bindir
='${exec_prefix}/bin'
798 sbindir
='${exec_prefix}/sbin'
799 libexecdir
='${exec_prefix}/libexec'
800 datarootdir
='${prefix}/share'
801 datadir
='${datarootdir}'
802 sysconfdir
='${prefix}/etc'
803 sharedstatedir
='${prefix}/com'
804 localstatedir
='${prefix}/var'
805 includedir
='${prefix}/include'
806 oldincludedir
='/usr/include'
807 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
808 infodir
='${datarootdir}/info'
813 libdir
='${exec_prefix}/lib'
814 localedir
='${datarootdir}/locale'
815 mandir
='${datarootdir}/man'
821 # If the previous option needs an argument, assign it.
822 if test -n "$ac_prev"; then
823 eval $ac_prev=\
$ac_option
829 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 # Accept the important Cygnus configure options, so we can diagnose typos.
835 case $ac_dashdash$ac_option in
839 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
841 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
844 -build |
--build |
--buil |
--bui |
--bu)
845 ac_prev
=build_alias
;;
846 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
847 build_alias
=$ac_optarg ;;
849 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
850 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
851 ac_prev
=cache_file
;;
852 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
853 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
854 cache_file
=$ac_optarg ;;
857 cache_file
=config.cache
;;
859 -datadir |
--datadir |
--datadi |
--datad)
861 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
862 datadir
=$ac_optarg ;;
864 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
865 |
--dataroo |
--dataro |
--datar)
866 ac_prev
=datarootdir
;;
867 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
868 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
869 datarootdir
=$ac_optarg ;;
871 -disable-* |
--disable-*)
872 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
875 as_fn_error
"invalid feature name: $ac_useropt"
876 ac_useropt_orig
=$ac_useropt
877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883 ac_unrecognized_sep
=', ';;
885 eval enable_
$ac_useropt=no
;;
887 -docdir |
--docdir |
--docdi |
--doc |
--do)
889 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
892 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
894 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
897 -enable-* |
--enable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 as_fn_error
"invalid feature name: $ac_useropt"
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=\
$ac_optarg ;;
913 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
914 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
915 |
--exec |
--exe |
--ex)
916 ac_prev
=exec_prefix
;;
917 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
918 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
919 |
--exec=* |
--exe=* |
--ex=*)
920 exec_prefix
=$ac_optarg ;;
922 -gas |
--gas |
--ga |
--g)
923 # Obsolete; use --with-gas.
926 -help |
--help |
--hel |
--he |
-h)
928 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
929 ac_init_help
=recursive
;;
930 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
931 ac_init_help
=short
;;
933 -host |
--host |
--hos |
--ho)
934 ac_prev
=host_alias
;;
935 -host=* |
--host=* |
--hos=* |
--ho=*)
936 host_alias
=$ac_optarg ;;
938 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
940 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
942 htmldir
=$ac_optarg ;;
944 -includedir |
--includedir |
--includedi |
--included |
--include \
945 |
--includ |
--inclu |
--incl |
--inc)
946 ac_prev
=includedir
;;
947 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
948 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
949 includedir
=$ac_optarg ;;
951 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
953 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
954 infodir
=$ac_optarg ;;
956 -libdir |
--libdir |
--libdi |
--libd)
958 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
961 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
962 |
--libexe |
--libex |
--libe)
963 ac_prev
=libexecdir
;;
964 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
965 |
--libexe=* |
--libex=* |
--libe=*)
966 libexecdir
=$ac_optarg ;;
968 -localedir |
--localedir |
--localedi |
--localed |
--locale)
970 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
971 localedir
=$ac_optarg ;;
973 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
974 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
975 ac_prev
=localstatedir
;;
976 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
977 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
978 localstatedir
=$ac_optarg ;;
980 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
982 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
986 # Obsolete; use --without-fp.
989 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
990 |
--no-cr |
--no-c |
-n)
993 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
994 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
997 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
998 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
999 |
--oldin |
--oldi |
--old |
--ol |
--o)
1000 ac_prev
=oldincludedir
;;
1001 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1002 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1003 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1004 oldincludedir
=$ac_optarg ;;
1006 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1008 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1009 prefix
=$ac_optarg ;;
1011 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1012 |
--program-pre |
--program-pr |
--program-p)
1013 ac_prev
=program_prefix
;;
1014 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1015 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1016 program_prefix
=$ac_optarg ;;
1018 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1019 |
--program-suf |
--program-su |
--program-s)
1020 ac_prev
=program_suffix
;;
1021 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1022 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1023 program_suffix
=$ac_optarg ;;
1025 -program-transform-name |
--program-transform-name \
1026 |
--program-transform-nam |
--program-transform-na \
1027 |
--program-transform-n |
--program-transform- \
1028 |
--program-transform |
--program-transfor \
1029 |
--program-transfo |
--program-transf \
1030 |
--program-trans |
--program-tran \
1031 |
--progr-tra |
--program-tr |
--program-t)
1032 ac_prev
=program_transform_name
;;
1033 -program-transform-name=* |
--program-transform-name=* \
1034 |
--program-transform-nam=* |
--program-transform-na=* \
1035 |
--program-transform-n=* |
--program-transform-=* \
1036 |
--program-transform=* |
--program-transfor=* \
1037 |
--program-transfo=* |
--program-transf=* \
1038 |
--program-trans=* |
--program-tran=* \
1039 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1040 program_transform_name
=$ac_optarg ;;
1042 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1044 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1045 pdfdir
=$ac_optarg ;;
1047 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1049 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=no
;;
1134 # Obsolete; use --with-x.
1137 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1138 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1139 ac_prev
=x_includes
;;
1140 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1141 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1142 x_includes
=$ac_optarg ;;
1144 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1145 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1146 ac_prev
=x_libraries
;;
1147 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1148 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1149 x_libraries
=$ac_optarg ;;
1151 -*) as_fn_error
"unrecognized option: \`$ac_option'
1152 Try \`$0 --help' for more information."
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 case $ac_envvar in #(
1159 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1160 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1162 eval $ac_envvar=\
$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1176 if test -n "$ac_prev"; then
1177 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1178 as_fn_error
"missing argument to $ac_option"
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir
1195 eval ac_val
=\$
$ac_var
1196 # Remove trailing slashes.
1199 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\
$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$
]* | ?
:[\\/]* ) continue;;
1205 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1207 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1210 # There might be people who depend on the old broken behavior: `$host'
1211 # used to hold the argument of --host etc.
1212 # FIXME: To remove some day.
1215 target
=$target_alias
1217 # FIXME: To remove some day.
1218 if test "x$host_alias" != x
; then
1219 if test "x$build_alias" = x
; then
1220 cross_compiling
=maybe
1221 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1222 If a cross compiler is detected then cross compile mode will be used." >&2
1223 elif test "x$build_alias" != "x$host_alias"; then
1229 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1231 test "$silent" = yes && exec 6>/dev
/null
1234 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di
=`ls -di .` &&
1236 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error
"working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error
"pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted
=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir
=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted
=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1278 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1292 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 for ac_var
in $ac_precious_vars; do
1295 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1297 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1308 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 By default, \`make install' will install all the files in
1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337 for instance \`--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1371 --build=BUILD configure
for building on BUILD
[guessed
]
1372 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1373 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1384 --disable-option-checking ignore unrecognized
--enable/--with options
1385 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1386 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1387 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1388 --enable-vtable-verify Enable vtable verification feature
1389 --enable-multilib build many library versions
(default
)
1390 --enable-maintainer-mode enable make rules and dependencies not useful
1391 (and sometimes confusing
) to the casual installer
1392 --disable-dependency-tracking speeds up one-time build
1393 --enable-dependency-tracking do not reject slow dependency extractors
1394 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1395 --enable-static[=PKGS
] build static libraries
[default
=yes]
1396 --enable-fast-install[=PKGS
]
1397 optimize
for fast installation
[default
=yes]
1398 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1401 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1402 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1403 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1405 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1407 Some influential environment variables
:
1408 CC C compiler
command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1411 nonstandard directory
<lib dir
>
1412 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1413 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1414 you have headers
in a nonstandard directory
<include dir
>
1416 CXX C
++ compiler
command
1417 CXXFLAGS C
++ compiler flags
1418 CXXCPP C
++ preprocessor
1420 Use these variables to override the choices made by
`configure' or to help
1421 it to find libraries and programs with nonstandard names/locations.
1423 Report bugs to the package provider.
1424 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1425 General help using GNU software: <http://www.gnu.org/gethelp/>.
1430 if test "$ac_init_help" = "recursive"; then
1431 # If there are subdirs, report their specific --help.
1432 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1433 test -d "$ac_dir" ||
1434 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1442 # A ".." for each directory in $ac_dir_suffix.
1443 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1444 case $ac_top_builddir_sub in
1445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449 ac_abs_top_builddir=$ac_pwd
1450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1451 # for backward compatibility:
1452 ac_top_builddir=$ac_top_build_prefix
1455 .) # We are building in place.
1457 ac_top_srcdir=$ac_top_builddir_sub
1458 ac_abs_top_srcdir=$ac_pwd ;;
1459 [\\/]* | ?:[\\/]* ) # Absolute name.
1460 ac_srcdir=$srcdir$ac_dir_suffix;
1461 ac_top_srcdir=$srcdir
1462 ac_abs_top_srcdir=$srcdir ;;
1464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1465 ac_top_srcdir=$ac_top_build_prefix$srcdir
1466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1470 cd "$ac_dir" || { ac_status=$?; continue; }
1471 # Check for guested configure.
1472 if test -f "$ac_srcdir/configure.gnu"; then
1474 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1475 elif test -f "$ac_srcdir/configure"; then
1477 $SHELL "$ac_srcdir/configure" --help=recursive
1479 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481 cd "$ac_pwd" || { ac_status=$?; break; }
1485 test -n "$ac_init_help" && exit $ac_status
1486 if $ac_init_version; then
1488 GNU Vtable Verification Runtime Library configure 1.0
1489 generated by GNU Autoconf 2.64
1491 Copyright (C) 2009 Free Software Foundation, Inc.
1492 This configure script is free software; the Free Software Foundation
1493 gives unlimited permission to copy, distribute and modify it.
1498 ## ------------------------ ##
1499 ## Autoconf initialization. ##
1500 ## ------------------------ ##
1502 # ac_fn_c_try_compile LINENO
1503 # --------------------------
1504 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1505 ac_fn_c_try_compile ()
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 rm -f conftest.$ac_objext
1509 if { { ac_try="$ac_compile"
1511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1512 *) ac_try_echo
=$ac_try;;
1514 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_compile") 2>conftest.err
1518 if test -s conftest.err
; then
1519 grep -v '^ *+' conftest.err
>conftest.er1
1520 cat conftest.er1
>&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } && {
1525 test -z "$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1527 } && test -s conftest.
$ac_objext; then :
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.
$ac_ext >&5
1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1538 } # ac_fn_c_try_compile
1540 # ac_fn_c_try_cpp LINENO
1541 # ----------------------
1542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1545 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1546 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } >/dev/null && {
1562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1578 # -------------------------------------------------------
1579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1580 # the include files in INCLUDES and setting the cache variable VAR
1582 ac_fn_c_check_header_mongrel ()
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1589 $as_echo_n "(cached) " >&6
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1593 $as_echo "$ac_res" >&6; }
1595 # Is the header compilable?
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1597 $as_echo_n "checking $2 usability... " >&6; }
1598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1599 /* end confdefs.h. */
1603 if ac_fn_c_try_compile "$LINENO"; then :
1604 ac_header_compiler=yes
1606 ac_header_compiler=no
1608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1610 $as_echo "$ac_header_compiler" >&6; }
1612 # Is the header present?
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1614 $as_echo_n "checking $2 presence... " >&6; }
1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1619 if ac_fn_c_try_cpp "$LINENO"; then :
1620 ac_header_preproc=yes
1622 ac_header_preproc=no
1624 rm -f conftest.err conftest.$ac_ext
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1626 $as_echo "$ac_header_preproc" >&6; }
1628 # So? What about this header?
1629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1640 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1644 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1652 $as_echo_n "(cached) " >&6
1654 eval "$3=\$ac_header_compiler"
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 } # ac_fn_c_check_header_mongrel
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1682 { { case "(($ac_try" in
1683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_try") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; }; }; then :
1694 $as_echo "$as_me: program exited with status $ac_status" >&5
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=$ac_status
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists and can be compiled using the include files in
1709 # INCLUDES, setting the cache variable VAR accordingly.
1710 ac_fn_c_check_header_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1716 $as_echo_n "(cached) " >&6
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 } # ac_fn_c_check_header_compile
1737 # ac_fn_c_try_link LINENO
1738 # -----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext conftest$ac_exeext
1744 if { { ac_try="$ac_link"
1746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>conftest.err
1753 if test -s conftest.err
; then
1754 grep -v '^ *+' conftest.err
>conftest.er1
1755 cat conftest.er1
>&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest
$ac_exeext && {
1763 test "$cross_compiling" = yes ||
1764 $as_test_x conftest
$ac_exeext
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1775 # interfere with the next link command; also delete a directory that is
1776 # left behind by Apple's compiler. We do this before executing the actions.
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 } # ac_fn_c_try_link
1783 # ac_fn_c_check_func LINENO FUNC VAR
1784 # ----------------------------------
1785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1786 ac_fn_c_check_func
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1792 $as_echo_n "(cached) " >&6
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1798 #define $2 innocuous_$2
1800 /* System header to define __stub macros and hopefully few prototypes,
1801 which can conflict with char $2 (); below.
1802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1803 <limits.h> exists even on freestanding compilers. */
1806 # include <limits.h>
1808 # include <assert.h>
1813 /* Override any GCC internal prototype to avoid an error.
1814 Use char because int might match the return type of a GCC
1815 builtin and then its argument prototype would still apply. */
1820 /* The GNU C library defines this for functions which it implements
1821 to always fail with ENOSYS. Some functions are actually named
1822 something starting with __ and the normal name is an alias. */
1823 #if defined __stub_$2 || defined __stub___$2
1835 if ac_fn_c_try_link
"$LINENO"; then :
1840 rm -f core conftest.err conftest.
$ac_objext \
1841 conftest
$ac_exeext conftest.
$ac_ext
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1848 } # ac_fn_c_check_func
1850 # ac_fn_cxx_try_compile LINENO
1851 # ----------------------------
1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_cxx_try_compile
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 rm -f conftest.
$ac_objext
1857 if { { ac_try
="$ac_compile"
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_compile") 2>conftest.err
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && {
1873 test -z "$ac_cxx_werror_flag" ||
1874 test ! -s conftest.err
1875 } && test -s conftest.$ac_objext; then :
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_cxx_try_compile
1888 # ac_fn_cxx_try_cpp LINENO
1889 # ------------------------
1890 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1891 ac_fn_cxx_try_cpp ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 if { { ac_try="$ac_cpp conftest.$ac_ext"
1896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1897 *) ac_try_echo
=$ac_try;;
1899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1903 if test -s conftest.err
; then
1904 grep -v '^ *+' conftest.err
>conftest.er1
1905 cat conftest.er1
>&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } >/dev
/null
&& {
1910 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1911 test ! -s conftest.err
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.
$ac_ext >&5
1920 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1923 } # ac_fn_cxx_try_cpp
1925 # ac_fn_cxx_try_link LINENO
1926 # -------------------------
1927 # Try to link conftest.$ac_ext, and return whether this succeeded.
1928 ac_fn_cxx_try_link
()
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 rm -f conftest.
$ac_objext conftest
$ac_exeext
1932 if { { ac_try
="$ac_link"
1934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_link") 2>conftest.err
1941 if test -s conftest.err; then
1942 grep -v '^ *+' conftest.err >conftest.er1
1943 cat conftest.er1 >&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } && {
1948 test -z "$ac_cxx_werror_flag" ||
1949 test ! -s conftest.err
1950 } && test -s conftest$ac_exeext && {
1951 test "$cross_compiling" = yes ||
1952 $as_test_x conftest$ac_exeext
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1961 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1962 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1963 # interfere with the next link command; also delete a directory that is
1964 # left behind by Apple's compiler. We do this before executing the actions.
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1969 } # ac_fn_cxx_try_link
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1974 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1975 generated by GNU Autoconf 2.64. Invocation command line was
1987 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1988 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1989 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1990 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1991 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1993 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1994 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1996 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1997 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1998 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1999 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2000 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2001 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2002 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2035 ac_must_keep_next=false
2041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2046 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2049 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2051 as_fn_append ac_configure_args1 " '$ac_arg'"
2052 if test $ac_must_keep_next = true; then
2053 ac_must_keep_next=false # Got value, back to normal.
2056 *=* | --config-cache | -C | -disable-* | --disable-* \
2057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059 | -with-* | --with-* | -without-* | --without-* | --x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 -* ) ac_must_keep_next=true ;;
2067 as_fn_append ac_configure_args " '$ac_arg'"
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log. We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2086 ## ---------------- ##
2087 ## Cache variables. ##
2088 ## ---------------- ##
2091 # The following way of writing the cache mishandles newlines in values,
2093 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2094 eval ac_val=\$$ac_var
2098 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2099 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2102 _ | IFS | as_nl) ;; #(
2103 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2104 *) { eval $ac_var=; unset $ac_var;} ;;
2109 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2110 *${as_nl}ac_space=\ *)
2112 "s/'\''/'\''\\\\'\'''\''/g;
2113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2124 ## ----------------- ##
2125 ## Output variables. ##
2126 ## ----------------- ##
2129 for ac_var in $ac_subst_vars
2131 eval ac_val=\$$ac_var
2133 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2135 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -n "$ac_subst_files"; then
2141 ## ------------------- ##
2142 ## File substitutions. ##
2143 ## ------------------- ##
2146 for ac_var in $ac_subst_files
2148 eval ac_val=\$$ac_var
2150 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2152 $as_echo "$ac_var='\''$ac_val'\''"
2157 if test -s confdefs.h; then
2167 test "$ac_signal" != 0 &&
2168 $as_echo "$as_me: caught signal $ac_signal"
2169 $as_echo "$as_me: exit $exit_status"
2171 rm -f core *.core core.conftest.* &&
2172 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2175 for ac_signal in 1 2 13 15; do
2176 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2181 rm -f -r conftest* confdefs.h
2183 $as_echo "/* confdefs.h */" > confdefs.h
2185 # Predefined preprocessor variables.
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_NAME "$PACKAGE_NAME"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_STRING "$PACKAGE_STRING"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_URL "$PACKAGE_URL"
2212 # Let the site file select an alternate cache file if it wants to.
2213 # Prefer an explicitly selected file to automatically selected ones.
2216 if test -n "$CONFIG_SITE"; then
2217 ac_site_file1=$CONFIG_SITE
2218 elif test "x$prefix" != xNONE; then
2219 ac_site_file1=$prefix/share/config.site
2220 ac_site_file2=$prefix/etc/config.site
2222 ac_site_file1=$ac_default_prefix/share/config.site
2223 ac_site_file2=$ac_default_prefix/etc/config.site
2225 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2227 test "x$ac_site_file" = xNONE && continue
2228 if test -r "$ac_site_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2230 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2236 if test -r "$cache_file"; then
2237 # Some versions of bash will fail to source /dev/null (special
2238 # files actually), so we avoid doing that.
2239 if test -f "$cache_file"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2241 $as_echo "$as_me: loading cache $cache_file" >&6;}
2243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244 *) . "./$cache_file";;
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2249 $as_echo "$as_me: creating cache $cache_file" >&6;}
2253 # Check that the precious variables saved in the cache have kept the same
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258 eval ac_new_set=\$ac_env_${ac_var}_set
2259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260 eval ac_new_val=\$ac_env_${ac_var}_value
2261 case $ac_old_set,$ac_new_set in
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2264 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2268 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2272 if test "x$ac_old_val" != "x$ac_new_val"; then
2273 # differences in whitespace do not lead to failure.
2274 ac_old_val_w=`echo x
$ac_old_val`
2275 ac_new_val_w=`echo x
$ac_new_val`
2276 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2279 ac_cache_corrupted=:
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2283 eval $ac_var=\$ac_old_val
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2286 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2288 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2291 # Pass precious variables to config.status.
2292 if test "$ac_new_set" = set; then
2294 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2295 *) ac_arg=$ac_var=$ac_new_val ;;
2297 case " $ac_configure_args " in
2298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2299 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2303 if $ac_cache_corrupted; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2308 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2310 ## -------------------- ##
2311 ## Main body of script. ##
2312 ## -------------------- ##
2315 ac_cpp='$CPP $CPPFLAGS'
2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2324 #AC_INIT(package-unused, version-unused, libvtv)
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2331 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2332 # Check whether --enable-version-specific-runtime-libs was given.
2333 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2334 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2335 yes) version_specific_libs=yes ;;
2336 no) version_specific_libs=no ;;
2337 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2340 version_specific_libs=no
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2344 $as_echo "$version_specific_libs" >&6; }
2346 # Do not delete or change the following two lines. For why, see
2347 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2349 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2350 for ac_t in install-sh install.sh shtool; do
2351 if test -f "$ac_dir/$ac_t"; then
2353 ac_install_sh="$ac_aux_dir/$ac_t -c"
2358 if test -z "$ac_aux_dir"; then
2359 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2362 # These three variables are undocumented and unsupported,
2363 # and are intended to be withdrawn in a future Autoconf release.
2364 # They can cause serious problems if a builder's source tree is in a directory
2365 # whose full name contains unusual characters.
2366 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2367 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2368 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2371 # Make sure we can run config.sub.
2372 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2373 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2376 $as_echo_n "checking build system type... " >&6; }
2377 if test "${ac_cv_build+set}" = set; then :
2378 $as_echo_n "(cached) " >&6
2380 ac_build_alias=$build_alias
2381 test "x$ac_build_alias" = x &&
2382 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2383 test "x$ac_build_alias" = x &&
2384 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2385 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2386 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2390 $as_echo "$ac_cv_build" >&6; }
2391 case $ac_cv_build in
2393 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2396 ac_save_IFS=$IFS; IFS='-'
2402 # Remember, the first character of IFS is used to create $*,
2403 # except with old shells:
2406 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2410 $as_echo_n "checking host system type... " >&6; }
2411 if test "${ac_cv_host+set}" = set; then :
2412 $as_echo_n "(cached) " >&6
2414 if test "x$host_alias" = x; then
2415 ac_cv_host=$ac_cv_build
2417 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2418 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2423 $as_echo "$ac_cv_host" >&6; }
2426 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2429 ac_save_IFS=$IFS; IFS='-'
2435 # Remember, the first character of IFS is used to create $*,
2436 # except with old shells:
2439 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2443 $as_echo_n "checking target system type... " >&6; }
2444 if test "${ac_cv_target+set}" = set; then :
2445 $as_echo_n "(cached) " >&6
2447 if test "x$target_alias" = x; then
2448 ac_cv_target=$ac_cv_host
2450 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2451 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2456 $as_echo "$ac_cv_target" >&6; }
2457 case $ac_cv_target in
2459 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2461 target=$ac_cv_target
2462 ac_save_IFS=$IFS; IFS='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2475 # The aliases save the names the user supplied, while $host etc.
2476 # will get canonicalized.
2477 test -n "$target_alias" &&
2478 test "$program_prefix$program_suffix$program_transform_name" = \
2480 program_prefix=${target_alias}-
2482 target_alias=${target_alias-$host_alias}
2484 case ${build_alias} in
2485 "") build_noncanonical=${build} ;;
2486 *) build_noncanonical=${build_alias} ;;
2489 case ${host_alias} in
2490 "") host_noncanonical=${build_noncanonical} ;;
2491 *) host_noncanonical=${host_alias} ;;
2494 case ${target_alias} in
2495 "") target_noncanonical=${host_noncanonical} ;;
2496 *) target_noncanonical=${target_alias} ;;
2503 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2504 -I\$(top_builddir)/../libstdc++-v3/include \
2505 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2506 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2507 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2508 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2513 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
2515 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
2516 # Check whether --enable-vtable-verify was given.
2517 if test "${enable_vtable_verify+set}" = set; then :
2518 enableval=$enable_vtable_verify; case "$enableval" in
2519 yes) enable_vtable_verify=yes ;;
2520 no) enable_vtable_verify=no ;;
2521 *) enable_vtable_verify=no;;
2524 enable_vtable_verify=no
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
2528 $as_echo "$enable_vtable_verify" >&6; }
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
2533 $as_echo_n "checking for host support for vtable verification... " >&6; }
2534 . ${srcdir}/configure.tgt
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
2536 $as_echo "$VTV_SUPPORTED" >&6; }
2538 # Decide if it's usable.
2539 use_vtable_verify=no
2540 if test "x$VTV_SUPPORTED" = "xyes"; then
2541 if test "x$enable_vtable_verify" = "xyes"; then
2542 use_vtable_verify=yes
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
2544 $as_echo "$as_me: using vtable verification" >&6;}
2547 if test $use_vtable_verify = yes; then
2548 ENABLE_VTABLE_VERIFY_TRUE=
2549 ENABLE_VTABLE_VERIFY_FALSE='#'
2551 ENABLE_VTABLE_VERIFY_TRUE='#'
2552 ENABLE_VTABLE_VERIFY_FALSE=
2556 am__api_version='1.11'
2558 # Find a good install program. We prefer a C program (faster),
2559 # so one script is as good as another. But avoid the broken or
2560 # incompatible versions:
2561 # SysV /etc/install, /usr/sbin/install
2562 # SunOS /usr/etc/install
2563 # IRIX /sbin/install
2565 # AmigaOS /C/install, which installs bootblocks on floppy discs
2566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569 # OS/2's system install, which has a completely different semantic
2570 # ./install, which can be erroneously created by make from ./install.sh.
2571 # Reject install programs that cannot install multiple files.
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2573 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2574 if test -z "$INSTALL"; then
2575 if test "${ac_cv_path_install+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 # Account for people who put trailing slashes in PATH elements.
2584 case $as_dir/ in #((
2585 ./ | .// | /[cC]/* | \
2586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2587 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2590 # OSF1 and SCO ODT 3.0 have their own names for install.
2591 # Don't use installbsd from OSF since it installs stuff as root
2593 for ac_prog in ginstall scoinst install; do
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2596 if test $ac_prog = install &&
2597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2598 # AIX install. It has an incompatible calling convention.
2600 elif test $ac_prog = install &&
2601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602 # program-specific install script used by HP pwplus--don't use.
2605 rm -rf conftest.one conftest.two conftest.dir
2606 echo one > conftest.one
2607 echo two > conftest.two
2609 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2610 test -s conftest.one && test -s conftest.two &&
2611 test -s conftest.dir/conftest.one &&
2612 test -s conftest.dir/conftest.two
2614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2627 rm -rf conftest.one conftest.two conftest.dir
2630 if test "${ac_cv_path_install+set}" = set; then
2631 INSTALL=$ac_cv_path_install
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for INSTALL within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 INSTALL=$ac_install_sh
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2641 $as_echo "$INSTALL" >&6; }
2643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2644 # It thinks the first close brace ends the variable substitution.
2645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2649 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2652 $as_echo_n "checking whether build environment is sane... " >&6; }
2655 echo timestamp > conftest.file
2656 # Reject unsafe characters in $srcdir or the absolute working directory
2657 # name. Accept space and tab only in the latter.
2661 *[\\\"\#\$\&\'\`$am_lf]*)
2662 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2665 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2666 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2669 # Do `set' in a subshell so we don't clobber the current shell's
2670 # arguments. Must try -L first in case configure is actually a
2671 # symlink; some systems play weird games with the mod time of symlinks
2672 # (eg FreeBSD returns the mod time of the symlink's containing
2675 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2676 if test "$*" = "X"; then
2678 set X
`ls -t "$srcdir/configure" conftest.file`
2681 if test "$*" != "X $srcdir/configure conftest.file" \
2682 && test "$*" != "X conftest.file $srcdir/configure"; then
2684 # If neither matched, then we have a broken ls. This can happen
2685 # if, for instance, CONFIG_SHELL is bash and it inherits a
2686 # broken ls alias from the environment. This has actually
2687 # happened. Such a system could not be considered "sane".
2688 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2689 alias in your environment" "$LINENO" 5
2692 test "$2" = conftest.
file
2698 as_fn_error
"newly created file is older than distributed files!
2699 Check your system clock" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2702 $as_echo "yes" >&6; }
2703 test "$program_prefix" != NONE
&&
2704 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2705 # Use a double $ so make ignores it.
2706 test "$program_suffix" != NONE
&&
2707 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2708 # Double any \ or $.
2709 # By default was `s,x,x', remove it if useless.
2710 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2711 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2713 # expand $ac_aux_dir to an absolute path
2714 am_aux_dir
=`cd $ac_aux_dir && pwd`
2716 if test x
"${MISSING+set}" != xset
; then
2719 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2721 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2724 # Use eval to expand $SHELL
2725 if eval "$MISSING --run true"; then
2726 am_missing_run
="$MISSING --run "
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2730 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2733 if test x
"${install_sh}" != xset
; then
2736 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2738 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2742 # Installed binaries are usually stripped using `strip' when the user
2743 # run `make install-strip'. However `strip' might not be the right
2744 # tool to use in cross-compilation environments, therefore Automake
2745 # will honor the `STRIP' environment variable to overrule this program.
2746 if test "$cross_compiling" != no
; then
2747 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2749 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if test "${ac_cv_prog_STRIP+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$STRIP"; then
2756 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 STRIP
=$ac_cv_prog_STRIP
2776 if test -n "$STRIP"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2778 $as_echo "$STRIP" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2786 if test -z "$ac_cv_prog_STRIP"; then
2788 # Extract the first word of "strip", so it can be a program name with args.
2789 set dummy strip
; ac_word
=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$ac_ct_STRIP"; then
2796 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir
=.
2803 for ac_exec_ext
in '' $ac_executable_extensions; do
2804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2805 ac_cv_prog_ac_ct_STRIP
="strip"
2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2816 if test -n "$ac_ct_STRIP"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2818 $as_echo "$ac_ct_STRIP" >&6; }
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821 $as_echo "no" >&6; }
2824 if test "x$ac_ct_STRIP" = x
; then
2827 case $cross_compiling:$ac_tool_warned in
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2831 ac_tool_warned
=yes ;;
2836 STRIP
="$ac_cv_prog_STRIP"
2840 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2843 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2844 if test -z "$MKDIR_P"; then
2845 if test "${ac_cv_path_mkdir+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_prog
in mkdir gmkdir
; do
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2856 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2857 'mkdir (GNU coreutils) '* | \
2858 'mkdir (coreutils) '* | \
2859 'mkdir (fileutils) '4.1*)
2860 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2870 if test "${ac_cv_path_mkdir+set}" = set; then
2871 MKDIR_P
="$ac_cv_path_mkdir -p"
2873 # As a last resort, use the slow shell script. Don't cache a
2874 # value for MKDIR_P within a source directory, because that will
2875 # break other packages using the cache if that directory is
2876 # removed, or if the value is a relative name.
2877 test -d .
/--version && rmdir .
/--version
2878 MKDIR_P
="$ac_install_sh -d"
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2882 $as_echo "$MKDIR_P" >&6; }
2886 [\\/$
]* | ?
:[\\/]*) ;;
2887 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2890 for ac_prog
in gawk mawk nawk
awk
2892 # Extract the first word of "$ac_prog", so it can be a program name with args.
2893 set dummy
$ac_prog; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if test "${ac_cv_prog_AWK+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$AWK"; then
2900 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_AWK
="$ac_prog"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$AWK"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2922 $as_echo "$AWK" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2929 test -n "$AWK" && break
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2933 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2935 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2936 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2937 $as_echo_n "(cached) " >&6
2939 cat >conftest.
make <<\_ACEOF
2942 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2944 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2945 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2947 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2949 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2953 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2955 $as_echo "yes" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2960 SET_MAKE
="MAKE=${MAKE-make}"
2963 rm -rf .tst
2>/dev
/null
2964 mkdir .tst
2>/dev
/null
2965 if test -d .tst
; then
2970 rmdir .tst
2>/dev
/null
2972 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2973 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2974 # is not polluted with repeated "-I."
2975 am__isrc
=' -I$(srcdir)'
2976 # test to see if srcdir already configured
2977 if test -f $srcdir/config.status
; then
2978 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2982 # test whether we have cygpath
2983 if test -z "$CYGPATH_W"; then
2984 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2985 CYGPATH_W
='cygpath -w'
2992 # Define the identity of the package.
2997 cat >>confdefs.h
<<_ACEOF
2998 #define PACKAGE "$PACKAGE"
3002 cat >>confdefs.h
<<_ACEOF
3003 #define VERSION "$VERSION"
3006 # Some tools Automake needs.
3008 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3011 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3014 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3017 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3020 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3022 # We need awk for the "check" target. The system "awk" is bad on
3024 # Always define AMTAR for backward compatibility.
3026 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3028 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3034 # Default to --enable-multilib
3035 # Check whether --enable-multilib was given.
3036 if test "${enable_multilib+set}" = set; then :
3037 enableval
=$enable_multilib; case "$enableval" in
3038 yes) multilib
=yes ;;
3040 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3047 # We may get other options which we leave undocumented:
3048 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3049 # See config-ml.in if you want the gory details.
3051 if test "$srcdir" = "."; then
3052 if test "$with_target_subdir" != "."; then
3053 multi_basedir
="$srcdir/$with_multisrctop../.."
3055 multi_basedir
="$srcdir/$with_multisrctop.."
3058 multi_basedir
="$srcdir/.."
3062 # Even if the default multilib is not a cross compilation,
3063 # it may be that some of the other multilibs are.
3064 if test $cross_compiling = no
&& test $multilib = yes \
3065 && test "x${with_multisubdir}" != x
; then
3066 cross_compiling
=maybe
3069 ac_config_commands
="$ac_config_commands default-1"
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3073 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3074 # Check whether --enable-maintainer-mode was given.
3075 if test "${enable_maintainer_mode+set}" = set; then :
3076 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3078 USE_MAINTAINER_MODE
=no
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3082 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3083 if test $USE_MAINTAINER_MODE = yes; then
3084 MAINTAINER_MODE_TRUE
=
3085 MAINTAINER_MODE_FALSE
='#'
3087 MAINTAINER_MODE_TRUE
='#'
3088 MAINTAINER_MODE_FALSE
=
3091 MAINT
=$MAINTAINER_MODE_TRUE
3097 # These need to be absolute paths, yet at the same time need to
3098 # canonicalize only relative paths, because then amd will not unmount
3099 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
3100 libvtv_builddir
=`${PWDCMD-pwd}`
3102 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
3103 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
3105 toplevel_builddir
=${libvtv_builddir}/..
3106 toplevel_srcdir
=${libvtv_srcdir}/..
3113 # Calculate toolexeclibdir
3114 # Also toolexecdir, though it's only used in toolexeclibdir
3115 case ${version_specific_libs} in
3117 # Need the gcc compiler version to know where to install libraries
3118 # and header files if --enable-version-specific-runtime-libs option
3120 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3121 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3124 if test -n "$with_cross_host" &&
3125 test x
"$with_cross_host" != x
"no"; then
3126 # Install a library built with a cross compiler in tooldir, not libdir.
3127 toolexecdir
='$(exec_prefix)/$(target_alias)'
3128 toolexeclibdir
='$(toolexecdir)/lib'
3130 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3131 toolexeclibdir
='$(libdir)'
3133 multi_os_directory
=`$CC -print-multi-os-directory`
3134 case $multi_os_directory in
3135 .
) ;; # Avoid trailing /.
3136 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3143 DEPDIR
="${am__leading_dot}deps"
3145 ac_config_commands
="$ac_config_commands depfiles"
3148 am_make
=${MAKE-make}
3149 cat > confinc
<< 'END'
3151 @
echo this is the am__doit target
3154 # If we don't find an include directive, just comment out the code.
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3156 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3160 # First try GNU make style include.
3161 echo "include confinc" > confmf
3162 # Ignore all kinds of additional output from `make'.
3163 case `$am_make -s -f confmf 2> /dev/null` in #(
3164 *the\ am__doit\ target
*)
3170 # Now try BSD make style include.
3171 if test "$am__include" = "#"; then
3172 echo '.include "confinc"' > confmf
3173 case `$am_make -s -f confmf 2> /dev/null` in #(
3174 *the\ am__doit\ target
*)
3175 am__include
=.include
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3184 $as_echo "$_am_result" >&6; }
3185 rm -f confinc confmf
3187 # Check whether --enable-dependency-tracking was given.
3188 if test "${enable_dependency_tracking+set}" = set; then :
3189 enableval
=$enable_dependency_tracking;
3192 if test "x$enable_dependency_tracking" != xno
; then
3193 am_depcomp
="$ac_aux_dir/depcomp"
3196 if test "x$enable_dependency_tracking" != xno; then
3206 ac_cpp
='$CPP $CPPFLAGS'
3207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3210 if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3212 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if test "${ac_cv_prog_CC+set}" = set; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$CC"; then
3219 ac_cv_prog_CC
="$CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 if test -n "$CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241 $as_echo "$CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3249 if test -z "$ac_cv_prog_CC"; then
3251 # Extract the first word of "gcc", so it can be a program name with args.
3252 set dummy gcc
; ac_word
=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$ac_ct_CC"; then
3259 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 ac_cv_prog_ac_ct_CC
="gcc"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3279 if test -n "$ac_ct_CC"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3281 $as_echo "$ac_ct_CC" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3287 if test "x$ac_ct_CC" = x
; then
3290 case $cross_compiling:$ac_tool_warned in
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3294 ac_tool_warned
=yes ;;
3302 if test -z "$CC"; then
3303 if test -n "$ac_tool_prefix"; then
3304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3305 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if test "${ac_cv_prog_CC+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$CC"; then
3312 ac_cv_prog_CC
="$CC" # Let the user override the test.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_exec_ext
in '' $ac_executable_extensions; do
3320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test -n "$CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3334 $as_echo "$CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3343 if test -z "$CC"; then
3344 # Extract the first word of "cc", so it can be a program name with args.
3345 set dummy cc
; ac_word
=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_CC+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$CC"; then
3352 ac_cv_prog_CC
="$CC" # Let the user override the test.
3355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir
=.
3360 for ac_exec_ext
in '' $ac_executable_extensions; do
3361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3363 ac_prog_rejected
=yes
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374 if test $ac_prog_rejected = yes; then
3375 # We found a bogon in the path, so make sure we never use it.
3376 set dummy
$ac_cv_prog_CC
3378 if test $# != 0; then
3379 # We chose a different compiler from the bogus one.
3380 # However, it has the same basename, so the bogon will be chosen
3381 # first if we set CC to just the basename; use the full file name.
3383 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3389 if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391 $as_echo "$CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3399 if test -z "$CC"; then
3400 if test -n "$ac_tool_prefix"; then
3401 for ac_prog
in cl.exe
3403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3404 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_CC+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$CC"; then
3411 ac_cv_prog_CC
="$CC" # Let the user override the test.
3413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir
=.
3418 for ac_exec_ext
in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 if test -n "$CC"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3433 $as_echo "$CC" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3440 test -n "$CC" && break
3443 if test -z "$CC"; then
3445 for ac_prog
in cl.exe
3447 # Extract the first word of "$ac_prog", so it can be a program name with args.
3448 set dummy
$ac_prog; ac_word
=$2
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3450 $as_echo_n "checking for $ac_word... " >&6; }
3451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3454 if test -n "$ac_ct_CC"; then
3455 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3461 test -z "$as_dir" && as_dir
=.
3462 for ac_exec_ext
in '' $ac_executable_extensions; do
3463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464 ac_cv_prog_ac_ct_CC
="$ac_prog"
3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3475 if test -n "$ac_ct_CC"; then
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3477 $as_echo "$ac_ct_CC" >&6; }
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 $as_echo "no" >&6; }
3484 test -n "$ac_ct_CC" && break
3487 if test "x$ac_ct_CC" = x
; then
3490 case $cross_compiling:$ac_tool_warned in
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3494 ac_tool_warned
=yes ;;
3503 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error
"no acceptable C compiler found in \$PATH
3506 See \`config.log' for more details." "$LINENO" 5; }
3508 # Provide some information about the compiler.
3509 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3512 for ac_option
in --version -v -V -qversion; do
3513 { { ac_try
="$ac_compiler $ac_option >&5"
3515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3522 if test -s conftest.err; then
3524 ... rest of stderr output deleted ...
3525 10q' conftest.err >conftest.er1
3526 cat conftest.er1 >&5
3527 rm -f conftest.er1 conftest.err
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 ac_clean_files_save=$ac_clean_files
3545 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3546 # Try to create an executable without -o first, disregard a.out.
3547 # It will help us diagnose broken compilers, and finding out an intuition
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3550 $as_echo_n "checking for C compiler default output file name... " >&6; }
3551 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3553 # The possible output files:
3554 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3557 for ac_file in $ac_files
3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3561 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3566 if { { ac_try="$ac_link_default"
3568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3569 *) ac_try_echo
=$ac_try;;
3571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_link_default") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3578 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3579 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3580 # so that the user can short-circuit this test for compilers unknown to
3582 for ac_file
in $ac_files ''
3584 test -f "$ac_file" ||
continue
3586 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3589 # We found the default executable, but exeext='' is most
3593 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3595 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3597 # We set ac_cv_exeext here because the later test for it is not
3598 # safe: cross compilers may not add the suffix if given an `-o'
3599 # argument, so we may need to know it at that point already.
3600 # Even if this section looks crufty: it has the advantage of
3607 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3613 $as_echo "$ac_file" >&6; }
3614 if test -z "$ac_file"; then :
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 { as_fn_set_status
77
3621 as_fn_error
"C compiler cannot create executables
3622 See \`config.log' for more details." "$LINENO" 5; }; }
3624 ac_exeext
=$ac_cv_exeext
3626 # Check that the compiler produces executables we can run. If not, either
3627 # the compiler is broken, or we cross compile.
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3629 $as_echo_n "checking whether the C compiler works... " >&6; }
3630 # If not cross compiling, check that we can run a simple program.
3631 if test "$cross_compiling" != yes; then
3632 if { ac_try
='./$ac_file'
3633 { { case "(($ac_try" in
3634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_try") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }; }; then
3645 if test "$cross_compiling" = maybe; then
3648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error "cannot run C compiled programs.
3651 If you meant to cross compile
, use \
`--host'.
3652 See \`config.log
' for more details." "$LINENO" 5; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3657 $as_echo "yes" >&6; }
3659 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3660 ac_clean_files=$ac_clean_files_save
3661 # Check that the compiler produces executables we can run. If not, either
3662 # the compiler is broken, or we cross compile.
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3664 $as_echo_n "checking whether we are cross compiling... " >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3666 $as_echo "$cross_compiling" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3669 $as_echo_n "checking for suffix of executables... " >&6; }
3670 if { { ac_try="$ac_link"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676 $as_echo "$ac_try_echo"; } >&5
3677 (eval "$ac_link") 2>&5
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }; then :
3681 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3682 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3683 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3685 for ac_file
in conftest.exe conftest conftest.
*; do
3686 test -f "$ac_file" ||
continue
3688 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3689 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3698 See \`config.log' for more details." "$LINENO" 5; }
3700 rm -f conftest
$ac_cv_exeext
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3702 $as_echo "$ac_cv_exeext" >&6; }
3704 rm -f conftest.
$ac_ext
3705 EXEEXT
=$ac_cv_exeext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3708 $as_echo_n "checking for suffix of object files... " >&6; }
3709 if test "${ac_cv_objext+set}" = set; then :
3710 $as_echo_n "(cached) " >&6
3712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3723 rm -f conftest.o conftest.obj
3724 if { { ac_try
="$ac_compile"
3726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_compile") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }; then :
3735 for ac_file in conftest.o conftest.obj conftest.*; do
3736 test -f "$ac_file" || continue;
3738 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3739 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3744 $as_echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error "cannot compute suffix of object files
: cannot compile
3750 See \
`config.log' for more details." "$LINENO" 5; }
3752 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3755 $as_echo "$ac_cv_objext" >&6; }
3756 OBJEXT=$ac_cv_objext
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3759 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3760 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3777 if ac_fn_c_try_compile "$LINENO"; then :
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3787 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3788 if test $ac_compiler_gnu = yes; then
3793 ac_test_CFLAGS=${CFLAGS+set}
3794 ac_save_CFLAGS=$CFLAGS
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3796 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3797 if test "${ac_cv_prog_cc_g+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 ac_save_c_werror_flag=$ac_c_werror_flag
3801 ac_c_werror_flag=yes
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3830 if ac_fn_c_try_compile "$LINENO"; then :
3833 ac_c_werror_flag=$ac_save_c_werror_flag
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3846 if ac_fn_c_try_compile "$LINENO"; then :
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854 ac_c_werror_flag=$ac_save_c_werror_flag
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3857 $as_echo "$ac_cv_prog_cc_g" >&6; }
3858 if test "$ac_test_CFLAGS" = set; then
3859 CFLAGS=$ac_save_CFLAGS
3860 elif test $ac_cv_prog_cc_g = yes; then
3861 if test "$GCC" = yes; then
3867 if test "$GCC" = yes; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3874 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3875 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 ac_cv_prog_cc_c89=no
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3884 #include <sys/types.h>
3885 #include <sys/stat.h>
3886 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3887 struct buf { int x; };
3888 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3889 static char *e (p, i)
3895 static char *f (char * (*g) (char **, int), char **p, ...)
3900 s = g (p, va_arg (v,int));
3905 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3906 function prototypes and stuff, but not '\xHH' hex character constants.
3907 These don't provoke an error unfortunately, instead are silently treated
3908 as 'x'. The following induces an error, until -std is added to get
3909 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3910 array size at least. It's necessary to write '\x00'==0 to get something
3911 that's true only with -std. */
3912 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3914 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3915 inside strings and character constants. */
3917 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3919 int test (int i, double x);
3920 struct s1 {int (*f) (int a);};
3921 struct s2 {int (*f) (double a);};
3922 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3928 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3933 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3934 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3936 CC="$ac_save_CC $ac_arg"
3937 if ac_fn_c_try_compile "$LINENO"; then :
3938 ac_cv_prog_cc_c89=$ac_arg
3940 rm -f core conftest.err conftest.$ac_objext
3941 test "x$ac_cv_prog_cc_c89" != "xno" && break
3943 rm -f conftest.$ac_ext
3948 case "x$ac_cv_prog_cc_c89" in
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3951 $as_echo "none needed" >&6; } ;;
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3954 $as_echo "unsupported" >&6; } ;;
3956 CC="$CC $ac_cv_prog_cc_c89"
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3958 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3960 if test "x$ac_cv_prog_cc_c89" != xno; then :
3965 ac_cpp='$CPP $CPPFLAGS'
3966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3970 depcc="$CC" am_compiler_list=
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3973 $as_echo_n "checking dependency style of $depcc... " >&6; }
3974 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3978 # We make a subdir and do the tests there. Otherwise we can end up
3979 # making bogus files that we don't know about and never remove. For
3980 # instance it was reported that on HP-UX the gcc test will end up
3981 # making a dummy file named `D
' -- because `-MD' means
`put the output
3984 # Copy depcomp to subdir because otherwise we won't find it if we're
3985 # using a relative directory.
3986 cp "$am_depcomp" conftest.dir
3988 # We will build objects and dependencies in a subdirectory because
3989 # it helps to detect inapplicable dependency modes. For instance
3990 # both Tru64's cc and ICC support -MD to output dependencies as a
3991 # side effect of compilation, but ICC will put the dependencies in
3992 # the current directory while Tru64 will put them in the object
3996 am_cv_CC_dependencies_compiler_type=none
3997 if test "$am_compiler_list" = ""; then
3998 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4001 case " $depcc " in #(
4002 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4005 for depmode in $am_compiler_list; do
4006 # Setup a source with many dependencies, because some compilers
4007 # like to wrap large dependency lists on column 80 (with \), and
4008 # we should not choose a depcomp mode which is confused by this.
4010 # We need to recreate these files for each test, as the compiler may
4011 # overwrite some of them when testing with obscure command lines.
4012 # This happens at least with the AIX C compiler.
4014 for i in 1 2 3 4 5 6; do
4015 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4016 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4017 # Solaris 8's
{/usr
,}/bin
/sh.
4018 touch sub
/conftst
$i.h
4020 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4022 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4023 # mode. It turns out that the SunPro C++ compiler does not properly
4024 # handle `-M -o', and we need to detect this. Also, some Intel
4025 # versions had trouble with output in subdirs
4026 am__obj
=sub
/conftest.
${OBJEXT-o}
4027 am__minus_obj
="-o $am__obj"
4030 # This depmode causes a compiler race in universal mode.
4031 test "$am__universal" = false ||
continue
4034 # after this tag, mechanisms are not by side-effect, so they'll
4035 # only be used when explicitly requested
4036 if test "x$enable_dependency_tracking" = xyes
; then
4042 msvisualcpp | msvcmsys
)
4043 # This compiler won't grok `-c -o', but also, the minuso test has
4044 # not run yet. These depmodes are late enough in the game, and
4045 # so weak that their functioning should not be impacted.
4046 am__obj
=conftest.
${OBJEXT-o}
4051 if depmode
=$depmode \
4052 source=sub
/conftest.c object
=$am__obj \
4053 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4054 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4055 >/dev
/null
2>conftest.err
&&
4056 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4057 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4058 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4059 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4060 # icc doesn't choke on unknown options, it will just issue warnings
4061 # or remarks (even with -Werror). So we grep stderr for any message
4062 # that says an option was ignored or not supported.
4063 # When given -MP, icc 7.0 and 7.1 complain thusly:
4064 # icc: Command line warning: ignoring option '-M'; no argument required
4065 # The diagnosis changed in icc 8.0:
4066 # icc: Command line remark: option '-MP' not supported
4067 if (grep 'ignoring option' conftest.err ||
4068 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4069 am_cv_CC_dependencies_compiler_type
=$depmode
4078 am_cv_CC_dependencies_compiler_type
=none
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4083 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4084 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4087 test "x$enable_dependency_tracking" != xno \
4088 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4090 am__fastdepCC_FALSE
='#'
4092 am__fastdepCC_TRUE
='#'
4093 am__fastdepCC_FALSE
=
4099 ac_cpp
='$CPP $CPPFLAGS'
4100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4104 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4105 # On Suns, sometimes $CPP names a directory.
4106 if test -n "$CPP" && test -d "$CPP"; then
4109 if test -z "$CPP"; then
4110 if test "${ac_cv_prog_CPP+set}" = set; then :
4111 $as_echo_n "(cached) " >&6
4113 # Double quotes because CPP needs to be expanded
4114 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4117 for ac_c_preproc_warn_flag
in '' yes
4119 # Use a header file that comes with gcc, so configuring glibc
4120 # with a fresh cross-compiler works.
4121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4122 # <limits.h> exists even on freestanding compilers.
4123 # On the NeXT, cc -E runs the code through the compiler's parser,
4124 # not just through cpp. "Syntax error" is here to catch this case.
4125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4128 # include <limits.h>
4130 # include <assert.h>
4134 if ac_fn_c_try_cpp
"$LINENO"; then :
4137 # Broken: fails on valid input.
4140 rm -f conftest.err conftest.
$ac_ext
4142 # OK, works on sane cases. Now check whether nonexistent headers
4143 # can be detected and how.
4144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4146 #include <ac_nonexistent.h>
4148 if ac_fn_c_try_cpp
"$LINENO"; then :
4149 # Broken: success on invalid input.
4152 # Passes both tests.
4156 rm -f conftest.err conftest.
$ac_ext
4159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4160 rm -f conftest.err conftest.
$ac_ext
4161 if $ac_preproc_ok; then :
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4174 $as_echo "$CPP" >&6; }
4176 for ac_c_preproc_warn_flag
in '' yes
4178 # Use a header file that comes with gcc, so configuring glibc
4179 # with a fresh cross-compiler works.
4180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4181 # <limits.h> exists even on freestanding compilers.
4182 # On the NeXT, cc -E runs the code through the compiler's parser,
4183 # not just through cpp. "Syntax error" is here to catch this case.
4184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4187 # include <limits.h>
4189 # include <assert.h>
4193 if ac_fn_c_try_cpp
"$LINENO"; then :
4196 # Broken: fails on valid input.
4199 rm -f conftest.err conftest.
$ac_ext
4201 # OK, works on sane cases. Now check whether nonexistent headers
4202 # can be detected and how.
4203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205 #include <ac_nonexistent.h>
4207 if ac_fn_c_try_cpp
"$LINENO"; then :
4208 # Broken: success on invalid input.
4211 # Passes both tests.
4215 rm -f conftest.err conftest.
$ac_ext
4218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4219 rm -f conftest.err conftest.
$ac_ext
4220 if $ac_preproc_ok; then :
4223 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4226 See \`config.log' for more details." "$LINENO" 5; }
4230 ac_cpp
='$CPP $CPPFLAGS'
4231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4237 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4238 if test "${ac_cv_path_GREP+set}" = set; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -z "$GREP"; then
4242 ac_path_GREP_found
=false
4243 # Loop through the user's path and test for each of PROGNAME-LIST
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_prog
in grep ggrep
; do
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4252 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4253 # Check for GNU ac_path_GREP and select it if it is found.
4254 # Check for GNU $ac_path_GREP
4255 case `"$ac_path_GREP" --version 2>&1` in
4257 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4260 $as_echo_n 0123456789 >"conftest.in"
4263 cat "conftest.in" "conftest.in" >"conftest.tmp"
4264 mv "conftest.tmp" "conftest.in"
4265 cp "conftest.in" "conftest.nl"
4266 $as_echo 'GREP' >> "conftest.nl"
4267 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4268 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4269 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4270 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4271 # Best one so far, save it but keep looking for a better one
4272 ac_cv_path_GREP
="$ac_path_GREP"
4273 ac_path_GREP_max
=$ac_count
4275 # 10*(2^10) chars as input seems more than enough
4276 test $ac_count -gt 10 && break
4278 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4281 $ac_path_GREP_found && break 3
4286 if test -z "$ac_cv_path_GREP"; then
4287 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4290 ac_cv_path_GREP
=$GREP
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4295 $as_echo "$ac_cv_path_GREP" >&6; }
4296 GREP
="$ac_cv_path_GREP"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4300 $as_echo_n "checking for egrep... " >&6; }
4301 if test "${ac_cv_path_EGREP+set}" = set; then :
4302 $as_echo_n "(cached) " >&6
4304 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4305 then ac_cv_path_EGREP
="$GREP -E"
4307 if test -z "$EGREP"; then
4308 ac_path_EGREP_found
=false
4309 # Loop through the user's path and test for each of PROGNAME-LIST
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_prog
in egrep; do
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4318 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4319 # Check for GNU ac_path_EGREP and select it if it is found.
4320 # Check for GNU $ac_path_EGREP
4321 case `"$ac_path_EGREP" --version 2>&1` in
4323 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4326 $as_echo_n 0123456789 >"conftest.in"
4329 cat "conftest.in" "conftest.in" >"conftest.tmp"
4330 mv "conftest.tmp" "conftest.in"
4331 cp "conftest.in" "conftest.nl"
4332 $as_echo 'EGREP' >> "conftest.nl"
4333 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4334 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4335 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4336 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4337 # Best one so far, save it but keep looking for a better one
4338 ac_cv_path_EGREP
="$ac_path_EGREP"
4339 ac_path_EGREP_max
=$ac_count
4341 # 10*(2^10) chars as input seems more than enough
4342 test $ac_count -gt 10 && break
4344 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4347 $ac_path_EGREP_found && break 3
4352 if test -z "$ac_cv_path_EGREP"; then
4353 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356 ac_cv_path_EGREP
=$EGREP
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4362 $as_echo "$ac_cv_path_EGREP" >&6; }
4363 EGREP
="$ac_cv_path_EGREP"
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4367 $as_echo_n "checking for ANSI C header files... " >&6; }
4368 if test "${ac_cv_header_stdc+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4386 if ac_fn_c_try_compile
"$LINENO"; then :
4387 ac_cv_header_stdc
=yes
4389 ac_cv_header_stdc
=no
4391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4393 if test $ac_cv_header_stdc = yes; then
4394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4401 $EGREP "memchr" >/dev
/null
2>&1; then :
4404 ac_cv_header_stdc
=no
4410 if test $ac_cv_header_stdc = yes; then
4411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4418 $EGREP "free" >/dev
/null
2>&1; then :
4421 ac_cv_header_stdc
=no
4427 if test $ac_cv_header_stdc = yes; then
4428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4429 if test "$cross_compiling" = yes; then :
4432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 #if ((' ' & 0x0FF) == 0x020)
4437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4440 # define ISLOWER(c) \
4441 (('a' <= (c) && (c) <= 'i') \
4442 || ('j' <= (c) && (c) <= 'r') \
4443 || ('s' <= (c) && (c) <= 'z'))
4444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4452 for (i = 0; i < 256; i++)
4453 if (XOR (islower (i), ISLOWER (i))
4454 || toupper (i) != TOUPPER (i))
4459 if ac_fn_c_try_run
"$LINENO"; then :
4462 ac_cv_header_stdc
=no
4464 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4465 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4471 $as_echo "$ac_cv_header_stdc" >&6; }
4472 if test $ac_cv_header_stdc = yes; then
4474 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4479 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4480 inttypes.h stdint.h unistd.h
4482 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4483 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4485 eval as_val
=\$
$as_ac_Header
4486 if test "x$as_val" = x
""yes; then :
4487 cat >>confdefs.h
<<_ACEOF
4488 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4497 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4498 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4505 if test "$MINIX" = yes; then
4507 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4510 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4513 $as_echo "#define _MINIX 1" >>confdefs.h
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4519 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4520 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4526 # define __EXTENSIONS__ 1
4527 $ac_includes_default
4536 if ac_fn_c_try_compile
"$LINENO"; then :
4537 ac_cv_safe_to_define___extensions__
=yes
4539 ac_cv_safe_to_define___extensions__
=no
4541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4544 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4545 test $ac_cv_safe_to_define___extensions__ = yes &&
4546 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4548 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4550 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4552 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4554 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4558 for ac_func
in __secure_getenv
4560 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4561 if test "x$ac_cv_func___secure_getenv" = x
""yes; then :
4562 cat >>confdefs.h
<<_ACEOF
4563 #define HAVE___SECURE_GETENV 1
4571 for ac_func
in secure_getenv
4573 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4574 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4575 cat >>confdefs.h
<<_ACEOF
4576 #define HAVE_SECURE_GETENV 1
4583 # Check for programs.
4587 ac_cpp
='$CPP $CPPFLAGS'
4588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4591 if test -n "$ac_tool_prefix"; then
4592 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4593 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if test "${ac_cv_prog_CC+set}" = set; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -n "$CC"; then
4600 ac_cv_prog_CC
="$CC" # Let the user override the test.
4602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir
=.
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4609 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 if test -n "$CC"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4622 $as_echo "$CC" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4630 if test -z "$ac_cv_prog_CC"; then
4632 # Extract the first word of "gcc", so it can be a program name with args.
4633 set dummy gcc
; ac_word
=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$ac_ct_CC"; then
4640 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir
=.
4647 for ac_exec_ext
in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 ac_cv_prog_ac_ct_CC
="gcc"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4660 if test -n "$ac_ct_CC"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4662 $as_echo "$ac_ct_CC" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4668 if test "x$ac_ct_CC" = x
; then
4671 case $cross_compiling:$ac_tool_warned in
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4675 ac_tool_warned
=yes ;;
4683 if test -z "$CC"; then
4684 if test -n "$ac_tool_prefix"; then
4685 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4686 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if test "${ac_cv_prog_CC+set}" = set; then :
4690 $as_echo_n "(cached) " >&6
4692 if test -n "$CC"; then
4693 ac_cv_prog_CC
="$CC" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir
=.
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4702 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 if test -n "$CC"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4715 $as_echo "$CC" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4724 if test -z "$CC"; then
4725 # Extract the first word of "cc", so it can be a program name with args.
4726 set dummy cc
; ac_word
=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if test "${ac_cv_prog_CC+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -n "$CC"; then
4733 ac_cv_prog_CC
="$CC" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4743 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4744 ac_prog_rejected
=yes
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 if test $ac_prog_rejected = yes; then
4756 # We found a bogon in the path, so make sure we never use it.
4757 set dummy
$ac_cv_prog_CC
4759 if test $# != 0; then
4760 # We chose a different compiler from the bogus one.
4761 # However, it has the same basename, so the bogon will be chosen
4762 # first if we set CC to just the basename; use the full file name.
4764 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4770 if test -n "$CC"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4772 $as_echo "$CC" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4780 if test -z "$CC"; then
4781 if test -n "$ac_tool_prefix"; then
4782 for ac_prog
in cl.exe
4784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4785 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if test "${ac_cv_prog_CC+set}" = set; then :
4789 $as_echo_n "(cached) " >&6
4791 if test -n "$CC"; then
4792 ac_cv_prog_CC
="$CC" # Let the user override the test.
4794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir
=.
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4801 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 if test -n "$CC"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4814 $as_echo "$CC" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4821 test -n "$CC" && break
4824 if test -z "$CC"; then
4826 for ac_prog
in cl.exe
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy
$ac_prog; ac_word
=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$ac_ct_CC"; then
4836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_ac_ct_CC
="$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4856 if test -n "$ac_ct_CC"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4858 $as_echo "$ac_ct_CC" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$ac_ct_CC" && break
4868 if test "x$ac_ct_CC" = x
; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned
=yes ;;
4884 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4886 as_fn_error
"no acceptable C compiler found in \$PATH
4887 See \`config.log' for more details." "$LINENO" 5; }
4889 # Provide some information about the compiler.
4890 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4893 for ac_option
in --version -v -V -qversion; do
4894 { { ac_try
="$ac_compiler $ac_option >&5"
4896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4897 *) ac_try_echo=$ac_try;;
4899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4900 $as_echo "$ac_try_echo"; } >&5
4901 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4903 if test -s conftest.err; then
4905 ... rest of stderr output deleted ...
4906 10q' conftest.err >conftest.er1
4907 cat conftest.er1 >&5
4908 rm -f conftest.er1 conftest.err
4910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4911 test $ac_status = 0; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4915 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4916 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4917 $as_echo_n "(cached) " >&6
4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4933 if ac_fn_c_try_compile "$LINENO"; then :
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4943 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4944 if test $ac_compiler_gnu = yes; then
4949 ac_test_CFLAGS=${CFLAGS+set}
4950 ac_save_CFLAGS=$CFLAGS
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4952 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4953 if test "${ac_cv_prog_cc_g+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 ac_save_c_werror_flag=$ac_c_werror_flag
4957 ac_c_werror_flag=yes
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4971 if ac_fn_c_try_compile "$LINENO"; then :
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4986 if ac_fn_c_try_compile "$LINENO"; then :
4989 ac_c_werror_flag=$ac_save_c_werror_flag
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
5002 if ac_fn_c_try_compile "$LINENO"; then :
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 ac_c_werror_flag=$ac_save_c_werror_flag
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5013 $as_echo "$ac_cv_prog_cc_g" >&6; }
5014 if test "$ac_test_CFLAGS" = set; then
5015 CFLAGS=$ac_save_CFLAGS
5016 elif test $ac_cv_prog_cc_g = yes; then
5017 if test "$GCC" = yes; then
5023 if test "$GCC" = yes; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5030 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5031 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5034 ac_cv_prog_cc_c89=no
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5040 #include <sys/types.h>
5041 #include <sys/stat.h>
5042 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5043 struct buf { int x; };
5044 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5045 static char *e (p, i)
5051 static char *f (char * (*g) (char **, int), char **p, ...)
5056 s = g (p, va_arg (v,int));
5061 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5062 function prototypes and stuff, but not '\xHH' hex character constants.
5063 These don't provoke an error unfortunately, instead are silently treated
5064 as 'x'. The following induces an error, until -std is added to get
5065 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5066 array size at least. It's necessary to write '\x00'==0 to get something
5067 that's true only with -std. */
5068 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5070 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5071 inside strings and character constants. */
5073 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5075 int test (int i, double x);
5076 struct s1 {int (*f) (int a);};
5077 struct s2 {int (*f) (double a);};
5078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5084 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5089 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5090 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5092 CC="$ac_save_CC $ac_arg"
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 ac_cv_prog_cc_c89=$ac_arg
5096 rm -f core conftest.err conftest.$ac_objext
5097 test "x$ac_cv_prog_cc_c89" != "xno" && break
5099 rm -f conftest.$ac_ext
5104 case "x$ac_cv_prog_cc_c89" in
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5107 $as_echo "none needed" >&6; } ;;
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5110 $as_echo "unsupported" >&6; } ;;
5112 CC="$CC $ac_cv_prog_cc_c89"
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5114 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5116 if test "x$ac_cv_prog_cc_c89" != xno; then :
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5126 depcc="$CC" am_compiler_list=
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5129 $as_echo_n "checking dependency style of $depcc... " >&6; }
5130 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5134 # We make a subdir and do the tests there. Otherwise we can end up
5135 # making bogus files that we don't know about and never remove. For
5136 # instance it was reported that on HP-UX the gcc test will end up
5137 # making a dummy file named `D
' -- because `-MD' means
`put the output
5140 # Copy depcomp to subdir because otherwise we won't find it if we're
5141 # using a relative directory.
5142 cp "$am_depcomp" conftest.dir
5144 # We will build objects and dependencies in a subdirectory because
5145 # it helps to detect inapplicable dependency modes. For instance
5146 # both Tru64's cc and ICC support -MD to output dependencies as a
5147 # side effect of compilation, but ICC will put the dependencies in
5148 # the current directory while Tru64 will put them in the object
5152 am_cv_CC_dependencies_compiler_type=none
5153 if test "$am_compiler_list" = ""; then
5154 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5157 case " $depcc " in #(
5158 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5161 for depmode in $am_compiler_list; do
5162 # Setup a source with many dependencies, because some compilers
5163 # like to wrap large dependency lists on column 80 (with \), and
5164 # we should not choose a depcomp mode which is confused by this.
5166 # We need to recreate these files for each test, as the compiler may
5167 # overwrite some of them when testing with obscure command lines.
5168 # This happens at least with the AIX C compiler.
5170 for i in 1 2 3 4 5 6; do
5171 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5172 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5173 # Solaris 8's
{/usr
,}/bin
/sh.
5174 touch sub
/conftst
$i.h
5176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5178 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5179 # mode. It turns out that the SunPro C++ compiler does not properly
5180 # handle `-M -o', and we need to detect this. Also, some Intel
5181 # versions had trouble with output in subdirs
5182 am__obj
=sub
/conftest.
${OBJEXT-o}
5183 am__minus_obj
="-o $am__obj"
5186 # This depmode causes a compiler race in universal mode.
5187 test "$am__universal" = false ||
continue
5190 # after this tag, mechanisms are not by side-effect, so they'll
5191 # only be used when explicitly requested
5192 if test "x$enable_dependency_tracking" = xyes
; then
5198 msvisualcpp | msvcmsys
)
5199 # This compiler won't grok `-c -o', but also, the minuso test has
5200 # not run yet. These depmodes are late enough in the game, and
5201 # so weak that their functioning should not be impacted.
5202 am__obj
=conftest.
${OBJEXT-o}
5207 if depmode
=$depmode \
5208 source=sub
/conftest.c object
=$am__obj \
5209 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5210 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5211 >/dev
/null
2>conftest.err
&&
5212 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5213 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5214 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5215 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5216 # icc doesn't choke on unknown options, it will just issue warnings
5217 # or remarks (even with -Werror). So we grep stderr for any message
5218 # that says an option was ignored or not supported.
5219 # When given -MP, icc 7.0 and 7.1 complain thusly:
5220 # icc: Command line warning: ignoring option '-M'; no argument required
5221 # The diagnosis changed in icc 8.0:
5222 # icc: Command line remark: option '-MP' not supported
5223 if (grep 'ignoring option' conftest.err ||
5224 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5225 am_cv_CC_dependencies_compiler_type
=$depmode
5234 am_cv_CC_dependencies_compiler_type
=none
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5239 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5240 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5243 test "x$enable_dependency_tracking" != xno \
5244 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5246 am__fastdepCC_FALSE
='#'
5248 am__fastdepCC_TRUE
='#'
5249 am__fastdepCC_FALSE
=
5254 ac_cpp
='$CXXCPP $CPPFLAGS'
5255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5258 if test -z "$CXX"; then
5259 if test -n "$CCC"; then
5262 if test -n "$ac_tool_prefix"; then
5263 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5266 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_CXX+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$CXX"; then
5273 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 if test -n "$CXX"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5295 $as_echo "$CXX" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 test -n "$CXX" && break
5305 if test -z "$CXX"; then
5307 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy
$ac_prog; ac_word
=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5314 $as_echo_n "(cached) " >&6
5316 if test -n "$ac_ct_CXX"; then
5317 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir
=.
5324 for ac_exec_ext
in '' $ac_executable_extensions; do
5325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5337 if test -n "$ac_ct_CXX"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5339 $as_echo "$ac_ct_CXX" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5346 test -n "$ac_ct_CXX" && break
5349 if test "x$ac_ct_CXX" = x
; then
5352 case $cross_compiling:$ac_tool_warned in
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5356 ac_tool_warned
=yes ;;
5364 # Provide some information about the compiler.
5365 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5368 for ac_option
in --version -v -V -qversion; do
5369 { { ac_try
="$ac_compiler $ac_option >&5"
5371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5375 $as_echo "$ac_try_echo"; } >&5
5376 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5378 if test -s conftest.err; then
5380 ... rest of stderr output deleted ...
5381 10q' conftest.err >conftest.er1
5382 cat conftest.er1 >&5
5383 rm -f conftest.er1 conftest.err
5385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5386 test $ac_status = 0; }
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5390 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5391 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5392 $as_echo_n "(cached) " >&6
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5408 if ac_fn_cxx_try_compile "$LINENO"; then :
5413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5418 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5419 if test $ac_compiler_gnu = yes; then
5424 ac_test_CXXFLAGS=${CXXFLAGS+set}
5425 ac_save_CXXFLAGS=$CXXFLAGS
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5427 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5428 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5429 $as_echo_n "(cached) " >&6
5431 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5432 ac_cxx_werror_flag=yes
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
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5461 if ac_fn_cxx_try_compile "$LINENO"; then :
5464 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5467 /* end confdefs.h. */
5477 if ac_fn_cxx_try_compile "$LINENO"; then :
5478 ac_cv_prog_cxx_g=yes
5480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5485 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5488 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5489 if test "$ac_test_CXXFLAGS" = set; then
5490 CXXFLAGS=$ac_save_CXXFLAGS
5491 elif test $ac_cv_prog_cxx_g = yes; then
5492 if test "$GXX" = yes; then
5498 if test "$GXX" = yes; then
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5510 depcc="$CXX" am_compiler_list=
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5513 $as_echo_n "checking dependency style of $depcc... " >&6; }
5514 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5518 # We make a subdir and do the tests there. Otherwise we can end up
5519 # making bogus files that we don't know about and never remove. For
5520 # instance it was reported that on HP-UX the gcc test will end up
5521 # making a dummy file named `D
' -- because `-MD' means
`put the output
5524 # Copy depcomp to subdir because otherwise we won't find it if we're
5525 # using a relative directory.
5526 cp "$am_depcomp" conftest.dir
5528 # We will build objects and dependencies in a subdirectory because
5529 # it helps to detect inapplicable dependency modes. For instance
5530 # both Tru64's cc and ICC support -MD to output dependencies as a
5531 # side effect of compilation, but ICC will put the dependencies in
5532 # the current directory while Tru64 will put them in the object
5536 am_cv_CXX_dependencies_compiler_type=none
5537 if test "$am_compiler_list" = ""; then
5538 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5541 case " $depcc " in #(
5542 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5545 for depmode in $am_compiler_list; do
5546 # Setup a source with many dependencies, because some compilers
5547 # like to wrap large dependency lists on column 80 (with \), and
5548 # we should not choose a depcomp mode which is confused by this.
5550 # We need to recreate these files for each test, as the compiler may
5551 # overwrite some of them when testing with obscure command lines.
5552 # This happens at least with the AIX C compiler.
5554 for i in 1 2 3 4 5 6; do
5555 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5556 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5557 # Solaris 8's
{/usr
,}/bin
/sh.
5558 touch sub
/conftst
$i.h
5560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5563 # mode. It turns out that the SunPro C++ compiler does not properly
5564 # handle `-M -o', and we need to detect this. Also, some Intel
5565 # versions had trouble with output in subdirs
5566 am__obj
=sub
/conftest.
${OBJEXT-o}
5567 am__minus_obj
="-o $am__obj"
5570 # This depmode causes a compiler race in universal mode.
5571 test "$am__universal" = false ||
continue
5574 # after this tag, mechanisms are not by side-effect, so they'll
5575 # only be used when explicitly requested
5576 if test "x$enable_dependency_tracking" = xyes
; then
5582 msvisualcpp | msvcmsys
)
5583 # This compiler won't grok `-c -o', but also, the minuso test has
5584 # not run yet. These depmodes are late enough in the game, and
5585 # so weak that their functioning should not be impacted.
5586 am__obj
=conftest.
${OBJEXT-o}
5591 if depmode
=$depmode \
5592 source=sub
/conftest.c object
=$am__obj \
5593 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5594 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5595 >/dev
/null
2>conftest.err
&&
5596 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5597 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5598 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5599 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5600 # icc doesn't choke on unknown options, it will just issue warnings
5601 # or remarks (even with -Werror). So we grep stderr for any message
5602 # that says an option was ignored or not supported.
5603 # When given -MP, icc 7.0 and 7.1 complain thusly:
5604 # icc: Command line warning: ignoring option '-M'; no argument required
5605 # The diagnosis changed in icc 8.0:
5606 # icc: Command line remark: option '-MP' not supported
5607 if (grep 'ignoring option' conftest.err ||
5608 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5609 am_cv_CXX_dependencies_compiler_type
=$depmode
5618 am_cv_CXX_dependencies_compiler_type
=none
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5623 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5624 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5627 test "x$enable_dependency_tracking" != xno \
5628 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5629 am__fastdepCXX_TRUE
=
5630 am__fastdepCXX_FALSE
='#'
5632 am__fastdepCXX_TRUE
='#'
5633 am__fastdepCXX_FALSE
=
5639 if test "x$CC" != xcc
; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5641 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5644 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5646 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5647 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5648 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5649 $as_echo_n "(cached) " >&6
5651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5662 # Make sure it works both with $CC and with simple cc.
5663 # We do the test twice because some compilers refuse to overwrite an
5664 # existing .o file with -o, though they will create one.
5665 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5667 if { { case "(($ac_try" in
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5672 $as_echo "$ac_try_echo"; } >&5
5673 (eval "$ac_try") 2>&5
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; } &&
5677 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5682 $as_echo "$ac_try_echo"; } >&5
5683 (eval "$ac_try") 2>&5
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686 test $ac_status = 0; };
5688 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5689 if test "x$CC" != xcc
; then
5690 # Test first that cc exists at all.
5691 if { ac_try
='cc -c conftest.$ac_ext >&5'
5692 { { case "(($ac_try" in
5693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; }; then
5702 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5704 if { { case "(($ac_try" in
5705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5706 *) ac_try_echo
=$ac_try;;
5708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5709 $as_echo "$ac_try_echo"; } >&5
5710 (eval "$ac_try") 2>&5
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; } &&
5714 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 $as_echo "$ac_try_echo"; } >&5
5720 (eval "$ac_try") 2>&5
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5723 test $ac_status = 0; };
5728 # cc exists but doesn't like -o.
5729 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 rm -f core conftest*
5739 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5746 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5750 # FIXME: we rely on the cache variable name because
5751 # there is no other way.
5753 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5754 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5755 if test "$am_t" != yes; then
5756 # Losing compiler, so override with the script.
5757 # FIXME: It is wrong to rewrite CC.
5758 # But if we don't then we get into trouble of one sort or another.
5759 # A longer-term fix would be to have automake use am__CC in this case,
5760 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5761 CC="$am_aux_dir/compile $CC"
5769 # Newer automakes demand CCAS and CCASFLAGS.
5771 : ${CCASFLAGS='$(CFLAGS)'}
5775 if test -n "$ac_tool_prefix"; then
5776 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5777 set dummy ${ac_tool_prefix}as; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_AS+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$AS"; then
5784 ac_cv_prog_AS="$AS" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_AS="${ac_tool_prefix}as"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 if test -n "$AS"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5806 $as_echo "$AS" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5814 if test -z "$ac_cv_prog_AS"; then
5816 # Extract the first word of "as", so it can be a program name with args.
5817 set dummy as; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5821 $as_echo_n "(cached) " >&6
5823 if test -n "$ac_ct_AS"; then
5824 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 ac_cv_prog_ac_ct_AS="as"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5844 if test -n "$ac_ct_AS"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5846 $as_echo "$ac_ct_AS" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5852 if test "x$ac_ct_AS" = x; then
5855 case $cross_compiling:$ac_tool_warned in
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5859 ac_tool_warned=yes ;;
5867 if test -n "$ac_tool_prefix"; then
5868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5869 set dummy ${ac_tool_prefix}ar; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_AR+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$AR"; then
5876 ac_cv_prog_AR="$AR" # Let the user override the test.
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_AR="${ac_tool_prefix}ar"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 if test -n "$AR"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5898 $as_echo "$AR" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5906 if test -z "$ac_cv_prog_AR"; then
5908 # Extract the first word of "ar", so it can be a program name with args.
5909 set dummy ar; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$ac_ct_AR"; then
5916 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_ac_ct_AR="ar"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5936 if test -n "$ac_ct_AR"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5938 $as_echo "$ac_ct_AR" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5944 if test "x$ac_ct_AR" = x; then
5947 case $cross_compiling:$ac_tool_warned in
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951 ac_tool_warned=yes ;;
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$RANLIB"; then
5968 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 RANLIB=$ac_cv_prog_RANLIB
5988 if test -n "$RANLIB"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5990 $as_echo "$RANLIB" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5998 if test -z "$ac_cv_prog_RANLIB"; then
5999 ac_ct_RANLIB=$RANLIB
6000 # Extract the first word of "ranlib", so it can be a program name with args.
6001 set dummy ranlib; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$ac_ct_RANLIB"; then
6008 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_ac_ct_RANLIB="ranlib"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6028 if test -n "$ac_ct_RANLIB"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6030 $as_echo "$ac_ct_RANLIB" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6036 if test "x$ac_ct_RANLIB" = x; then
6039 case $cross_compiling:$ac_tool_warned in
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043 ac_tool_warned=yes ;;
6045 RANLIB=$ac_ct_RANLIB
6048 RANLIB="$ac_cv_prog_RANLIB"
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6060 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6065 macro_version='2.2.7a'
6066 macro_revision='1.3134'
6080 ltmain="$ac_aux_dir/ltmain.sh"
6082 # Backslashify metacharacters that are still active within
6083 # double-quoted strings.
6084 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6086 # Same as above, but do not quote variable references.
6087 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6089 # Sed substitution to delay expansion of an escaped shell variable in a
6090 # double_quote_subst'ed string.
6091 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6093 # Sed substitution to delay expansion of an escaped single quote.
6094 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6096 # Sed substitution to avoid accidental globbing in evaled expressions
6097 no_glob_subst='s/\*/\\\*/g'
6099 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6100 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6101 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6104 $as_echo_n "checking how to print
strings...
" >&6; }
6105 # Test print first, because it will be a builtin if present.
6106 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6107 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6109 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6112 # Use this function as a fallback that always works.
6113 func_fallback_echo ()
6115 eval 'cat <<_LTECHO_EOF
6119 ECHO='func_fallback_echo'
6122 # func_echo_all arg...
6123 # Invoke $ECHO with all args, space-separated.
6130 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6131 $as_echo "printf" >&6; } ;;
6132 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6133 $as_echo "print
-r" >&6; } ;;
6134 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6135 $as_echo "cat" >&6; } ;;
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6152 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6153 if test "${ac_cv_path_SED+set}" = set; then :
6154 $as_echo_n "(cached
) " >&6
6156 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6157 for ac_i in 1 2 3 4 5 6 7; do
6158 ac_script="$ac_script$as_nl$ac_script"
6160 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6161 { ac_script=; unset ac_script;}
6162 if test -z "$SED"; then
6163 ac_path_SED_found=false
6164 # Loop through the user's path and test for each of PROGNAME-LIST
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_prog in sed gsed; do
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6173 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6174 # Check for GNU ac_path_SED and select it if it is found.
6175 # Check for GNU $ac_path_SED
6176 case `"$ac_path_SED" --version 2>&1` in
6178 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6181 $as_echo_n 0123456789 >"conftest.
in"
6184 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6185 mv "conftest.tmp
" "conftest.
in"
6186 cp "conftest.
in" "conftest.
nl"
6187 $as_echo '' >> "conftest.
nl"
6188 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6189 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6190 as_fn_arith $ac_count + 1 && ac_count=$as_val
6191 if test $ac_count -gt ${ac_path_SED_max-0}; then
6192 # Best one so far, save it but keep looking for a better one
6193 ac_cv_path_SED="$ac_path_SED"
6194 ac_path_SED_max=$ac_count
6196 # 10*(2^10) chars as input seems more than enough
6197 test $ac_count -gt 10 && break
6199 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6202 $ac_path_SED_found && break 3
6207 if test -z "$ac_cv_path_SED"; then
6208 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6216 $as_echo "$ac_cv_path_SED" >&6; }
6217 SED="$ac_cv_path_SED"
6220 test -z "$SED" && SED=sed
6221 Xsed="$SED -e 1s
/^X
//"
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6234 $as_echo_n "checking
for fgrep...
" >&6; }
6235 if test "${ac_cv_path_FGREP+set}" = set; then :
6236 $as_echo_n "(cached
) " >&6
6238 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6239 then ac_cv_path_FGREP="$GREP -F"
6241 if test -z "$FGREP"; then
6242 ac_path_FGREP_found=false
6243 # Loop through the user's path and test for each of PROGNAME-LIST
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6248 test -z "$as_dir" && as_dir=.
6249 for ac_prog in fgrep; do
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6252 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6253 # Check for GNU ac_path_FGREP and select it if it is found.
6254 # Check for GNU $ac_path_FGREP
6255 case `"$ac_path_FGREP" --version 2>&1` in
6257 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6260 $as_echo_n 0123456789 >"conftest.
in"
6263 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6264 mv "conftest.tmp
" "conftest.
in"
6265 cp "conftest.
in" "conftest.
nl"
6266 $as_echo 'FGREP' >> "conftest.
nl"
6267 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6268 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6269 as_fn_arith $ac_count + 1 && ac_count=$as_val
6270 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6271 # Best one so far, save it but keep looking for a better one
6272 ac_cv_path_FGREP="$ac_path_FGREP"
6273 ac_path_FGREP_max=$ac_count
6275 # 10*(2^10) chars as input seems more than enough
6276 test $ac_count -gt 10 && break
6278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6281 $ac_path_FGREP_found && break 3
6286 if test -z "$ac_cv_path_FGREP"; then
6287 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6290 ac_cv_path_FGREP=$FGREP
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6296 $as_echo "$ac_cv_path_FGREP" >&6; }
6297 FGREP="$ac_cv_path_FGREP"
6300 test -z "$GREP" && GREP=grep
6320 # Check whether --with-gnu-ld was given.
6321 if test "${with_gnu_ld+set}" = set; then :
6322 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6328 if test "$GCC" = yes; then
6329 # Check if gcc -print-prog-name=ld gives a path.
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6331 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6334 # gcc leaves a trailing carriage return which upsets mingw
6335 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6337 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6340 # Accept absolute paths.
6342 re_direlt='/[^/][^/]*/\.\./'
6343 # Canonicalize the pathname of ld
6344 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6345 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6346 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6348 test -z "$LD" && LD="$ac_prog"
6351 # If it fails, then pretend we aren't using GCC.
6355 # If it is relative, then search for the first ld in PATH.
6359 elif test "$with_gnu_ld" = yes; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6361 $as_echo_n "checking
for GNU ld...
" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6364 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6366 if test "${lt_cv_path_LD+set}" = set; then :
6367 $as_echo_n "(cached
) " >&6
6369 if test -z "$LD"; then
6370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6371 for ac_dir in $PATH; do
6373 test -z "$ac_dir" && ac_dir=.
6374 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6375 lt_cv_path_LD="$ac_dir/$ac_prog"
6376 # Check to see if the program is GNU ld. I'd rather use --version,
6377 # but apparently some variants of GNU ld only accept -v.
6378 # Break only if it was the GNU/non-GNU ld that we prefer.
6379 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6380 *GNU* | *'with BFD'*)
6381 test "$with_gnu_ld" != no && break
6384 test "$with_gnu_ld" != yes && break
6391 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6396 if test -n "$LD"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6398 $as_echo "$LD" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6401 $as_echo "no
" >&6; }
6403 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6405 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6406 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6407 $as_echo_n "(cached
) " >&6
6409 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6410 case `$LD -v 2>&1 </dev/null` in
6411 *GNU* | *'with BFD'*)
6412 lt_cv_prog_gnu_ld=yes
6415 lt_cv_prog_gnu_ld=no
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6420 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6421 with_gnu_ld=$lt_cv_prog_gnu_ld
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6432 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6433 if test "${lt_cv_path_NM+set}" = set; then :
6434 $as_echo_n "(cached
) " >&6
6436 if test -n "$NM"; then
6437 # Let the user override the test.
6440 lt_nm_to_check="${ac_tool_prefix}nm
"
6441 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6442 lt_nm_to_check="$lt_nm_to_check nm
"
6444 for lt_tmp_nm in $lt_nm_to_check; do
6445 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6446 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6448 test -z "$ac_dir" && ac_dir=.
6449 tmp_nm="$ac_dir/$lt_tmp_nm"
6450 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6451 # Check to see if the nm accepts a BSD-compat flag.
6452 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6453 # nm: unknown option "B
" ignored
6454 # Tru64's nm complains that /dev/null is an invalid object file
6455 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6456 */dev/null* | *'Invalid file or object type'*)
6457 lt_cv_path_NM="$tmp_nm -B"
6461 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6463 lt_cv_path_NM="$tmp_nm -p"
6467 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6468 continue # so that we can try to find one that supports BSD flags
6477 : ${lt_cv_path_NM=no}
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6481 $as_echo "$lt_cv_path_NM" >&6; }
6482 if test "$lt_cv_path_NM" != "no
"; then
6485 # Didn't find any BSD compatible name lister, look for dumpbin.
6486 if test -n "$DUMPBIN"; then :
6487 # Let the user override the test.
6489 if test -n "$ac_tool_prefix"; then
6490 for ac_prog in dumpbin "link
-dump"
6492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6495 $as_echo_n "checking
for $ac_word...
" >&6; }
6496 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6497 $as_echo_n "(cached
) " >&6
6499 if test -n "$DUMPBIN"; then
6500 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6519 DUMPBIN=$ac_cv_prog_DUMPBIN
6520 if test -n "$DUMPBIN"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6522 $as_echo "$DUMPBIN" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6525 $as_echo "no
" >&6; }
6529 test -n "$DUMPBIN" && break
6532 if test -z "$DUMPBIN"; then
6533 ac_ct_DUMPBIN=$DUMPBIN
6534 for ac_prog in dumpbin "link
-dump"
6536 # Extract the first word of "$ac_prog", so it can be a program name with args.
6537 set dummy $ac_prog; ac_word=$2
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6539 $as_echo_n "checking
for $ac_word...
" >&6; }
6540 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6541 $as_echo_n "(cached
) " >&6
6543 if test -n "$ac_ct_DUMPBIN"; then
6544 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 test -z "$as_dir" && as_dir=.
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6553 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6563 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6564 if test -n "$ac_ct_DUMPBIN"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6566 $as_echo "$ac_ct_DUMPBIN" >&6; }
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6569 $as_echo "no
" >&6; }
6573 test -n "$ac_ct_DUMPBIN" && break
6576 if test "x
$ac_ct_DUMPBIN" = x; then
6579 case $cross_compiling:$ac_tool_warned in
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6582 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6583 ac_tool_warned=yes ;;
6585 DUMPBIN=$ac_ct_DUMPBIN
6589 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6591 DUMPBIN="$DUMPBIN -symbols"
6599 if test "$DUMPBIN" != ":"; then
6603 test -z "$NM" && NM=nm
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6611 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6612 if test "${lt_cv_nm_interface+set}" = set; then :
6613 $as_echo_n "(cached
) " >&6
6615 lt_cv_nm_interface="BSD nm
"
6616 echo "int some_variable
= 0;" > conftest.$ac_ext
6617 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6618 (eval "$ac_compile" 2>conftest.err)
6619 cat conftest.err >&5
6620 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6621 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6622 cat conftest.err >&5
6623 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6624 cat conftest.out >&5
6625 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6626 lt_cv_nm_interface="MS dumpbin
"
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6631 $as_echo "$lt_cv_nm_interface" >&6; }
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6634 $as_echo_n "checking whether
ln -s works...
" >&6; }
6636 if test "$LN_S" = "ln -s"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6638 $as_echo "yes" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6641 $as_echo "no
, using
$LN_S" >&6; }
6644 # find the maximum length of command line arguments
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6646 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6647 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6648 $as_echo_n "(cached
) " >&6
6655 # On DJGPP, this test can blow up pretty badly due to problems in libc
6656 # (any single argument exceeding 2000 bytes causes a buffer overrun
6657 # during glob expansion). Even if it were fixed, the result of this
6658 # check would be larger than it should be.
6659 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6663 # Under GNU Hurd, this test is not required because there is
6664 # no limit to the length of command line arguments.
6665 # Libtool will interpret -1 as no limit whatsoever
6666 lt_cv_sys_max_cmd_len=-1;
6669 cygwin* | mingw* | cegcc*)
6670 # On Win9x/ME, this test blows up -- it succeeds, but takes
6671 # about 5 minutes as the teststring grows exponentially.
6672 # Worse, since 9x/ME are not pre-emptively multitasking,
6673 # you end up with a "frozen
" computer, even though with patience
6674 # the test eventually succeeds (with a max line length of 256k).
6675 # Instead, let's just punt: use the minimum linelength reported by
6676 # all of the supported platforms: 8192 (on NT/2K/XP).
6677 lt_cv_sys_max_cmd_len=8192;
6681 # On MiNT this can take a long time and run out of memory.
6682 lt_cv_sys_max_cmd_len=8192;
6686 # On AmigaOS with pdksh, this test takes hours, literally.
6687 # So we just punt and use a minimum line length of 8192.
6688 lt_cv_sys_max_cmd_len=8192;
6691 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6692 # This has been around since 386BSD, at least. Likely further.
6693 if test -x /sbin/sysctl; then
6694 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6695 elif test -x /usr/sbin/sysctl; then
6696 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6698 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6700 # And add a safety zone
6701 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6702 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6706 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6707 lt_cv_sys_max_cmd_len=196608
6711 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6712 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6713 # nice to cause kernel panics so lets avoid the loop below.
6714 # First set a reasonable default.
6715 lt_cv_sys_max_cmd_len=16384
6717 if test -x /sbin/sysconfig; then
6718 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6719 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6724 lt_cv_sys_max_cmd_len=102400
6726 sysv5* | sco5v6* | sysv4.2uw2*)
6727 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6728 if test -n "$kargmax"; then
6729 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6731 lt_cv_sys_max_cmd_len=32768
6735 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6736 if test -n "$lt_cv_sys_max_cmd_len"; then
6737 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6738 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6740 # Make teststring a little bigger before we do anything with it.
6741 # a 1K string should be a reasonable start.
6742 for i in 1 2 3 4 5 6 7 8 ; do
6743 teststring=$teststring$teststring
6745 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6746 # If test is not a shell built-in, we'll probably end up computing a
6747 # maximum length that is only half of the actual maximum length, but
6749 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6750 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6751 test $i != 17 # 1/2 MB should be enough
6754 teststring=$teststring$teststring
6756 # Only check the string length outside the loop.
6757 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6759 # Add a significant safety factor because C++ compilers can tack on
6760 # massive amounts of additional arguments before passing them to the
6761 # linker. It appears as though 1/2 is a usable value.
6762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6769 if test -n $lt_cv_sys_max_cmd_len ; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6771 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6774 $as_echo "none
" >&6; }
6776 max_cmd_len=$lt_cv_sys_max_cmd_len
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6788 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6789 # Try some XSI features
6792 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6794 && eval 'test $(( 1 + 1 )) -eq 2 \
6795 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6798 $as_echo "$xsi_shell" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6802 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6804 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6806 && lt_shell_append
=yes
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6808 $as_echo "$lt_shell_append" >&6; }
6811 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6821 # test EBCDIC or ASCII
6822 case `echo X|tr X '\101'` in
6823 A
) # ASCII based system
6824 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6825 lt_SP2NL
='tr \040 \012'
6826 lt_NL2SP
='tr \015\012 \040\040'
6828 *) # EBCDIC based system
6829 lt_SP2NL
='tr \100 \n'
6830 lt_NL2SP
='tr \r\n \100\100'
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6843 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6844 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6845 $as_echo_n "(cached) " >&6
6847 lt_cv_ld_reload_flag
='-r'
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6850 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6851 reload_flag
=$lt_cv_ld_reload_flag
6852 case $reload_flag in
6854 *) reload_flag
=" $reload_flag" ;;
6856 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6859 if test "$GCC" = yes; then
6860 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6862 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6875 if test -n "$ac_tool_prefix"; then
6876 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6877 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 $as_echo_n "checking for $ac_word... " >&6; }
6880 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6883 if test -n "$OBJDUMP"; then
6884 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir
=.
6891 for ac_exec_ext
in '' $ac_executable_extensions; do
6892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6893 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 OBJDUMP
=$ac_cv_prog_OBJDUMP
6904 if test -n "$OBJDUMP"; then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6906 $as_echo "$OBJDUMP" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 $as_echo "no" >&6; }
6914 if test -z "$ac_cv_prog_OBJDUMP"; then
6915 ac_ct_OBJDUMP
=$OBJDUMP
6916 # Extract the first word of "objdump", so it can be a program name with args.
6917 set dummy objdump
; ac_word
=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6921 $as_echo_n "(cached) " >&6
6923 if test -n "$ac_ct_OBJDUMP"; then
6924 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6930 test -z "$as_dir" && as_dir
=.
6931 for ac_exec_ext
in '' $ac_executable_extensions; do
6932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6933 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6944 if test -n "$ac_ct_OBJDUMP"; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6946 $as_echo "$ac_ct_OBJDUMP" >&6; }
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 $as_echo "no" >&6; }
6952 if test "x$ac_ct_OBJDUMP" = x
; then
6955 case $cross_compiling:$ac_tool_warned in
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6959 ac_tool_warned
=yes ;;
6961 OBJDUMP
=$ac_ct_OBJDUMP
6964 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6967 test -z "$OBJDUMP" && OBJDUMP
=objdump
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6978 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6979 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6980 $as_echo_n "(cached) " >&6
6982 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6983 lt_cv_file_magic_test_file
=
6984 lt_cv_deplibs_check_method
='unknown'
6985 # Need to set the preceding variable on all platforms that support
6986 # interlibrary dependencies.
6987 # 'none' -- dependencies not supported.
6988 # `unknown' -- same as none, but documents that we really don't know.
6989 # 'pass_all' -- all dependencies passed with no checks.
6990 # 'test_compile' -- check by making test program.
6991 # 'file_magic [[regex]]' -- check by looking for files in library path
6992 # which responds to the $file_magic_cmd with a given extended regex.
6993 # If you have `file' or equivalent on your system and you're not sure
6994 # whether `pass_all' will *always* work, you probably want this one.
6998 lt_cv_deplibs_check_method
=pass_all
7002 lt_cv_deplibs_check_method
=pass_all
7006 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7007 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7008 lt_cv_file_magic_test_file
=/shlib
/libc.so
7012 # func_win32_libid is a shell function defined in ltmain.sh
7013 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7014 lt_cv_file_magic_cmd
='func_win32_libid'
7018 # Base MSYS/MinGW do not provide the 'file' command needed by
7019 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7020 # unless we find 'file', for example because we are cross-compiling.
7021 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7022 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7023 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7024 lt_cv_file_magic_cmd
='func_win32_libid'
7026 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7027 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7032 # use the weaker test based on 'objdump'. See mingw*.
7033 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7034 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7037 darwin
* | rhapsody
*)
7038 lt_cv_deplibs_check_method
=pass_all
7041 freebsd
* | dragonfly
*)
7042 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7045 # Not sure whether the presence of OpenBSD here was a mistake.
7046 # Let's accept both of them until this is cleared up.
7047 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7048 lt_cv_file_magic_cmd
=/usr
/bin
/file
7049 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7053 lt_cv_deplibs_check_method
=pass_all
7058 lt_cv_deplibs_check_method
=pass_all
7062 lt_cv_deplibs_check_method
=pass_all
7065 hpux10.20
* | hpux11
*)
7066 lt_cv_file_magic_cmd
=/usr
/bin
/file
7069 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7070 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7073 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]'
7074 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7077 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7078 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7084 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7085 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7088 irix5
* | irix6
* | nonstopux
*)
7090 *-32|
*"-32 ") libmagic
=32-bit;;
7091 *-n32|
*"-n32 ") libmagic
=N32
;;
7092 *-64|
*"-64 ") libmagic
=64-bit;;
7093 *) libmagic
=never-match
;;
7095 lt_cv_deplibs_check_method
=pass_all
7098 # This must be Linux ELF.
7099 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7100 lt_cv_deplibs_check_method
=pass_all
7104 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7105 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7107 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7112 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7113 lt_cv_file_magic_cmd
=/usr
/bin
/file
7114 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7118 lt_cv_deplibs_check_method
=pass_all
7122 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7123 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7125 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7129 osf3
* | osf4
* | osf5
*)
7130 lt_cv_deplibs_check_method
=pass_all
7134 lt_cv_deplibs_check_method
=pass_all
7138 lt_cv_deplibs_check_method
=pass_all
7141 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7142 lt_cv_deplibs_check_method
=pass_all
7146 case $host_vendor in
7148 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]'
7149 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7152 lt_cv_deplibs_check_method
=pass_all
7155 lt_cv_file_magic_cmd
='/bin/file'
7156 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7159 lt_cv_file_magic_cmd
='/bin/file'
7160 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7161 lt_cv_file_magic_test_file
=/lib
/libc.so
7164 lt_cv_deplibs_check_method
=pass_all
7167 lt_cv_deplibs_check_method
=pass_all
7173 lt_cv_deplibs_check_method
=pass_all
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7179 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7180 file_magic_cmd
=$lt_cv_file_magic_cmd
7181 deplibs_check_method
=$lt_cv_deplibs_check_method
7182 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7195 if test -n "$ac_tool_prefix"; then
7196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7197 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if test "${ac_cv_prog_AR+set}" = set; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$AR"; then
7204 ac_cv_prog_AR
="$AR" # Let the user override the test.
7206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir
=.
7211 for ac_exec_ext
in '' $ac_executable_extensions; do
7212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7213 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 if test -n "$AR"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7226 $as_echo "$AR" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7234 if test -z "$ac_cv_prog_AR"; then
7236 # Extract the first word of "ar", so it can be a program name with args.
7237 set dummy
ar; ac_word
=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$ac_ct_AR"; then
7244 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir
=.
7251 for ac_exec_ext
in '' $ac_executable_extensions; do
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 ac_cv_prog_ac_ct_AR
="ar"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7264 if test -n "$ac_ct_AR"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7266 $as_echo "$ac_ct_AR" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7272 if test "x$ac_ct_AR" = x
; then
7275 case $cross_compiling:$ac_tool_warned in
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7279 ac_tool_warned
=yes ;;
7287 test -z "$AR" && AR
=ar
7288 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7300 if test -n "$ac_tool_prefix"; then
7301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7302 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if test "${ac_cv_prog_STRIP+set}" = set; then :
7306 $as_echo_n "(cached) " >&6
7308 if test -n "$STRIP"; then
7309 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7315 test -z "$as_dir" && as_dir
=.
7316 for ac_exec_ext
in '' $ac_executable_extensions; do
7317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 STRIP
=$ac_cv_prog_STRIP
7329 if test -n "$STRIP"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7331 $as_echo "$STRIP" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7339 if test -z "$ac_cv_prog_STRIP"; then
7341 # Extract the first word of "strip", so it can be a program name with args.
7342 set dummy strip
; ac_word
=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7346 $as_echo_n "(cached) " >&6
7348 if test -n "$ac_ct_STRIP"; then
7349 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir
=.
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7358 ac_cv_prog_ac_ct_STRIP
="strip"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7369 if test -n "$ac_ct_STRIP"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7371 $as_echo "$ac_ct_STRIP" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7377 if test "x$ac_ct_STRIP" = x
; then
7380 case $cross_compiling:$ac_tool_warned in
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7384 ac_tool_warned
=yes ;;
7389 STRIP
="$ac_cv_prog_STRIP"
7392 test -z "$STRIP" && STRIP
=:
7399 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7401 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7407 if test -n "$RANLIB"; then
7408 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir
=.
7415 for ac_exec_ext
in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 RANLIB
=$ac_cv_prog_RANLIB
7428 if test -n "$RANLIB"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7430 $as_echo "$RANLIB" >&6; }
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7438 if test -z "$ac_cv_prog_RANLIB"; then
7439 ac_ct_RANLIB
=$RANLIB
7440 # Extract the first word of "ranlib", so it can be a program name with args.
7441 set dummy ranlib
; ac_word
=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7445 $as_echo_n "(cached) " >&6
7447 if test -n "$ac_ct_RANLIB"; then
7448 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir
=.
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7468 if test -n "$ac_ct_RANLIB"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7470 $as_echo "$ac_ct_RANLIB" >&6; }
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7476 if test "x$ac_ct_RANLIB" = x
; then
7479 case $cross_compiling:$ac_tool_warned in
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7483 ac_tool_warned
=yes ;;
7485 RANLIB
=$ac_ct_RANLIB
7488 RANLIB
="$ac_cv_prog_RANLIB"
7491 test -z "$RANLIB" && RANLIB
=:
7498 # Determine commands to create old-style static archives.
7499 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7500 old_postinstall_cmds
='chmod 644 $oldlib'
7501 old_postuninstall_cmds
=
7503 if test -n "$RANLIB"; then
7506 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7509 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7512 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7517 lock_old_archive_extraction
=yes ;;
7519 lock_old_archive_extraction
=no
;;
7560 # If no C compiler was specified, use CC.
7563 # If no C compiler flags were specified, use CFLAGS.
7564 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7566 # Allow CC to be a program name with arguments.
7570 # Check for command to grab the raw symbol name followed by C symbol from nm.
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7572 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7573 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7574 $as_echo_n "(cached) " >&6
7577 # These are sane defaults that work on at least a few old systems.
7578 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7580 # Character class describing NM global symbol codes.
7581 symcode
='[BCDEGRST]'
7583 # Regexp to match symbols that can be accessed directly from C.
7584 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7586 # Define system-specific variables.
7591 cygwin
* | mingw
* | pw32
* | cegcc
*)
7592 symcode
='[ABCDGISTW]'
7595 if test "$host_cpu" = ia64
; then
7596 symcode
='[ABCDEGRST]'
7600 symcode
='[BCDEGRST]'
7603 symcode
='[BCDEGQRST]'
7614 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7622 # If we're using GNU nm, then use its standard symbol codes.
7623 case `$NM -V 2>&1` in
7624 *GNU
* |
*'with BFD'*)
7625 symcode
='[ABCDGIRSTW]' ;;
7628 # Transform an extracted symbol line into a proper C declaration.
7629 # Some systems (esp. on ia64) link data and code symbols differently,
7630 # so use this general approach.
7631 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7633 # Transform an extracted symbol line into symbol name and symbol address
7634 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7635 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'"
7637 # Handle CRLF in mingw tool chain
7641 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7645 # Try without a prefix underscore, then with it.
7646 for ac_symprfx
in "" "_"; do
7648 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7649 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7651 # Write the raw and C identifiers.
7652 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7653 # Fake it for dumpbin and say T for any non-static function
7654 # and D for any global variable.
7655 # Also find C++ and __fastcall symbols from MSVC++,
7656 # which start with @ or ?.
7657 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7658 " {last_section=section; section=\$ 3};"\
7659 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7660 " \$ 0!~/External *\|/{next};"\
7661 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7662 " {if(hide[section]) next};"\
7663 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7664 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7665 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7666 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7667 " ' prfx=^$ac_symprfx"
7669 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7672 # Check to see that the pipe works correctly.
7676 cat > conftest.
$ac_ext <<_LT_EOF
7681 void nm_test_func(void);
7682 void nm_test_func(void){}
7686 int main(){nm_test_var='a';nm_test_func();return(0);}
7689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7690 (eval $ac_compile) 2>&5
7692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7693 test $ac_status = 0; }; then
7694 # Now try to grab the symbols.
7696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7697 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7700 test $ac_status = 0; } && test -s "$nlist"; then
7701 # Try sorting and uniquifying the output.
7702 if sort "$nlist" |
uniq > "$nlist"T
; then
7703 mv -f "$nlist"T
"$nlist"
7708 # Make sure that we snagged all the symbols we need.
7709 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7710 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7711 cat <<_LT_EOF > conftest.$ac_ext
7717 # Now generate the symbol file.
7718 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7720 cat <<_LT_EOF >> conftest.$ac_ext
7722 /* The mapping between symbol names and symbols. */
7727 lt__PROGRAM__LTX_preloaded_symbols[] =
7729 { "@PROGRAM@", (void *) 0 },
7731 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7732 cat <<\_LT_EOF
>> conftest.
$ac_ext
7736 /* This works around a problem
in FreeBSD linker
*/
7737 #ifdef FREEBSD_WORKAROUND
7738 static const void
*lt_preloaded_setup
() {
7739 return lt__PROGRAM__LTX_preloaded_symbols
;
7747 # Now try linking the two files.
7748 mv conftest.
$ac_objext conftstm.
$ac_objext
7749 lt_save_LIBS
="$LIBS"
7750 lt_save_CFLAGS
="$CFLAGS"
7751 LIBS
="conftstm.$ac_objext"
7752 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7753 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7754 (eval $ac_link) 2>&5
7756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7757 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7760 LIBS
="$lt_save_LIBS"
7761 CFLAGS
="$lt_save_CFLAGS"
7763 echo "cannot find nm_test_func in $nlist" >&5
7766 echo "cannot find nm_test_var in $nlist" >&5
7769 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7772 echo "$progname: failed program was:" >&5
7773 cat conftest.
$ac_ext >&5
7775 rm -rf conftest
* conftst
*
7777 # Do not use the global_symbol_pipe unless it works.
7778 if test "$pipe_works" = yes; then
7781 lt_cv_sys_global_symbol_pipe
=
7787 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7788 lt_cv_sys_global_symbol_to_cdecl
=
7790 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7792 $as_echo "failed" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7795 $as_echo "ok" >&6; }
7819 # Check whether --enable-libtool-lock was given.
7820 if test "${enable_libtool_lock+set}" = set; then :
7821 enableval
=$enable_libtool_lock;
7824 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7826 # Some flags need to be propagated to the compiler or linker for good
7830 # Find out which ABI we are using.
7831 echo 'int i;' > conftest.
$ac_ext
7832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7833 (eval $ac_compile) 2>&5
7835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7836 test $ac_status = 0; }; then
7837 case `/usr/bin/file conftest.$ac_objext` in
7849 # Find out which ABI we are using.
7850 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7852 (eval $ac_compile) 2>&5
7854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7855 test $ac_status = 0; }; then
7856 if test "$lt_cv_prog_gnu_ld" = yes; then
7857 case `/usr/bin/file conftest.$ac_objext` in
7859 LD
="${LD-ld} -melf32bsmip"
7862 LD
="${LD-ld} -melf32bmipn32"
7865 LD
="${LD-ld} -melf64bmip"
7869 case `/usr/bin/file conftest.$ac_objext` in
7885 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7886 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7887 # Find out which ABI we are using.
7888 echo 'int i;' > conftest.
$ac_ext
7889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7890 (eval $ac_compile) 2>&5
7892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7893 test $ac_status = 0; }; then
7894 case `/usr/bin/file conftest.o` in
7897 x86_64-
*kfreebsd
*-gnu)
7898 LD
="${LD-ld} -m elf_i386_fbsd"
7901 case `/usr/bin/file conftest.o` in
7903 LD
="${LD-ld} -m elf32_x86_64"
7906 LD
="${LD-ld} -m elf_i386"
7910 powerpc64le-
*linux
*)
7911 LD
="${LD-ld} -m elf32lppclinux"
7914 LD
="${LD-ld} -m elf32ppclinux"
7917 LD
="${LD-ld} -m elf_s390"
7920 LD
="${LD-ld} -m elf32_sparc"
7926 x86_64-
*kfreebsd
*-gnu)
7927 LD
="${LD-ld} -m elf_x86_64_fbsd"
7930 LD
="${LD-ld} -m elf_x86_64"
7933 LD
="${LD-ld} -m elf64lppc"
7936 LD
="${LD-ld} -m elf64ppc"
7938 s390
*-*linux
*|s390
*-*tpf
*)
7939 LD
="${LD-ld} -m elf64_s390"
7942 LD
="${LD-ld} -m elf64_sparc"
7952 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7953 SAVE_CFLAGS
="$CFLAGS"
7954 CFLAGS
="$CFLAGS -belf"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7956 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7957 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7958 $as_echo_n "(cached) " >&6
7961 ac_cpp
='$CPP $CPPFLAGS'
7962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7977 if ac_fn_c_try_link
"$LINENO"; then :
7978 lt_cv_cc_needs_belf
=yes
7980 lt_cv_cc_needs_belf
=no
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7985 ac_cpp
='$CPP $CPPFLAGS'
7986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7992 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7993 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7994 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7995 CFLAGS
="$SAVE_CFLAGS"
7999 # Find out which ABI we are using.
8000 echo 'int i;' > conftest.
$ac_ext
8001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8002 (eval $ac_compile) 2>&5
8004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8005 test $ac_status = 0; }; then
8006 case `/usr/bin/file conftest.o` in
8008 case $lt_cv_prog_gnu_ld in
8009 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8011 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8023 need_locks
="$enable_libtool_lock"
8027 rhapsody
* | darwin
*)
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8030 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8034 $as_echo_n "(cached) " >&6
8036 if test -n "$DSYMUTIL"; then
8037 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir
=.
8044 for ac_exec_ext
in '' $ac_executable_extensions; do
8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8046 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8057 if test -n "$DSYMUTIL"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8059 $as_echo "$DSYMUTIL" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_DSYMUTIL"; then
8068 ac_ct_DSYMUTIL
=$DSYMUTIL
8069 # Extract the first word of "dsymutil", so it can be a program name with args.
8070 set dummy dsymutil
; ac_word
=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8074 $as_echo_n "(cached) " >&6
8076 if test -n "$ac_ct_DSYMUTIL"; then
8077 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir
=.
8084 for ac_exec_ext
in '' $ac_executable_extensions; do
8085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8086 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8097 if test -n "$ac_ct_DSYMUTIL"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_DSYMUTIL" = x
; then
8108 case $cross_compiling:$ac_tool_warned in
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned
=yes ;;
8114 DSYMUTIL
=$ac_ct_DSYMUTIL
8117 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8122 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$NMEDIT"; then
8129 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir
=.
8136 for ac_exec_ext
in '' $ac_executable_extensions; do
8137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8138 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 NMEDIT
=$ac_cv_prog_NMEDIT
8149 if test -n "$NMEDIT"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8151 $as_echo "$NMEDIT" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_NMEDIT"; then
8160 ac_ct_NMEDIT
=$NMEDIT
8161 # Extract the first word of "nmedit", so it can be a program name with args.
8162 set dummy nmedit
; ac_word
=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8168 if test -n "$ac_ct_NMEDIT"; then
8169 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir
=.
8176 for ac_exec_ext
in '' $ac_executable_extensions; do
8177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8178 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8189 if test -n "$ac_ct_NMEDIT"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8191 $as_echo "$ac_ct_NMEDIT" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_NMEDIT" = x
; then
8200 case $cross_compiling:$ac_tool_warned in
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned
=yes ;;
8206 NMEDIT
=$ac_ct_NMEDIT
8209 NMEDIT
="$ac_cv_prog_NMEDIT"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8214 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if test "${ac_cv_prog_LIPO+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8220 if test -n "$LIPO"; then
8221 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir
=.
8228 for ac_exec_ext
in '' $ac_executable_extensions; do
8229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8230 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240 LIPO
=$ac_cv_prog_LIPO
8241 if test -n "$LIPO"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8243 $as_echo "$LIPO" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_LIPO"; then
8253 # Extract the first word of "lipo", so it can be a program name with args.
8254 set dummy lipo
; ac_word
=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$ac_ct_LIPO"; then
8261 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir
=.
8268 for ac_exec_ext
in '' $ac_executable_extensions; do
8269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8270 ac_cv_prog_ac_ct_LIPO
="lipo"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8281 if test -n "$ac_ct_LIPO"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8283 $as_echo "$ac_ct_LIPO" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_LIPO" = x
; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned
=yes ;;
8301 LIPO
="$ac_cv_prog_LIPO"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8306 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8312 if test -n "$OTOOL"; then
8313 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir
=.
8320 for ac_exec_ext
in '' $ac_executable_extensions; do
8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8322 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 OTOOL
=$ac_cv_prog_OTOOL
8333 if test -n "$OTOOL"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 $as_echo "$OTOOL" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL"; then
8345 # Extract the first word of "otool", so it can be a program name with args.
8346 set dummy otool
; ac_word
=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_OTOOL"; then
8353 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir
=.
8360 for ac_exec_ext
in '' $ac_executable_extensions; do
8361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8362 ac_cv_prog_ac_ct_OTOOL
="otool"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8373 if test -n "$ac_ct_OTOOL"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8375 $as_echo "$ac_ct_OTOOL" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL" = x
; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned
=yes ;;
8393 OTOOL
="$ac_cv_prog_OTOOL"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8398 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$OTOOL64"; then
8405 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir
=.
8412 for ac_exec_ext
in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 OTOOL64
=$ac_cv_prog_OTOOL64
8425 if test -n "$OTOOL64"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8427 $as_echo "$OTOOL64" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_OTOOL64"; then
8436 ac_ct_OTOOL64
=$OTOOL64
8437 # Extract the first word of "otool64", so it can be a program name with args.
8438 set dummy otool64
; ac_word
=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_OTOOL64"; then
8445 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir
=.
8452 for ac_exec_ext
in '' $ac_executable_extensions; do
8453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8454 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8465 if test -n "$ac_ct_OTOOL64"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8467 $as_echo "$ac_ct_OTOOL64" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_OTOOL64" = x
; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned
=yes ;;
8482 OTOOL64
=$ac_ct_OTOOL64
8485 OTOOL64
="$ac_cv_prog_OTOOL64"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8515 $as_echo_n "checking for -single_module linker flag... " >&6; }
8516 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8519 lt_cv_apple_cc_single_mod
=no
8520 if test -z "${LT_MULTI_MODULE}"; then
8521 # By default we will add the -single_module flag. You can override
8522 # by either setting the environment variable LT_MULTI_MODULE
8523 # non-empty at configure time, or by adding -multi_module to the
8525 rm -rf libconftest.dylib
*
8526 echo "int foo(void){return 1;}" > conftest.c
8527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8528 -dynamiclib -Wl,-single_module conftest.c" >&5
8529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8532 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8533 lt_cv_apple_cc_single_mod
=yes
8535 cat conftest.err
>&5
8537 rm -rf libconftest.dylib
*
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8542 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8544 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8545 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8546 $as_echo_n "(cached) " >&6
8548 lt_cv_ld_exported_symbols_list
=no
8549 save_LDFLAGS
=$LDFLAGS
8550 echo "_main" > conftest.sym
8551 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8563 if ac_fn_c_try_link
"$LINENO"; then :
8564 lt_cv_ld_exported_symbols_list
=yes
8566 lt_cv_ld_exported_symbols_list
=no
8568 rm -f core conftest.err conftest.
$ac_objext \
8569 conftest
$ac_exeext conftest.
$ac_ext
8570 LDFLAGS
="$save_LDFLAGS"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8576 $as_echo_n "checking for -force_load linker flag... " >&6; }
8577 if test "${lt_cv_ld_force_load+set}" = set; then :
8578 $as_echo_n "(cached) " >&6
8580 lt_cv_ld_force_load
=no
8581 cat > conftest.c
<< _LT_EOF
8582 int forced_loaded() { return 2;}
8584 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8585 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8586 echo "$AR cru libconftest.a conftest.o" >&5
8587 $AR cru libconftest.a conftest.o
2>&5
8588 cat > conftest.c
<< _LT_EOF
8589 int main() { return 0;}
8591 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8592 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8594 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8595 lt_cv_ld_force_load
=yes
8597 cat conftest.err
>&5
8599 rm -f conftest.err libconftest.a conftest conftest.c
8600 rm -rf conftest.dSYM
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8604 $as_echo "$lt_cv_ld_force_load" >&6; }
8606 rhapsody
* | darwin1.
[012])
8607 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8609 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8610 darwin
*) # darwin 5.x on
8611 # if running on 10.5 or later, the deployment target defaults
8612 # to the OS version, if on x86, and 10.4, the deployment
8613 # target defaults to 10.4. Don't you love it?
8614 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8615 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8616 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8618 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8620 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8624 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8625 _lt_dar_single_mod
='$single_module'
8627 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8628 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8630 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8632 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8633 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8640 for ac_header
in dlfcn.h
8642 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8644 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8645 cat >>confdefs.h
<<_ACEOF
8646 #define HAVE_DLFCN_H 1
8666 # Check whether --enable-shared was given.
8667 if test "${enable_shared+set}" = set; then :
8668 enableval
=$enable_shared; p
=${PACKAGE-default}
8670 yes) enable_shared
=yes ;;
8671 no
) enable_shared
=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
8697 # Check whether --enable-static was given.
8698 if test "${enable_static+set}" = set; then :
8699 enableval
=$enable_static; p
=${PACKAGE-default}
8701 yes) enable_static
=yes ;;
8702 no
) enable_static
=no
;;
8705 # Look at the argument we got. We use all the common list separators.
8706 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8707 for pkg
in $enableval; do
8709 if test "X$pkg" = "X$p"; then
8729 # Check whether --with-pic was given.
8730 if test "${with_pic+set}" = set; then :
8731 withval
=$with_pic; pic_mode
="$withval"
8737 test -z "$pic_mode" && pic_mode
=default
8745 # Check whether --enable-fast-install was given.
8746 if test "${enable_fast_install+set}" = set; then :
8747 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8749 yes) enable_fast_install
=yes ;;
8750 no
) enable_fast_install
=no
;;
8752 enable_fast_install
=no
8753 # Look at the argument we got. We use all the common list separators.
8754 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8755 for pkg
in $enableval; do
8757 if test "X$pkg" = "X$p"; then
8758 enable_fast_install
=yes
8765 enable_fast_install
=yes
8778 # This can be used to rebuild libtool when needed
8779 LIBTOOL_DEPS
="$ltmain"
8781 # Always use our own libtool.
8782 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8809 test -z "$LN_S" && LN_S
="ln -s"
8824 if test -n "${ZSH_VERSION+set}" ; then
8825 setopt NO_GLOB_SUBST
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8829 $as_echo_n "checking for objdir... " >&6; }
8830 if test "${lt_cv_objdir+set}" = set; then :
8831 $as_echo_n "(cached) " >&6
8833 rm -f .libs
2>/dev
/null
8834 mkdir .libs
2>/dev
/null
8835 if test -d .libs
; then
8838 # MS-DOS does not allow filenames that begin with a dot.
8841 rmdir .libs
2>/dev
/null
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8844 $as_echo "$lt_cv_objdir" >&6; }
8845 objdir
=$lt_cv_objdir
8851 cat >>confdefs.h
<<_ACEOF
8852 #define LT_OBJDIR "$lt_cv_objdir/"
8860 # AIX sometimes has problems with the GCC collect2 program. For some
8861 # reason, if we set the COLLECT_NAMES environment variable, the problems
8862 # vanish in a puff of smoke.
8863 if test "X${COLLECT_NAMES+set}" != Xset
; then
8865 export COLLECT_NAMES
8872 can_build_shared
=yes
8874 # All known linkers require a `.a' archive for static linking (except MSVC,
8875 # which needs '.lib').
8878 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8881 old_CFLAGS
="$CFLAGS"
8883 # Set sane defaults for various variables
8884 test -z "$CC" && CC
=cc
8885 test -z "$LTCC" && LTCC
=$CC
8886 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8887 test -z "$LD" && LD
=ld
8888 test -z "$ac_objext" && ac_objext
=o
8890 for cc_temp
in $compiler""; do
8892 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8893 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8898 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8901 # Only perform the check for file, if the check method requires it
8902 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8903 case $deplibs_check_method in
8905 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8907 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8908 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8909 $as_echo_n "(cached) " >&6
8913 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8916 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8917 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8918 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8919 for ac_dir
in $ac_dummy; do
8921 test -z "$ac_dir" && ac_dir
=.
8922 if test -f $ac_dir/${ac_tool_prefix}file; then
8923 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8924 if test -n "$file_magic_test_file"; then
8925 case $deplibs_check_method in
8927 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8928 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8929 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8930 $EGREP "$file_magic_regex" > /dev
/null
; then
8935 *** Warning: the command libtool uses to detect shared libraries,
8936 *** $file_magic_cmd, produces output that libtool cannot recognize.
8937 *** The result is that libtool may fail to recognize shared libraries
8938 *** as such. This will affect the creation of libtool libraries that
8939 *** depend on shared libraries, but programs linked with such libtool
8940 *** libraries will work regardless of this problem. Nevertheless, you
8941 *** may want to report the problem to your system manager and/or to
8942 *** bug-libtool@gnu.org
8952 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8957 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8958 if test -n "$MAGIC_CMD"; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8960 $as_echo "$MAGIC_CMD" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8963 $as_echo "no" >&6; }
8970 if test -z "$lt_cv_path_MAGIC_CMD"; then
8971 if test -n "$ac_tool_prefix"; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8973 $as_echo_n "checking for file... " >&6; }
8974 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8975 $as_echo_n "(cached) " >&6
8979 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8982 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8983 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8984 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8985 for ac_dir
in $ac_dummy; do
8987 test -z "$ac_dir" && ac_dir
=.
8988 if test -f $ac_dir/file; then
8989 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8990 if test -n "$file_magic_test_file"; then
8991 case $deplibs_check_method in
8993 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8994 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8995 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8996 $EGREP "$file_magic_regex" > /dev
/null
; then
9001 *** Warning: the command libtool uses to detect shared libraries,
9002 *** $file_magic_cmd, produces output that libtool cannot recognize.
9003 *** The result is that libtool may fail to recognize shared libraries
9004 *** as such. This will affect the creation of libtool libraries that
9005 *** depend on shared libraries, but programs linked with such libtool
9006 *** libraries will work regardless of this problem. Nevertheless, you
9007 *** may want to report the problem to your system manager and/or to
9008 *** bug-libtool@gnu.org
9018 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9023 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9024 if test -n "$MAGIC_CMD"; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9026 $as_echo "$MAGIC_CMD" >&6; }
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9029 $as_echo "no" >&6; }
9042 # Use C for the default configuration in the libtool script
9046 ac_cpp
='$CPP $CPPFLAGS'
9047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9052 # Source file extension for C test sources.
9055 # Object file extension for compiled C test sources.
9059 # Code to be used in simple compile tests
9060 lt_simple_compile_test_code
="int some_variable = 0;"
9062 # Code to be used in simple link tests
9063 lt_simple_link_test_code
='int main(){return(0);}'
9071 # If no C compiler was specified, use CC.
9074 # If no C compiler flags were specified, use CFLAGS.
9075 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9077 # Allow CC to be a program name with arguments.
9080 # Save the default compiler, since it gets overwritten when the other
9081 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9082 compiler_DEFAULT
=$CC
9084 # save warnings/boilerplate of simple test code
9085 ac_outfile
=conftest.
$ac_objext
9086 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9087 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9088 _lt_compiler_boilerplate
=`cat conftest.err`
9091 ac_outfile
=conftest.
$ac_objext
9092 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9093 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9094 _lt_linker_boilerplate
=`cat conftest.err`
9099 ## There is no encapsulation within the following macros, do not change
9100 ## the running order or otherwise move them around unless you know exactly
9101 ## what you are doing...
9102 if test -n "$compiler"; then
9104 lt_prog_compiler_no_builtin_flag
=
9106 if test "$GCC" = yes; then
9107 case $cc_basename in
9109 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9111 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9115 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9116 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9117 $as_echo_n "(cached) " >&6
9119 lt_cv_prog_compiler_rtti_exceptions
=no
9120 ac_outfile
=conftest.
$ac_objext
9121 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9122 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9123 # Insert the option either (1) after the last *FLAGS variable, or
9124 # (2) before a word containing "conftest.", or (3) at the end.
9125 # Note that $ac_compile itself does not contain backslashes and begins
9126 # with a dollar sign (not a hyphen), so the echo should work correctly.
9127 # The option is referenced via a variable to avoid confusing sed.
9128 lt_compile
=`echo "$ac_compile" | $SED \
9129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9131 -e 's:$: $lt_compiler_flag:'`
9132 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9133 (eval "$lt_compile" 2>conftest.err
)
9135 cat conftest.err
>&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 if (exit $ac_status) && test -s "$ac_outfile"; then
9138 # The compiler can only warn and ignore the option if not recognized
9139 # So say no if there are warnings other than the usual output.
9140 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9142 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9143 lt_cv_prog_compiler_rtti_exceptions
=yes
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9150 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9152 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9153 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9165 lt_prog_compiler_wl
=
9166 lt_prog_compiler_pic
=
9167 lt_prog_compiler_static
=
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9170 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9172 if test "$GCC" = yes; then
9173 lt_prog_compiler_wl
='-Wl,'
9174 lt_prog_compiler_static
='-static'
9178 # All AIX code is PIC.
9179 if test "$host_cpu" = ia64
; then
9180 # AIX 5 now supports IA64 processor
9181 lt_prog_compiler_static
='-Bstatic'
9183 lt_prog_compiler_pic
='-fPIC'
9189 # see comment about AmigaOS4 .so support
9190 lt_prog_compiler_pic
='-fPIC'
9193 # FIXME: we need at least 68020 code to build shared libraries, but
9194 # adding the `-m68020' flag to GCC prevents building anything better,
9196 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9201 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9202 # PIC is the default for these OSes.
9205 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9206 # This hack is so that the source file can tell whether it is being
9207 # built for inclusion in a dll (and should export symbols for example).
9208 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9209 # (--disable-auto-import) libraries
9210 lt_prog_compiler_pic
='-DDLL_EXPORT'
9213 darwin
* | rhapsody
*)
9214 # PIC is the default on this platform
9215 # Common symbols not allowed in MH_DYLIB files
9216 lt_prog_compiler_pic
='-fno-common'
9220 # PIC is the default for Haiku.
9221 # The "-static" flag exists, but is broken.
9222 lt_prog_compiler_static
=
9226 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9227 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9228 # sets the default TLS model and affects inlining.
9234 lt_prog_compiler_pic
='-fPIC'
9240 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9241 # Instead, we relocate shared libraries at runtime.
9245 # Just because we use GCC doesn't mean we suddenly get shared libraries
9246 # on systems that don't support them.
9247 lt_prog_compiler_can_build_shared
=no
9252 # QNX uses GNU C++, but need to define -shared option too, otherwise
9254 lt_prog_compiler_pic
='-fPIC -shared'
9258 if test -d /usr
/nec
; then
9259 lt_prog_compiler_pic
=-Kconform_pic
9264 lt_prog_compiler_pic
='-fPIC'
9268 case $cc_basename in
9269 nvcc
*) # Cuda Compiler Driver 2.2
9270 lt_prog_compiler_wl
='-Xlinker '
9271 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9275 # PORTME Check for flag to pass linker flags through the system compiler.
9278 lt_prog_compiler_wl
='-Wl,'
9279 if test "$host_cpu" = ia64
; then
9280 # AIX 5 now supports IA64 processor
9281 lt_prog_compiler_static
='-Bstatic'
9283 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9287 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9288 # This hack is so that the source file can tell whether it is being
9289 # built for inclusion in a dll (and should export symbols for example).
9290 lt_prog_compiler_pic
='-DDLL_EXPORT'
9293 hpux9
* | hpux10
* | hpux11
*)
9294 lt_prog_compiler_wl
='-Wl,'
9295 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9302 lt_prog_compiler_pic
='+Z'
9305 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9306 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9309 irix5
* | irix6
* | nonstopux
*)
9310 lt_prog_compiler_wl
='-Wl,'
9311 # PIC (with -KPIC) is the default.
9312 lt_prog_compiler_static
='-non_shared'
9315 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9316 case $cc_basename in
9317 # old Intel for x86_64 which still supported -KPIC.
9319 lt_prog_compiler_wl
='-Wl,'
9320 lt_prog_compiler_pic
='-KPIC'
9321 lt_prog_compiler_static
='-static'
9323 # icc used to be incompatible with GCC.
9324 # ICC 10 doesn't accept -KPIC any more.
9326 lt_prog_compiler_wl
='-Wl,'
9327 lt_prog_compiler_pic
='-fPIC'
9328 lt_prog_compiler_static
='-static'
9330 # Lahey Fortran 8.1.
9332 lt_prog_compiler_wl
='-Wl,'
9333 lt_prog_compiler_pic
='--shared'
9334 lt_prog_compiler_static
='--static'
9336 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9337 # Portland Group compilers (*not* the Pentium gcc compiler,
9338 # which looks to be a dead project)
9339 lt_prog_compiler_wl
='-Wl,'
9340 lt_prog_compiler_pic
='-fpic'
9341 lt_prog_compiler_static
='-Bstatic'
9344 lt_prog_compiler_wl
='-Wl,'
9345 # All Alpha code is PIC.
9346 lt_prog_compiler_static
='-non_shared'
9348 xl
* | bgxl
* | bgf
* | mpixl
*)
9349 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9350 lt_prog_compiler_wl
='-Wl,'
9351 lt_prog_compiler_pic
='-qpic'
9352 lt_prog_compiler_static
='-qstaticlink'
9355 case `$CC -V 2>&1 | sed 5q` in
9356 *Sun\ F
* |
*Sun
*Fortran
*)
9357 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9358 lt_prog_compiler_pic
='-KPIC'
9359 lt_prog_compiler_static
='-Bstatic'
9360 lt_prog_compiler_wl
=''
9364 lt_prog_compiler_pic
='-KPIC'
9365 lt_prog_compiler_static
='-Bstatic'
9366 lt_prog_compiler_wl
='-Wl,'
9374 lt_prog_compiler_pic
='-KPIC'
9375 lt_prog_compiler_static
='-Bstatic'
9379 # QNX uses GNU C++, but need to define -shared option too, otherwise
9381 lt_prog_compiler_pic
='-fPIC -shared'
9384 osf3
* | osf4
* | osf5
*)
9385 lt_prog_compiler_wl
='-Wl,'
9386 # All OSF/1 code is PIC.
9387 lt_prog_compiler_static
='-non_shared'
9391 lt_prog_compiler_static
='-non_shared'
9395 lt_prog_compiler_pic
='-KPIC'
9396 lt_prog_compiler_static
='-Bstatic'
9397 case $cc_basename in
9399 lt_prog_compiler_wl
='-Qoption ld ';;
9401 lt_prog_compiler_wl
='-Wl,';;
9406 lt_prog_compiler_wl
='-Qoption ld '
9407 lt_prog_compiler_pic
='-PIC'
9408 lt_prog_compiler_static
='-Bstatic'
9411 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9412 lt_prog_compiler_wl
='-Wl,'
9413 lt_prog_compiler_pic
='-KPIC'
9414 lt_prog_compiler_static
='-Bstatic'
9418 if test -d /usr
/nec
;then
9419 lt_prog_compiler_pic
='-Kconform_pic'
9420 lt_prog_compiler_static
='-Bstatic'
9424 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9425 lt_prog_compiler_wl
='-Wl,'
9426 lt_prog_compiler_pic
='-KPIC'
9427 lt_prog_compiler_static
='-Bstatic'
9431 lt_prog_compiler_wl
='-Wl,'
9432 lt_prog_compiler_can_build_shared
=no
9436 lt_prog_compiler_pic
='-pic'
9437 lt_prog_compiler_static
='-Bstatic'
9441 lt_prog_compiler_can_build_shared
=no
9447 # For platforms which do not support PIC, -DPIC is meaningless:
9449 lt_prog_compiler_pic
=
9452 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9456 $as_echo "$lt_prog_compiler_pic" >&6; }
9464 # Check to make sure the PIC flag actually works.
9466 if test -n "$lt_prog_compiler_pic"; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9468 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9469 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9470 $as_echo_n "(cached) " >&6
9472 lt_cv_prog_compiler_pic_works
=no
9473 ac_outfile
=conftest.
$ac_objext
9474 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9475 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9476 # Insert the option either (1) after the last *FLAGS variable, or
9477 # (2) before a word containing "conftest.", or (3) at the end.
9478 # Note that $ac_compile itself does not contain backslashes and begins
9479 # with a dollar sign (not a hyphen), so the echo should work correctly.
9480 # The option is referenced via a variable to avoid confusing sed.
9481 lt_compile
=`echo "$ac_compile" | $SED \
9482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9484 -e 's:$: $lt_compiler_flag:'`
9485 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9486 (eval "$lt_compile" 2>conftest.err
)
9488 cat conftest.err
>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 if (exit $ac_status) && test -s "$ac_outfile"; then
9491 # The compiler can only warn and ignore the option if not recognized
9492 # So say no if there are warnings other than the usual output.
9493 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9494 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9495 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9496 lt_cv_prog_compiler_pic_works
=yes
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9503 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9505 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9506 case $lt_prog_compiler_pic in
9508 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9511 lt_prog_compiler_pic
=
9512 lt_prog_compiler_can_build_shared
=no
9523 # Check to make sure the static flag actually works.
9525 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9527 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9528 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9529 $as_echo_n "(cached) " >&6
9531 lt_cv_prog_compiler_static_works
=no
9532 save_LDFLAGS
="$LDFLAGS"
9533 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9534 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9535 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9536 # The linker can only warn and ignore the option if not recognized
9537 # So say no if there are warnings
9538 if test -s conftest.err
; then
9539 # Append any errors to the config.log.
9540 cat conftest.err
1>&5
9541 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9542 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9543 if diff conftest.exp conftest.er2
>/dev
/null
; then
9544 lt_cv_prog_compiler_static_works
=yes
9547 lt_cv_prog_compiler_static_works
=yes
9551 LDFLAGS
="$save_LDFLAGS"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9555 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9557 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9560 lt_prog_compiler_static
=
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9570 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9571 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9572 $as_echo_n "(cached) " >&6
9574 lt_cv_prog_compiler_c_o
=no
9575 $RM -r conftest
2>/dev
/null
9579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9581 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9582 # Insert the option either (1) after the last *FLAGS variable, or
9583 # (2) before a word containing "conftest.", or (3) at the end.
9584 # Note that $ac_compile itself does not contain backslashes and begins
9585 # with a dollar sign (not a hyphen), so the echo should work correctly.
9586 lt_compile
=`echo "$ac_compile" | $SED \
9587 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589 -e 's:$: $lt_compiler_flag:'`
9590 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9591 (eval "$lt_compile" 2>out
/conftest.err
)
9593 cat out
/conftest.err
>&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9597 # The compiler can only warn and ignore the option if not recognized
9598 # So say no if there are warnings
9599 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9600 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9601 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9602 lt_cv_prog_compiler_c_o
=yes
9607 # SGI C++ compiler will create directory out/ii_files/ for
9608 # template instantiation
9609 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9610 $RM out
/* && rmdir out
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9617 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9625 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9626 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9627 $as_echo_n "(cached) " >&6
9629 lt_cv_prog_compiler_c_o
=no
9630 $RM -r conftest
2>/dev
/null
9634 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9636 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9637 # Insert the option either (1) after the last *FLAGS variable, or
9638 # (2) before a word containing "conftest.", or (3) at the end.
9639 # Note that $ac_compile itself does not contain backslashes and begins
9640 # with a dollar sign (not a hyphen), so the echo should work correctly.
9641 lt_compile
=`echo "$ac_compile" | $SED \
9642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9644 -e 's:$: $lt_compiler_flag:'`
9645 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9646 (eval "$lt_compile" 2>out
/conftest.err
)
9648 cat out
/conftest.err
>&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9652 # The compiler can only warn and ignore the option if not recognized
9653 # So say no if there are warnings
9654 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9655 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9656 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9657 lt_cv_prog_compiler_c_o
=yes
9662 # SGI C++ compiler will create directory out/ii_files/ for
9663 # template instantiation
9664 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9665 $RM out
/* && rmdir out
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9672 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9677 hard_links
="nottested"
9678 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9679 # do not overwrite the value of need_locks provided by the user
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9681 $as_echo_n "checking if we can lock with hard links... " >&6; }
9684 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9686 ln conftest.a conftest.b
2>&5 || hard_links
=no
9687 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9689 $as_echo "$hard_links" >&6; }
9690 if test "$hard_links" = no
; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9692 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9705 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9708 allow_undefined_flag
=
9709 always_export_symbols
=no
9711 archive_expsym_cmds
=
9712 compiler_needs_object
=no
9713 enable_shared_with_static_runtimes
=no
9714 export_dynamic_flag_spec
=
9715 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9716 hardcode_automatic
=no
9718 hardcode_direct_absolute
=no
9719 hardcode_libdir_flag_spec
=
9720 hardcode_libdir_flag_spec_ld
=
9721 hardcode_libdir_separator
=
9723 hardcode_shlibpath_var
=unsupported
9725 link_all_deplibs
=unknown
9728 old_archive_from_new_cmds
=
9729 old_archive_from_expsyms_cmds
=
9730 thread_safe_flag_spec
=
9731 whole_archive_flag_spec
=
9732 # include_expsyms should be a list of space-separated symbols to be *always*
9733 # included in the symbol list
9735 # exclude_expsyms can be an extended regexp of symbols to exclude
9736 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9737 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9738 # as well as any symbol that contains `d'.
9739 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9740 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9741 # platforms (ab)use it in PIC code, but their linkers get confused if
9742 # the symbol is explicitly referenced. Since portable code cannot
9743 # rely on this symbol name, it's probably fine to never include it in
9744 # preloaded symbol tables.
9745 # Exclude shared library initialization/finalization symbols.
9746 extract_expsyms_cmds
=
9749 cygwin
* | mingw
* | pw32
* | cegcc
*)
9750 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9751 # When not using gcc, we currently assume that we are using
9752 # Microsoft Visual C++.
9753 if test "$GCC" != yes; then
9758 # we just hope/assume this is gcc and not c89 (= MSVC++)
9768 # On some targets, GNU ld is compatible enough with the native linker
9769 # that we're better off using the native interface for both.
9770 lt_use_gnu_ld_interface
=no
9771 if test "$with_gnu_ld" = yes; then
9774 # The AIX port of GNU ld has always aspired to compatibility
9775 # with the native linker. However, as the warning in the GNU ld
9776 # block says, versions before 2.19.5* couldn't really create working
9777 # shared libraries, regardless of the interface used.
9778 case `$LD -v 2>&1` in
9779 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9780 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9781 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9783 lt_use_gnu_ld_interface
=yes
9788 lt_use_gnu_ld_interface
=yes
9793 if test "$lt_use_gnu_ld_interface" = yes; then
9794 # If archive_cmds runs LD, not CC, wlarc should be empty
9797 # Set some defaults for GNU ld with shared library support. These
9798 # are reset later if shared libraries are not supported. Putting them
9799 # here allows them to be overridden if necessary.
9800 runpath_var
=LD_RUN_PATH
9801 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9802 export_dynamic_flag_spec
='${wl}--export-dynamic'
9803 # ancient GNU ld didn't support --whole-archive et. al.
9804 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9805 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9807 whole_archive_flag_spec
=
9809 supports_anon_versioning
=no
9810 case `$LD -v 2>&1` in
9811 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9812 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9813 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9814 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9815 *\
2.11.
*) ;; # other 2.11 versions
9816 *) supports_anon_versioning
=yes ;;
9819 # See if GNU ld supports shared libraries.
9822 # On AIX/PPC, the GNU linker is very broken
9823 if test "$host_cpu" != ia64
; then
9827 *** Warning: the GNU linker, at least up to release 2.19, is reported
9828 *** to be unable to reliably create shared libraries on AIX.
9829 *** Therefore, libtool is disabling shared libraries support. If you
9830 *** really care for shared libraries, you may want to install binutils
9831 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9832 *** You will then need to restart the configuration process.
9841 # see comment about AmigaOS4 .so support
9842 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9843 archive_expsym_cmds
=''
9846 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)'
9847 hardcode_libdir_flag_spec
='-L$libdir'
9848 hardcode_minus_L
=yes
9854 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9855 allow_undefined_flag
=unsupported
9856 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9857 # support --undefined. This deserves some investigation. FIXME
9858 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9864 cygwin
* | mingw
* | pw32
* | cegcc
*)
9865 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9866 # as there is no search path for DLLs.
9867 hardcode_libdir_flag_spec
='-L$libdir'
9868 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9869 allow_undefined_flag
=unsupported
9870 always_export_symbols
=no
9871 enable_shared_with_static_runtimes
=yes
9872 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9874 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9876 # If the export-symbols file already is a .def file (1st line
9877 # is EXPORTS), use it as is; otherwise, prepend...
9878 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9879 cp $export_symbols $output_objdir/$soname.def;
9881 echo EXPORTS > $output_objdir/$soname.def;
9882 cat $export_symbols >> $output_objdir/$soname.def;
9884 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9891 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9892 link_all_deplibs
=yes
9897 hardcode_shlibpath_var
=no
9898 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9899 export_dynamic_flag_spec
='${wl}-E'
9900 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9901 # Instead, shared libraries are loaded at an image base (0x10000000 by
9902 # default) and relocated if they conflict, which is a slow very memory
9903 # consuming and fragmenting process. To avoid this, we pick a random,
9904 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9905 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9906 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9907 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'
9910 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9912 if test "$host_os" = linux-dietlibc
; then
9913 case $cc_basename in
9914 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9917 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9918 && test "$tmp_diet" = no
9921 tmp_sharedflag
='-shared'
9922 case $cc_basename,$host_cpu in
9923 pgcc
*) # Portland Group C compiler
9924 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'
9925 tmp_addflag
=' $pic_flag'
9927 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9928 # Portland Group f77 and f90 compilers
9929 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'
9930 tmp_addflag
=' $pic_flag -Mnomain' ;;
9931 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9932 tmp_addflag
=' -i_dynamic' ;;
9933 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9934 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9935 ifc
* | ifort
*) # Intel Fortran compiler
9936 tmp_addflag
=' -nofor_main' ;;
9937 lf95
*) # Lahey Fortran 8.1
9938 whole_archive_flag_spec
=
9939 tmp_sharedflag
='--shared' ;;
9940 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9941 tmp_sharedflag
='-qmkshrobj'
9943 nvcc
*) # Cuda Compiler Driver 2.2
9944 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'
9945 compiler_needs_object
=yes
9948 case `$CC -V 2>&1 | sed 5q` in
9949 *Sun\ C
*) # Sun C 5.9
9950 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'
9951 compiler_needs_object
=yes
9952 tmp_sharedflag
='-G' ;;
9953 *Sun\ F
*) # Sun Fortran 8.3
9954 tmp_sharedflag
='-G' ;;
9956 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9958 if test "x$supports_anon_versioning" = xyes
; then
9959 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9960 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9961 echo "local: *; };" >> $output_objdir/$libname.ver~
9962 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9965 case $cc_basename in
9966 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9967 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9968 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9969 hardcode_libdir_flag_spec
=
9970 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9971 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9972 if test "x$supports_anon_versioning" = xyes
; then
9973 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9974 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9975 echo "local: *; };" >> $output_objdir/$libname.ver~
9976 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9986 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9987 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9990 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9991 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9996 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10000 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10001 *** create shared libraries on Solaris systems. Therefore, libtool
10002 *** is disabling shared libraries support. We urge you to upgrade GNU
10003 *** binutils to release 2.9.1 or newer. Another option is to modify
10004 *** your PATH or compiler configuration so that the native linker is
10005 *** used, and then restart.
10008 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10016 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10017 case `$LD -v 2>&1` in
10018 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10022 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10023 *** reliably create shared libraries on SCO systems. Therefore, libtool
10024 *** is disabling shared libraries support. We urge you to upgrade GNU
10025 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10026 *** your PATH or compiler configuration so that the native linker is
10027 *** used, and then restart.
10032 # For security reasons, it is highly recommended that you always
10033 # use absolute paths for naming shared libraries, and exclude the
10034 # DT_RUNPATH tag from executables and libraries. But doing so
10035 # requires that you compile everything twice, which is a pain.
10036 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10037 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10038 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10039 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10048 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct
=yes
10051 hardcode_shlibpath_var
=no
10055 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10057 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10064 if test "$ld_shlibs" = no
; then
10066 hardcode_libdir_flag_spec
=
10067 export_dynamic_flag_spec
=
10068 whole_archive_flag_spec
=
10071 # PORTME fill in a description of your system's linker (not GNU ld)
10074 allow_undefined_flag
=unsupported
10075 always_export_symbols
=yes
10076 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'
10077 # Note: this linker hardcodes the directories in LIBPATH if there
10078 # are no directories specified by -L.
10079 hardcode_minus_L
=yes
10080 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10081 # Neither direct hardcoding nor static linking is supported with a
10083 hardcode_direct
=unsupported
10088 if test "$host_cpu" = ia64
; then
10089 # On IA64, the linker does run time linking by default, so we don't
10090 # have to do anything special.
10091 aix_use_runtimelinking
=no
10092 exp_sym_flag
='-Bexport'
10095 # If we're using GNU nm, then we don't want the "-C" option.
10096 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10097 # Also, AIX nm treats weak defined symbols like other global
10098 # defined symbols, whereas GNU nm marks them as "W".
10099 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10100 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'
10102 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'
10104 aix_use_runtimelinking
=no
10106 # Test if we are trying to use run time linking or normal
10107 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10108 # need to do runtime linking.
10109 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10110 for ld_flag
in $LDFLAGS; do
10111 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10112 aix_use_runtimelinking
=yes
10119 exp_sym_flag
='-bexport'
10120 no_entry_flag
='-bnoentry'
10123 # When large executables or shared objects are built, AIX ld can
10124 # have problems creating the table of contents. If linking a library
10125 # or program results in "error TOC overflow" add -mminimal-toc to
10126 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10127 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10130 hardcode_direct
=yes
10131 hardcode_direct_absolute
=yes
10132 hardcode_libdir_separator
=':'
10133 link_all_deplibs
=yes
10134 file_list_spec
='${wl}-f,'
10136 if test "$GCC" = yes; then
10137 case $host_os in aix4.
[012]|aix4.
[012].
*)
10138 # We only want to do this on AIX 4.2 and lower, the check
10139 # below for broken collect2 doesn't work under 4.3+
10140 collect2name
=`${CC} -print-prog-name=collect2`
10141 if test -f "$collect2name" &&
10142 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10144 # We have reworked collect2
10147 # We have old collect2
10148 hardcode_direct
=unsupported
10149 # It fails to find uninstalled libraries when the uninstalled
10150 # path is not listed in the libpath. Setting hardcode_minus_L
10151 # to unsupported forces relinking
10152 hardcode_minus_L
=yes
10153 hardcode_libdir_flag_spec
='-L$libdir'
10154 hardcode_libdir_separator
=
10158 shared_flag
='-shared'
10159 if test "$aix_use_runtimelinking" = yes; then
10160 shared_flag
="$shared_flag "'${wl}-G'
10164 if test "$host_cpu" = ia64
; then
10165 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10166 # chokes on -Wl,-G. The following line is correct:
10169 if test "$aix_use_runtimelinking" = yes; then
10170 shared_flag
='${wl}-G'
10172 shared_flag
='${wl}-bM:SRE'
10177 export_dynamic_flag_spec
='${wl}-bexpall'
10178 # It seems that -bexpall does not export symbols beginning with
10179 # underscore (_), so it is better to generate a list of symbols to export.
10180 always_export_symbols
=yes
10181 if test "$aix_use_runtimelinking" = yes; then
10182 # Warning - without using the other runtime loading flags (-brtl),
10183 # -berok will link without error, but may produce a broken library.
10184 allow_undefined_flag
='-berok'
10185 # Determine the default libpath from the value encoded in an
10186 # empty executable.
10187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10198 if ac_fn_c_try_link
"$LINENO"; then :
10200 lt_aix_libpath_sed
='
10201 /Import File Strings/,/^$/ {
10207 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10208 # Check for a 64-bit object if we didn't find anything.
10209 if test -z "$aix_libpath"; then
10210 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10213 rm -f core conftest.err conftest.
$ac_objext \
10214 conftest
$ac_exeext conftest.
$ac_ext
10215 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10217 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10218 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"
10220 if test "$host_cpu" = ia64
; then
10221 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10222 allow_undefined_flag
="-z nodefs"
10223 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"
10225 # Determine the default libpath from the value encoded in an
10226 # empty executable.
10227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10238 if ac_fn_c_try_link
"$LINENO"; then :
10240 lt_aix_libpath_sed
='
10241 /Import File Strings/,/^$/ {
10247 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10248 # Check for a 64-bit object if we didn't find anything.
10249 if test -z "$aix_libpath"; then
10250 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10253 rm -f core conftest.err conftest.
$ac_objext \
10254 conftest
$ac_exeext conftest.
$ac_ext
10255 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10257 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10258 # Warning - without using the other run time loading flags,
10259 # -berok will link without error, but may produce a broken library.
10260 no_undefined_flag
=' ${wl}-bernotok'
10261 allow_undefined_flag
=' ${wl}-berok'
10262 if test "$with_gnu_ld" = yes; then
10263 # We only use this code for GNU lds that support --whole-archive.
10264 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10266 # Exported symbols can be pulled into shared objects from archives
10267 whole_archive_flag_spec
='$convenience'
10269 archive_cmds_need_lc
=yes
10270 # This is similar to how AIX traditionally builds its shared libraries.
10271 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'
10279 # see comment about AmigaOS4 .so support
10280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281 archive_expsym_cmds
=''
10284 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)'
10285 hardcode_libdir_flag_spec
='-L$libdir'
10286 hardcode_minus_L
=yes
10292 export_dynamic_flag_spec
=-rdynamic
10295 cygwin
* | mingw
* | pw32
* | cegcc
*)
10296 # When not using gcc, we currently assume that we are using
10297 # Microsoft Visual C++.
10298 # hardcode_libdir_flag_spec is actually meaningless, as there is
10299 # no search path for DLLs.
10300 hardcode_libdir_flag_spec
=' '
10301 allow_undefined_flag
=unsupported
10302 # Tell ltmain to make .lib files, not .a files.
10304 # Tell ltmain to make .dll files, not .so files.
10306 # FIXME: Setting linknames here is a bad hack.
10307 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10308 # The linker will automatically build a .lib file if we build a DLL.
10309 old_archive_from_new_cmds
='true'
10310 # FIXME: Should let the user specify the lib program.
10311 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10312 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10313 enable_shared_with_static_runtimes
=yes
10316 darwin
* | rhapsody
*)
10319 archive_cmds_need_lc
=no
10321 hardcode_automatic
=yes
10322 hardcode_shlibpath_var
=unsupported
10323 if test "$lt_cv_ld_force_load" = "yes"; then
10324 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\"`'
10326 whole_archive_flag_spec
=''
10328 link_all_deplibs
=yes
10329 allow_undefined_flag
="$_lt_dar_allow_undefined"
10330 case $cc_basename in
10331 ifort
*) _lt_dar_can_shared
=yes ;;
10332 *) _lt_dar_can_shared
=$GCC ;;
10334 if test "$_lt_dar_can_shared" = "yes"; then
10335 output_verbose_link_cmd
=func_echo_all
10336 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10337 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10338 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}"
10339 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}"
10348 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10349 hardcode_libdir_flag_spec
='-L$libdir'
10350 hardcode_shlibpath_var
=no
10353 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10354 # support. Future versions do this automatically, but an explicit c++rt0.o
10355 # does not break anything, and helps significantly (at the cost of a little
10358 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10359 hardcode_libdir_flag_spec
='-R$libdir'
10360 hardcode_direct
=yes
10361 hardcode_shlibpath_var
=no
10364 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10366 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10367 hardcode_direct
=yes
10368 hardcode_minus_L
=yes
10369 hardcode_shlibpath_var
=no
10372 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10373 freebsd
* | dragonfly
*)
10374 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10375 hardcode_libdir_flag_spec
='-R$libdir'
10376 hardcode_direct
=yes
10377 hardcode_shlibpath_var
=no
10381 if test "$GCC" = yes; then
10382 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'
10384 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'
10386 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10387 hardcode_libdir_separator
=:
10388 hardcode_direct
=yes
10390 # hardcode_minus_L: Not really in the search PATH,
10391 # but as the default location of the library.
10392 hardcode_minus_L
=yes
10393 export_dynamic_flag_spec
='${wl}-E'
10397 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10398 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10400 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10402 if test "$with_gnu_ld" = no
; then
10403 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10404 hardcode_libdir_flag_spec_ld
='+b $libdir'
10405 hardcode_libdir_separator
=:
10406 hardcode_direct
=yes
10407 hardcode_direct_absolute
=yes
10408 export_dynamic_flag_spec
='${wl}-E'
10409 # hardcode_minus_L: Not really in the search PATH,
10410 # but as the default location of the library.
10411 hardcode_minus_L
=yes
10416 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10419 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10434 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10438 # Older versions of the 11.00 compiler do not understand -b yet
10439 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10441 $as_echo_n "checking if $CC understands -b... " >&6; }
10442 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10443 $as_echo_n "(cached) " >&6
10445 lt_cv_prog_compiler__b
=no
10446 save_LDFLAGS
="$LDFLAGS"
10447 LDFLAGS
="$LDFLAGS -b"
10448 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10449 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10450 # The linker can only warn and ignore the option if not recognized
10451 # So say no if there are warnings
10452 if test -s conftest.err
; then
10453 # Append any errors to the config.log.
10454 cat conftest.err
1>&5
10455 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10456 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10457 if diff conftest.exp conftest.er2
>/dev
/null
; then
10458 lt_cv_prog_compiler__b
=yes
10461 lt_cv_prog_compiler__b
=yes
10465 LDFLAGS
="$save_LDFLAGS"
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10469 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10471 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10472 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10474 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10480 if test "$with_gnu_ld" = no
; then
10481 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10482 hardcode_libdir_separator
=:
10487 hardcode_shlibpath_var
=no
10490 hardcode_direct
=yes
10491 hardcode_direct_absolute
=yes
10492 export_dynamic_flag_spec
='${wl}-E'
10494 # hardcode_minus_L: Not really in the search PATH,
10495 # but as the default location of the library.
10496 hardcode_minus_L
=yes
10502 irix5
* | irix6
* | nonstopux
*)
10503 if test "$GCC" = yes; then
10504 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'
10505 # Try to use the -exported_symbol ld option, if it does not
10506 # work, assume that -exports_file does not work either and
10507 # implicitly export all symbols.
10508 save_LDFLAGS
="$LDFLAGS"
10509 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10514 if ac_fn_c_try_link
"$LINENO"; then :
10515 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'
10518 rm -f core conftest.err conftest.
$ac_objext \
10519 conftest
$ac_exeext conftest.
$ac_ext
10520 LDFLAGS
="$save_LDFLAGS"
10522 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'
10523 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'
10525 archive_cmds_need_lc
='no'
10526 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10527 hardcode_libdir_separator
=:
10529 link_all_deplibs
=yes
10533 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10534 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10536 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10538 hardcode_libdir_flag_spec
='-R$libdir'
10539 hardcode_direct
=yes
10540 hardcode_shlibpath_var
=no
10544 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_direct
=yes
10546 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10547 hardcode_libdir_separator
=:
10548 hardcode_shlibpath_var
=no
10555 if test -f /usr
/libexec
/ld.so
; then
10556 hardcode_direct
=yes
10557 hardcode_shlibpath_var
=no
10558 hardcode_direct_absolute
=yes
10559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10560 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10561 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10562 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10563 export_dynamic_flag_spec
='${wl}-E'
10566 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10567 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10568 hardcode_libdir_flag_spec
='-R$libdir'
10571 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10572 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10582 hardcode_libdir_flag_spec
='-L$libdir'
10583 hardcode_minus_L
=yes
10584 allow_undefined_flag
=unsupported
10585 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'
10586 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10590 if test "$GCC" = yes; then
10591 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10592 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'
10594 allow_undefined_flag
=' -expect_unresolved \*'
10595 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'
10597 archive_cmds_need_lc
='no'
10598 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10599 hardcode_libdir_separator
=:
10602 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10603 if test "$GCC" = yes; then
10604 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10605 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'
10606 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10608 allow_undefined_flag
=' -expect_unresolved \*'
10609 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'
10610 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~
10611 $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'
10613 # Both c and cxx compiler support -rpath directly
10614 hardcode_libdir_flag_spec
='-rpath $libdir'
10616 archive_cmds_need_lc
='no'
10617 hardcode_libdir_separator
=:
10621 no_undefined_flag
=' -z defs'
10622 if test "$GCC" = yes; then
10624 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10626 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10628 case `$CC -V 2>&1` in
10631 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10633 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10637 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10638 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10639 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10643 hardcode_libdir_flag_spec
='-R$libdir'
10644 hardcode_shlibpath_var
=no
10646 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10648 # The compiler driver will combine and reorder linker options,
10649 # but understands `-z linker_flag'. GCC discards it without `$wl',
10650 # but is careful enough not to reorder.
10651 # Supported since Solaris 2.6 (maybe 2.5.1?)
10652 if test "$GCC" = yes; then
10653 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10655 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10659 link_all_deplibs
=yes
10663 if test "x$host_vendor" = xsequent
; then
10664 # Use $CC to link under sequent, because it throws in some extra .o
10665 # files that make .init and .fini sections work.
10666 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10668 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10670 hardcode_libdir_flag_spec
='-L$libdir'
10671 hardcode_direct
=yes
10672 hardcode_minus_L
=yes
10673 hardcode_shlibpath_var
=no
10677 case $host_vendor in
10679 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10680 hardcode_direct
=yes # is this really true???
10683 ## LD is ld it makes a PLAMLIB
10684 ## CC just makes a GrossModule.
10685 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10686 reload_cmds
='$CC -r -o $output$reload_objs'
10690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10694 runpath_var
='LD_RUN_PATH'
10695 hardcode_shlibpath_var
=no
10699 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10700 hardcode_shlibpath_var
=no
10701 export_dynamic_flag_spec
='-Bexport'
10705 if test -d /usr
/nec
; then
10706 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10707 hardcode_shlibpath_var
=no
10708 runpath_var
=LD_RUN_PATH
10709 hardcode_runpath_var
=yes
10714 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10715 no_undefined_flag
='${wl}-z,text'
10716 archive_cmds_need_lc
=no
10717 hardcode_shlibpath_var
=no
10718 runpath_var
='LD_RUN_PATH'
10720 if test "$GCC" = yes; then
10721 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10722 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10724 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10729 sysv5
* | sco3.2v5
* | sco5v6
*)
10730 # Note: We can NOT use -z defs as we might desire, because we do not
10731 # link with -lc, and that would cause any symbols used from libc to
10732 # always be unresolved, which means just about no library would
10733 # ever link correctly. If we're not using GNU ld we use -z text
10734 # though, which does catch some bad symbols but isn't as heavy-handed
10736 no_undefined_flag
='${wl}-z,text'
10737 allow_undefined_flag
='${wl}-z,nodefs'
10738 archive_cmds_need_lc
=no
10739 hardcode_shlibpath_var
=no
10740 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10741 hardcode_libdir_separator
=':'
10742 link_all_deplibs
=yes
10743 export_dynamic_flag_spec
='${wl}-Bexport'
10744 runpath_var
='LD_RUN_PATH'
10746 if test "$GCC" = yes; then
10747 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10748 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_libdir_flag_spec
='-L$libdir'
10758 hardcode_shlibpath_var
=no
10766 if test x
$host_vendor = xsni
; then
10768 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10769 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10776 $as_echo "$ld_shlibs" >&6; }
10777 test "$ld_shlibs" = no
&& can_build_shared
=no
10779 with_gnu_ld
=$with_gnu_ld
10796 # Do we need to explicitly link libc?
10798 case "x$archive_cmds_need_lc" in
10800 # Assume -lc should be added
10801 archive_cmds_need_lc
=yes
10803 if test "$enable_shared" = yes && test "$GCC" = yes; then
10804 case $archive_cmds in
10806 # FIXME: we may have to deal with multi-command sequences.
10809 # Test whether the compiler implicitly links with -lc since on some
10810 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10811 # to ld, don't add -lc before -lgcc.
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10813 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10814 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10815 $as_echo_n "(cached) " >&6
10818 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10820 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10821 (eval $ac_compile) 2>&5
10823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10824 test $ac_status = 0; } 2>conftest.err
; then
10827 libobjs
=conftest.
$ac_objext
10829 wl
=$lt_prog_compiler_wl
10830 pic_flag
=$lt_prog_compiler_pic
10836 lt_save_allow_undefined_flag
=$allow_undefined_flag
10837 allow_undefined_flag
=
10838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10839 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10842 test $ac_status = 0; }
10844 lt_cv_archive_cmds_need_lc
=no
10846 lt_cv_archive_cmds_need_lc
=yes
10848 allow_undefined_flag
=$lt_save_allow_undefined_flag
10850 cat conftest.err
1>&5
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10856 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10857 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11021 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11023 if test "$GCC" = yes; then
11025 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11026 *) lt_awk_arg
="/^libraries:/" ;;
11029 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11030 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11032 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11033 case $lt_search_path_spec in
11035 # if the path contains ";" then we assume it to be the separator
11036 # otherwise default to the standard path separator (i.e. ":") - it is
11037 # assumed that no part of a normal pathname contains ";" but that should
11038 # okay in the real world where ";" in dirpaths is itself problematic.
11039 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11042 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11045 # Ok, now we have the path, separated by spaces, we can step through it
11046 # and add multilib dir if necessary.
11047 lt_tmp_lt_search_path_spec
=
11048 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11049 for lt_sys_path
in $lt_search_path_spec; do
11050 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11051 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11053 test -d "$lt_sys_path" && \
11054 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11057 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11058 BEGIN {RS=" "; FS="/|\n";} {
11061 for (lt_i = NF; lt_i > 0; lt_i--) {
11062 if ($lt_i != "" && $lt_i != ".") {
11063 if ($lt_i == "..") {
11066 if (lt_count == 0) {
11067 lt_foo="/" $lt_i lt_foo;
11074 if (lt_foo != "") { lt_freq[lt_foo]++; }
11075 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11077 # AWK program above erroneously prepends '/' to C:/dos/paths
11080 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11081 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11083 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11085 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11087 library_names_spec
=
11088 libname_spec
='lib$name'
11092 postuninstall_cmds
=
11096 shlibpath_overrides_runpath
=unknown
11098 dynamic_linker
="$host_os ld.so"
11099 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11100 need_lib_prefix
=unknown
11101 hardcode_into_libs
=no
11103 # when you set need_version to no, make sure it does not cause -set_version
11104 # flags to be left without arguments
11105 need_version
=unknown
11110 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11111 shlibpath_var
=LIBPATH
11113 # AIX 3 has no versioning support, so we append a major version to the name.
11114 soname_spec
='${libname}${release}${shared_ext}$major'
11121 hardcode_into_libs
=yes
11122 if test "$host_cpu" = ia64
; then
11123 # AIX 5 supports IA64
11124 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11125 shlibpath_var
=LD_LIBRARY_PATH
11127 # With GCC up to 2.95.x, collect2 would create an import file
11128 # for dependence libraries. The import file would start with
11129 # the line `#! .'. This would cause the generated library to
11130 # depend on `.', always an invalid library. This was fixed in
11131 # development snapshots of GCC prior to 3.0.
11133 aix4 | aix4.
[01] | aix4.
[01].
*)
11134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11136 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11139 can_build_shared
=no
11143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11144 # soname into executable. Probably we can add versioning support to
11145 # collect2, so additional links can be useful in future.
11146 if test "$aix_use_runtimelinking" = yes; then
11147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11148 # instead of lib<name>.a to let people know that these are not
11149 # typical AIX shared libraries.
11150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152 # We preserve .a as extension for shared libraries through AIX4.2
11153 # and later when we are not doing run time linking.
11154 library_names_spec
='${libname}${release}.a $libname.a'
11155 soname_spec
='${libname}${release}${shared_ext}$major'
11157 shlibpath_var
=LIBPATH
11164 # Since July 2007 AmigaOS4 officially supports .so libraries.
11165 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169 library_names_spec
='$libname.ixlibrary $libname.a'
11170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11171 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'
11177 library_names_spec
='${libname}${shared_ext}'
11178 dynamic_linker
="$host_os ld.so"
11179 shlibpath_var
=LIBRARY_PATH
11185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11186 soname_spec
='${libname}${release}${shared_ext}$major'
11187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11188 shlibpath_var
=LD_LIBRARY_PATH
11189 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11190 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11191 # the default ld.so.conf also contains /usr/contrib/lib and
11192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11193 # libtool to hard-code these into programs
11196 cygwin
* | mingw
* | pw32
* | cegcc
*)
11197 version_type
=windows
11202 case $GCC,$host_os in
11203 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11204 library_names_spec
='$libname.dll.a'
11205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11206 postinstall_cmds
='base_file=`basename \${file}`~
11207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11208 dldir=$destdir/`dirname \$dlpath`~
11209 test -d \$dldir || mkdir -p \$dldir~
11210 $install_prog $dir/$dlname \$dldir/$dlname~
11211 chmod a+x \$dldir/$dlname~
11212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11215 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11216 dlpath=$dir/\$dldll~
11218 shlibpath_overrides_runpath
=yes
11222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11223 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11225 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11228 # MinGW DLLs use traditional 'lib' prefix
11229 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11232 # pw32 DLLs use 'pw' prefix rather than 'lib'
11233 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11239 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11242 dynamic_linker
='Win32 ld.exe'
11243 # FIXME: first we should search . and the directory the executable is in
11247 darwin
* | rhapsody
*)
11248 dynamic_linker
="$host_os dyld"
11249 version_type
=darwin
11252 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11253 soname_spec
='${libname}${release}${major}$shared_ext'
11254 shlibpath_overrides_runpath
=yes
11255 shlibpath_var
=DYLD_LIBRARY_PATH
11256 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11258 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11259 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11267 soname_spec
='${libname}${release}${shared_ext}$major'
11268 shlibpath_var
=LD_LIBRARY_PATH
11271 freebsd
* | dragonfly
*)
11272 # DragonFly does not have aout. When/if they implement a new
11273 # versioning mechanism, adjust this.
11274 if test -x /usr
/bin
/objformat
; then
11275 objformat
=`/usr/bin/objformat`
11278 freebsd
[23].
*) objformat
=aout
;;
11279 *) objformat
=elf
;;
11282 version_type
=freebsd-
$objformat
11283 case $version_type in
11285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11290 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11294 shlibpath_var
=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath
=yes
11299 freebsd3.
[01]* | freebsdelf3.
[01]*)
11300 shlibpath_overrides_runpath
=yes
11301 hardcode_into_libs
=yes
11303 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11304 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11305 shlibpath_overrides_runpath
=no
11306 hardcode_into_libs
=yes
11308 *) # from 4.6 on, and DragonFly
11309 shlibpath_overrides_runpath
=yes
11310 hardcode_into_libs
=yes
11319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11320 soname_spec
='${libname}${release}${shared_ext}$major'
11321 shlibpath_var
=LD_LIBRARY_PATH
11322 hardcode_into_libs
=yes
11329 dynamic_linker
="$host_os runtime_loader"
11330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11331 soname_spec
='${libname}${release}${shared_ext}$major'
11332 shlibpath_var
=LIBRARY_PATH
11333 shlibpath_overrides_runpath
=yes
11334 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11335 hardcode_into_libs
=yes
11338 hpux9
* | hpux10
* | hpux11
*)
11339 # Give a soname corresponding to the major version so that dld.sl refuses to
11340 # link against other versions.
11347 hardcode_into_libs
=yes
11348 dynamic_linker
="$host_os dld.so"
11349 shlibpath_var
=LD_LIBRARY_PATH
11350 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11353 if test "X$HPUX_IA64_MODE" = X32
; then
11354 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11356 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11358 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11362 hardcode_into_libs
=yes
11363 dynamic_linker
="$host_os dld.sl"
11364 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11365 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11367 soname_spec
='${libname}${release}${shared_ext}$major'
11368 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11369 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11373 dynamic_linker
="$host_os dld.sl"
11374 shlibpath_var
=SHLIB_PATH
11375 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11377 soname_spec
='${libname}${release}${shared_ext}$major'
11380 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11381 postinstall_cmds
='chmod 555 $lib'
11382 # or fails outright, so override atomically:
11383 install_override_mode
=555
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11391 soname_spec
='${libname}${release}${shared_ext}$major'
11392 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11393 shlibpath_var
=LD_LIBRARY_PATH
11394 shlibpath_overrides_runpath
=no
11395 hardcode_into_libs
=yes
11398 irix5
* | irix6
* | nonstopux
*)
11400 nonstopux
*) version_type
=nonstopux
;;
11402 if test "$lt_cv_prog_gnu_ld" = yes; then
11410 soname_spec
='${libname}${release}${shared_ext}$major'
11411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11413 irix5
* | nonstopux
*)
11414 libsuff
= shlibsuff
=
11417 case $LD in # libtool.m4 will add one of these switches to LD
11418 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11419 libsuff
= shlibsuff
= libmagic
=32-bit;;
11420 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11421 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11422 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11423 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11424 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11428 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11429 shlibpath_overrides_runpath
=no
11430 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11431 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11432 hardcode_into_libs
=yes
11435 # No shared lib support for Linux oldld, aout, or coff.
11436 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11440 # This must be Linux ELF.
11441 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec
='${libname}${release}${shared_ext}$major'
11447 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11448 shlibpath_var
=LD_LIBRARY_PATH
11449 shlibpath_overrides_runpath
=no
11451 # Some binutils ld are patched to set DT_RUNPATH
11452 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11453 $as_echo_n "(cached) " >&6
11455 lt_cv_shlibpath_overrides_runpath
=no
11456 save_LDFLAGS
=$LDFLAGS
11457 save_libdir
=$libdir
11458 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11459 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11471 if ac_fn_c_try_link
"$LINENO"; then :
11472 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11473 lt_cv_shlibpath_overrides_runpath
=yes
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LDFLAGS
=$save_LDFLAGS
11479 libdir
=$save_libdir
11483 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11485 # This implies no fast_install, which is unacceptable.
11486 # Some rework will be needed to allow for fast_install
11487 # before this can be enabled.
11488 hardcode_into_libs
=yes
11490 # Append ld.so.conf contents to the search path
11491 if test -f /etc
/ld.so.conf
; then
11492 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' ' '`
11493 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11496 # We used to test for /lib/ld.so.1 and disable shared libraries on
11497 # powerpc, because MkLinux only supported shared libraries with the
11498 # GNU dynamic linker. Since this was broken with cross compilers,
11499 # most powerpc-linux boxes support dynamic linking these days and
11500 # people can always --disable-shared, the test was removed, and we
11501 # assume the GNU/Linux dynamic linker is in use.
11502 dynamic_linker
='GNU/Linux ld.so'
11509 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11511 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11512 dynamic_linker
='NetBSD (a.out) ld.so'
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11515 soname_spec
='${libname}${release}${shared_ext}$major'
11516 dynamic_linker
='NetBSD ld.elf_so'
11518 shlibpath_var
=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath
=yes
11520 hardcode_into_libs
=yes
11525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11526 shlibpath_var
=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath
=yes
11534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec
='${libname}${release}${shared_ext}$major'
11536 shlibpath_var
=LD_LIBRARY_PATH
11537 shlibpath_overrides_runpath
=no
11538 hardcode_into_libs
=yes
11539 dynamic_linker
='ldqnx.so'
11544 sys_lib_dlsearch_path_spec
="/usr/lib"
11546 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11548 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11549 *) need_version
=no
;;
11551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11552 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11553 shlibpath_var
=LD_LIBRARY_PATH
11554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11556 openbsd2.
[89] | openbsd2.
[89].
*)
11557 shlibpath_overrides_runpath
=no
11560 shlibpath_overrides_runpath
=yes
11564 shlibpath_overrides_runpath
=yes
11569 libname_spec
='$name'
11572 library_names_spec
='$libname${shared_ext} $libname.a'
11573 dynamic_linker
='OS/2 ld.exe'
11574 shlibpath_var
=LIBPATH
11577 osf3
* | osf4
* | osf5
*)
11581 soname_spec
='${libname}${release}${shared_ext}$major'
11582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11583 shlibpath_var
=LD_LIBRARY_PATH
11584 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11585 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11597 soname_spec
='${libname}${release}${shared_ext}$major'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath
=yes
11600 hardcode_into_libs
=yes
11601 # ldd complains unless libraries are executable
11602 postinstall_cmds
='chmod +x $lib'
11607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11608 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11609 shlibpath_var
=LD_LIBRARY_PATH
11610 shlibpath_overrides_runpath
=yes
11611 if test "$with_gnu_ld" = yes; then
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620 soname_spec
='${libname}${release}${shared_ext}$major'
11621 shlibpath_var
=LD_LIBRARY_PATH
11622 case $host_vendor in
11624 shlibpath_overrides_runpath
=no
11626 runpath_var
=LD_RUN_PATH
11634 shlibpath_overrides_runpath
=no
11635 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11641 if test -d /usr
/nec
;then
11643 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11644 soname_spec
='$libname${shared_ext}.$major'
11645 shlibpath_var
=LD_LIBRARY_PATH
11649 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11650 version_type
=freebsd-elf
11653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11654 soname_spec
='${libname}${release}${shared_ext}$major'
11655 shlibpath_var
=LD_LIBRARY_PATH
11656 shlibpath_overrides_runpath
=yes
11657 hardcode_into_libs
=yes
11658 if test "$with_gnu_ld" = yes; then
11659 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11661 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11664 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11668 sys_lib_dlsearch_path_spec
='/usr/lib'
11672 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677 shlibpath_var
=LD_LIBRARY_PATH
11678 shlibpath_overrides_runpath
=no
11679 hardcode_into_libs
=yes
11684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11685 soname_spec
='${libname}${release}${shared_ext}$major'
11686 shlibpath_var
=LD_LIBRARY_PATH
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11694 $as_echo "$dynamic_linker" >&6; }
11695 test "$dynamic_linker" = no
&& can_build_shared
=no
11697 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11698 if test "$GCC" = yes; then
11699 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11702 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11703 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11705 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11706 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11801 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11803 if test -n "$hardcode_libdir_flag_spec" ||
11804 test -n "$runpath_var" ||
11805 test "X$hardcode_automatic" = "Xyes" ; then
11807 # We can hardcode non-existent directories.
11808 if test "$hardcode_direct" != no
&&
11809 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11810 # have to relink, otherwise we might link with an installed library
11811 # when we should be linking with a yet-to-be-installed one
11812 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11813 test "$hardcode_minus_L" != no
; then
11814 # Linking always hardcodes the temporary library directory.
11815 hardcode_action
=relink
11817 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11818 hardcode_action
=immediate
11821 # We cannot hardcode anything, or else we can only hardcode existing
11823 hardcode_action
=unsupported
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11826 $as_echo "$hardcode_action" >&6; }
11828 if test "$hardcode_action" = relink ||
11829 test "$inherit_rpath" = yes; then
11830 # Fast installation is not supported
11831 enable_fast_install
=no
11832 elif test "$shlibpath_overrides_runpath" = yes ||
11833 test "$enable_shared" = no
; then
11834 # Fast installation is not necessary
11835 enable_fast_install
=needless
11843 if test "x$enable_dlopen" != xyes
; then
11844 enable_dlopen
=unknown
11845 enable_dlopen_self
=unknown
11846 enable_dlopen_self_static
=unknown
11853 lt_cv_dlopen
="load_add_on"
11855 lt_cv_dlopen_self
=yes
11858 mingw
* | pw32
* | cegcc
*)
11859 lt_cv_dlopen
="LoadLibrary"
11864 lt_cv_dlopen
="dlopen"
11869 # if libdl is installed we need to link against it
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11871 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11872 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11873 $as_echo_n "(cached) " >&6
11875 ac_check_lib_save_LIBS
=$LIBS
11877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11895 if ac_fn_c_try_link
"$LINENO"; then :
11896 ac_cv_lib_dl_dlopen
=yes
11898 ac_cv_lib_dl_dlopen
=no
11900 rm -f core conftest.err conftest.
$ac_objext \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11905 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11906 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11907 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11910 lt_cv_dlopen
="dyld"
11912 lt_cv_dlopen_self
=yes
11919 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11920 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11921 lt_cv_dlopen
="shl_load"
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11924 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11925 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11926 $as_echo_n "(cached) " >&6
11928 ac_check_lib_save_LIBS
=$LIBS
11930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11943 return shl_load ();
11948 if ac_fn_c_try_link
"$LINENO"; then :
11949 ac_cv_lib_dld_shl_load
=yes
11951 ac_cv_lib_dld_shl_load
=no
11953 rm -f core conftest.err conftest.
$ac_objext \
11954 conftest
$ac_exeext conftest.
$ac_ext
11955 LIBS
=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11958 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11959 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11960 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11962 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11963 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11964 lt_cv_dlopen
="dlopen"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11967 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_lib_save_LIBS
=$LIBS
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11991 if ac_fn_c_try_link
"$LINENO"; then :
11992 ac_cv_lib_dl_dlopen
=yes
11994 ac_cv_lib_dl_dlopen
=no
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 LIBS
=$ac_check_lib_save_LIBS
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12001 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12002 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12003 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12006 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12007 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12008 $as_echo_n "(cached) " >&6
12010 ac_check_lib_save_LIBS
=$LIBS
12011 LIBS
="-lsvld $LIBS"
12012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12030 if ac_fn_c_try_link
"$LINENO"; then :
12031 ac_cv_lib_svld_dlopen
=yes
12033 ac_cv_lib_svld_dlopen
=no
12035 rm -f core conftest.err conftest.
$ac_objext \
12036 conftest
$ac_exeext conftest.
$ac_ext
12037 LIBS
=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12041 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12042 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12046 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12047 $as_echo_n "(cached) " >&6
12049 ac_check_lib_save_LIBS
=$LIBS
12051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12064 return dld_link ();
12069 if ac_fn_c_try_link
"$LINENO"; then :
12070 ac_cv_lib_dld_dld_link
=yes
12072 ac_cv_lib_dld_dld_link
=no
12074 rm -f core conftest.err conftest.
$ac_objext \
12075 conftest
$ac_exeext conftest.
$ac_ext
12076 LIBS
=$ac_check_lib_save_LIBS
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12079 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12080 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12081 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12102 if test "x$lt_cv_dlopen" != xno
; then
12108 case $lt_cv_dlopen in
12110 save_CPPFLAGS
="$CPPFLAGS"
12111 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12113 save_LDFLAGS
="$LDFLAGS"
12114 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12117 LIBS
="$lt_cv_dlopen_libs $LIBS"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12120 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12121 if test "${lt_cv_dlopen_self+set}" = set; then :
12122 $as_echo_n "(cached) " >&6
12124 if test "$cross_compiling" = yes; then :
12125 lt_cv_dlopen_self
=cross
12127 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12128 lt_status
=$lt_dlunknown
12129 cat > conftest.
$ac_ext <<_LT_EOF
12130 #line 12130 "configure"
12131 #include "confdefs.h"
12140 # define LT_DLGLOBAL RTLD_GLOBAL
12143 # define LT_DLGLOBAL DL_GLOBAL
12145 # define LT_DLGLOBAL 0
12149 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12150 find out it does not work in some platform. */
12151 #ifndef LT_DLLAZY_OR_NOW
12153 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12156 # define LT_DLLAZY_OR_NOW DL_LAZY
12159 # define LT_DLLAZY_OR_NOW RTLD_NOW
12162 # define LT_DLLAZY_OR_NOW DL_NOW
12164 # define LT_DLLAZY_OR_NOW 0
12171 /* When -fvisbility=hidden is used, assume the code has been annotated
12172 correspondingly for the symbols needed. */
12173 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12174 void fnord () __attribute__((visibility("default")));
12177 void fnord () { int i=42; }
12180 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12181 int status = $lt_dlunknown;
12185 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12188 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12189 else puts (dlerror ());
12191 /* dlclose (self); */
12199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12200 (eval $ac_link) 2>&5
12202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12203 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12204 (.
/conftest
; exit; ) >&5 2>/dev
/null
12206 case x
$lt_status in
12207 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12208 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12209 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12212 # compilation failed
12213 lt_cv_dlopen_self
=no
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12221 $as_echo "$lt_cv_dlopen_self" >&6; }
12223 if test "x$lt_cv_dlopen_self" = xyes
; then
12224 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12226 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12227 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12228 $as_echo_n "(cached) " >&6
12230 if test "$cross_compiling" = yes; then :
12231 lt_cv_dlopen_self_static
=cross
12233 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12234 lt_status
=$lt_dlunknown
12235 cat > conftest.
$ac_ext <<_LT_EOF
12236 #line 12236 "configure"
12237 #include "confdefs.h"
12246 # define LT_DLGLOBAL RTLD_GLOBAL
12249 # define LT_DLGLOBAL DL_GLOBAL
12251 # define LT_DLGLOBAL 0
12255 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12256 find out it does not work in some platform. */
12257 #ifndef LT_DLLAZY_OR_NOW
12259 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12262 # define LT_DLLAZY_OR_NOW DL_LAZY
12265 # define LT_DLLAZY_OR_NOW RTLD_NOW
12268 # define LT_DLLAZY_OR_NOW DL_NOW
12270 # define LT_DLLAZY_OR_NOW 0
12277 /* When -fvisbility=hidden is used, assume the code has been annotated
12278 correspondingly for the symbols needed. */
12279 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12280 void fnord () __attribute__((visibility("default")));
12283 void fnord () { int i=42; }
12286 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12287 int status = $lt_dlunknown;
12291 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12294 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12295 else puts (dlerror ());
12297 /* dlclose (self); */
12305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12306 (eval $ac_link) 2>&5
12308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12309 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12310 (.
/conftest
; exit; ) >&5 2>/dev
/null
12312 case x
$lt_status in
12313 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12314 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12315 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12318 # compilation failed
12319 lt_cv_dlopen_self_static
=no
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12327 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12330 CPPFLAGS
="$save_CPPFLAGS"
12331 LDFLAGS
="$save_LDFLAGS"
12336 case $lt_cv_dlopen_self in
12337 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12338 *) enable_dlopen_self
=unknown
;;
12341 case $lt_cv_dlopen_self_static in
12342 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12343 *) enable_dlopen_self_static
=unknown
;;
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12366 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12367 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12368 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12369 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12371 $as_echo "yes" >&6; }
12373 # FIXME - insert some real tests, host_os isn't really good enough
12376 if test -n "$STRIP" ; then
12377 striplib
="$STRIP -x"
12378 old_striplib
="$STRIP -S"
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12380 $as_echo "yes" >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12383 $as_echo "no" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12388 $as_echo "no" >&6; }
12404 # Report which library types will actually be built
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12406 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12408 $as_echo "$can_build_shared" >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12411 $as_echo_n "checking whether to build shared libraries... " >&6; }
12412 test "$can_build_shared" = "no" && enable_shared
=no
12414 # On AIX, shared libraries and static libraries use the same namespace, and
12415 # are all built from PIC.
12418 test "$enable_shared" = yes && enable_static
=no
12419 if test -n "$RANLIB"; then
12420 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12421 postinstall_cmds
='$RANLIB $lib'
12426 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12427 test "$enable_shared" = yes && enable_static
=no
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12432 $as_echo "$enable_shared" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12435 $as_echo_n "checking whether to build static libraries... " >&6; }
12436 # Make sure either enable_shared or enable_static is yes.
12437 test "$enable_shared" = yes || enable_static
=yes
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12439 $as_echo "$enable_static" >&6; }
12446 ac_cpp
='$CPP $CPPFLAGS'
12447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12453 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12454 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12455 (test "X$CXX" != "Xg++"))) ; then
12457 ac_cpp
='$CXXCPP $CPPFLAGS'
12458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12462 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12463 if test -z "$CXXCPP"; then
12464 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12465 $as_echo_n "(cached) " >&6
12467 # Double quotes because CXXCPP needs to be expanded
12468 for CXXCPP
in "$CXX -E" "/lib/cpp"
12470 ac_preproc_ok
=false
12471 for ac_cxx_preproc_warn_flag
in '' yes
12473 # Use a header file that comes with gcc, so configuring glibc
12474 # with a fresh cross-compiler works.
12475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12476 # <limits.h> exists even on freestanding compilers.
12477 # On the NeXT, cc -E runs the code through the compiler's parser,
12478 # not just through cpp. "Syntax error" is here to catch this case.
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 # include <limits.h>
12484 # include <assert.h>
12488 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12491 # Broken: fails on valid input.
12494 rm -f conftest.err conftest.
$ac_ext
12496 # OK, works on sane cases. Now check whether nonexistent headers
12497 # can be detected and how.
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #include <ac_nonexistent.h>
12502 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12503 # Broken: success on invalid input.
12506 # Passes both tests.
12510 rm -f conftest.err conftest.
$ac_ext
12513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12514 rm -f conftest.err conftest.
$ac_ext
12515 if $ac_preproc_ok; then :
12520 ac_cv_prog_CXXCPP
=$CXXCPP
12523 CXXCPP
=$ac_cv_prog_CXXCPP
12525 ac_cv_prog_CXXCPP
=$CXXCPP
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12528 $as_echo "$CXXCPP" >&6; }
12529 ac_preproc_ok
=false
12530 for ac_cxx_preproc_warn_flag
in '' yes
12532 # Use a header file that comes with gcc, so configuring glibc
12533 # with a fresh cross-compiler works.
12534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12535 # <limits.h> exists even on freestanding compilers.
12536 # On the NeXT, cc -E runs the code through the compiler's parser,
12537 # not just through cpp. "Syntax error" is here to catch this case.
12538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 # include <limits.h>
12543 # include <assert.h>
12547 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12550 # Broken: fails on valid input.
12553 rm -f conftest.err conftest.
$ac_ext
12555 # OK, works on sane cases. Now check whether nonexistent headers
12556 # can be detected and how.
12557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12559 #include <ac_nonexistent.h>
12561 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12562 # Broken: success on invalid input.
12565 # Passes both tests.
12569 rm -f conftest.err conftest.
$ac_ext
12572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12573 rm -f conftest.err conftest.
$ac_ext
12574 if $ac_preproc_ok; then :
12577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12579 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12580 See \`config.log' for more details." "$LINENO" 5; }
12584 ac_cpp
='$CPP $CPPFLAGS'
12585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12590 _lt_caught_CXX_error
=yes
12594 ac_cpp
='$CXXCPP $CPPFLAGS'
12595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12599 archive_cmds_need_lc_CXX
=no
12600 allow_undefined_flag_CXX
=
12601 always_export_symbols_CXX
=no
12602 archive_expsym_cmds_CXX
=
12603 compiler_needs_object_CXX
=no
12604 export_dynamic_flag_spec_CXX
=
12605 hardcode_direct_CXX
=no
12606 hardcode_direct_absolute_CXX
=no
12607 hardcode_libdir_flag_spec_CXX
=
12608 hardcode_libdir_flag_spec_ld_CXX
=
12609 hardcode_libdir_separator_CXX
=
12610 hardcode_minus_L_CXX
=no
12611 hardcode_shlibpath_var_CXX
=unsupported
12612 hardcode_automatic_CXX
=no
12613 inherit_rpath_CXX
=no
12615 module_expsym_cmds_CXX
=
12616 link_all_deplibs_CXX
=unknown
12617 old_archive_cmds_CXX
=$old_archive_cmds
12618 reload_flag_CXX
=$reload_flag
12619 reload_cmds_CXX
=$reload_cmds
12620 no_undefined_flag_CXX
=
12621 whole_archive_flag_spec_CXX
=
12622 enable_shared_with_static_runtimes_CXX
=no
12624 # Source file extension for C++ test sources.
12627 # Object file extension for compiled C++ test sources.
12631 # No sense in running all these tests if we already determined that
12632 # the CXX compiler isn't working. Some variables (like enable_shared)
12633 # are currently assumed to apply to all compilers on this platform,
12634 # and will be corrupted by setting them based on a non-working compiler.
12635 if test "$_lt_caught_CXX_error" != yes; then
12636 # Code to be used in simple compile tests
12637 lt_simple_compile_test_code
="int some_variable = 0;"
12639 # Code to be used in simple link tests
12640 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12642 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12649 # If no C compiler was specified, use CC.
12652 # If no C compiler flags were specified, use CFLAGS.
12653 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12655 # Allow CC to be a program name with arguments.
12659 # save warnings/boilerplate of simple test code
12660 ac_outfile
=conftest.
$ac_objext
12661 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12662 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12663 _lt_compiler_boilerplate
=`cat conftest.err`
12666 ac_outfile
=conftest.
$ac_objext
12667 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12668 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12669 _lt_linker_boilerplate
=`cat conftest.err`
12673 # Allow CC to be a program name with arguments.
12678 lt_save_with_gnu_ld
=$with_gnu_ld
12679 lt_save_path_LD
=$lt_cv_path_LD
12680 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12681 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12683 $as_unset lt_cv_prog_gnu_ld
12685 if test -n "${lt_cv_path_LDCXX+set}"; then
12686 lt_cv_path_LD
=$lt_cv_path_LDCXX
12688 $as_unset lt_cv_path_LD
12690 test -z "${LDCXX+set}" || LD
=$LDCXX
12694 for cc_temp
in $compiler""; do
12696 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12697 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12702 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12705 if test -n "$compiler"; then
12706 # We don't want -fno-exception when compiling C++ code, so set the
12707 # no_builtin_flag separately
12708 if test "$GXX" = yes; then
12709 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12711 lt_prog_compiler_no_builtin_flag_CXX
=
12714 if test "$GXX" = yes; then
12715 # Set up default GNU C++ configuration
12719 # Check whether --with-gnu-ld was given.
12720 if test "${with_gnu_ld+set}" = set; then :
12721 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12727 if test "$GCC" = yes; then
12728 # Check if gcc -print-prog-name=ld gives a path.
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12730 $as_echo_n "checking for ld used by $CC... " >&6; }
12733 # gcc leaves a trailing carriage return which upsets mingw
12734 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12736 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12739 # Accept absolute paths.
12741 re_direlt
='/[^/][^/]*/\.\./'
12742 # Canonicalize the pathname of ld
12743 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12744 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12745 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12747 test -z "$LD" && LD
="$ac_prog"
12750 # If it fails, then pretend we aren't using GCC.
12754 # If it is relative, then search for the first ld in PATH.
12755 with_gnu_ld
=unknown
12758 elif test "$with_gnu_ld" = yes; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12760 $as_echo_n "checking for GNU ld... " >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12763 $as_echo_n "checking for non-GNU ld... " >&6; }
12765 if test "${lt_cv_path_LD+set}" = set; then :
12766 $as_echo_n "(cached) " >&6
12768 if test -z "$LD"; then
12769 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12770 for ac_dir
in $PATH; do
12772 test -z "$ac_dir" && ac_dir
=.
12773 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12774 lt_cv_path_LD
="$ac_dir/$ac_prog"
12775 # Check to see if the program is GNU ld. I'd rather use --version,
12776 # but apparently some variants of GNU ld only accept -v.
12777 # Break only if it was the GNU/non-GNU ld that we prefer.
12778 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12779 *GNU
* |
*'with BFD'*)
12780 test "$with_gnu_ld" != no
&& break
12783 test "$with_gnu_ld" != yes && break
12790 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12794 LD
="$lt_cv_path_LD"
12795 if test -n "$LD"; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12797 $as_echo "$LD" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12800 $as_echo "no" >&6; }
12802 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12804 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12805 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12806 $as_echo_n "(cached) " >&6
12808 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12809 case `$LD -v 2>&1 </dev/null` in
12810 *GNU
* |
*'with BFD'*)
12811 lt_cv_prog_gnu_ld
=yes
12814 lt_cv_prog_gnu_ld
=no
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12819 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12820 with_gnu_ld
=$lt_cv_prog_gnu_ld
12828 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12829 # archiving commands below assume that GNU ld is being used.
12830 if test "$with_gnu_ld" = yes; then
12831 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12832 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'
12834 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12835 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12837 # If archive_cmds runs LD, not CC, wlarc should be empty
12838 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12839 # investigate it a little bit more. (MM)
12842 # ancient GNU ld didn't support --whole-archive et. al.
12843 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12844 $GREP 'no-whole-archive' > /dev
/null
; then
12845 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12847 whole_archive_flag_spec_CXX
=
12853 # A generic and very simple default shared library creation
12854 # command for GNU C++ for the case where it uses the native
12855 # linker, instead of GNU ld. If possible, this setting should
12856 # overridden to take advantage of the native linker features on
12857 # the platform it is being used on.
12858 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12861 # Commands to make compiler produce verbose output that lists
12862 # what "hidden" libraries, object files and flags are used when
12863 # linking a shared library.
12864 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12872 # PORTME: fill in a description of your system's C++ link characteristics
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12874 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12878 # FIXME: insert proper C++ library support
12882 if test "$host_cpu" = ia64
; then
12883 # On IA64, the linker does run time linking by default, so we don't
12884 # have to do anything special.
12885 aix_use_runtimelinking
=no
12886 exp_sym_flag
='-Bexport'
12889 aix_use_runtimelinking
=no
12891 # Test if we are trying to use run time linking or normal
12892 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12893 # need to do runtime linking.
12894 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12895 for ld_flag
in $LDFLAGS; do
12898 aix_use_runtimelinking
=yes
12906 exp_sym_flag
='-bexport'
12907 no_entry_flag
='-bnoentry'
12910 # When large executables or shared objects are built, AIX ld can
12911 # have problems creating the table of contents. If linking a library
12912 # or program results in "error TOC overflow" add -mminimal-toc to
12913 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12914 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12916 archive_cmds_CXX
=''
12917 hardcode_direct_CXX
=yes
12918 hardcode_direct_absolute_CXX
=yes
12919 hardcode_libdir_separator_CXX
=':'
12920 link_all_deplibs_CXX
=yes
12921 file_list_spec_CXX
='${wl}-f,'
12923 if test "$GXX" = yes; then
12924 case $host_os in aix4.
[012]|aix4.
[012].
*)
12925 # We only want to do this on AIX 4.2 and lower, the check
12926 # below for broken collect2 doesn't work under 4.3+
12927 collect2name
=`${CC} -print-prog-name=collect2`
12928 if test -f "$collect2name" &&
12929 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12931 # We have reworked collect2
12934 # We have old collect2
12935 hardcode_direct_CXX
=unsupported
12936 # It fails to find uninstalled libraries when the uninstalled
12937 # path is not listed in the libpath. Setting hardcode_minus_L
12938 # to unsupported forces relinking
12939 hardcode_minus_L_CXX
=yes
12940 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12941 hardcode_libdir_separator_CXX
=
12944 shared_flag
='-shared'
12945 if test "$aix_use_runtimelinking" = yes; then
12946 shared_flag
="$shared_flag "'${wl}-G'
12950 if test "$host_cpu" = ia64
; then
12951 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12952 # chokes on -Wl,-G. The following line is correct:
12955 if test "$aix_use_runtimelinking" = yes; then
12956 shared_flag
='${wl}-G'
12958 shared_flag
='${wl}-bM:SRE'
12963 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12964 # It seems that -bexpall does not export symbols beginning with
12965 # underscore (_), so it is better to generate a list of symbols to
12967 always_export_symbols_CXX
=yes
12968 if test "$aix_use_runtimelinking" = yes; then
12969 # Warning - without using the other runtime loading flags (-brtl),
12970 # -berok will link without error, but may produce a broken library.
12971 allow_undefined_flag_CXX
='-berok'
12972 # Determine the default libpath from the value encoded in an empty
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12985 if ac_fn_cxx_try_link
"$LINENO"; then :
12987 lt_aix_libpath_sed
='
12988 /Import File Strings/,/^$/ {
12994 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12995 # Check for a 64-bit object if we didn't find anything.
12996 if test -z "$aix_libpath"; then
12997 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13000 rm -f core conftest.err conftest.
$ac_objext \
13001 conftest
$ac_exeext conftest.
$ac_ext
13002 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13004 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13006 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"
13008 if test "$host_cpu" = ia64
; then
13009 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13010 allow_undefined_flag_CXX
="-z nodefs"
13011 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"
13013 # Determine the default libpath from the value encoded in an
13014 # empty executable.
13015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13026 if ac_fn_cxx_try_link
"$LINENO"; then :
13028 lt_aix_libpath_sed
='
13029 /Import File Strings/,/^$/ {
13035 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13036 # Check for a 64-bit object if we didn't find anything.
13037 if test -z "$aix_libpath"; then
13038 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13041 rm -f core conftest.err conftest.
$ac_objext \
13042 conftest
$ac_exeext conftest.
$ac_ext
13043 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13045 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13046 # Warning - without using the other run time loading flags,
13047 # -berok will link without error, but may produce a broken library.
13048 no_undefined_flag_CXX
=' ${wl}-bernotok'
13049 allow_undefined_flag_CXX
=' ${wl}-berok'
13050 if test "$with_gnu_ld" = yes; then
13051 # We only use this code for GNU lds that support --whole-archive.
13052 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13054 # Exported symbols can be pulled into shared objects from archives
13055 whole_archive_flag_spec_CXX
='$convenience'
13057 archive_cmds_need_lc_CXX
=yes
13058 # This is similar to how AIX traditionally builds its shared
13060 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'
13066 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13067 allow_undefined_flag_CXX
=unsupported
13068 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13069 # support --undefined. This deserves some investigation. FIXME
13070 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13077 case $cc_basename in
13079 # FIXME: insert proper C++ library support
13085 cygwin
* | mingw
* | pw32
* | cegcc
*)
13086 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13087 # as there is no search path for DLLs.
13088 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13089 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13090 allow_undefined_flag_CXX
=unsupported
13091 always_export_symbols_CXX
=no
13092 enable_shared_with_static_runtimes_CXX
=yes
13094 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13095 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'
13096 # If the export-symbols file already is a .def file (1st line
13097 # is EXPORTS), use it as is; otherwise, prepend...
13098 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13099 cp $export_symbols $output_objdir/$soname.def;
13101 echo EXPORTS > $output_objdir/$soname.def;
13102 cat $export_symbols >> $output_objdir/$soname.def;
13104 $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'
13109 darwin
* | rhapsody
*)
13112 archive_cmds_need_lc_CXX
=no
13113 hardcode_direct_CXX
=no
13114 hardcode_automatic_CXX
=yes
13115 hardcode_shlibpath_var_CXX
=unsupported
13116 if test "$lt_cv_ld_force_load" = "yes"; then
13117 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\"`'
13119 whole_archive_flag_spec_CXX
=''
13121 link_all_deplibs_CXX
=yes
13122 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13123 case $cc_basename in
13124 ifort
*) _lt_dar_can_shared
=yes ;;
13125 *) _lt_dar_can_shared
=$GCC ;;
13127 if test "$_lt_dar_can_shared" = "yes"; then
13128 output_verbose_link_cmd
=func_echo_all
13129 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}"
13130 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13131 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}"
13132 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}"
13133 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13134 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}"
13135 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}"
13145 case $cc_basename in
13147 # FIXME: insert proper C++ library support
13151 # Green Hills C++ Compiler
13152 # FIXME: insert proper C++ library support
13156 # FIXME: insert proper C++ library support
13163 # C++ shared libraries reported to be fairly broken before
13169 archive_cmds_need_lc_CXX
=no
13172 freebsd
* | dragonfly
*)
13173 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13182 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13183 link_all_deplibs_CXX
=yes
13187 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13188 hardcode_libdir_separator_CXX
=:
13189 export_dynamic_flag_spec_CXX
='${wl}-E'
13190 hardcode_direct_CXX
=yes
13191 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13192 # but as the default
13193 # location of the library.
13195 case $cc_basename in
13197 # FIXME: insert proper C++ library support
13201 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'
13202 # Commands to make compiler produce verbose output that lists
13203 # what "hidden" libraries, object files and flags are used when
13204 # linking a shared library.
13206 # There doesn't appear to be a way to prevent this compiler from
13207 # explicitly linking system object files so we need to strip them
13208 # from the output so that they don't get included in the library
13210 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $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"'
13213 if test "$GXX" = yes; then
13214 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'
13216 # FIXME: insert proper C++ library support
13224 if test $with_gnu_ld = no
; then
13225 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13226 hardcode_libdir_separator_CXX
=:
13232 export_dynamic_flag_spec_CXX
='${wl}-E'
13238 hardcode_direct_CXX
=no
13239 hardcode_shlibpath_var_CXX
=no
13242 hardcode_direct_CXX
=yes
13243 hardcode_direct_absolute_CXX
=yes
13244 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13245 # but as the default
13246 # location of the library.
13250 case $cc_basename in
13252 # FIXME: insert proper C++ library support
13258 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13261 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13264 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13267 # Commands to make compiler produce verbose output that lists
13268 # what "hidden" libraries, object files and flags are used when
13269 # linking a shared library.
13271 # There doesn't appear to be a way to prevent this compiler from
13272 # explicitly linking system object files so we need to strip them
13273 # from the output so that they don't get included in the library
13275 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"'
13278 if test "$GXX" = yes; then
13279 if test $with_gnu_ld = no
; then
13282 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13285 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13288 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'
13293 # FIXME: insert proper C++ library support
13301 hardcode_direct_CXX
=no
13302 hardcode_shlibpath_var_CXX
=no
13303 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13304 export_dynamic_flag_spec_CXX
='${wl}-E'
13305 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13306 # Instead, shared libraries are loaded at an image base (0x10000000 by
13307 # default) and relocated if they conflict, which is a slow very memory
13308 # consuming and fragmenting process. To avoid this, we pick a random,
13309 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13310 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13311 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'
13312 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'
13315 case $cc_basename in
13318 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'
13320 # Archives containing C++ object files must be created using
13321 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13322 # necessary to make sure instantiated templates are included
13324 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13327 if test "$GXX" = yes; then
13328 if test "$with_gnu_ld" = no
; then
13329 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'
13331 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'
13334 link_all_deplibs_CXX
=yes
13337 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13338 hardcode_libdir_separator_CXX
=:
13339 inherit_rpath_CXX
=yes
13342 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13343 case $cc_basename in
13345 # Kuck and Associates, Inc. (KAI) C++ Compiler
13347 # KCC will only create a shared library if the output file
13348 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13349 # to its proper name (with version) after linking.
13350 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'
13351 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'
13352 # Commands to make compiler produce verbose output that lists
13353 # what "hidden" libraries, object files and flags are used when
13354 # linking a shared library.
13356 # There doesn't appear to be a way to prevent this compiler from
13357 # explicitly linking system object files so we need to strip them
13358 # from the output so that they don't get included in the library
13360 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"'
13362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13363 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13365 # Archives containing C++ object files must be created using
13366 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13367 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13372 # version 8.0 and above of icpc choke on multiply defined symbols
13373 # if we add $predep_objects and $postdep_objects, however 7.1 and
13374 # earlier do not add the objects themselves.
13375 case `$CC -V 2>&1` in
13377 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13378 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'
13380 *) # Version 8.0 or newer
13383 ia64
*) tmp_idyn
=' -i_dynamic';;
13385 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13386 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'
13389 archive_cmds_need_lc_CXX
=no
13390 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13391 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13392 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13395 # Portland Group C++ compiler
13397 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13398 prelink_cmds_CXX
='tpldir=Template.dir~
13400 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13401 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13402 old_archive_cmds_CXX
='tpldir=Template.dir~
13404 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13405 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13407 archive_cmds_CXX
='tpldir=Template.dir~
13409 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13410 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13411 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13413 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13414 $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'
13416 *) # Version 6 and above use weak symbols
13417 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13418 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'
13422 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13423 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13424 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'
13428 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13429 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'
13431 runpath_var
=LD_RUN_PATH
13432 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13433 hardcode_libdir_separator_CXX
=:
13435 # Commands to make compiler produce verbose output that lists
13436 # what "hidden" libraries, object files and flags are used when
13437 # linking a shared library.
13439 # There doesn't appear to be a way to prevent this compiler from
13440 # explicitly linking system object files so we need to strip them
13441 # from the output so that they don't get included in the library
13443 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'
13445 xl
* | mpixl
* | bgxl
*)
13446 # IBM XL 8.0 on PPC, with GNU ld
13447 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13448 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13449 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13450 if test "x$supports_anon_versioning" = xyes
; then
13451 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13452 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13453 echo "local: *; };" >> $output_objdir/$libname.ver~
13454 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13458 case `$CC -V 2>&1 | sed 5q` in
13461 no_undefined_flag_CXX
=' -zdefs'
13462 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13463 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'
13464 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13465 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'
13466 compiler_needs_object_CXX
=yes
13468 # Not sure whether something based on
13469 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13471 output_verbose_link_cmd
='func_echo_all'
13473 # Archives containing C++ object files must be created using
13474 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13475 # necessary to make sure instantiated templates are included
13477 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13485 # FIXME: insert proper C++ library support
13490 # FIXME: insert proper C++ library support
13495 case $cc_basename in
13497 # FIXME: insert proper C++ library support
13501 # FIXME: insert proper C++ library support
13508 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13509 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13511 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13512 hardcode_direct_CXX
=yes
13513 hardcode_shlibpath_var_CXX
=no
13515 # Workaround some broken pre-1.5 toolchains
13516 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13524 # C++ shared libraries are fairly broken
13529 if test -f /usr
/libexec
/ld.so
; then
13530 hardcode_direct_CXX
=yes
13531 hardcode_shlibpath_var_CXX
=no
13532 hardcode_direct_absolute_CXX
=yes
13533 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13534 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13535 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13536 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13537 export_dynamic_flag_spec_CXX
='${wl}-E'
13538 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13540 output_verbose_link_cmd
=func_echo_all
13546 osf3
* | osf4
* | osf5
*)
13547 case $cc_basename in
13549 # Kuck and Associates, Inc. (KAI) C++ Compiler
13551 # KCC will only create a shared library if the output file
13552 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13553 # to its proper name (with version) after linking.
13554 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'
13556 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13557 hardcode_libdir_separator_CXX
=:
13559 # Archives containing C++ object files must be created using
13560 # the KAI C++ compiler.
13562 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13563 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13567 # Rational C++ 2.4.1
13568 # FIXME: insert proper C++ library support
13574 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13575 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'
13576 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13579 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13580 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'
13581 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13582 echo "-hidden">> $lib.exp~
13583 $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~
13585 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13589 hardcode_libdir_separator_CXX
=:
13591 # Commands to make compiler produce verbose output that lists
13592 # what "hidden" libraries, object files and flags are used when
13593 # linking a shared library.
13595 # There doesn't appear to be a way to prevent this compiler from
13596 # explicitly linking system object files so we need to strip them
13597 # from the output so that they don't get included in the library
13599 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"'
13602 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13603 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13606 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'
13609 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'
13613 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13614 hardcode_libdir_separator_CXX
=:
13616 # Commands to make compiler produce verbose output that lists
13617 # what "hidden" libraries, object files and flags are used when
13618 # linking a shared library.
13619 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13622 # FIXME: insert proper C++ library support
13630 # FIXME: insert proper C++ library support
13635 case $cc_basename in
13638 # FIXME: insert proper C++ library support
13643 # FIXME: insert proper C++ library support
13647 # FIXME: insert proper C++ library support
13654 case $cc_basename in
13656 # Sun C++ 4.2, 5.x and Centerline C++
13657 archive_cmds_need_lc_CXX
=yes
13658 no_undefined_flag_CXX
=' -zdefs'
13659 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13660 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13661 $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'
13663 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13664 hardcode_shlibpath_var_CXX
=no
13666 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13668 # The compiler driver will combine and reorder linker options,
13669 # but understands `-z linker_flag'.
13670 # Supported since Solaris 2.6 (maybe 2.5.1?)
13671 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13674 link_all_deplibs_CXX
=yes
13676 output_verbose_link_cmd
='func_echo_all'
13678 # Archives containing C++ object files must be created using
13679 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13680 # necessary to make sure instantiated templates are included
13682 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13685 # Green Hills C++ Compiler
13686 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13688 # The C++ compiler must be used to create the archive.
13689 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13692 # GNU C++ compiler with Solaris linker
13693 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13694 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13695 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13696 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13697 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13698 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13700 # Commands to make compiler produce verbose output that lists
13701 # what "hidden" libraries, object files and flags are used when
13702 # linking a shared library.
13703 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13705 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13707 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13708 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13709 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13711 # Commands to make compiler produce verbose output that lists
13712 # what "hidden" libraries, object files and flags are used when
13713 # linking a shared library.
13714 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13717 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13719 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13721 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13729 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13730 no_undefined_flag_CXX
='${wl}-z,text'
13731 archive_cmds_need_lc_CXX
=no
13732 hardcode_shlibpath_var_CXX
=no
13733 runpath_var
='LD_RUN_PATH'
13735 case $cc_basename in
13737 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13738 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13741 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13742 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13747 sysv5
* | sco3.2v5
* | sco5v6
*)
13748 # Note: We can NOT use -z defs as we might desire, because we do not
13749 # link with -lc, and that would cause any symbols used from libc to
13750 # always be unresolved, which means just about no library would
13751 # ever link correctly. If we're not using GNU ld we use -z text
13752 # though, which does catch some bad symbols but isn't as heavy-handed
13754 no_undefined_flag_CXX
='${wl}-z,text'
13755 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13756 archive_cmds_need_lc_CXX
=no
13757 hardcode_shlibpath_var_CXX
=no
13758 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13759 hardcode_libdir_separator_CXX
=':'
13760 link_all_deplibs_CXX
=yes
13761 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13762 runpath_var
='LD_RUN_PATH'
13764 case $cc_basename in
13766 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13767 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13768 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13769 '"$old_archive_cmds_CXX"
13770 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13771 '"$reload_cmds_CXX"
13774 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13775 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13781 case $cc_basename in
13783 # NonStop-UX NCC 3.20
13784 # FIXME: insert proper C++ library support
13788 # FIXME: insert proper C++ library support
13795 # FIXME: insert proper C++ library support
13800 # FIXME: insert proper C++ library support
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13806 $as_echo "$ld_shlibs_CXX" >&6; }
13807 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13813 ## There is no encapsulation within the following macros, do not change
13814 ## the running order or otherwise move them around unless you know exactly
13815 ## what you are doing...
13816 # Dependencies to place before and after the object being linked:
13817 predep_objects_CXX
=
13818 postdep_objects_CXX
=
13821 compiler_lib_search_path_CXX
=
13823 cat > conftest.
$ac_ext <<_LT_EOF
13827 Foo (void) { a = 0; }
13833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13834 (eval $ac_compile) 2>&5
13836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13837 test $ac_status = 0; }; then
13838 # Parse the compiler output and extract the necessary
13839 # objects, libraries and library flags.
13841 # Sentinel used to keep track of whether or not we are before
13842 # the conftest object file.
13843 pre_test_object_deps_done
=no
13845 for p
in `eval "$output_verbose_link_cmd"`; do
13849 # Some compilers place space between "-{L,R}" and the path.
13850 # Remove the space.
13851 if test $p = "-L" ||
13852 test $p = "-R"; then
13859 if test "$pre_test_object_deps_done" = no
; then
13862 # Internal compiler library paths should come after those
13863 # provided the user. The postdeps already come after the
13864 # user supplied libs so there is no need to process them.
13865 if test -z "$compiler_lib_search_path_CXX"; then
13866 compiler_lib_search_path_CXX
="${prev}${p}"
13868 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13871 # The "-l" case would never come before the object being
13872 # linked, so don't bother handling this case.
13875 if test -z "$postdeps_CXX"; then
13876 postdeps_CXX
="${prev}${p}"
13878 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13884 # This assumes that the test object file only shows up
13885 # once in the compiler output.
13886 if test "$p" = "conftest.$objext"; then
13887 pre_test_object_deps_done
=yes
13891 if test "$pre_test_object_deps_done" = no
; then
13892 if test -z "$predep_objects_CXX"; then
13893 predep_objects_CXX
="$p"
13895 predep_objects_CXX
="$predep_objects_CXX $p"
13898 if test -z "$postdep_objects_CXX"; then
13899 postdep_objects_CXX
="$p"
13901 postdep_objects_CXX
="$postdep_objects_CXX $p"
13906 *) ;; # Ignore the rest.
13914 echo "libtool.m4: error: problem compiling CXX test program"
13917 $RM -f confest.
$objext
13919 # PORTME: override above test on systems where it is broken
13922 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13923 # hack all around it, let's just trust "g++" to DTRT.
13924 predep_objects_CXX
=
13925 postdep_objects_CXX
=
13930 case `$CC -V 2>&1 | sed 5q` in
13934 # The more standards-conforming stlport4 library is
13935 # incompatible with the Cstd library. Avoid specifying
13936 # it if it's in CXXFLAGS. Ignore libCrun as
13937 # -library=stlport4 depends on it.
13938 case " $CXX $CXXFLAGS " in
13939 *" -library=stlport4 "*)
13940 solaris_use_stlport4
=yes
13944 if test "$solaris_use_stlport4" != yes; then
13945 postdeps_CXX
='-library=Cstd -library=Crun'
13952 case $cc_basename in
13954 # The more standards-conforming stlport4 library is
13955 # incompatible with the Cstd library. Avoid specifying
13956 # it if it's in CXXFLAGS. Ignore libCrun as
13957 # -library=stlport4 depends on it.
13958 case " $CXX $CXXFLAGS " in
13959 *" -library=stlport4 "*)
13960 solaris_use_stlport4
=yes
13964 # Adding this requires a known-good setup of shared libraries for
13965 # Sun compiler versions before 5.6, else PIC objects from an old
13966 # archive will be linked into the output, leading to subtle bugs.
13967 if test "$solaris_use_stlport4" != yes; then
13968 postdeps_CXX
='-library=Cstd -library=Crun'
13976 case " $postdeps_CXX " in
13977 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13979 compiler_lib_search_dirs_CXX
=
13980 if test -n "${compiler_lib_search_path_CXX}"; then
13981 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14014 lt_prog_compiler_wl_CXX
=
14015 lt_prog_compiler_pic_CXX
=
14016 lt_prog_compiler_static_CXX
=
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14019 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14021 # C++ specific cases for pic, static, wl, etc.
14022 if test "$GXX" = yes; then
14023 lt_prog_compiler_wl_CXX
='-Wl,'
14024 lt_prog_compiler_static_CXX
='-static'
14028 # All AIX code is PIC.
14029 if test "$host_cpu" = ia64
; then
14030 # AIX 5 now supports IA64 processor
14031 lt_prog_compiler_static_CXX
='-Bstatic'
14033 lt_prog_compiler_pic_CXX
='-fPIC'
14039 # see comment about AmigaOS4 .so support
14040 lt_prog_compiler_pic_CXX
='-fPIC'
14043 # FIXME: we need at least 68020 code to build shared libraries, but
14044 # adding the `-m68020' flag to GCC prevents building anything better,
14046 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14051 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14052 # PIC is the default for these OSes.
14054 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14055 # This hack is so that the source file can tell whether it is being
14056 # built for inclusion in a dll (and should export symbols for example).
14057 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14058 # (--disable-auto-import) libraries
14059 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14061 darwin
* | rhapsody
*)
14062 # PIC is the default on this platform
14063 # Common symbols not allowed in MH_DYLIB files
14064 lt_prog_compiler_pic_CXX
='-fno-common'
14067 # DJGPP does not support shared libraries at all
14068 lt_prog_compiler_pic_CXX
=
14071 # PIC is the default for Haiku.
14072 # The "-static" flag exists, but is broken.
14073 lt_prog_compiler_static_CXX
=
14076 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14077 # Instead, we relocate shared libraries at runtime.
14080 if test -d /usr
/nec
; then
14081 lt_prog_compiler_pic_CXX
=-Kconform_pic
14085 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14086 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14087 # sets the default TLS model and affects inlining.
14092 lt_prog_compiler_pic_CXX
='-fPIC'
14097 # QNX uses GNU C++, but need to define -shared option too, otherwise
14098 # it will coredump.
14099 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14102 lt_prog_compiler_pic_CXX
='-fPIC'
14108 # All AIX code is PIC.
14109 if test "$host_cpu" = ia64
; then
14110 # AIX 5 now supports IA64 processor
14111 lt_prog_compiler_static_CXX
='-Bstatic'
14113 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14117 case $cc_basename in
14119 # Green Hills C++ Compiler
14120 # _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"
14125 case $cc_basename in
14127 lt_prog_compiler_pic_CXX
='-KPIC'
14130 # Green Hills C++ Compiler
14131 lt_prog_compiler_pic_CXX
='-pic'
14137 freebsd
* | dragonfly
*)
14138 # FreeBSD uses GNU C++
14140 hpux9
* | hpux10
* | hpux11
*)
14141 case $cc_basename in
14143 lt_prog_compiler_wl_CXX
='-Wl,'
14144 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14145 if test "$host_cpu" != ia64
; then
14146 lt_prog_compiler_pic_CXX
='+Z'
14150 lt_prog_compiler_wl_CXX
='-Wl,'
14151 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14157 lt_prog_compiler_pic_CXX
='+Z'
14166 # This is c89, which is MS Visual C++ (no shared libs)
14167 # Anyone wants to do a port?
14169 irix5
* | irix6
* | nonstopux
*)
14170 case $cc_basename in
14172 lt_prog_compiler_wl_CXX
='-Wl,'
14173 lt_prog_compiler_static_CXX
='-non_shared'
14174 # CC pic flag -KPIC is the default.
14180 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14181 case $cc_basename in
14184 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14185 lt_prog_compiler_pic_CXX
='-fPIC'
14188 # old Intel C++ for x86_64 which still supported -KPIC.
14189 lt_prog_compiler_wl_CXX
='-Wl,'
14190 lt_prog_compiler_pic_CXX
='-KPIC'
14191 lt_prog_compiler_static_CXX
='-static'
14194 # Intel C++, used to be incompatible with GCC.
14195 # ICC 10 doesn't accept -KPIC any more.
14196 lt_prog_compiler_wl_CXX
='-Wl,'
14197 lt_prog_compiler_pic_CXX
='-fPIC'
14198 lt_prog_compiler_static_CXX
='-static'
14201 # Portland Group C++ compiler
14202 lt_prog_compiler_wl_CXX
='-Wl,'
14203 lt_prog_compiler_pic_CXX
='-fpic'
14204 lt_prog_compiler_static_CXX
='-Bstatic'
14208 # Make sure the PIC flag is empty. It appears that all Alpha
14209 # Linux and Compaq Tru64 Unix objects are PIC.
14210 lt_prog_compiler_pic_CXX
=
14211 lt_prog_compiler_static_CXX
='-non_shared'
14213 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14214 # IBM XL 8.0, 9.0 on PPC and BlueGene
14215 lt_prog_compiler_wl_CXX
='-Wl,'
14216 lt_prog_compiler_pic_CXX
='-qpic'
14217 lt_prog_compiler_static_CXX
='-qstaticlink'
14220 case `$CC -V 2>&1 | sed 5q` in
14223 lt_prog_compiler_pic_CXX
='-KPIC'
14224 lt_prog_compiler_static_CXX
='-Bstatic'
14225 lt_prog_compiler_wl_CXX
='-Qoption ld '
14236 case $cc_basename in
14238 lt_prog_compiler_pic_CXX
='-W c,exportall'
14247 # QNX uses GNU C++, but need to define -shared option too, otherwise
14248 # it will coredump.
14249 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14251 osf3
* | osf4
* | osf5
*)
14252 case $cc_basename in
14254 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14257 # Rational C++ 2.4.1
14258 lt_prog_compiler_pic_CXX
='-pic'
14261 # Digital/Compaq C++
14262 lt_prog_compiler_wl_CXX
='-Wl,'
14263 # Make sure the PIC flag is empty. It appears that all Alpha
14264 # Linux and Compaq Tru64 Unix objects are PIC.
14265 lt_prog_compiler_pic_CXX
=
14266 lt_prog_compiler_static_CXX
='-non_shared'
14275 case $cc_basename in
14277 # Sun C++ 4.2, 5.x and Centerline C++
14278 lt_prog_compiler_pic_CXX
='-KPIC'
14279 lt_prog_compiler_static_CXX
='-Bstatic'
14280 lt_prog_compiler_wl_CXX
='-Qoption ld '
14283 # Green Hills C++ Compiler
14284 lt_prog_compiler_pic_CXX
='-PIC'
14291 case $cc_basename in
14294 lt_prog_compiler_pic_CXX
='-pic'
14295 lt_prog_compiler_static_CXX
='-Bstatic'
14299 lt_prog_compiler_pic_CXX
='-pic'
14305 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14306 case $cc_basename in
14308 lt_prog_compiler_wl_CXX
='-Wl,'
14309 lt_prog_compiler_pic_CXX
='-KPIC'
14310 lt_prog_compiler_static_CXX
='-Bstatic'
14315 case $cc_basename in
14317 # NonStop-UX NCC 3.20
14318 lt_prog_compiler_pic_CXX
='-KPIC'
14327 lt_prog_compiler_can_build_shared_CXX
=no
14333 # For platforms which do not support PIC, -DPIC is meaningless:
14335 lt_prog_compiler_pic_CXX
=
14338 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14342 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14347 # Check to make sure the PIC flag actually works.
14349 if test -n "$lt_prog_compiler_pic_CXX"; then
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14351 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14352 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14353 $as_echo_n "(cached) " >&6
14355 lt_cv_prog_compiler_pic_works_CXX
=no
14356 ac_outfile
=conftest.
$ac_objext
14357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14358 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14359 # Insert the option either (1) after the last *FLAGS variable, or
14360 # (2) before a word containing "conftest.", or (3) at the end.
14361 # Note that $ac_compile itself does not contain backslashes and begins
14362 # with a dollar sign (not a hyphen), so the echo should work correctly.
14363 # The option is referenced via a variable to avoid confusing sed.
14364 lt_compile
=`echo "$ac_compile" | $SED \
14365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14367 -e 's:$: $lt_compiler_flag:'`
14368 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14369 (eval "$lt_compile" 2>conftest.err
)
14371 cat conftest.err
>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 if (exit $ac_status) && test -s "$ac_outfile"; then
14374 # The compiler can only warn and ignore the option if not recognized
14375 # So say no if there are warnings other than the usual output.
14376 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14377 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14378 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14379 lt_cv_prog_compiler_pic_works_CXX
=yes
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14386 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14388 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14389 case $lt_prog_compiler_pic_CXX in
14391 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14394 lt_prog_compiler_pic_CXX
=
14395 lt_prog_compiler_can_build_shared_CXX
=no
14403 # Check to make sure the static flag actually works.
14405 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14407 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14408 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14409 $as_echo_n "(cached) " >&6
14411 lt_cv_prog_compiler_static_works_CXX
=no
14412 save_LDFLAGS
="$LDFLAGS"
14413 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14414 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14415 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14416 # The linker can only warn and ignore the option if not recognized
14417 # So say no if there are warnings
14418 if test -s conftest.err
; then
14419 # Append any errors to the config.log.
14420 cat conftest.err
1>&5
14421 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14422 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14423 if diff conftest.exp conftest.er2
>/dev
/null
; then
14424 lt_cv_prog_compiler_static_works_CXX
=yes
14427 lt_cv_prog_compiler_static_works_CXX
=yes
14431 LDFLAGS
="$save_LDFLAGS"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14435 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14437 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14440 lt_prog_compiler_static_CXX
=
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14447 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14448 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14449 $as_echo_n "(cached) " >&6
14451 lt_cv_prog_compiler_c_o_CXX
=no
14452 $RM -r conftest
2>/dev
/null
14456 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14458 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14459 # Insert the option either (1) after the last *FLAGS variable, or
14460 # (2) before a word containing "conftest.", or (3) at the end.
14461 # Note that $ac_compile itself does not contain backslashes and begins
14462 # with a dollar sign (not a hyphen), so the echo should work correctly.
14463 lt_compile
=`echo "$ac_compile" | $SED \
14464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14466 -e 's:$: $lt_compiler_flag:'`
14467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14468 (eval "$lt_compile" 2>out
/conftest.err
)
14470 cat out
/conftest.err
>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14474 # The compiler can only warn and ignore the option if not recognized
14475 # So say no if there are warnings
14476 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14477 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14478 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14479 lt_cv_prog_compiler_c_o_CXX
=yes
14484 # SGI C++ compiler will create directory out/ii_files/ for
14485 # template instantiation
14486 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14487 $RM out
/* && rmdir out
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14494 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14499 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14500 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14501 $as_echo_n "(cached) " >&6
14503 lt_cv_prog_compiler_c_o_CXX
=no
14504 $RM -r conftest
2>/dev
/null
14508 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14510 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14511 # Insert the option either (1) after the last *FLAGS variable, or
14512 # (2) before a word containing "conftest.", or (3) at the end.
14513 # Note that $ac_compile itself does not contain backslashes and begins
14514 # with a dollar sign (not a hyphen), so the echo should work correctly.
14515 lt_compile
=`echo "$ac_compile" | $SED \
14516 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14518 -e 's:$: $lt_compiler_flag:'`
14519 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14520 (eval "$lt_compile" 2>out
/conftest.err
)
14522 cat out
/conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14526 # The compiler can only warn and ignore the option if not recognized
14527 # So say no if there are warnings
14528 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14529 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14530 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14531 lt_cv_prog_compiler_c_o_CXX
=yes
14536 # SGI C++ compiler will create directory out/ii_files/ for
14537 # template instantiation
14538 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14539 $RM out
/* && rmdir out
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14546 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14551 hard_links
="nottested"
14552 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14553 # do not overwrite the value of need_locks provided by the user
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14555 $as_echo_n "checking if we can lock with hard links... " >&6; }
14558 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14560 ln conftest.a conftest.b
2>&5 || hard_links
=no
14561 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14563 $as_echo "$hard_links" >&6; }
14564 if test "$hard_links" = no
; then
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14566 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14576 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14578 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14581 # If we're using GNU nm, then we don't want the "-C" option.
14582 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14583 # Also, AIX nm treats weak defined symbols like other global defined
14584 # symbols, whereas GNU nm marks them as "W".
14585 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14586 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'
14588 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'
14592 export_symbols_cmds_CXX
="$ltdll_cmds"
14594 cygwin
* | mingw
* | cegcc
*)
14595 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'
14598 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14601 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14604 $as_echo "$ld_shlibs_CXX" >&6; }
14605 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14607 with_gnu_ld_CXX
=$with_gnu_ld
14615 # Do we need to explicitly link libc?
14617 case "x$archive_cmds_need_lc_CXX" in
14619 # Assume -lc should be added
14620 archive_cmds_need_lc_CXX
=yes
14622 if test "$enable_shared" = yes && test "$GCC" = yes; then
14623 case $archive_cmds_CXX in
14625 # FIXME: we may have to deal with multi-command sequences.
14628 # Test whether the compiler implicitly links with -lc since on some
14629 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14630 # to ld, don't add -lc before -lgcc.
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14632 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14633 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14634 $as_echo_n "(cached) " >&6
14637 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14640 (eval $ac_compile) 2>&5
14642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; } 2>conftest.err
; then
14646 libobjs
=conftest.
$ac_objext
14648 wl
=$lt_prog_compiler_wl_CXX
14649 pic_flag
=$lt_prog_compiler_pic_CXX
14655 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14656 allow_undefined_flag_CXX
=
14657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14658 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661 test $ac_status = 0; }
14663 lt_cv_archive_cmds_need_lc_CXX
=no
14665 lt_cv_archive_cmds_need_lc_CXX
=yes
14667 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14669 cat conftest.err
1>&5
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14675 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14676 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14747 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14749 library_names_spec
=
14750 libname_spec
='lib$name'
14754 postuninstall_cmds
=
14758 shlibpath_overrides_runpath
=unknown
14760 dynamic_linker
="$host_os ld.so"
14761 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14762 need_lib_prefix
=unknown
14763 hardcode_into_libs
=no
14765 # when you set need_version to no, make sure it does not cause -set_version
14766 # flags to be left without arguments
14767 need_version
=unknown
14772 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14773 shlibpath_var
=LIBPATH
14775 # AIX 3 has no versioning support, so we append a major version to the name.
14776 soname_spec
='${libname}${release}${shared_ext}$major'
14783 hardcode_into_libs
=yes
14784 if test "$host_cpu" = ia64
; then
14785 # AIX 5 supports IA64
14786 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14787 shlibpath_var
=LD_LIBRARY_PATH
14789 # With GCC up to 2.95.x, collect2 would create an import file
14790 # for dependence libraries. The import file would start with
14791 # the line `#! .'. This would cause the generated library to
14792 # depend on `.', always an invalid library. This was fixed in
14793 # development snapshots of GCC prior to 3.0.
14795 aix4 | aix4.
[01] | aix4.
[01].
*)
14796 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14798 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14801 can_build_shared
=no
14805 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14806 # soname into executable. Probably we can add versioning support to
14807 # collect2, so additional links can be useful in future.
14808 if test "$aix_use_runtimelinking" = yes; then
14809 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14810 # instead of lib<name>.a to let people know that these are not
14811 # typical AIX shared libraries.
14812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14814 # We preserve .a as extension for shared libraries through AIX4.2
14815 # and later when we are not doing run time linking.
14816 library_names_spec
='${libname}${release}.a $libname.a'
14817 soname_spec
='${libname}${release}${shared_ext}$major'
14819 shlibpath_var
=LIBPATH
14826 # Since July 2007 AmigaOS4 officially supports .so libraries.
14827 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14831 library_names_spec
='$libname.ixlibrary $libname.a'
14832 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14833 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'
14839 library_names_spec
='${libname}${shared_ext}'
14840 dynamic_linker
="$host_os ld.so"
14841 shlibpath_var
=LIBRARY_PATH
14847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14848 soname_spec
='${libname}${release}${shared_ext}$major'
14849 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14850 shlibpath_var
=LD_LIBRARY_PATH
14851 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14852 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14853 # the default ld.so.conf also contains /usr/contrib/lib and
14854 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14855 # libtool to hard-code these into programs
14858 cygwin
* | mingw
* | pw32
* | cegcc
*)
14859 version_type
=windows
14864 case $GCC,$host_os in
14865 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14866 library_names_spec
='$libname.dll.a'
14867 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14868 postinstall_cmds
='base_file=`basename \${file}`~
14869 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14870 dldir=$destdir/`dirname \$dlpath`~
14871 test -d \$dldir || mkdir -p \$dldir~
14872 $install_prog $dir/$dlname \$dldir/$dlname~
14873 chmod a+x \$dldir/$dlname~
14874 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14875 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14877 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14878 dlpath=$dir/\$dldll~
14880 shlibpath_overrides_runpath
=yes
14884 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14885 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14889 # MinGW DLLs use traditional 'lib' prefix
14890 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14893 # pw32 DLLs use 'pw' prefix rather than 'lib'
14894 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14900 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14903 dynamic_linker
='Win32 ld.exe'
14904 # FIXME: first we should search . and the directory the executable is in
14908 darwin
* | rhapsody
*)
14909 dynamic_linker
="$host_os dyld"
14910 version_type
=darwin
14913 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14914 soname_spec
='${libname}${release}${major}$shared_ext'
14915 shlibpath_overrides_runpath
=yes
14916 shlibpath_var
=DYLD_LIBRARY_PATH
14917 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14919 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14927 soname_spec
='${libname}${release}${shared_ext}$major'
14928 shlibpath_var
=LD_LIBRARY_PATH
14931 freebsd
* | dragonfly
*)
14932 # DragonFly does not have aout. When/if they implement a new
14933 # versioning mechanism, adjust this.
14934 if test -x /usr
/bin
/objformat
; then
14935 objformat
=`/usr/bin/objformat`
14938 freebsd
[23].
*) objformat
=aout
;;
14939 *) objformat
=elf
;;
14942 version_type
=freebsd-
$objformat
14943 case $version_type in
14945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14950 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14954 shlibpath_var
=LD_LIBRARY_PATH
14957 shlibpath_overrides_runpath
=yes
14959 freebsd3.
[01]* | freebsdelf3.
[01]*)
14960 shlibpath_overrides_runpath
=yes
14961 hardcode_into_libs
=yes
14963 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14964 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14965 shlibpath_overrides_runpath
=no
14966 hardcode_into_libs
=yes
14968 *) # from 4.6 on, and DragonFly
14969 shlibpath_overrides_runpath
=yes
14970 hardcode_into_libs
=yes
14979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14980 soname_spec
='${libname}${release}${shared_ext}$major'
14981 shlibpath_var
=LD_LIBRARY_PATH
14982 hardcode_into_libs
=yes
14989 dynamic_linker
="$host_os runtime_loader"
14990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14991 soname_spec
='${libname}${release}${shared_ext}$major'
14992 shlibpath_var
=LIBRARY_PATH
14993 shlibpath_overrides_runpath
=yes
14994 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14995 hardcode_into_libs
=yes
14998 hpux9
* | hpux10
* | hpux11
*)
14999 # Give a soname corresponding to the major version so that dld.sl refuses to
15000 # link against other versions.
15007 hardcode_into_libs
=yes
15008 dynamic_linker
="$host_os dld.so"
15009 shlibpath_var
=LD_LIBRARY_PATH
15010 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 if test "X$HPUX_IA64_MODE" = X32
; then
15014 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15016 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15018 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15022 hardcode_into_libs
=yes
15023 dynamic_linker
="$host_os dld.sl"
15024 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15025 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15027 soname_spec
='${libname}${release}${shared_ext}$major'
15028 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15033 dynamic_linker
="$host_os dld.sl"
15034 shlibpath_var
=SHLIB_PATH
15035 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15040 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15041 postinstall_cmds
='chmod 555 $lib'
15042 # or fails outright, so override atomically:
15043 install_override_mode
=555
15050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15051 soname_spec
='${libname}${release}${shared_ext}$major'
15052 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15053 shlibpath_var
=LD_LIBRARY_PATH
15054 shlibpath_overrides_runpath
=no
15055 hardcode_into_libs
=yes
15058 irix5
* | irix6
* | nonstopux
*)
15060 nonstopux
*) version_type
=nonstopux
;;
15062 if test "$lt_cv_prog_gnu_ld" = yes; then
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15073 irix5
* | nonstopux
*)
15074 libsuff
= shlibsuff
=
15077 case $LD in # libtool.m4 will add one of these switches to LD
15078 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15079 libsuff
= shlibsuff
= libmagic
=32-bit;;
15080 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15081 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15082 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15083 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15084 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15088 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15089 shlibpath_overrides_runpath
=no
15090 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15091 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15092 hardcode_into_libs
=yes
15095 # No shared lib support for Linux oldld, aout, or coff.
15096 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15100 # This must be Linux ELF.
15101 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15106 soname_spec
='${libname}${release}${shared_ext}$major'
15107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=no
15111 # Some binutils ld are patched to set DT_RUNPATH
15112 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15115 lt_cv_shlibpath_overrides_runpath
=no
15116 save_LDFLAGS
=$LDFLAGS
15117 save_libdir
=$libdir
15118 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15119 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15131 if ac_fn_cxx_try_link
"$LINENO"; then :
15132 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15133 lt_cv_shlibpath_overrides_runpath
=yes
15136 rm -f core conftest.err conftest.
$ac_objext \
15137 conftest
$ac_exeext conftest.
$ac_ext
15138 LDFLAGS
=$save_LDFLAGS
15139 libdir
=$save_libdir
15143 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15145 # This implies no fast_install, which is unacceptable.
15146 # Some rework will be needed to allow for fast_install
15147 # before this can be enabled.
15148 hardcode_into_libs
=yes
15150 # Append ld.so.conf contents to the search path
15151 if test -f /etc
/ld.so.conf
; then
15152 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' ' '`
15153 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15156 # We used to test for /lib/ld.so.1 and disable shared libraries on
15157 # powerpc, because MkLinux only supported shared libraries with the
15158 # GNU dynamic linker. Since this was broken with cross compilers,
15159 # most powerpc-linux boxes support dynamic linking these days and
15160 # people can always --disable-shared, the test was removed, and we
15161 # assume the GNU/Linux dynamic linker is in use.
15162 dynamic_linker
='GNU/Linux ld.so'
15169 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15172 dynamic_linker
='NetBSD (a.out) ld.so'
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15175 soname_spec
='${libname}${release}${shared_ext}$major'
15176 dynamic_linker
='NetBSD ld.elf_so'
15178 shlibpath_var
=LD_LIBRARY_PATH
15179 shlibpath_overrides_runpath
=yes
15180 hardcode_into_libs
=yes
15185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186 shlibpath_var
=LD_LIBRARY_PATH
15187 shlibpath_overrides_runpath
=yes
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15195 soname_spec
='${libname}${release}${shared_ext}$major'
15196 shlibpath_var
=LD_LIBRARY_PATH
15197 shlibpath_overrides_runpath
=no
15198 hardcode_into_libs
=yes
15199 dynamic_linker
='ldqnx.so'
15204 sys_lib_dlsearch_path_spec
="/usr/lib"
15206 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15208 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15209 *) need_version
=no
;;
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15212 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15213 shlibpath_var
=LD_LIBRARY_PATH
15214 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15216 openbsd2.
[89] | openbsd2.
[89].
*)
15217 shlibpath_overrides_runpath
=no
15220 shlibpath_overrides_runpath
=yes
15224 shlibpath_overrides_runpath
=yes
15229 libname_spec
='$name'
15232 library_names_spec
='$libname${shared_ext} $libname.a'
15233 dynamic_linker
='OS/2 ld.exe'
15234 shlibpath_var
=LIBPATH
15237 osf3
* | osf4
* | osf5
*)
15241 soname_spec
='${libname}${release}${shared_ext}$major'
15242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243 shlibpath_var
=LD_LIBRARY_PATH
15244 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15245 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15257 soname_spec
='${libname}${release}${shared_ext}$major'
15258 shlibpath_var
=LD_LIBRARY_PATH
15259 shlibpath_overrides_runpath
=yes
15260 hardcode_into_libs
=yes
15261 # ldd complains unless libraries are executable
15262 postinstall_cmds
='chmod +x $lib'
15267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15268 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15269 shlibpath_var
=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath
=yes
15271 if test "$with_gnu_ld" = yes; then
15279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280 soname_spec
='${libname}${release}${shared_ext}$major'
15281 shlibpath_var
=LD_LIBRARY_PATH
15282 case $host_vendor in
15284 shlibpath_overrides_runpath
=no
15286 runpath_var
=LD_RUN_PATH
15294 shlibpath_overrides_runpath
=no
15295 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15301 if test -d /usr
/nec
;then
15303 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15304 soname_spec
='$libname${shared_ext}.$major'
15305 shlibpath_var
=LD_LIBRARY_PATH
15309 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15310 version_type
=freebsd-elf
15313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15314 soname_spec
='${libname}${release}${shared_ext}$major'
15315 shlibpath_var
=LD_LIBRARY_PATH
15316 shlibpath_overrides_runpath
=yes
15317 hardcode_into_libs
=yes
15318 if test "$with_gnu_ld" = yes; then
15319 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15321 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15324 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15328 sys_lib_dlsearch_path_spec
='/usr/lib'
15332 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15337 shlibpath_var
=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath
=no
15339 hardcode_into_libs
=yes
15344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 soname_spec
='${libname}${release}${shared_ext}$major'
15346 shlibpath_var
=LD_LIBRARY_PATH
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15354 $as_echo "$dynamic_linker" >&6; }
15355 test "$dynamic_linker" = no
&& can_build_shared
=no
15357 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15358 if test "$GCC" = yes; then
15359 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15362 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15363 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15365 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15366 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15407 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15408 hardcode_action_CXX
=
15409 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15410 test -n "$runpath_var_CXX" ||
15411 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15413 # We can hardcode non-existent directories.
15414 if test "$hardcode_direct_CXX" != no
&&
15415 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15416 # have to relink, otherwise we might link with an installed library
15417 # when we should be linking with a yet-to-be-installed one
15418 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15419 test "$hardcode_minus_L_CXX" != no
; then
15420 # Linking always hardcodes the temporary library directory.
15421 hardcode_action_CXX
=relink
15423 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15424 hardcode_action_CXX
=immediate
15427 # We cannot hardcode anything, or else we can only hardcode existing
15429 hardcode_action_CXX
=unsupported
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15432 $as_echo "$hardcode_action_CXX" >&6; }
15434 if test "$hardcode_action_CXX" = relink ||
15435 test "$inherit_rpath_CXX" = yes; then
15436 # Fast installation is not supported
15437 enable_fast_install
=no
15438 elif test "$shlibpath_overrides_runpath" = yes ||
15439 test "$enable_shared" = no
; then
15440 # Fast installation is not necessary
15441 enable_fast_install
=needless
15450 fi # test -n "$compiler"
15456 with_gnu_ld
=$lt_save_with_gnu_ld
15457 lt_cv_path_LDCXX
=$lt_cv_path_LD
15458 lt_cv_path_LD
=$lt_save_path_LD
15459 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15460 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15461 fi # test "$_lt_caught_CXX_error" != yes
15464 ac_cpp
='$CPP $CPPFLAGS'
15465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15481 ac_config_commands
="$ac_config_commands libtool"
15486 # Only expand once:
15492 # For libtool versioning info, format is CURRENT:REVISION:AGE
15493 libtool_VERSION
=1:0:0
15496 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15499 if test "${multilib}" = "yes"; then
15500 multilib_arg
="--enable-multilib"
15505 ac_config_files
="$ac_config_files Makefile"
15508 if test "x$VTV_SUPPORTED" = "xyes"; then
15509 ac_config_files
="$ac_config_files testsuite/Makefile"
15513 cat >confcache
<<\_ACEOF
15514 # This file is a shell script that caches the results of configure
15515 # tests run on this system so they can be shared between configure
15516 # scripts and configure runs, see configure's option --config-cache.
15517 # It is not useful on other systems. If it contains results you don't
15518 # want to keep, you may remove or edit it.
15520 # config.status only pays attention to the cache file if you give it
15521 # the --recheck option to rerun configure.
15523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15525 # following values.
15529 # The following way of writing the cache mishandles newlines in values,
15530 # but we know of no workaround that is simple, portable, and efficient.
15531 # So, we kill variables containing newlines.
15532 # Ultrix sh set writes to stderr and can't be redirected directly,
15533 # and sets the high bit in the cache file unless we assign to the vars.
15535 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15536 eval ac_val
=\$
$ac_var
15540 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15541 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15544 _ | IFS | as_nl
) ;; #(
15545 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15546 *) { eval $ac_var=; unset $ac_var;} ;;
15552 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15553 *${as_nl}ac_space
=\
*)
15554 # `set' does not quote correctly, so add quotes: double-quote
15555 # substitution turns \\\\ into \\, and sed turns \\ into \.
15558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15561 # `set' quotes correctly as required by POSIX, so do not add quotes.
15562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15571 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15573 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15575 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15576 if test -w "$cache_file"; then
15577 test "x$cache_file" != "x/dev/null" &&
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15579 $as_echo "$as_me: updating cache $cache_file" >&6;}
15580 cat confcache
>$cache_file
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15583 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15588 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15589 # Let make expand exec_prefix.
15590 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15592 # Transform confdefs.h into DEFS.
15593 # Protect against shell expansion while executing Makefile rules.
15594 # Protect against Makefile macro expansion.
15596 # If the first sed substitution is executed (which looks for macros that
15597 # take arguments), then branch to the quote section. Otherwise,
15598 # look for a macro that doesn't take arguments.
15608 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15610 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15614 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15627 DEFS
=`sed -n "$ac_script" confdefs.h`
15632 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15633 # 1. Remove the extension, and $U if already installed.
15634 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15635 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15637 # will be set to the directory where LIBOBJS objects are built.
15638 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15639 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15641 LIBOBJS
=$ac_libobjs
15643 LTLIBOBJS
=$ac_ltlibobjs
15646 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15647 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -n "$EXEEXT"; then
15652 am__EXEEXT_FALSE
='#'
15654 am__EXEEXT_TRUE
='#'
15658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15659 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15663 as_fn_error
"conditional \"AMDEP\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15667 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15671 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15675 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15679 : ${CONFIG_STATUS=./config.status}
15681 ac_clean_files_save
=$ac_clean_files
15682 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15684 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15686 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15688 # Generated by $as_me.
15689 # Run this file to recreate the current configuration.
15690 # Compiler output produced by configure, useful for debugging
15691 # configure, is in config.log if it exists.
15694 ac_cs_recheck=false
15697 SHELL=\${CONFIG_SHELL-$SHELL}
15700 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15701 ## -------------------- ##
15702 ## M4sh Initialization. ##
15703 ## -------------------- ##
15705 # Be more Bourne compatible
15706 DUALCASE
=1; export DUALCASE
# for MKS sh
15707 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15710 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15711 # is contrary to our usage. Disable this feature.
15712 alias -g '${1+"$@"}'='"$@"'
15713 setopt NO_GLOB_SUBST
15715 case `(set -o) 2>/dev/null` in #(
15727 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15728 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15730 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15731 # Prefer a ksh shell builtin over an external printf program on Solaris,
15732 # but without wasting forks for bash or zsh.
15733 if test -z "$BASH_VERSION$ZSH_VERSION" \
15734 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15735 as_echo='print
-r --'
15736 as_echo_n='print
-rn --'
15737 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15738 as_echo='printf %s
\n'
15739 as_echo_n='printf %s
'
15741 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15742 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15743 as_echo_n='/usr
/ucb
/echo -n'
15745 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15746 as_echo_n_body='eval
15750 expr "X$arg" : "X\\(.*\\)$as_nl";
15751 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15753 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15755 export as_echo_n_body
15756 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15758 export as_echo_body
15759 as_echo='sh
-c $as_echo_body as_echo
'
15762 # The user is always right.
15763 if test "${PATH_SEPARATOR+set}" != set; then
15765 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15766 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15773 # We need space, tab and new line, in precisely that order. Quoting is
15774 # there to prevent editors from complaining about space-tab.
15775 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15776 # splitting by setting IFS to empty value.)
15779 # Find who we are. Look in the path if we contain no directory separator.
15781 *[\\/]* ) as_myself=$0 ;;
15782 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15783 for as_dir in $PATH
15786 test -z "$as_dir" && as_dir=.
15787 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15793 # We did not find ourselves, most probably we were run as `sh COMMAND'
15794 # in which case we are not to be found in the path.
15795 if test "x$as_myself" = x
; then
15798 if test ! -f "$as_myself"; then
15799 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15803 # Unset variables that we do not need and which cause bugs (e.g. in
15804 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15805 # suppresses any "Segmentation fault" message there. '((' could
15806 # trigger a bug in pdksh 5.2.14.
15807 for as_var
in BASH_ENV ENV MAIL MAILPATH
15808 do eval test x\
${$as_var+set} = xset \
15809 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15822 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15825 # as_fn_error ERROR [LINENO LOG_FD]
15826 # ---------------------------------
15827 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15828 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15829 # script with status $?, using 1 if that was 0.
15832 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15834 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15835 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15837 $as_echo "$as_me: error: $1" >&2
15838 as_fn_exit
$as_status
15842 # as_fn_set_status STATUS
15843 # -----------------------
15844 # Set $? to STATUS, without forking.
15845 as_fn_set_status
()
15848 } # as_fn_set_status
15850 # as_fn_exit STATUS
15851 # -----------------
15852 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15856 as_fn_set_status
$1
15862 # Portably unset VAR.
15865 { eval $1=; unset $1;}
15867 as_unset
=as_fn_unset
15868 # as_fn_append VAR VALUE
15869 # ----------------------
15870 # Append the text in VALUE to the end of the definition contained in VAR. Take
15871 # advantage of any shell optimizations that allow amortized linear growth over
15872 # repeated appends, instead of the typical quadratic growth present in naive
15874 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15875 eval 'as_fn_append ()
15886 # as_fn_arith ARG...
15887 # ------------------
15888 # Perform arithmetic evaluation on the ARGs, and store the result in the
15889 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15890 # must be portable across $(()) and expr.
15891 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15892 eval 'as_fn_arith ()
15899 as_val
=`expr "$@" || test $? -eq 1`
15904 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15905 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15911 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15912 as_basename
=basename
15917 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15923 as_me
=`$as_basename -- "$0" ||
15924 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15925 X"$0" : 'X\(//\)$' \| \
15926 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15928 sed '/^.*\/\([^/][^/]*\)\/*$/{
15942 # Avoid depending upon Character Ranges.
15943 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15944 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15945 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15946 as_cr_digits
='0123456789'
15947 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15949 ECHO_C
= ECHO_N
= ECHO_T
=
15950 case `echo -n x` in #(((((
15952 case `echo 'xy\c'` in
15953 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15955 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15962 rm -f conf$$ conf$$.exe conf$$.
file
15963 if test -d conf$$.dir
; then
15964 rm -f conf$$.dir
/conf$$.
file
15967 mkdir conf$$.dir
2>/dev
/null
15969 if (echo >conf$$.
file) 2>/dev
/null
; then
15970 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15972 # ... but there are two gotchas:
15973 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15974 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15975 # In both cases, we have to default to `cp -p'.
15976 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15978 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15986 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15987 rmdir conf$$.dir
2>/dev
/null
15992 # Create "$as_dir" as a directory, including parents if necessary.
15997 -*) as_dir
=.
/$as_dir;;
15999 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16003 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16004 *) as_qdir
=$as_dir;;
16006 as_dirs
="'$as_qdir' $as_dirs"
16007 as_dir
=`$as_dirname -- "$as_dir" ||
16008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16009 X"$as_dir" : 'X\(//\)[^/]' \| \
16010 X"$as_dir" : 'X\(//\)$' \| \
16011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16012 $as_echo X"$as_dir" |
16013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16017 /^X\(\/\/\)[^/].*/{
16030 test -d "$as_dir" && break
16032 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16033 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16037 if mkdir
-p .
2>/dev
/null
; then
16038 as_mkdir_p
='mkdir -p "$as_dir"'
16040 test -d .
/-p && rmdir .
/-p
16044 if test -x / >/dev
/null
2>&1; then
16045 as_test_x
='test -x'
16047 if ls -dL / >/dev
/null
2>&1; then
16054 if test -d "$1"; then
16060 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16061 ???[sx]*):;;*)false;;esac;fi
16065 as_executable_p
=$as_test_x
16067 # Sed expression to map a string onto a valid CPP name.
16068 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16070 # Sed expression to map a string onto a valid variable name.
16071 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16075 ## ----------------------------------- ##
16076 ## Main body of $CONFIG_STATUS script. ##
16077 ## ----------------------------------- ##
16079 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16082 # Save the log message, to keep $0 and so on meaningful, and to
16083 # report actual input values of CONFIG_FILES etc. instead of their
16084 # values after options handling.
16086 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16087 generated by GNU Autoconf 2.64. Invocation command line was
16089 CONFIG_FILES = $CONFIG_FILES
16090 CONFIG_HEADERS = $CONFIG_HEADERS
16091 CONFIG_LINKS = $CONFIG_LINKS
16092 CONFIG_COMMANDS = $CONFIG_COMMANDS
16095 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16100 case $ac_config_files in *"
16101 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16107 # Files that config.status was made for.
16108 config_files="$ac_config_files"
16109 config_commands="$ac_config_commands"
16113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16115 \`$as_me' instantiates files and other configuration actions
16116 from templates according to the current configuration. Unless the files
16117 and actions are specified as TAGs, all are instantiated by default.
16119 Usage: $0 [OPTION]... [TAG]...
16121 -h, --help print this help, then exit
16122 -V, --version print version number and configuration settings, then exit
16123 -q, --quiet, --silent
16124 do not print progress messages
16125 -d, --debug don't remove temporary files
16126 --recheck update $as_me by reconfiguring in the same conditions
16127 --file=FILE[:TEMPLATE]
16128 instantiate the configuration file FILE
16130 Configuration files:
16133 Configuration commands:
16136 Report bugs to the package provider.
16137 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16138 General help using GNU software: <http://www.gnu.org/gethelp/>."
16141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16143 GNU Vtable Verification Runtime Library config.status 1.0
16144 configured by $0, generated by GNU Autoconf 2.64,
16145 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16147 Copyright (C) 2009 Free Software Foundation, Inc.
16148 This config.status script is free software; the Free Software Foundation
16149 gives unlimited permission to copy, distribute and modify it."
16156 test -n "\$AWK" || AWK=awk
16159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16160 # The default lists apply if the user does not specify any file.
16166 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16167 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16178 # Handling of the options.
16179 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16181 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16182 $as_echo "$ac_cs_version"; exit ;;
16183 --debug |
--debu |
--deb |
--de |
--d |
-d )
16185 --file |
--fil |
--fi |
--f )
16188 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16190 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16191 ac_need_defaults
=false
;;
16192 --he |
--h |
--help |
--hel |
-h )
16193 $as_echo "$ac_cs_usage"; exit ;;
16194 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16195 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16198 # This is an error.
16199 -*) as_fn_error
"unrecognized option: \`$1'
16200 Try \`$0 --help' for more information." ;;
16202 *) as_fn_append ac_config_targets
" $1"
16203 ac_need_defaults
=false
;;
16209 ac_configure_extra_args
=
16211 if $ac_cs_silent; then
16213 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16218 if \$ac_cs_recheck; then
16219 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16221 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16222 CONFIG_SHELL='$SHELL'
16223 export CONFIG_SHELL
16228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16232 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16233 ## Running $as_me. ##
16239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 with_multisubdir="$with_multisubdir"
16248 with_multisrctop="$with_multisrctop"
16249 with_target_subdir="$with_target_subdir"
16250 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16251 multi_basedir="$multi_basedir"
16252 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16255 GFORTRAN="$GFORTRAN"
16257 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16260 # The HP-UX ksh and POSIX shell print the target directory to stdout
16261 # if CDPATH is set.
16262 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16264 sed_quote_subst='$sed_quote_subst'
16265 double_quote_subst='$double_quote_subst'
16266 delay_variable_subst='$delay_variable_subst'
16267 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16268 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16269 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16270 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16271 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16272 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16273 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16274 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16275 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16276 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16277 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16278 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16279 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16280 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16281 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16282 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16283 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16284 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16285 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16286 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16287 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16288 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16289 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16290 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16291 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16292 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16293 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16294 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16295 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16296 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16297 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16298 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16299 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16300 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16301 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16302 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16303 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16304 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16305 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16306 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16307 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16308 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16309 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16310 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16311 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16312 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16313 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16314 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16315 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"`'
16316 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16317 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16320 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16321 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16322 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16323 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16324 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16325 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16326 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16327 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16328 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16329 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16330 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16331 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16332 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16333 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16334 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16335 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16336 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16337 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16338 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16339 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16340 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16341 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16342 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16343 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16344 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16345 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16346 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16347 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16348 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16349 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16350 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16351 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16352 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16353 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16354 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16355 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16356 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16357 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16358 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16359 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16360 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16361 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16362 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16363 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16364 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16365 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16366 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16367 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16368 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16369 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16370 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16371 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16372 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16373 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16374 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16375 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16376 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16377 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16378 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16379 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16380 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16381 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16382 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16383 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16384 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16385 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16386 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16387 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16388 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16389 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16390 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16391 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16392 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16393 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16394 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16395 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16396 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16397 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16398 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16399 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16400 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16401 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16402 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16403 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16404 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16405 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16406 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16407 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16408 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16409 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16410 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16411 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16412 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16413 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16414 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16415 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16416 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16417 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16418 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16419 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16420 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16421 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16422 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16423 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16424 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16425 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16426 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16427 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16428 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16429 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16430 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16431 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16432 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16433 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16434 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16435 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16436 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16437 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16438 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16439 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16440 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16441 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16444 LTCFLAGS='$LTCFLAGS'
16445 compiler='$compiler_DEFAULT'
16447 # A function that is used when there is no print builtin or printf.
16448 func_fallback_echo ()
16450 eval 'cat <<_LTECHO_EOF
16455 # Quote evaled strings.
16469 deplibs_check_method \
16478 lt_cv_sys_global_symbol_pipe \
16479 lt_cv_sys_global_symbol_to_cdecl \
16480 lt_cv_sys_global_symbol_to_c_name_address \
16481 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16482 lt_prog_compiler_no_builtin_flag \
16483 lt_prog_compiler_wl \
16484 lt_prog_compiler_pic \
16485 lt_prog_compiler_static \
16486 lt_cv_prog_compiler_c_o \
16494 export_dynamic_flag_spec \
16495 whole_archive_flag_spec \
16496 compiler_needs_object \
16498 allow_undefined_flag \
16499 no_undefined_flag \
16500 hardcode_libdir_flag_spec \
16501 hardcode_libdir_flag_spec_ld \
16502 hardcode_libdir_separator \
16507 variables_saved_for_relink \
16509 library_names_spec \
16511 install_override_mode \
16515 compiler_lib_search_dirs \
16520 compiler_lib_search_path \
16524 lt_prog_compiler_no_builtin_flag_CXX \
16525 lt_prog_compiler_wl_CXX \
16526 lt_prog_compiler_pic_CXX \
16527 lt_prog_compiler_static_CXX \
16528 lt_cv_prog_compiler_c_o_CXX \
16529 export_dynamic_flag_spec_CXX \
16530 whole_archive_flag_spec_CXX \
16531 compiler_needs_object_CXX \
16533 allow_undefined_flag_CXX \
16534 no_undefined_flag_CXX \
16535 hardcode_libdir_flag_spec_CXX \
16536 hardcode_libdir_flag_spec_ld_CXX \
16537 hardcode_libdir_separator_CXX \
16538 fix_srcfile_path_CXX \
16539 exclude_expsyms_CXX \
16540 include_expsyms_CXX \
16541 file_list_spec_CXX \
16542 compiler_lib_search_dirs_CXX \
16543 predep_objects_CXX \
16544 postdep_objects_CXX \
16547 compiler_lib_search_path_CXX; do
16548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16549 *[\\\\\\\`\\"\\\$]*)
16550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16558 # Double-quote double-evaled strings.
16559 for var in reload_cmds \
16560 old_postinstall_cmds \
16561 old_postuninstall_cmds \
16563 extract_expsyms_cmds \
16564 old_archive_from_new_cmds \
16565 old_archive_from_expsyms_cmds \
16567 archive_expsym_cmds \
16569 module_expsym_cmds \
16570 export_symbols_cmds \
16573 postuninstall_cmds \
16575 sys_lib_search_path_spec \
16576 sys_lib_dlsearch_path_spec \
16578 old_archive_cmds_CXX \
16579 old_archive_from_new_cmds_CXX \
16580 old_archive_from_expsyms_cmds_CXX \
16582 archive_expsym_cmds_CXX \
16584 module_expsym_cmds_CXX \
16585 export_symbols_cmds_CXX \
16586 prelink_cmds_CXX; do
16587 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16588 *[\\\\\\\`\\"\\\$]*)
16589 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16592 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16597 ac_aux_dir='$ac_aux_dir'
16598 xsi_shell='$xsi_shell'
16599 lt_shell_append='$lt_shell_append'
16601 # See if we are running on zsh, and set the options which allow our
16602 # commands through without removal of \ escapes INIT.
16603 if test -n "\${ZSH_VERSION+set}" ; then
16604 setopt NO_GLOB_SUBST
16610 TIMESTAMP='$TIMESTAMP'
16621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16623 # Handling of arguments.
16624 for ac_config_target
in $ac_config_targets
16626 case $ac_config_target in
16627 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16628 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16629 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16630 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16631 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16633 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16638 # If the user did not use the arguments to specify the items to instantiate,
16639 # then the envvar interface is used. Set only those that are not.
16640 # We use the long form for the default assignment because of an extremely
16641 # bizarre bug on SunOS 4.1.3.
16642 if $ac_need_defaults; then
16643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16644 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16647 # Have a temporary directory for convenience. Make it in the build tree
16648 # simply because there is no reason against having it here, and in addition,
16649 # creating and moving files from /tmp can sometimes cause problems.
16650 # Hook for its removal unless debugging.
16651 # Note that there is a small window in which the directory will not be cleaned:
16652 # after its creation but before its name has been assigned to `$tmp'.
16656 trap 'exit_status=$?
16657 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16659 trap 'as_fn_exit 1' 1 2 13 15
16661 # Create a (secure) tmp directory for tmp files.
16664 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16665 test -n "$tmp" && test -d "$tmp"
16668 tmp
=.
/conf$$
-$RANDOM
16669 (umask 077 && mkdir
"$tmp")
16670 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16672 # Set up the scripts for CONFIG_FILES section.
16673 # No need to generate them if there are no CONFIG_FILES.
16674 # This happens for instance with `./config.status config.h'.
16675 if test -n "$CONFIG_FILES"; then
16678 ac_cr
=`echo X | tr X '\015'`
16679 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16680 # But we know of no other shell where ac_cr would be empty at this
16681 # point, so we can use a bashism as a fallback.
16682 if test "x$ac_cr" = x
; then
16683 eval ac_cr
=\$
\'\\r
\'
16685 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16686 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16689 ac_cs_awk_cr
=$ac_cr
16692 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16697 echo "cat >conf$$subs.awk <<_ACEOF" &&
16698 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16700 } >conf$$subs.sh ||
16701 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16704 for ac_last_try in false false false false false :; do
16705 . ./conf$$subs.sh ||
16706 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16708 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16709 if test $ac_delim_n = $ac_delim_num; then
16711 elif $ac_last_try; then
16712 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16714 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16717 rm -f conf$$subs.sh
16719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16720 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16724 s/^/S["/; s
/!.
*/"]=/
16734 s/\(.\{148\}\).*/\1/
16736 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16741 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16748 s/\(.\{148\}\).*/\1/
16750 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16754 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16759 ' <conf$$subs.awk | sed '
16764 ' >>$CONFIG_STATUS || ac_write_fail=1
16765 rm -f conf$$subs.awk
16766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16768 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16769 for (key in S) S_is_set[key] = 1
16775 nfields = split(line, field, "@
")
16777 len = length(field[1])
16778 for (i = 2; i < nfields; i++) {
16780 keylen = length(key)
16781 if (S_is_set[key]) {
16783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16784 len += length(value) + length(field[++i])
16795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16796 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16797 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16800 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16801 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16804 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16805 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16806 # trailing colons and then remove the whole line if VPATH becomes empty
16807 # (actually we leave an empty line to preserve line numbers).
16808 if test "x
$srcdir" = x.; then
16809 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16810 s/:*\$(srcdir):*/:/
16811 s/:*\${srcdir}:*/:/
16813 s/^\([^=]*=[ ]*\):*/\1/
16819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16820 fi # test -n "$CONFIG_FILES"
16823 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16828 :[FHLC]) ac_mode=$ac_tag; continue;;
16830 case $ac_mode$ac_tag in
16832 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16833 :[FH]-) ac_tag=-:-;;
16834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16851 -) ac_f="$tmp/stdin";;
16852 *) # Look for the file first in the build tree, then in the source tree
16853 # (if the path is not absolute). The absolute path cannot be DOS-style,
16854 # because $ac_f cannot contain `:'.
16858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16860 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16863 as_fn_append ac_file_inputs " '$ac_f'"
16866 # Let's still pretend it is `configure' which instantiates (i.e., don't
16867 # use $as_me), people would be surprised to read:
16868 # /* config.h. Generated by config.status. */
16869 configure_input='Generated from '`
16870 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16872 if test x"$ac_file" != x-; then
16873 configure_input="$ac_file.
$configure_input"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16875 $as_echo "$as_me: creating
$ac_file" >&6;}
16877 # Neutralize special characters interpreted by sed in replacement strings.
16878 case $configure_input in #(
16879 *\&* | *\|* | *\\* )
16880 ac_sed_conf_input=`$as_echo "$configure_input" |
16881 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16882 *) ac_sed_conf_input=$configure_input;;
16886 *:-:* | *:-) cat >"$tmp/stdin
" \
16887 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16892 ac_dir=`$as_dirname -- "$ac_file" ||
16893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16894 X"$ac_file" : 'X\(//\)[^/]' \| \
16895 X"$ac_file" : 'X\(//\)$' \| \
16896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16897 $as_echo X"$ac_file" |
16898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16902 /^X\(\/\/\)[^/].*/{
16915 as_dir="$ac_dir"; as_fn_mkdir_p
16919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16922 # A "..
" for each directory in $ac_dir_suffix.
16923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16924 case $ac_top_builddir_sub in
16925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16929 ac_abs_top_builddir=$ac_pwd
16930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16931 # for backward compatibility:
16932 ac_top_builddir=$ac_top_build_prefix
16935 .) # We are building in place.
16937 ac_top_srcdir=$ac_top_builddir_sub
16938 ac_abs_top_srcdir=$ac_pwd ;;
16939 [\\/]* | ?:[\\/]* ) # Absolute name.
16940 ac_srcdir=$srcdir$ac_dir_suffix;
16941 ac_top_srcdir=$srcdir
16942 ac_abs_top_srcdir=$srcdir ;;
16943 *) # Relative name.
16944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16945 ac_top_srcdir=$ac_top_build_prefix$srcdir
16946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16961 ac_MKDIR_P=$MKDIR_P
16963 [\\/$]* | ?:[\\/]* ) ;;
16964 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16969 # If the template does not know about datarootdir, expand it.
16970 # FIXME: This hack should be removed a few years after 2.60.
16971 ac_datarootdir_hack=; ac_datarootdir_seen=
16982 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16983 *datarootdir*) ac_datarootdir_seen=yes;;
16984 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16986 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16989 ac_datarootdir_hack='
16990 s&@datadir@&$datadir&g
16991 s&@docdir@&$docdir&g
16992 s&@infodir@&$infodir&g
16993 s&@localedir@&$localedir&g
16994 s&@mandir@&$mandir&g
16995 s&\\\${datarootdir}&$datarootdir&g' ;;
16999 # Neutralize VPATH when `$srcdir' = `.'.
17000 # Shell code in configure.ac might set extrasub.
17001 # FIXME: do we really want to maintain this feature?
17002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17003 ac_sed_extra="$ac_vpsub
17006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17008 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17009 s|@configure_input@|
$ac_sed_conf_input|
;t t
17010 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17011 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17012 s
&@srcdir@
&$ac_srcdir&;t t
17013 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17014 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17015 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17016 s
&@builddir@
&$ac_builddir&;t t
17017 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17018 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17019 s
&@INSTALL@
&$ac_INSTALL&;t t
17020 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17021 $ac_datarootdir_hack
17023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17024 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17030 which seems to be undefined. Please make sure it is defined." >&5
17031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17032 which seems to be undefined. Please make sure it is defined." >&2;}
17036 -) cat "$tmp/out" && rm -f "$tmp/out";;
17037 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17039 || as_fn_error "could not create $ac_file" "$LINENO" 5
17043 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17044 $as_echo "$as_me: executing $ac_file commands" >&6;}
17049 case $ac_file$ac_mode in
17051 # Only add multilib support code if we just rebuilt the top-level
17053 case " $CONFIG_FILES " in
17055 ac_file=Makefile . ${multi_basedir}/config-ml.in
17058 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17059 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17060 # are listed without --file. Let's play safe and only
enable the
eval
17061 # if we detect the quoting.
17062 case $CONFIG_FILES in
17063 *\'*) eval set x
"$CONFIG_FILES" ;;
17064 *) set x
$CONFIG_FILES ;;
17069 # Strip MF so we end up with the name of the file.
17070 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17071 # Check whether this is an Automake generated Makefile or not.
17072 # We used to match only the files named `Makefile.in', but
17073 # some people rename them; so instead we look at the file content.
17074 # Grep'ing the first line is not enough: some people post-process
17075 # each Makefile.in and add a new line on top of each file to say so.
17076 # Grep'ing the whole file is not good either: AIX grep has a line
17077 # limit of 2048, but all sed's we know have understand at least 4000.
17078 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17079 dirpart
=`$as_dirname -- "$mf" ||
17080 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17081 X"$mf" : 'X\(//\)[^/]' \| \
17082 X"$mf" : 'X\(//\)$' \| \
17083 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17089 /^X\(\/\/\)[^/].*/{
17105 # Extract the definition of DEPDIR, am__include, and am__quote
17106 # from the Makefile without running `make'.
17107 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17108 test -z "$DEPDIR" && continue
17109 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17110 test -z "am__include" && continue
17111 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17112 # When using ansi2knr, U may be empty or an underscore; expand it
17113 U
=`sed -n 's/^U = //p' < "$mf"`
17114 # Find all dependency output files, they are included files with
17115 # $(DEPDIR) in their names. We invoke sed twice because it is the
17116 # simplest approach to changing $(DEPDIR) to its actual value in the
17118 for file in `sed -n "
17119 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17120 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17121 # Make sure the directory exists.
17122 test -f "$dirpart/$file" && continue
17123 fdir
=`$as_dirname -- "$file" ||
17124 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17125 X"$file" : 'X\(//\)[^/]' \| \
17126 X"$file" : 'X\(//\)$' \| \
17127 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17128 $as_echo X"$file" |
17129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17133 /^X\(\/\/\)[^/].*/{
17146 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17147 # echo "creating $dirpart/$file"
17148 echo '# dummy' > "$dirpart/$file"
17155 # See if we are running on zsh, and set the options which allow our
17156 # commands through without removal of \ escapes.
17157 if test -n "${ZSH_VERSION+set}" ; then
17158 setopt NO_GLOB_SUBST
17161 cfgfile
="${ofile}T"
17162 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17165 cat <<_LT_EOF >> "$cfgfile"
17168 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17169 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17170 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17171 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17173 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17174 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17175 # Written by Gordon Matzigkeit, 1996
17177 # This file is part of GNU Libtool.
17179 # GNU Libtool is free software; you can redistribute it and/or
17180 # modify it under the terms of the GNU General Public License as
17181 # published by the Free Software Foundation; either version 2 of
17182 # the License, or (at your option) any later version.
17184 # As a special exception to the GNU General Public License,
17185 # if you distribute this file as part of a program or library that
17186 # is built using GNU Libtool, you may include this file under the
17187 # same distribution terms that you use for the rest of that program.
17189 # GNU Libtool is distributed in the hope that it will be useful,
17190 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17191 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17192 # GNU General Public License for more details.
17194 # You should have received a copy of the GNU General Public License
17195 # along with GNU Libtool; see the file COPYING. If not, a copy
17196 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17197 # obtained by writing to the Free Software Foundation, Inc.,
17198 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17201 # The names of the tagged configurations supported by this script.
17202 available_tags="CXX "
17204 # ### BEGIN LIBTOOL CONFIG
17206 # Which release of libtool.m4 was used?
17207 macro_version=$macro_version
17208 macro_revision=$macro_revision
17210 # Whether or not to build shared libraries.
17211 build_libtool_libs=$enable_shared
17213 # Whether or not to build static libraries.
17214 build_old_libs=$enable_static
17216 # What type of objects to build.
17219 # Whether or not to optimize for fast installation.
17220 fast_install=$enable_fast_install
17222 # Shell to use when invoking shell scripts.
17225 # An echo program that protects backslashes.
17229 host_alias=$host_alias
17233 # The build system.
17234 build_alias=$build_alias
17238 # A sed program that does not truncate output.
17241 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17242 Xsed="\$SED -e 1s/^X//"
17244 # A grep program that handles long lines.
17250 # A literal string matcher.
17253 # A BSD- or MS-compatible name lister.
17256 # Whether we need soft or hard links.
17259 # What is the maximum length of a command?
17260 max_cmd_len=$max_cmd_len
17262 # Object file suffix (normally "o").
17265 # Executable file suffix (normally "").
17268 # whether the shell understands "unset".
17271 # turn spaces into newlines.
17274 # turn newlines into spaces.
17277 # An object symbol dumper.
17278 OBJDUMP=$lt_OBJDUMP
17280 # Method to check whether dependent libraries are shared objects.
17281 deplibs_check_method=$lt_deplibs_check_method
17283 # Command to use when deplibs_check_method == "file_magic".
17284 file_magic_cmd=$lt_file_magic_cmd
17288 AR_FLAGS=$lt_AR_FLAGS
17290 # A symbol stripping program.
17293 # Commands used to install an old-style archive.
17295 old_postinstall_cmds=$lt_old_postinstall_cmds
17296 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17298 # Whether to use a lock for old archive extraction.
17299 lock_old_archive_extraction=$lock_old_archive_extraction
17304 # LTCC compiler flags.
17305 LTCFLAGS=$lt_CFLAGS
17307 # Take the output of nm and produce a listing of raw symbols and C names.
17308 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17310 # Transform the output of nm in a proper C declaration.
17311 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17313 # Transform the output of nm in a C name address pair.
17314 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17316 # Transform the output of nm in a C name address pair when lib prefix is needed.
17317 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17319 # The name of the directory that contains temporary libtool files.
17322 # Used to examine libraries when file_magic_cmd begins with "file".
17323 MAGIC_CMD=$MAGIC_CMD
17325 # Must we lock files when doing compilation?
17326 need_locks=$lt_need_locks
17328 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17329 DSYMUTIL=$lt_DSYMUTIL
17331 # Tool to change global to local symbols on Mac OS X.
17334 # Tool to manipulate fat objects and archives on Mac OS X.
17337 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17340 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17341 OTOOL64=$lt_OTOOL64
17343 # Old archive suffix (normally "a").
17346 # Shared library suffix (normally ".so").
17347 shrext_cmds=$lt_shrext_cmds
17349 # The commands to extract the exported symbol list from a shared archive.
17350 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17352 # Variables whose values should be saved in libtool wrapper scripts and
17353 # restored at link time.
17354 variables_saved_for_relink=$lt_variables_saved_for_relink
17356 # Do we need the "lib" prefix for modules?
17357 need_lib_prefix=$need_lib_prefix
17359 # Do we need a version for libraries?
17360 need_version=$need_version
17362 # Library versioning type.
17363 version_type=$version_type
17365 # Shared library runtime path variable.
17366 runpath_var=$runpath_var
17368 # Shared library path variable.
17369 shlibpath_var=$shlibpath_var
17371 # Is shlibpath searched before the hard-coded library search path?
17372 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17374 # Format of library name prefix.
17375 libname_spec=$lt_libname_spec
17377 # List of archive names. First name is the real one, the rest are links.
17378 # The last name is the one that the linker finds with -lNAME
17379 library_names_spec=$lt_library_names_spec
17381 # The coded name of the library, if different from the real name.
17382 soname_spec=$lt_soname_spec
17384 # Permission mode override for installation of shared libraries.
17385 install_override_mode=$lt_install_override_mode
17387 # Command to use after installation of a shared archive.
17388 postinstall_cmds=$lt_postinstall_cmds
17390 # Command to use after uninstallation of a shared archive.
17391 postuninstall_cmds=$lt_postuninstall_cmds
17393 # Commands used to finish a libtool library installation in a directory.
17394 finish_cmds=$lt_finish_cmds
17396 # As "finish_cmds", except a single script fragment to be evaled but
17398 finish_eval=$lt_finish_eval
17400 # Whether we should hardcode library paths into libraries.
17401 hardcode_into_libs=$hardcode_into_libs
17403 # Compile-time system search path for libraries.
17404 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17406 # Run-time system search path for libraries.
17407 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17409 # Whether dlopen is supported.
17410 dlopen_support=$enable_dlopen
17412 # Whether dlopen of programs is supported.
17413 dlopen_self=$enable_dlopen_self
17415 # Whether dlopen of statically linked programs is supported.
17416 dlopen_self_static=$enable_dlopen_self_static
17418 # Commands to strip libraries.
17419 old_striplib=$lt_old_striplib
17420 striplib=$lt_striplib
17423 # The linker used to build libraries.
17426 # How to create reloadable object files.
17427 reload_flag=$lt_reload_flag
17428 reload_cmds=$lt_reload_cmds
17430 # Commands used to build an old-style archive.
17431 old_archive_cmds=$lt_old_archive_cmds
17433 # A language specific compiler.
17436 # Is the compiler the GNU compiler?
17439 # Compiler flag to turn off builtin functions.
17440 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17442 # How to pass a linker flag through the compiler.
17443 wl=$lt_lt_prog_compiler_wl
17445 # Additional compiler flags for building library objects.
17446 pic_flag=$lt_lt_prog_compiler_pic
17448 # Compiler flag to prevent dynamic linking.
17449 link_static_flag=$lt_lt_prog_compiler_static
17451 # Does compiler simultaneously support -c and -o options?
17452 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17454 # Whether or not to add -lc for building shared libraries.
17455 build_libtool_need_lc=$archive_cmds_need_lc
17457 # Whether or not to disallow shared libs when runtime libs are static.
17458 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17460 # Compiler flag to allow reflexive dlopens.
17461 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17463 # Compiler flag to generate shared objects directly from archives.
17464 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17466 # Whether the compiler copes with passing no objects directly.
17467 compiler_needs_object=$lt_compiler_needs_object
17469 # Create an old-style archive from a shared archive.
17470 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17472 # Create a temporary old-style archive to link instead of a shared archive.
17473 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17475 # Commands used to build a shared archive.
17476 archive_cmds=$lt_archive_cmds
17477 archive_expsym_cmds=$lt_archive_expsym_cmds
17479 # Commands used to build a loadable module if different from building
17480 # a shared archive.
17481 module_cmds=$lt_module_cmds
17482 module_expsym_cmds=$lt_module_expsym_cmds
17484 # Whether we are building with GNU ld or not.
17485 with_gnu_ld=$lt_with_gnu_ld
17487 # Flag that allows shared libraries with undefined symbols to be built.
17488 allow_undefined_flag=$lt_allow_undefined_flag
17490 # Flag that enforces no undefined symbols.
17491 no_undefined_flag=$lt_no_undefined_flag
17493 # Flag to hardcode \$libdir into a binary during linking.
17494 # This must work even if \$libdir does not exist
17495 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17497 # If ld is used when linking, flag to hardcode \$libdir into a binary
17498 # during linking. This must work even if \$libdir does not exist.
17499 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17501 # Whether we need a single "-rpath" flag with a separated argument.
17502 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17504 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17505 # DIR into the resulting binary.
17506 hardcode_direct=$hardcode_direct
17508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17509 # DIR into the resulting binary and the resulting library dependency is
17510 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17511 # library is relocated.
17512 hardcode_direct_absolute=$hardcode_direct_absolute
17514 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17515 # into the resulting binary.
17516 hardcode_minus_L=$hardcode_minus_L
17518 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17519 # into the resulting binary.
17520 hardcode_shlibpath_var=$hardcode_shlibpath_var
17522 # Set to "yes" if building a shared library automatically hardcodes DIR
17523 # into the library and all subsequent libraries and executables linked
17525 hardcode_automatic=$hardcode_automatic
17527 # Set to yes if linker adds runtime paths of dependent libraries
17528 # to runtime path list.
17529 inherit_rpath=$inherit_rpath
17531 # Whether libtool must link a program against all its dependency libraries.
17532 link_all_deplibs=$link_all_deplibs
17534 # Fix the shell variable \$srcfile for the compiler.
17535 fix_srcfile_path=$lt_fix_srcfile_path
17537 # Set to "yes" if exported symbols are required.
17538 always_export_symbols=$always_export_symbols
17540 # The commands to list exported symbols.
17541 export_symbols_cmds=$lt_export_symbols_cmds
17543 # Symbols that should not be listed in the preloaded symbols.
17544 exclude_expsyms=$lt_exclude_expsyms
17546 # Symbols that must always be exported.
17547 include_expsyms=$lt_include_expsyms
17549 # Commands necessary for linking programs (against libraries) with templates.
17550 prelink_cmds=$lt_prelink_cmds
17552 # Specify filename containing input files.
17553 file_list_spec=$lt_file_list_spec
17555 # How to hardcode a shared library path into an executable.
17556 hardcode_action=$hardcode_action
17558 # The directories searched by this compiler when creating a shared library.
17559 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17561 # Dependencies to place before and after the objects being linked to
17562 # create a shared library.
17563 predep_objects=$lt_predep_objects
17564 postdep_objects=$lt_postdep_objects
17565 predeps=$lt_predeps
17566 postdeps=$lt_postdeps
17568 # The library search path used internally by the compiler when linking
17569 # a shared library.
17570 compiler_lib_search_path=$lt_compiler_lib_search_path
17572 # ### END LIBTOOL CONFIG
17578 cat <<\_LT_EOF
>> "$cfgfile"
17579 # AIX sometimes has problems with the GCC collect2 program. For some
17580 # reason, if we set the COLLECT_NAMES environment variable, the problems
17581 # vanish in a puff of smoke.
17582 if test "X${COLLECT_NAMES+set}" != Xset
; then
17584 export COLLECT_NAMES
17591 ltmain
="$ac_aux_dir/ltmain.sh"
17594 # We use sed instead of cat because bash on DJGPP gets confused if
17595 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17596 # text mode, it properly converts lines to CR/LF. This bash problem
17597 # is reportedly fixed, but why not run on old versions too?
17598 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17599 ||
(rm -f "$cfgfile"; exit 1)
17603 cat << \_LT_EOF
>> "$cfgfile"
17605 # func_dirname file append nondir_replacement
17606 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17607 # otherwise set result to NONDIR_REPLACEMENT.
17611 */*) func_dirname_result
="${1%/*}${2}" ;;
17612 * ) func_dirname_result
="${3}" ;;
17616 # func_basename file
17619 func_basename_result
="${1##*/}"
17622 # func_dirname_and_basename file append nondir_replacement
17623 # perform func_basename and func_dirname in a single function
17625 # dirname: Compute the dirname of FILE. If nonempty,
17626 # add APPEND to the result, otherwise set result
17627 # to NONDIR_REPLACEMENT.
17628 # value returned in "$func_dirname_result"
17629 # basename: Compute filename of FILE.
17630 # value retuned in "$func_basename_result"
17631 # Implementation must be kept synchronized with func_dirname
17632 # and func_basename. For efficiency, we do not delegate to
17633 # those functions but instead duplicate the functionality here.
17634 func_dirname_and_basename
()
17637 */*) func_dirname_result
="${1%/*}${2}" ;;
17638 * ) func_dirname_result
="${3}" ;;
17640 func_basename_result
="${1##*/}"
17643 # func_stripname prefix suffix name
17644 # strip PREFIX and SUFFIX off of NAME.
17645 # PREFIX and SUFFIX must not contain globbing or regex special
17646 # characters, hashes, percent signs, but SUFFIX may contain a leading
17647 # dot (in which case that matches only a dot).
17650 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17651 # positional parameters, so assign one to ordinary parameter first.
17652 func_stripname_result
=${3}
17653 func_stripname_result
=${func_stripname_result#"${1}"}
17654 func_stripname_result
=${func_stripname_result%"${2}"}
17660 func_opt_split_opt
=${1%%=*}
17661 func_opt_split_arg
=${1#*=}
17668 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17669 *) func_lo2o_result
=${1} ;;
17673 # func_xform libobj-or-source
17676 func_xform_result
=${1%.*}.lo
17679 # func_arith arithmetic-term...
17682 func_arith_result
=$
(( $
* ))
17686 # STRING may not start with a hyphen.
17689 func_len_result
=${#1}
17694 *) # Bourne compatible functions.
17695 cat << \_LT_EOF
>> "$cfgfile"
17697 # func_dirname file append nondir_replacement
17698 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17699 # otherwise set result to NONDIR_REPLACEMENT.
17702 # Extract subdirectory from the argument.
17703 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17704 if test "X$func_dirname_result" = "X${1}"; then
17705 func_dirname_result
="${3}"
17707 func_dirname_result
="$func_dirname_result${2}"
17711 # func_basename file
17714 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17718 # func_stripname prefix suffix name
17719 # strip PREFIX and SUFFIX off of NAME.
17720 # PREFIX and SUFFIX must not contain globbing or regex special
17721 # characters, hashes, percent signs, but SUFFIX may contain a leading
17722 # dot (in which case that matches only a dot).
17723 # func_strip_suffix prefix name
17727 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17728 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17733 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17734 my_sed_long_arg
='1s/^-[^=]*=//'
17739 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17740 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17746 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17749 # func_xform libobj-or-source
17752 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17755 # func_arith arithmetic-term...
17758 func_arith_result
=`expr "$@"`
17762 # STRING may not start with a hyphen.
17765 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17771 case $lt_shell_append in
17773 cat << \_LT_EOF
>> "$cfgfile"
17775 # func_append var value
17776 # Append VALUE to the end of shell variable VAR.
17784 cat << \_LT_EOF
>> "$cfgfile"
17786 # func_append var value
17787 # Append VALUE to the end of shell variable VAR.
17798 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17799 ||
(rm -f "$cfgfile"; exit 1)
17801 mv -f "$cfgfile" "$ofile" ||
17802 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17806 cat <<_LT_EOF >> "$ofile"
17808 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17810 # The linker used to build libraries.
17813 # How to create reloadable object files.
17814 reload_flag=$lt_reload_flag_CXX
17815 reload_cmds=$lt_reload_cmds_CXX
17817 # Commands used to build an old-style archive.
17818 old_archive_cmds=$lt_old_archive_cmds_CXX
17820 # A language specific compiler.
17821 CC=$lt_compiler_CXX
17823 # Is the compiler the GNU compiler?
17826 # Compiler flag to turn off builtin functions.
17827 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17829 # How to pass a linker flag through the compiler.
17830 wl=$lt_lt_prog_compiler_wl_CXX
17832 # Additional compiler flags for building library objects.
17833 pic_flag=$lt_lt_prog_compiler_pic_CXX
17835 # Compiler flag to prevent dynamic linking.
17836 link_static_flag=$lt_lt_prog_compiler_static_CXX
17838 # Does compiler simultaneously support -c and -o options?
17839 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17841 # Whether or not to add -lc for building shared libraries.
17842 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17844 # Whether or not to disallow shared libs when runtime libs are static.
17845 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17847 # Compiler flag to allow reflexive dlopens.
17848 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17850 # Compiler flag to generate shared objects directly from archives.
17851 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17853 # Whether the compiler copes with passing no objects directly.
17854 compiler_needs_object=$lt_compiler_needs_object_CXX
17856 # Create an old-style archive from a shared archive.
17857 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17859 # Create a temporary old-style archive to link instead of a shared archive.
17860 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17862 # Commands used to build a shared archive.
17863 archive_cmds=$lt_archive_cmds_CXX
17864 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17866 # Commands used to build a loadable module if different from building
17867 # a shared archive.
17868 module_cmds=$lt_module_cmds_CXX
17869 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17871 # Whether we are building with GNU ld or not.
17872 with_gnu_ld=$lt_with_gnu_ld_CXX
17874 # Flag that allows shared libraries with undefined symbols to be built.
17875 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17877 # Flag that enforces no undefined symbols.
17878 no_undefined_flag=$lt_no_undefined_flag_CXX
17880 # Flag to hardcode \$libdir into a binary during linking.
17881 # This must work even if \$libdir does not exist
17882 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17884 # If ld is used when linking, flag to hardcode \$libdir into a binary
17885 # during linking. This must work even if \$libdir does not exist.
17886 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17888 # Whether we need a single "-rpath" flag with a separated argument.
17889 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17891 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17892 # DIR into the resulting binary.
17893 hardcode_direct=$hardcode_direct_CXX
17895 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17896 # DIR into the resulting binary and the resulting library dependency is
17897 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17898 # library is relocated.
17899 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17901 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17902 # into the resulting binary.
17903 hardcode_minus_L=$hardcode_minus_L_CXX
17905 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17906 # into the resulting binary.
17907 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17909 # Set to "yes" if building a shared library automatically hardcodes DIR
17910 # into the library and all subsequent libraries and executables linked
17912 hardcode_automatic=$hardcode_automatic_CXX
17914 # Set to yes if linker adds runtime paths of dependent libraries
17915 # to runtime path list.
17916 inherit_rpath=$inherit_rpath_CXX
17918 # Whether libtool must link a program against all its dependency libraries.
17919 link_all_deplibs=$link_all_deplibs_CXX
17921 # Fix the shell variable \$srcfile for the compiler.
17922 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17924 # Set to "yes" if exported symbols are required.
17925 always_export_symbols=$always_export_symbols_CXX
17927 # The commands to list exported symbols.
17928 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17930 # Symbols that should not be listed in the preloaded symbols.
17931 exclude_expsyms=$lt_exclude_expsyms_CXX
17933 # Symbols that must always be exported.
17934 include_expsyms=$lt_include_expsyms_CXX
17936 # Commands necessary for linking programs (against libraries) with templates.
17937 prelink_cmds=$lt_prelink_cmds_CXX
17939 # Specify filename containing input files.
17940 file_list_spec=$lt_file_list_spec_CXX
17942 # How to hardcode a shared library path into an executable.
17943 hardcode_action=$hardcode_action_CXX
17945 # The directories searched by this compiler when creating a shared library.
17946 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17948 # Dependencies to place before and after the objects being linked to
17949 # create a shared library.
17950 predep_objects=$lt_predep_objects_CXX
17951 postdep_objects=$lt_postdep_objects_CXX
17952 predeps=$lt_predeps_CXX
17953 postdeps=$lt_postdeps_CXX
17955 # The library search path used internally by the compiler when linking
17956 # a shared library.
17957 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17959 # ### END LIBTOOL TAG CONFIG: CXX
17963 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17964 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17966 sed -f vpsed$$
$ac_file > tmp$$
17969 echo 'MULTISUBDIR =' >> $ac_file
17971 .
${multi_basedir}/config-ml.
in
17972 { ml_norecursion
=; unset ml_norecursion
;}
17981 ac_clean_files
=$ac_clean_files_save
17983 test $ac_write_fail = 0 ||
17984 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17987 # configure is writing to config.log, and then calls config.status.
17988 # config.status does its own redirection, appending to config.log.
17989 # Unfortunately, on DOS this fails, as config.log is still kept open
17990 # by configure, so config.status won't be able to write to it; its
17991 # output is simply discarded. So we exec the FD to /dev/null,
17992 # effectively closing config.log, so it can be properly (re)opened and
17993 # appended to by config.status. When coming back to configure, we
17994 # need to make the FD available again.
17995 if test "$no_create" != yes; then
17997 ac_config_status_args
=
17998 test "$silent" = yes &&
17999 ac_config_status_args
="$ac_config_status_args --quiet"
18001 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18003 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18004 # would make configure fail if this is the last instruction.
18005 $ac_cs_success || as_fn_exit $?
18007 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18009 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}