2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Vtable Verification Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Vtable Verification Runtime Library'
558 PACKAGE_TARNAME
='libvtv'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU Vtable Verification Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libvtv/'
564 ac_unique_file
="vtv_rts.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
661 MAINTAINER_MODE_FALSE
672 INSTALL_STRIP_PROGRAM
687 LIBSTDCXX_RAW_CXX_LDFLAGS
688 LIBSTDCXX_RAW_CXX_CXXFLAGS
702 ENABLE_VTABLE_VERIFY_FALSE
703 ENABLE_VTABLE_VERIFY_TRUE
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 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
2348 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
2349 # Check whether --enable-vtable-verify was given.
2350 if test "${enable_vtable_verify+set}" = set; then :
2351 enableval=$enable_vtable_verify; case "$enableval" in
2352 yes) enable_vtable_verify=yes ;;
2353 no) enable_vtable_verify=no ;;
2354 *) enable_vtable_verify=no;;
2357 enable_vtable_verify=no
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
2361 $as_echo "$enable_vtable_verify" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
2366 $as_echo_n "checking for host support for vtable verification... " >&6; }
2367 . ${srcdir}/configure.tgt
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
2369 $as_echo "$VTV_SUPPORTED" >&6; }
2371 # Decide if it's usable.
2372 use_vtable_verify=no
2373 if test "x$VTV_SUPPORTED" = "xyes"; then
2374 if test "x$enable_vtable_verify" = "xyes"; then
2375 use_vtable_verify=yes
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
2377 $as_echo "$as_me: using vtable verification" >&6;}
2380 if test $use_vtable_verify = yes; then
2381 ENABLE_VTABLE_VERIFY_TRUE=
2382 ENABLE_VTABLE_VERIFY_FALSE='#'
2384 ENABLE_VTABLE_VERIFY_TRUE='#'
2385 ENABLE_VTABLE_VERIFY_FALSE=
2389 # Do not delete or change the following two lines. For why, see
2390 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2392 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 for ac_t in install-sh install.sh shtool; do
2394 if test -f "$ac_dir/$ac_t"; then
2396 ac_install_sh="$ac_aux_dir/$ac_t -c"
2401 if test -z "$ac_aux_dir"; then
2402 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2405 # These three variables are undocumented and unsupported,
2406 # and are intended to be withdrawn in a future Autoconf release.
2407 # They can cause serious problems if a builder's source tree is in a directory
2408 # whose full name contains unusual characters.
2409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414 # Make sure we can run config.sub.
2415 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2416 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2419 $as_echo_n "checking build system type... " >&6; }
2420 if test "${ac_cv_build+set}" = set; then :
2421 $as_echo_n "(cached) " >&6
2423 ac_build_alias=$build_alias
2424 test "x$ac_build_alias" = x &&
2425 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2426 test "x$ac_build_alias" = x &&
2427 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2428 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2429 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2433 $as_echo "$ac_cv_build" >&6; }
2434 case $ac_cv_build in
2436 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2439 ac_save_IFS=$IFS; IFS='-'
2445 # Remember, the first character of IFS is used to create $*,
2446 # except with old shells:
2449 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2453 $as_echo_n "checking host system type... " >&6; }
2454 if test "${ac_cv_host+set}" = set; then :
2455 $as_echo_n "(cached) " >&6
2457 if test "x$host_alias" = x; then
2458 ac_cv_host=$ac_cv_build
2460 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2461 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2466 $as_echo "$ac_cv_host" >&6; }
2469 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2472 ac_save_IFS=$IFS; IFS='-'
2478 # Remember, the first character of IFS is used to create $*,
2479 # except with old shells:
2482 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2486 $as_echo_n "checking target system type... " >&6; }
2487 if test "${ac_cv_target+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2490 if test "x$target_alias" = x; then
2491 ac_cv_target=$ac_cv_host
2493 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2494 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2499 $as_echo "$ac_cv_target" >&6; }
2500 case $ac_cv_target in
2502 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2515 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2523 program_prefix=${target_alias}-
2525 target_alias=${target_alias-$host_alias}
2527 case ${build_alias} in
2528 "") build_noncanonical=${build} ;;
2529 *) build_noncanonical=${build_alias} ;;
2532 case ${host_alias} in
2533 "") host_noncanonical=${build_noncanonical} ;;
2534 *) host_noncanonical=${host_alias} ;;
2537 case ${target_alias} in
2538 "") target_noncanonical=${host_noncanonical} ;;
2539 *) target_noncanonical=${target_alias} ;;
2546 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2547 -I\$(top_builddir)/../libstdc++-v3/include \
2548 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2549 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2550 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2551 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
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
*|ppc
*-*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 ppc64-
*linux
*|powerpc64-
*linux
*)
7911 LD
="${LD-ld} -m elf32ppclinux"
7914 LD
="${LD-ld} -m elf_s390"
7917 LD
="${LD-ld} -m elf32_sparc"
7923 x86_64-
*kfreebsd
*-gnu)
7924 LD
="${LD-ld} -m elf_x86_64_fbsd"
7927 LD
="${LD-ld} -m elf_x86_64"
7929 ppc
*-*linux
*|powerpc
*-*linux
*)
7930 LD
="${LD-ld} -m elf64ppc"
7932 s390
*-*linux
*|s390
*-*tpf
*)
7933 LD
="${LD-ld} -m elf64_s390"
7936 LD
="${LD-ld} -m elf64_sparc"
7946 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7947 SAVE_CFLAGS
="$CFLAGS"
7948 CFLAGS
="$CFLAGS -belf"
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7950 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7951 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7952 $as_echo_n "(cached) " >&6
7955 ac_cpp
='$CPP $CPPFLAGS'
7956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7971 if ac_fn_c_try_link
"$LINENO"; then :
7972 lt_cv_cc_needs_belf
=yes
7974 lt_cv_cc_needs_belf
=no
7976 rm -f core conftest.err conftest.
$ac_objext \
7977 conftest
$ac_exeext conftest.
$ac_ext
7979 ac_cpp
='$CPP $CPPFLAGS'
7980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7986 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7987 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7988 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7989 CFLAGS
="$SAVE_CFLAGS"
7993 # Find out which ABI we are using.
7994 echo 'int i;' > conftest.
$ac_ext
7995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7996 (eval $ac_compile) 2>&5
7998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999 test $ac_status = 0; }; then
8000 case `/usr/bin/file conftest.o` in
8002 case $lt_cv_prog_gnu_ld in
8003 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8005 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8017 need_locks
="$enable_libtool_lock"
8021 rhapsody
* | darwin
*)
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8024 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8028 $as_echo_n "(cached) " >&6
8030 if test -n "$DSYMUTIL"; then
8031 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir
=.
8038 for ac_exec_ext
in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8051 if test -n "$DSYMUTIL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8053 $as_echo "$DSYMUTIL" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8061 if test -z "$ac_cv_prog_DSYMUTIL"; then
8062 ac_ct_DSYMUTIL
=$DSYMUTIL
8063 # Extract the first word of "dsymutil", so it can be a program name with args.
8064 set dummy dsymutil
; ac_word
=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8068 $as_echo_n "(cached) " >&6
8070 if test -n "$ac_ct_DSYMUTIL"; then
8071 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8080 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8091 if test -n "$ac_ct_DSYMUTIL"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8093 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8099 if test "x$ac_ct_DSYMUTIL" = x
; then
8102 case $cross_compiling:$ac_tool_warned in
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8106 ac_tool_warned
=yes ;;
8108 DSYMUTIL
=$ac_ct_DSYMUTIL
8111 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8114 if test -n "$ac_tool_prefix"; then
8115 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8116 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8120 $as_echo_n "(cached) " >&6
8122 if test -n "$NMEDIT"; then
8123 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir
=.
8130 for ac_exec_ext
in '' $ac_executable_extensions; do
8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 NMEDIT
=$ac_cv_prog_NMEDIT
8143 if test -n "$NMEDIT"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8145 $as_echo "$NMEDIT" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8153 if test -z "$ac_cv_prog_NMEDIT"; then
8154 ac_ct_NMEDIT
=$NMEDIT
8155 # Extract the first word of "nmedit", so it can be a program name with args.
8156 set dummy nmedit
; ac_word
=$2
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8158 $as_echo_n "checking for $ac_word... " >&6; }
8159 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8162 if test -n "$ac_ct_NMEDIT"; then
8163 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8169 test -z "$as_dir" && as_dir
=.
8170 for ac_exec_ext
in '' $ac_executable_extensions; do
8171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8172 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8183 if test -n "$ac_ct_NMEDIT"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8185 $as_echo "$ac_ct_NMEDIT" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8191 if test "x$ac_ct_NMEDIT" = x
; then
8194 case $cross_compiling:$ac_tool_warned in
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8198 ac_tool_warned
=yes ;;
8200 NMEDIT
=$ac_ct_NMEDIT
8203 NMEDIT
="$ac_cv_prog_NMEDIT"
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8208 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8210 $as_echo_n "checking for $ac_word... " >&6; }
8211 if test "${ac_cv_prog_LIPO+set}" = set; then :
8212 $as_echo_n "(cached) " >&6
8214 if test -n "$LIPO"; then
8215 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir
=.
8222 for ac_exec_ext
in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 LIPO
=$ac_cv_prog_LIPO
8235 if test -n "$LIPO"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8237 $as_echo "$LIPO" >&6; }
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8245 if test -z "$ac_cv_prog_LIPO"; then
8247 # Extract the first word of "lipo", so it can be a program name with args.
8248 set dummy lipo
; ac_word
=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8252 $as_echo_n "(cached) " >&6
8254 if test -n "$ac_ct_LIPO"; then
8255 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir
=.
8262 for ac_exec_ext
in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_ac_ct_LIPO
="lipo"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8275 if test -n "$ac_ct_LIPO"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8277 $as_echo "$ac_ct_LIPO" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8283 if test "x$ac_ct_LIPO" = x
; then
8286 case $cross_compiling:$ac_tool_warned in
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8290 ac_tool_warned
=yes ;;
8295 LIPO
="$ac_cv_prog_LIPO"
8298 if test -n "$ac_tool_prefix"; then
8299 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8300 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8306 if test -n "$OTOOL"; then
8307 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8313 test -z "$as_dir" && as_dir
=.
8314 for ac_exec_ext
in '' $ac_executable_extensions; do
8315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 OTOOL
=$ac_cv_prog_OTOOL
8327 if test -n "$OTOOL"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8329 $as_echo "$OTOOL" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8337 if test -z "$ac_cv_prog_OTOOL"; then
8339 # Extract the first word of "otool", so it can be a program name with args.
8340 set dummy otool
; ac_word
=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8344 $as_echo_n "(cached) " >&6
8346 if test -n "$ac_ct_OTOOL"; then
8347 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8353 test -z "$as_dir" && as_dir
=.
8354 for ac_exec_ext
in '' $ac_executable_extensions; do
8355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356 ac_cv_prog_ac_ct_OTOOL
="otool"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8367 if test -n "$ac_ct_OTOOL"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8369 $as_echo "$ac_ct_OTOOL" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8375 if test "x$ac_ct_OTOOL" = x
; then
8378 case $cross_compiling:$ac_tool_warned in
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8382 ac_tool_warned
=yes ;;
8387 OTOOL
="$ac_cv_prog_OTOOL"
8390 if test -n "$ac_tool_prefix"; then
8391 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8392 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8396 $as_echo_n "(cached) " >&6
8398 if test -n "$OTOOL64"; then
8399 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8418 OTOOL64
=$ac_cv_prog_OTOOL64
8419 if test -n "$OTOOL64"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8421 $as_echo "$OTOOL64" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8429 if test -z "$ac_cv_prog_OTOOL64"; then
8430 ac_ct_OTOOL64
=$OTOOL64
8431 # Extract the first word of "otool64", so it can be a program name with args.
8432 set dummy otool64
; ac_word
=$2
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8434 $as_echo_n "checking for $ac_word... " >&6; }
8435 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8436 $as_echo_n "(cached) " >&6
8438 if test -n "$ac_ct_OTOOL64"; then
8439 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir
=.
8446 for ac_exec_ext
in '' $ac_executable_extensions; do
8447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8448 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8459 if test -n "$ac_ct_OTOOL64"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8461 $as_echo "$ac_ct_OTOOL64" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464 $as_echo "no" >&6; }
8467 if test "x$ac_ct_OTOOL64" = x
; then
8470 case $cross_compiling:$ac_tool_warned in
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8474 ac_tool_warned
=yes ;;
8476 OTOOL64
=$ac_ct_OTOOL64
8479 OTOOL64
="$ac_cv_prog_OTOOL64"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8509 $as_echo_n "checking for -single_module linker flag... " >&6; }
8510 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8511 $as_echo_n "(cached) " >&6
8513 lt_cv_apple_cc_single_mod
=no
8514 if test -z "${LT_MULTI_MODULE}"; then
8515 # By default we will add the -single_module flag. You can override
8516 # by either setting the environment variable LT_MULTI_MODULE
8517 # non-empty at configure time, or by adding -multi_module to the
8519 rm -rf libconftest.dylib
*
8520 echo "int foo(void){return 1;}" > conftest.c
8521 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8522 -dynamiclib -Wl,-single_module conftest.c" >&5
8523 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8524 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8526 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8527 lt_cv_apple_cc_single_mod
=yes
8529 cat conftest.err
>&5
8531 rm -rf libconftest.dylib
*
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8536 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8538 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8539 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8542 lt_cv_ld_exported_symbols_list
=no
8543 save_LDFLAGS
=$LDFLAGS
8544 echo "_main" > conftest.sym
8545 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8557 if ac_fn_c_try_link
"$LINENO"; then :
8558 lt_cv_ld_exported_symbols_list
=yes
8560 lt_cv_ld_exported_symbols_list
=no
8562 rm -f core conftest.err conftest.
$ac_objext \
8563 conftest
$ac_exeext conftest.
$ac_ext
8564 LDFLAGS
="$save_LDFLAGS"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8568 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8570 $as_echo_n "checking for -force_load linker flag... " >&6; }
8571 if test "${lt_cv_ld_force_load+set}" = set; then :
8572 $as_echo_n "(cached) " >&6
8574 lt_cv_ld_force_load
=no
8575 cat > conftest.c
<< _LT_EOF
8576 int forced_loaded() { return 2;}
8578 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8579 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8580 echo "$AR cru libconftest.a conftest.o" >&5
8581 $AR cru libconftest.a conftest.o
2>&5
8582 cat > conftest.c
<< _LT_EOF
8583 int main() { return 0;}
8585 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8586 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8588 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8589 lt_cv_ld_force_load
=yes
8591 cat conftest.err
>&5
8593 rm -f conftest.err libconftest.a conftest conftest.c
8594 rm -rf conftest.dSYM
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8598 $as_echo "$lt_cv_ld_force_load" >&6; }
8600 rhapsody
* | darwin1.
[012])
8601 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8603 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8604 darwin
*) # darwin 5.x on
8605 # if running on 10.5 or later, the deployment target defaults
8606 # to the OS version, if on x86, and 10.4, the deployment
8607 # target defaults to 10.4. Don't you love it?
8608 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8609 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8610 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8612 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8614 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8618 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8619 _lt_dar_single_mod
='$single_module'
8621 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8622 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8624 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8626 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8627 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8634 for ac_header
in dlfcn.h
8636 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8638 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8639 cat >>confdefs.h
<<_ACEOF
8640 #define HAVE_DLFCN_H 1
8660 # Check whether --enable-shared was given.
8661 if test "${enable_shared+set}" = set; then :
8662 enableval
=$enable_shared; p
=${PACKAGE-default}
8664 yes) enable_shared
=yes ;;
8665 no
) enable_shared
=no
;;
8668 # Look at the argument we got. We use all the common list separators.
8669 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8670 for pkg
in $enableval; do
8672 if test "X$pkg" = "X$p"; then
8691 # Check whether --enable-static was given.
8692 if test "${enable_static+set}" = set; then :
8693 enableval
=$enable_static; p
=${PACKAGE-default}
8695 yes) enable_static
=yes ;;
8696 no
) enable_static
=no
;;
8699 # Look at the argument we got. We use all the common list separators.
8700 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8701 for pkg
in $enableval; do
8703 if test "X$pkg" = "X$p"; then
8723 # Check whether --with-pic was given.
8724 if test "${with_pic+set}" = set; then :
8725 withval
=$with_pic; pic_mode
="$withval"
8731 test -z "$pic_mode" && pic_mode
=default
8739 # Check whether --enable-fast-install was given.
8740 if test "${enable_fast_install+set}" = set; then :
8741 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8743 yes) enable_fast_install
=yes ;;
8744 no
) enable_fast_install
=no
;;
8746 enable_fast_install
=no
8747 # Look at the argument we got. We use all the common list separators.
8748 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8749 for pkg
in $enableval; do
8751 if test "X$pkg" = "X$p"; then
8752 enable_fast_install
=yes
8759 enable_fast_install
=yes
8772 # This can be used to rebuild libtool when needed
8773 LIBTOOL_DEPS
="$ltmain"
8775 # Always use our own libtool.
8776 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8803 test -z "$LN_S" && LN_S
="ln -s"
8818 if test -n "${ZSH_VERSION+set}" ; then
8819 setopt NO_GLOB_SUBST
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8823 $as_echo_n "checking for objdir... " >&6; }
8824 if test "${lt_cv_objdir+set}" = set; then :
8825 $as_echo_n "(cached) " >&6
8827 rm -f .libs
2>/dev
/null
8828 mkdir .libs
2>/dev
/null
8829 if test -d .libs
; then
8832 # MS-DOS does not allow filenames that begin with a dot.
8835 rmdir .libs
2>/dev
/null
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8838 $as_echo "$lt_cv_objdir" >&6; }
8839 objdir
=$lt_cv_objdir
8845 cat >>confdefs.h
<<_ACEOF
8846 #define LT_OBJDIR "$lt_cv_objdir/"
8854 # AIX sometimes has problems with the GCC collect2 program. For some
8855 # reason, if we set the COLLECT_NAMES environment variable, the problems
8856 # vanish in a puff of smoke.
8857 if test "X${COLLECT_NAMES+set}" != Xset
; then
8859 export COLLECT_NAMES
8866 can_build_shared
=yes
8868 # All known linkers require a `.a' archive for static linking (except MSVC,
8869 # which needs '.lib').
8872 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8875 old_CFLAGS
="$CFLAGS"
8877 # Set sane defaults for various variables
8878 test -z "$CC" && CC
=cc
8879 test -z "$LTCC" && LTCC
=$CC
8880 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8881 test -z "$LD" && LD
=ld
8882 test -z "$ac_objext" && ac_objext
=o
8884 for cc_temp
in $compiler""; do
8886 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8887 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8892 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8895 # Only perform the check for file, if the check method requires it
8896 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8897 case $deplibs_check_method in
8899 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8901 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8902 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8903 $as_echo_n "(cached) " >&6
8907 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8910 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8911 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8912 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8913 for ac_dir
in $ac_dummy; do
8915 test -z "$ac_dir" && ac_dir
=.
8916 if test -f $ac_dir/${ac_tool_prefix}file; then
8917 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8918 if test -n "$file_magic_test_file"; then
8919 case $deplibs_check_method in
8921 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8922 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8923 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8924 $EGREP "$file_magic_regex" > /dev
/null
; then
8929 *** Warning: the command libtool uses to detect shared libraries,
8930 *** $file_magic_cmd, produces output that libtool cannot recognize.
8931 *** The result is that libtool may fail to recognize shared libraries
8932 *** as such. This will affect the creation of libtool libraries that
8933 *** depend on shared libraries, but programs linked with such libtool
8934 *** libraries will work regardless of this problem. Nevertheless, you
8935 *** may want to report the problem to your system manager and/or to
8936 *** bug-libtool@gnu.org
8946 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8951 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8952 if test -n "$MAGIC_CMD"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8954 $as_echo "$MAGIC_CMD" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8964 if test -z "$lt_cv_path_MAGIC_CMD"; then
8965 if test -n "$ac_tool_prefix"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8967 $as_echo_n "checking for file... " >&6; }
8968 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8973 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8976 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8977 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8978 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8979 for ac_dir
in $ac_dummy; do
8981 test -z "$ac_dir" && ac_dir
=.
8982 if test -f $ac_dir/file; then
8983 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8984 if test -n "$file_magic_test_file"; then
8985 case $deplibs_check_method in
8987 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8988 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8989 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8990 $EGREP "$file_magic_regex" > /dev
/null
; then
8995 *** Warning: the command libtool uses to detect shared libraries,
8996 *** $file_magic_cmd, produces output that libtool cannot recognize.
8997 *** The result is that libtool may fail to recognize shared libraries
8998 *** as such. This will affect the creation of libtool libraries that
8999 *** depend on shared libraries, but programs linked with such libtool
9000 *** libraries will work regardless of this problem. Nevertheless, you
9001 *** may want to report the problem to your system manager and/or to
9002 *** bug-libtool@gnu.org
9012 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9017 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9018 if test -n "$MAGIC_CMD"; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9020 $as_echo "$MAGIC_CMD" >&6; }
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9036 # Use C for the default configuration in the libtool script
9040 ac_cpp
='$CPP $CPPFLAGS'
9041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9046 # Source file extension for C test sources.
9049 # Object file extension for compiled C test sources.
9053 # Code to be used in simple compile tests
9054 lt_simple_compile_test_code
="int some_variable = 0;"
9056 # Code to be used in simple link tests
9057 lt_simple_link_test_code
='int main(){return(0);}'
9065 # If no C compiler was specified, use CC.
9068 # If no C compiler flags were specified, use CFLAGS.
9069 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9071 # Allow CC to be a program name with arguments.
9074 # Save the default compiler, since it gets overwritten when the other
9075 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9076 compiler_DEFAULT
=$CC
9078 # save warnings/boilerplate of simple test code
9079 ac_outfile
=conftest.
$ac_objext
9080 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9081 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9082 _lt_compiler_boilerplate
=`cat conftest.err`
9085 ac_outfile
=conftest.
$ac_objext
9086 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9087 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9088 _lt_linker_boilerplate
=`cat conftest.err`
9093 ## There is no encapsulation within the following macros, do not change
9094 ## the running order or otherwise move them around unless you know exactly
9095 ## what you are doing...
9096 if test -n "$compiler"; then
9098 lt_prog_compiler_no_builtin_flag
=
9100 if test "$GCC" = yes; then
9101 case $cc_basename in
9103 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9105 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9109 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9110 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9111 $as_echo_n "(cached) " >&6
9113 lt_cv_prog_compiler_rtti_exceptions
=no
9114 ac_outfile
=conftest.
$ac_objext
9115 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9116 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9117 # Insert the option either (1) after the last *FLAGS variable, or
9118 # (2) before a word containing "conftest.", or (3) at the end.
9119 # Note that $ac_compile itself does not contain backslashes and begins
9120 # with a dollar sign (not a hyphen), so the echo should work correctly.
9121 # The option is referenced via a variable to avoid confusing sed.
9122 lt_compile
=`echo "$ac_compile" | $SED \
9123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9125 -e 's:$: $lt_compiler_flag:'`
9126 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9127 (eval "$lt_compile" 2>conftest.err
)
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 if (exit $ac_status) && test -s "$ac_outfile"; then
9132 # The compiler can only warn and ignore the option if not recognized
9133 # So say no if there are warnings other than the usual output.
9134 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9135 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9136 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9137 lt_cv_prog_compiler_rtti_exceptions
=yes
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9144 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9146 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9147 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9159 lt_prog_compiler_wl
=
9160 lt_prog_compiler_pic
=
9161 lt_prog_compiler_static
=
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9166 if test "$GCC" = yes; then
9167 lt_prog_compiler_wl
='-Wl,'
9168 lt_prog_compiler_static
='-static'
9172 # All AIX code is PIC.
9173 if test "$host_cpu" = ia64
; then
9174 # AIX 5 now supports IA64 processor
9175 lt_prog_compiler_static
='-Bstatic'
9177 lt_prog_compiler_pic
='-fPIC'
9183 # see comment about AmigaOS4 .so support
9184 lt_prog_compiler_pic
='-fPIC'
9187 # FIXME: we need at least 68020 code to build shared libraries, but
9188 # adding the `-m68020' flag to GCC prevents building anything better,
9190 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9195 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9196 # PIC is the default for these OSes.
9199 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9200 # This hack is so that the source file can tell whether it is being
9201 # built for inclusion in a dll (and should export symbols for example).
9202 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9203 # (--disable-auto-import) libraries
9204 lt_prog_compiler_pic
='-DDLL_EXPORT'
9207 darwin
* | rhapsody
*)
9208 # PIC is the default on this platform
9209 # Common symbols not allowed in MH_DYLIB files
9210 lt_prog_compiler_pic
='-fno-common'
9214 # PIC is the default for Haiku.
9215 # The "-static" flag exists, but is broken.
9216 lt_prog_compiler_static
=
9220 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9221 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9222 # sets the default TLS model and affects inlining.
9228 lt_prog_compiler_pic
='-fPIC'
9234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9235 # Instead, we relocate shared libraries at runtime.
9239 # Just because we use GCC doesn't mean we suddenly get shared libraries
9240 # on systems that don't support them.
9241 lt_prog_compiler_can_build_shared
=no
9246 # QNX uses GNU C++, but need to define -shared option too, otherwise
9248 lt_prog_compiler_pic
='-fPIC -shared'
9252 if test -d /usr
/nec
; then
9253 lt_prog_compiler_pic
=-Kconform_pic
9258 lt_prog_compiler_pic
='-fPIC'
9262 case $cc_basename in
9263 nvcc
*) # Cuda Compiler Driver 2.2
9264 lt_prog_compiler_wl
='-Xlinker '
9265 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9269 # PORTME Check for flag to pass linker flags through the system compiler.
9272 lt_prog_compiler_wl
='-Wl,'
9273 if test "$host_cpu" = ia64
; then
9274 # AIX 5 now supports IA64 processor
9275 lt_prog_compiler_static
='-Bstatic'
9277 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9281 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9282 # This hack is so that the source file can tell whether it is being
9283 # built for inclusion in a dll (and should export symbols for example).
9284 lt_prog_compiler_pic
='-DDLL_EXPORT'
9287 hpux9
* | hpux10
* | hpux11
*)
9288 lt_prog_compiler_wl
='-Wl,'
9289 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9296 lt_prog_compiler_pic
='+Z'
9299 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9300 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9303 irix5
* | irix6
* | nonstopux
*)
9304 lt_prog_compiler_wl
='-Wl,'
9305 # PIC (with -KPIC) is the default.
9306 lt_prog_compiler_static
='-non_shared'
9309 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9310 case $cc_basename in
9311 # old Intel for x86_64 which still supported -KPIC.
9313 lt_prog_compiler_wl
='-Wl,'
9314 lt_prog_compiler_pic
='-KPIC'
9315 lt_prog_compiler_static
='-static'
9317 # icc used to be incompatible with GCC.
9318 # ICC 10 doesn't accept -KPIC any more.
9320 lt_prog_compiler_wl
='-Wl,'
9321 lt_prog_compiler_pic
='-fPIC'
9322 lt_prog_compiler_static
='-static'
9324 # Lahey Fortran 8.1.
9326 lt_prog_compiler_wl
='-Wl,'
9327 lt_prog_compiler_pic
='--shared'
9328 lt_prog_compiler_static
='--static'
9330 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9331 # Portland Group compilers (*not* the Pentium gcc compiler,
9332 # which looks to be a dead project)
9333 lt_prog_compiler_wl
='-Wl,'
9334 lt_prog_compiler_pic
='-fpic'
9335 lt_prog_compiler_static
='-Bstatic'
9338 lt_prog_compiler_wl
='-Wl,'
9339 # All Alpha code is PIC.
9340 lt_prog_compiler_static
='-non_shared'
9342 xl
* | bgxl
* | bgf
* | mpixl
*)
9343 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9344 lt_prog_compiler_wl
='-Wl,'
9345 lt_prog_compiler_pic
='-qpic'
9346 lt_prog_compiler_static
='-qstaticlink'
9349 case `$CC -V 2>&1 | sed 5q` in
9350 *Sun\ F
* |
*Sun
*Fortran
*)
9351 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9352 lt_prog_compiler_pic
='-KPIC'
9353 lt_prog_compiler_static
='-Bstatic'
9354 lt_prog_compiler_wl
=''
9358 lt_prog_compiler_pic
='-KPIC'
9359 lt_prog_compiler_static
='-Bstatic'
9360 lt_prog_compiler_wl
='-Wl,'
9368 lt_prog_compiler_pic
='-KPIC'
9369 lt_prog_compiler_static
='-Bstatic'
9373 # QNX uses GNU C++, but need to define -shared option too, otherwise
9375 lt_prog_compiler_pic
='-fPIC -shared'
9378 osf3
* | osf4
* | osf5
*)
9379 lt_prog_compiler_wl
='-Wl,'
9380 # All OSF/1 code is PIC.
9381 lt_prog_compiler_static
='-non_shared'
9385 lt_prog_compiler_static
='-non_shared'
9389 lt_prog_compiler_pic
='-KPIC'
9390 lt_prog_compiler_static
='-Bstatic'
9391 case $cc_basename in
9393 lt_prog_compiler_wl
='-Qoption ld ';;
9395 lt_prog_compiler_wl
='-Wl,';;
9400 lt_prog_compiler_wl
='-Qoption ld '
9401 lt_prog_compiler_pic
='-PIC'
9402 lt_prog_compiler_static
='-Bstatic'
9405 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9406 lt_prog_compiler_wl
='-Wl,'
9407 lt_prog_compiler_pic
='-KPIC'
9408 lt_prog_compiler_static
='-Bstatic'
9412 if test -d /usr
/nec
;then
9413 lt_prog_compiler_pic
='-Kconform_pic'
9414 lt_prog_compiler_static
='-Bstatic'
9418 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9419 lt_prog_compiler_wl
='-Wl,'
9420 lt_prog_compiler_pic
='-KPIC'
9421 lt_prog_compiler_static
='-Bstatic'
9425 lt_prog_compiler_wl
='-Wl,'
9426 lt_prog_compiler_can_build_shared
=no
9430 lt_prog_compiler_pic
='-pic'
9431 lt_prog_compiler_static
='-Bstatic'
9435 lt_prog_compiler_can_build_shared
=no
9441 # For platforms which do not support PIC, -DPIC is meaningless:
9443 lt_prog_compiler_pic
=
9446 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9450 $as_echo "$lt_prog_compiler_pic" >&6; }
9458 # Check to make sure the PIC flag actually works.
9460 if test -n "$lt_prog_compiler_pic"; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9462 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9463 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9464 $as_echo_n "(cached) " >&6
9466 lt_cv_prog_compiler_pic_works
=no
9467 ac_outfile
=conftest.
$ac_objext
9468 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9469 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9470 # Insert the option either (1) after the last *FLAGS variable, or
9471 # (2) before a word containing "conftest.", or (3) at the end.
9472 # Note that $ac_compile itself does not contain backslashes and begins
9473 # with a dollar sign (not a hyphen), so the echo should work correctly.
9474 # The option is referenced via a variable to avoid confusing sed.
9475 lt_compile
=`echo "$ac_compile" | $SED \
9476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9478 -e 's:$: $lt_compiler_flag:'`
9479 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9480 (eval "$lt_compile" 2>conftest.err
)
9482 cat conftest.err
>&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 if (exit $ac_status) && test -s "$ac_outfile"; then
9485 # The compiler can only warn and ignore the option if not recognized
9486 # So say no if there are warnings other than the usual output.
9487 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9488 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9489 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9490 lt_cv_prog_compiler_pic_works
=yes
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9497 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9499 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9500 case $lt_prog_compiler_pic in
9502 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9505 lt_prog_compiler_pic
=
9506 lt_prog_compiler_can_build_shared
=no
9517 # Check to make sure the static flag actually works.
9519 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9521 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9522 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9523 $as_echo_n "(cached) " >&6
9525 lt_cv_prog_compiler_static_works
=no
9526 save_LDFLAGS
="$LDFLAGS"
9527 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9528 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9529 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9530 # The linker can only warn and ignore the option if not recognized
9531 # So say no if there are warnings
9532 if test -s conftest.err
; then
9533 # Append any errors to the config.log.
9534 cat conftest.err
1>&5
9535 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9536 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9537 if diff conftest.exp conftest.er2
>/dev
/null
; then
9538 lt_cv_prog_compiler_static_works
=yes
9541 lt_cv_prog_compiler_static_works
=yes
9545 LDFLAGS
="$save_LDFLAGS"
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9549 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9551 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9554 lt_prog_compiler_static
=
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9564 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9565 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9566 $as_echo_n "(cached) " >&6
9568 lt_cv_prog_compiler_c_o
=no
9569 $RM -r conftest
2>/dev
/null
9573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9575 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9576 # Insert the option either (1) after the last *FLAGS variable, or
9577 # (2) before a word containing "conftest.", or (3) at the end.
9578 # Note that $ac_compile itself does not contain backslashes and begins
9579 # with a dollar sign (not a hyphen), so the echo should work correctly.
9580 lt_compile
=`echo "$ac_compile" | $SED \
9581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9583 -e 's:$: $lt_compiler_flag:'`
9584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9585 (eval "$lt_compile" 2>out
/conftest.err
)
9587 cat out
/conftest.err
>&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9591 # The compiler can only warn and ignore the option if not recognized
9592 # So say no if there are warnings
9593 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9594 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9595 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9596 lt_cv_prog_compiler_c_o
=yes
9601 # SGI C++ compiler will create directory out/ii_files/ for
9602 # template instantiation
9603 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9604 $RM out
/* && rmdir out
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9611 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9619 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9620 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9621 $as_echo_n "(cached) " >&6
9623 lt_cv_prog_compiler_c_o
=no
9624 $RM -r conftest
2>/dev
/null
9628 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9630 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9631 # Insert the option either (1) after the last *FLAGS variable, or
9632 # (2) before a word containing "conftest.", or (3) at the end.
9633 # Note that $ac_compile itself does not contain backslashes and begins
9634 # with a dollar sign (not a hyphen), so the echo should work correctly.
9635 lt_compile
=`echo "$ac_compile" | $SED \
9636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9638 -e 's:$: $lt_compiler_flag:'`
9639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9640 (eval "$lt_compile" 2>out
/conftest.err
)
9642 cat out
/conftest.err
>&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9646 # The compiler can only warn and ignore the option if not recognized
9647 # So say no if there are warnings
9648 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9649 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9650 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9651 lt_cv_prog_compiler_c_o
=yes
9656 # SGI C++ compiler will create directory out/ii_files/ for
9657 # template instantiation
9658 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9659 $RM out
/* && rmdir out
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9671 hard_links
="nottested"
9672 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9673 # do not overwrite the value of need_locks provided by the user
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9675 $as_echo_n "checking if we can lock with hard links... " >&6; }
9678 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9680 ln conftest.a conftest.b
2>&5 || hard_links
=no
9681 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9683 $as_echo "$hard_links" >&6; }
9684 if test "$hard_links" = no
; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9686 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9702 allow_undefined_flag
=
9703 always_export_symbols
=no
9705 archive_expsym_cmds
=
9706 compiler_needs_object
=no
9707 enable_shared_with_static_runtimes
=no
9708 export_dynamic_flag_spec
=
9709 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9710 hardcode_automatic
=no
9712 hardcode_direct_absolute
=no
9713 hardcode_libdir_flag_spec
=
9714 hardcode_libdir_flag_spec_ld
=
9715 hardcode_libdir_separator
=
9717 hardcode_shlibpath_var
=unsupported
9719 link_all_deplibs
=unknown
9722 old_archive_from_new_cmds
=
9723 old_archive_from_expsyms_cmds
=
9724 thread_safe_flag_spec
=
9725 whole_archive_flag_spec
=
9726 # include_expsyms should be a list of space-separated symbols to be *always*
9727 # included in the symbol list
9729 # exclude_expsyms can be an extended regexp of symbols to exclude
9730 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9731 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9732 # as well as any symbol that contains `d'.
9733 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9734 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9735 # platforms (ab)use it in PIC code, but their linkers get confused if
9736 # the symbol is explicitly referenced. Since portable code cannot
9737 # rely on this symbol name, it's probably fine to never include it in
9738 # preloaded symbol tables.
9739 # Exclude shared library initialization/finalization symbols.
9740 extract_expsyms_cmds
=
9743 cygwin
* | mingw
* | pw32
* | cegcc
*)
9744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 if test "$GCC" != yes; then
9752 # we just hope/assume this is gcc and not c89 (= MSVC++)
9762 # On some targets, GNU ld is compatible enough with the native linker
9763 # that we're better off using the native interface for both.
9764 lt_use_gnu_ld_interface
=no
9765 if test "$with_gnu_ld" = yes; then
9768 # The AIX port of GNU ld has always aspired to compatibility
9769 # with the native linker. However, as the warning in the GNU ld
9770 # block says, versions before 2.19.5* couldn't really create working
9771 # shared libraries, regardless of the interface used.
9772 case `$LD -v 2>&1` in
9773 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9774 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9775 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9777 lt_use_gnu_ld_interface
=yes
9782 lt_use_gnu_ld_interface
=yes
9787 if test "$lt_use_gnu_ld_interface" = yes; then
9788 # If archive_cmds runs LD, not CC, wlarc should be empty
9791 # Set some defaults for GNU ld with shared library support. These
9792 # are reset later if shared libraries are not supported. Putting them
9793 # here allows them to be overridden if necessary.
9794 runpath_var
=LD_RUN_PATH
9795 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9796 export_dynamic_flag_spec
='${wl}--export-dynamic'
9797 # ancient GNU ld didn't support --whole-archive et. al.
9798 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9799 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9801 whole_archive_flag_spec
=
9803 supports_anon_versioning
=no
9804 case `$LD -v 2>&1` in
9805 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9806 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9807 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9808 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9809 *\
2.11.
*) ;; # other 2.11 versions
9810 *) supports_anon_versioning
=yes ;;
9813 # See if GNU ld supports shared libraries.
9816 # On AIX/PPC, the GNU linker is very broken
9817 if test "$host_cpu" != ia64
; then
9821 *** Warning: the GNU linker, at least up to release 2.19, is reported
9822 *** to be unable to reliably create shared libraries on AIX.
9823 *** Therefore, libtool is disabling shared libraries support. If you
9824 *** really care for shared libraries, you may want to install binutils
9825 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9826 *** You will then need to restart the configuration process.
9835 # see comment about AmigaOS4 .so support
9836 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9837 archive_expsym_cmds
=''
9840 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)'
9841 hardcode_libdir_flag_spec
='-L$libdir'
9842 hardcode_minus_L
=yes
9848 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9849 allow_undefined_flag
=unsupported
9850 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9851 # support --undefined. This deserves some investigation. FIXME
9852 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9858 cygwin
* | mingw
* | pw32
* | cegcc
*)
9859 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9860 # as there is no search path for DLLs.
9861 hardcode_libdir_flag_spec
='-L$libdir'
9862 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9863 allow_undefined_flag
=unsupported
9864 always_export_symbols
=no
9865 enable_shared_with_static_runtimes
=yes
9866 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9868 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9869 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9870 # If the export-symbols file already is a .def file (1st line
9871 # is EXPORTS), use it as is; otherwise, prepend...
9872 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9873 cp $export_symbols $output_objdir/$soname.def;
9875 echo EXPORTS > $output_objdir/$soname.def;
9876 cat $export_symbols >> $output_objdir/$soname.def;
9878 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9886 link_all_deplibs
=yes
9891 hardcode_shlibpath_var
=no
9892 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9893 export_dynamic_flag_spec
='${wl}-E'
9894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9895 # Instead, shared libraries are loaded at an image base (0x10000000 by
9896 # default) and relocated if they conflict, which is a slow very memory
9897 # consuming and fragmenting process. To avoid this, we pick a random,
9898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9900 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9901 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'
9904 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9906 if test "$host_os" = linux-dietlibc
; then
9907 case $cc_basename in
9908 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9911 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9912 && test "$tmp_diet" = no
9915 tmp_sharedflag
='-shared'
9916 case $cc_basename,$host_cpu in
9917 pgcc
*) # Portland Group C compiler
9918 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'
9919 tmp_addflag
=' $pic_flag'
9921 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9922 # Portland Group f77 and f90 compilers
9923 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'
9924 tmp_addflag
=' $pic_flag -Mnomain' ;;
9925 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9926 tmp_addflag
=' -i_dynamic' ;;
9927 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9928 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9929 ifc
* | ifort
*) # Intel Fortran compiler
9930 tmp_addflag
=' -nofor_main' ;;
9931 lf95
*) # Lahey Fortran 8.1
9932 whole_archive_flag_spec
=
9933 tmp_sharedflag
='--shared' ;;
9934 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9935 tmp_sharedflag
='-qmkshrobj'
9937 nvcc
*) # Cuda Compiler Driver 2.2
9938 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'
9939 compiler_needs_object
=yes
9942 case `$CC -V 2>&1 | sed 5q` in
9943 *Sun\ C
*) # Sun C 5.9
9944 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'
9945 compiler_needs_object
=yes
9946 tmp_sharedflag
='-G' ;;
9947 *Sun\ F
*) # Sun Fortran 8.3
9948 tmp_sharedflag
='-G' ;;
9950 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9952 if test "x$supports_anon_versioning" = xyes
; then
9953 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9954 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9955 echo "local: *; };" >> $output_objdir/$libname.ver~
9956 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9959 case $cc_basename in
9960 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9961 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9962 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9963 hardcode_libdir_flag_spec
=
9964 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9965 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9966 if test "x$supports_anon_versioning" = xyes
; then
9967 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9968 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9969 echo "local: *; };" >> $output_objdir/$libname.ver~
9970 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9980 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9981 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9990 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9994 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9995 *** create shared libraries on Solaris systems. Therefore, libtool
9996 *** is disabling shared libraries support. We urge you to upgrade GNU
9997 *** binutils to release 2.9.1 or newer. Another option is to modify
9998 *** your PATH or compiler configuration so that the native linker is
9999 *** used, and then restart.
10002 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10004 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10010 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10011 case `$LD -v 2>&1` in
10012 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10016 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10017 *** reliably create shared libraries on SCO systems. Therefore, libtool
10018 *** is disabling shared libraries support. We urge you to upgrade GNU
10019 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10020 *** your PATH or compiler configuration so that the native linker is
10021 *** used, and then restart.
10026 # For security reasons, it is highly recommended that you always
10027 # use absolute paths for naming shared libraries, and exclude the
10028 # DT_RUNPATH tag from executables and libraries. But doing so
10029 # requires that you compile everything twice, which is a pain.
10030 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10031 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10042 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_direct
=yes
10045 hardcode_shlibpath_var
=no
10049 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10050 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10051 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10058 if test "$ld_shlibs" = no
; then
10060 hardcode_libdir_flag_spec
=
10061 export_dynamic_flag_spec
=
10062 whole_archive_flag_spec
=
10065 # PORTME fill in a description of your system's linker (not GNU ld)
10068 allow_undefined_flag
=unsupported
10069 always_export_symbols
=yes
10070 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'
10071 # Note: this linker hardcodes the directories in LIBPATH if there
10072 # are no directories specified by -L.
10073 hardcode_minus_L
=yes
10074 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10075 # Neither direct hardcoding nor static linking is supported with a
10077 hardcode_direct
=unsupported
10082 if test "$host_cpu" = ia64
; then
10083 # On IA64, the linker does run time linking by default, so we don't
10084 # have to do anything special.
10085 aix_use_runtimelinking
=no
10086 exp_sym_flag
='-Bexport'
10089 # If we're using GNU nm, then we don't want the "-C" option.
10090 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10091 # Also, AIX nm treats weak defined symbols like other global
10092 # defined symbols, whereas GNU nm marks them as "W".
10093 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10094 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'
10096 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'
10098 aix_use_runtimelinking
=no
10100 # Test if we are trying to use run time linking or normal
10101 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10102 # need to do runtime linking.
10103 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10104 for ld_flag
in $LDFLAGS; do
10105 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10106 aix_use_runtimelinking
=yes
10113 exp_sym_flag
='-bexport'
10114 no_entry_flag
='-bnoentry'
10117 # When large executables or shared objects are built, AIX ld can
10118 # have problems creating the table of contents. If linking a library
10119 # or program results in "error TOC overflow" add -mminimal-toc to
10120 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10121 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10124 hardcode_direct
=yes
10125 hardcode_direct_absolute
=yes
10126 hardcode_libdir_separator
=':'
10127 link_all_deplibs
=yes
10128 file_list_spec
='${wl}-f,'
10130 if test "$GCC" = yes; then
10131 case $host_os in aix4.
[012]|aix4.
[012].
*)
10132 # We only want to do this on AIX 4.2 and lower, the check
10133 # below for broken collect2 doesn't work under 4.3+
10134 collect2name
=`${CC} -print-prog-name=collect2`
10135 if test -f "$collect2name" &&
10136 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10138 # We have reworked collect2
10141 # We have old collect2
10142 hardcode_direct
=unsupported
10143 # It fails to find uninstalled libraries when the uninstalled
10144 # path is not listed in the libpath. Setting hardcode_minus_L
10145 # to unsupported forces relinking
10146 hardcode_minus_L
=yes
10147 hardcode_libdir_flag_spec
='-L$libdir'
10148 hardcode_libdir_separator
=
10152 shared_flag
='-shared'
10153 if test "$aix_use_runtimelinking" = yes; then
10154 shared_flag
="$shared_flag "'${wl}-G'
10158 if test "$host_cpu" = ia64
; then
10159 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10160 # chokes on -Wl,-G. The following line is correct:
10163 if test "$aix_use_runtimelinking" = yes; then
10164 shared_flag
='${wl}-G'
10166 shared_flag
='${wl}-bM:SRE'
10171 export_dynamic_flag_spec
='${wl}-bexpall'
10172 # It seems that -bexpall does not export symbols beginning with
10173 # underscore (_), so it is better to generate a list of symbols to export.
10174 always_export_symbols
=yes
10175 if test "$aix_use_runtimelinking" = yes; then
10176 # Warning - without using the other runtime loading flags (-brtl),
10177 # -berok will link without error, but may produce a broken library.
10178 allow_undefined_flag
='-berok'
10179 # Determine the default libpath from the value encoded in an
10180 # empty executable.
10181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10192 if ac_fn_c_try_link
"$LINENO"; then :
10194 lt_aix_libpath_sed
='
10195 /Import File Strings/,/^$/ {
10201 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10202 # Check for a 64-bit object if we didn't find anything.
10203 if test -z "$aix_libpath"; then
10204 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10207 rm -f core conftest.err conftest.
$ac_objext \
10208 conftest
$ac_exeext conftest.
$ac_ext
10209 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10211 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10212 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"
10214 if test "$host_cpu" = ia64
; then
10215 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10216 allow_undefined_flag
="-z nodefs"
10217 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"
10219 # Determine the default libpath from the value encoded in an
10220 # empty executable.
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10232 if ac_fn_c_try_link
"$LINENO"; then :
10234 lt_aix_libpath_sed
='
10235 /Import File Strings/,/^$/ {
10241 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10242 # Check for a 64-bit object if we didn't find anything.
10243 if test -z "$aix_libpath"; then
10244 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10247 rm -f core conftest.err conftest.
$ac_objext \
10248 conftest
$ac_exeext conftest.
$ac_ext
10249 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10251 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10252 # Warning - without using the other run time loading flags,
10253 # -berok will link without error, but may produce a broken library.
10254 no_undefined_flag
=' ${wl}-bernotok'
10255 allow_undefined_flag
=' ${wl}-berok'
10256 if test "$with_gnu_ld" = yes; then
10257 # We only use this code for GNU lds that support --whole-archive.
10258 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10260 # Exported symbols can be pulled into shared objects from archives
10261 whole_archive_flag_spec
='$convenience'
10263 archive_cmds_need_lc
=yes
10264 # This is similar to how AIX traditionally builds its shared libraries.
10265 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'
10273 # see comment about AmigaOS4 .so support
10274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10275 archive_expsym_cmds
=''
10278 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)'
10279 hardcode_libdir_flag_spec
='-L$libdir'
10280 hardcode_minus_L
=yes
10286 export_dynamic_flag_spec
=-rdynamic
10289 cygwin
* | mingw
* | pw32
* | cegcc
*)
10290 # When not using gcc, we currently assume that we are using
10291 # Microsoft Visual C++.
10292 # hardcode_libdir_flag_spec is actually meaningless, as there is
10293 # no search path for DLLs.
10294 hardcode_libdir_flag_spec
=' '
10295 allow_undefined_flag
=unsupported
10296 # Tell ltmain to make .lib files, not .a files.
10298 # Tell ltmain to make .dll files, not .so files.
10300 # FIXME: Setting linknames here is a bad hack.
10301 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10302 # The linker will automatically build a .lib file if we build a DLL.
10303 old_archive_from_new_cmds
='true'
10304 # FIXME: Should let the user specify the lib program.
10305 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10306 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10307 enable_shared_with_static_runtimes
=yes
10310 darwin
* | rhapsody
*)
10313 archive_cmds_need_lc
=no
10315 hardcode_automatic
=yes
10316 hardcode_shlibpath_var
=unsupported
10317 if test "$lt_cv_ld_force_load" = "yes"; then
10318 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\"`'
10320 whole_archive_flag_spec
=''
10322 link_all_deplibs
=yes
10323 allow_undefined_flag
="$_lt_dar_allow_undefined"
10324 case $cc_basename in
10325 ifort
*) _lt_dar_can_shared
=yes ;;
10326 *) _lt_dar_can_shared
=$GCC ;;
10328 if test "$_lt_dar_can_shared" = "yes"; then
10329 output_verbose_link_cmd
=func_echo_all
10330 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10331 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10332 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}"
10333 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}"
10342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_shlibpath_var
=no
10347 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10348 # support. Future versions do this automatically, but an explicit c++rt0.o
10349 # does not break anything, and helps significantly (at the cost of a little
10352 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10353 hardcode_libdir_flag_spec
='-R$libdir'
10354 hardcode_direct
=yes
10355 hardcode_shlibpath_var
=no
10358 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10360 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_direct
=yes
10362 hardcode_minus_L
=yes
10363 hardcode_shlibpath_var
=no
10366 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10367 freebsd
* | dragonfly
*)
10368 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10369 hardcode_libdir_flag_spec
='-R$libdir'
10370 hardcode_direct
=yes
10371 hardcode_shlibpath_var
=no
10375 if test "$GCC" = yes; then
10376 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'
10378 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'
10380 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10381 hardcode_libdir_separator
=:
10382 hardcode_direct
=yes
10384 # hardcode_minus_L: Not really in the search PATH,
10385 # but as the default location of the library.
10386 hardcode_minus_L
=yes
10387 export_dynamic_flag_spec
='${wl}-E'
10391 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10392 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10394 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10396 if test "$with_gnu_ld" = no
; then
10397 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10398 hardcode_libdir_flag_spec_ld
='+b $libdir'
10399 hardcode_libdir_separator
=:
10400 hardcode_direct
=yes
10401 hardcode_direct_absolute
=yes
10402 export_dynamic_flag_spec
='${wl}-E'
10403 # hardcode_minus_L: Not really in the search PATH,
10404 # but as the default location of the library.
10405 hardcode_minus_L
=yes
10410 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10413 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10416 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10419 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10428 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10432 # Older versions of the 11.00 compiler do not understand -b yet
10433 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10435 $as_echo_n "checking if $CC understands -b... " >&6; }
10436 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10437 $as_echo_n "(cached) " >&6
10439 lt_cv_prog_compiler__b
=no
10440 save_LDFLAGS
="$LDFLAGS"
10441 LDFLAGS
="$LDFLAGS -b"
10442 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10443 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10444 # The linker can only warn and ignore the option if not recognized
10445 # So say no if there are warnings
10446 if test -s conftest.err
; then
10447 # Append any errors to the config.log.
10448 cat conftest.err
1>&5
10449 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10450 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10451 if diff conftest.exp conftest.er2
>/dev
/null
; then
10452 lt_cv_prog_compiler__b
=yes
10455 lt_cv_prog_compiler__b
=yes
10459 LDFLAGS
="$save_LDFLAGS"
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10463 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10465 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10466 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10468 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10474 if test "$with_gnu_ld" = no
; then
10475 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10476 hardcode_libdir_separator
=:
10481 hardcode_shlibpath_var
=no
10484 hardcode_direct
=yes
10485 hardcode_direct_absolute
=yes
10486 export_dynamic_flag_spec
='${wl}-E'
10488 # hardcode_minus_L: Not really in the search PATH,
10489 # but as the default location of the library.
10490 hardcode_minus_L
=yes
10496 irix5
* | irix6
* | nonstopux
*)
10497 if test "$GCC" = yes; then
10498 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'
10499 # Try to use the -exported_symbol ld option, if it does not
10500 # work, assume that -exports_file does not work either and
10501 # implicitly export all symbols.
10502 save_LDFLAGS
="$LDFLAGS"
10503 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10508 if ac_fn_c_try_link
"$LINENO"; then :
10509 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'
10512 rm -f core conftest.err conftest.
$ac_objext \
10513 conftest
$ac_exeext conftest.
$ac_ext
10514 LDFLAGS
="$save_LDFLAGS"
10516 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'
10517 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'
10519 archive_cmds_need_lc
='no'
10520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10521 hardcode_libdir_separator
=:
10523 link_all_deplibs
=yes
10527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10528 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10530 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10532 hardcode_libdir_flag_spec
='-R$libdir'
10533 hardcode_direct
=yes
10534 hardcode_shlibpath_var
=no
10538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10539 hardcode_direct
=yes
10540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10541 hardcode_libdir_separator
=:
10542 hardcode_shlibpath_var
=no
10549 if test -f /usr
/libexec
/ld.so
; then
10550 hardcode_direct
=yes
10551 hardcode_shlibpath_var
=no
10552 hardcode_direct_absolute
=yes
10553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10554 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10555 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10556 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10557 export_dynamic_flag_spec
='${wl}-E'
10560 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10561 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10562 hardcode_libdir_flag_spec
='-R$libdir'
10565 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10566 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10576 hardcode_libdir_flag_spec
='-L$libdir'
10577 hardcode_minus_L
=yes
10578 allow_undefined_flag
=unsupported
10579 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'
10580 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10584 if test "$GCC" = yes; then
10585 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10586 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'
10588 allow_undefined_flag
=' -expect_unresolved \*'
10589 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'
10591 archive_cmds_need_lc
='no'
10592 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10593 hardcode_libdir_separator
=:
10596 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10597 if test "$GCC" = yes; then
10598 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10599 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'
10600 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10602 allow_undefined_flag
=' -expect_unresolved \*'
10603 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'
10604 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~
10605 $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'
10607 # Both c and cxx compiler support -rpath directly
10608 hardcode_libdir_flag_spec
='-rpath $libdir'
10610 archive_cmds_need_lc
='no'
10611 hardcode_libdir_separator
=:
10615 no_undefined_flag
=' -z defs'
10616 if test "$GCC" = yes; then
10618 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10620 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10622 case `$CC -V 2>&1` in
10625 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10626 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10627 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10631 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10632 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10633 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10637 hardcode_libdir_flag_spec
='-R$libdir'
10638 hardcode_shlibpath_var
=no
10640 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10642 # The compiler driver will combine and reorder linker options,
10643 # but understands `-z linker_flag'. GCC discards it without `$wl',
10644 # but is careful enough not to reorder.
10645 # Supported since Solaris 2.6 (maybe 2.5.1?)
10646 if test "$GCC" = yes; then
10647 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10649 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10653 link_all_deplibs
=yes
10657 if test "x$host_vendor" = xsequent
; then
10658 # Use $CC to link under sequent, because it throws in some extra .o
10659 # files that make .init and .fini sections work.
10660 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10662 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10664 hardcode_libdir_flag_spec
='-L$libdir'
10665 hardcode_direct
=yes
10666 hardcode_minus_L
=yes
10667 hardcode_shlibpath_var
=no
10671 case $host_vendor in
10673 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10674 hardcode_direct
=yes # is this really true???
10677 ## LD is ld it makes a PLAMLIB
10678 ## CC just makes a GrossModule.
10679 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10680 reload_cmds
='$CC -r -o $output$reload_objs'
10684 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10685 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10688 runpath_var
='LD_RUN_PATH'
10689 hardcode_shlibpath_var
=no
10693 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10694 hardcode_shlibpath_var
=no
10695 export_dynamic_flag_spec
='-Bexport'
10699 if test -d /usr
/nec
; then
10700 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10701 hardcode_shlibpath_var
=no
10702 runpath_var
=LD_RUN_PATH
10703 hardcode_runpath_var
=yes
10708 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10709 no_undefined_flag
='${wl}-z,text'
10710 archive_cmds_need_lc
=no
10711 hardcode_shlibpath_var
=no
10712 runpath_var
='LD_RUN_PATH'
10714 if test "$GCC" = yes; then
10715 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10716 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10718 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10719 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10723 sysv5
* | sco3.2v5
* | sco5v6
*)
10724 # Note: We can NOT use -z defs as we might desire, because we do not
10725 # link with -lc, and that would cause any symbols used from libc to
10726 # always be unresolved, which means just about no library would
10727 # ever link correctly. If we're not using GNU ld we use -z text
10728 # though, which does catch some bad symbols but isn't as heavy-handed
10730 no_undefined_flag
='${wl}-z,text'
10731 allow_undefined_flag
='${wl}-z,nodefs'
10732 archive_cmds_need_lc
=no
10733 hardcode_shlibpath_var
=no
10734 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10735 hardcode_libdir_separator
=':'
10736 link_all_deplibs
=yes
10737 export_dynamic_flag_spec
='${wl}-Bexport'
10738 runpath_var
='LD_RUN_PATH'
10740 if test "$GCC" = yes; then
10741 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10742 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10745 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_libdir_flag_spec
='-L$libdir'
10752 hardcode_shlibpath_var
=no
10760 if test x
$host_vendor = xsni
; then
10762 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10763 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10770 $as_echo "$ld_shlibs" >&6; }
10771 test "$ld_shlibs" = no
&& can_build_shared
=no
10773 with_gnu_ld
=$with_gnu_ld
10790 # Do we need to explicitly link libc?
10792 case "x$archive_cmds_need_lc" in
10794 # Assume -lc should be added
10795 archive_cmds_need_lc
=yes
10797 if test "$enable_shared" = yes && test "$GCC" = yes; then
10798 case $archive_cmds in
10800 # FIXME: we may have to deal with multi-command sequences.
10803 # Test whether the compiler implicitly links with -lc since on some
10804 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10805 # to ld, don't add -lc before -lgcc.
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10807 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10808 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10809 $as_echo_n "(cached) " >&6
10812 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10815 (eval $ac_compile) 2>&5
10817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10818 test $ac_status = 0; } 2>conftest.err
; then
10821 libobjs
=conftest.
$ac_objext
10823 wl
=$lt_prog_compiler_wl
10824 pic_flag
=$lt_prog_compiler_pic
10830 lt_save_allow_undefined_flag
=$allow_undefined_flag
10831 allow_undefined_flag
=
10832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10833 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10836 test $ac_status = 0; }
10838 lt_cv_archive_cmds_need_lc
=no
10840 lt_cv_archive_cmds_need_lc
=yes
10842 allow_undefined_flag
=$lt_save_allow_undefined_flag
10844 cat conftest.err
1>&5
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10850 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10851 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11015 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11017 if test "$GCC" = yes; then
11019 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11020 *) lt_awk_arg
="/^libraries:/" ;;
11023 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11024 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11026 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11027 case $lt_search_path_spec in
11029 # if the path contains ";" then we assume it to be the separator
11030 # otherwise default to the standard path separator (i.e. ":") - it is
11031 # assumed that no part of a normal pathname contains ";" but that should
11032 # okay in the real world where ";" in dirpaths is itself problematic.
11033 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11036 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11039 # Ok, now we have the path, separated by spaces, we can step through it
11040 # and add multilib dir if necessary.
11041 lt_tmp_lt_search_path_spec
=
11042 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11043 for lt_sys_path
in $lt_search_path_spec; do
11044 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11045 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11047 test -d "$lt_sys_path" && \
11048 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11051 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11052 BEGIN {RS=" "; FS="/|\n";} {
11055 for (lt_i = NF; lt_i > 0; lt_i--) {
11056 if ($lt_i != "" && $lt_i != ".") {
11057 if ($lt_i == "..") {
11060 if (lt_count == 0) {
11061 lt_foo="/" $lt_i lt_foo;
11068 if (lt_foo != "") { lt_freq[lt_foo]++; }
11069 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11071 # AWK program above erroneously prepends '/' to C:/dos/paths
11074 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11075 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11077 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11079 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11081 library_names_spec
=
11082 libname_spec
='lib$name'
11086 postuninstall_cmds
=
11090 shlibpath_overrides_runpath
=unknown
11092 dynamic_linker
="$host_os ld.so"
11093 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11094 need_lib_prefix
=unknown
11095 hardcode_into_libs
=no
11097 # when you set need_version to no, make sure it does not cause -set_version
11098 # flags to be left without arguments
11099 need_version
=unknown
11104 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11105 shlibpath_var
=LIBPATH
11107 # AIX 3 has no versioning support, so we append a major version to the name.
11108 soname_spec
='${libname}${release}${shared_ext}$major'
11115 hardcode_into_libs
=yes
11116 if test "$host_cpu" = ia64
; then
11117 # AIX 5 supports IA64
11118 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11119 shlibpath_var
=LD_LIBRARY_PATH
11121 # With GCC up to 2.95.x, collect2 would create an import file
11122 # for dependence libraries. The import file would start with
11123 # the line `#! .'. This would cause the generated library to
11124 # depend on `.', always an invalid library. This was fixed in
11125 # development snapshots of GCC prior to 3.0.
11127 aix4 | aix4.
[01] | aix4.
[01].
*)
11128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11130 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11133 can_build_shared
=no
11137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11138 # soname into executable. Probably we can add versioning support to
11139 # collect2, so additional links can be useful in future.
11140 if test "$aix_use_runtimelinking" = yes; then
11141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11142 # instead of lib<name>.a to let people know that these are not
11143 # typical AIX shared libraries.
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 # We preserve .a as extension for shared libraries through AIX4.2
11147 # and later when we are not doing run time linking.
11148 library_names_spec
='${libname}${release}.a $libname.a'
11149 soname_spec
='${libname}${release}${shared_ext}$major'
11151 shlibpath_var
=LIBPATH
11158 # Since July 2007 AmigaOS4 officially supports .so libraries.
11159 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 library_names_spec
='$libname.ixlibrary $libname.a'
11164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11165 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'
11171 library_names_spec
='${libname}${shared_ext}'
11172 dynamic_linker
="$host_os ld.so"
11173 shlibpath_var
=LIBRARY_PATH
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec
='${libname}${release}${shared_ext}$major'
11181 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11182 shlibpath_var
=LD_LIBRARY_PATH
11183 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11184 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11185 # the default ld.so.conf also contains /usr/contrib/lib and
11186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11187 # libtool to hard-code these into programs
11190 cygwin
* | mingw
* | pw32
* | cegcc
*)
11191 version_type
=windows
11196 case $GCC,$host_os in
11197 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11198 library_names_spec
='$libname.dll.a'
11199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11200 postinstall_cmds
='base_file=`basename \${file}`~
11201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11202 dldir=$destdir/`dirname \$dlpath`~
11203 test -d \$dldir || mkdir -p \$dldir~
11204 $install_prog $dir/$dlname \$dldir/$dlname~
11205 chmod a+x \$dldir/$dlname~
11206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11209 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11210 dlpath=$dir/\$dldll~
11212 shlibpath_overrides_runpath
=yes
11216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11217 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11219 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11222 # MinGW DLLs use traditional 'lib' prefix
11223 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11226 # pw32 DLLs use 'pw' prefix rather than 'lib'
11227 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11233 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11236 dynamic_linker
='Win32 ld.exe'
11237 # FIXME: first we should search . and the directory the executable is in
11241 darwin
* | rhapsody
*)
11242 dynamic_linker
="$host_os dyld"
11243 version_type
=darwin
11246 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11247 soname_spec
='${libname}${release}${major}$shared_ext'
11248 shlibpath_overrides_runpath
=yes
11249 shlibpath_var
=DYLD_LIBRARY_PATH
11250 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11252 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11253 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11262 shlibpath_var
=LD_LIBRARY_PATH
11265 freebsd
* | dragonfly
*)
11266 # DragonFly does not have aout. When/if they implement a new
11267 # versioning mechanism, adjust this.
11268 if test -x /usr
/bin
/objformat
; then
11269 objformat
=`/usr/bin/objformat`
11272 freebsd
[23].
*) objformat
=aout
;;
11273 *) objformat
=elf
;;
11276 version_type
=freebsd-
$objformat
11277 case $version_type in
11279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11284 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11288 shlibpath_var
=LD_LIBRARY_PATH
11291 shlibpath_overrides_runpath
=yes
11293 freebsd3.
[01]* | freebsdelf3.
[01]*)
11294 shlibpath_overrides_runpath
=yes
11295 hardcode_into_libs
=yes
11297 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11298 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11299 shlibpath_overrides_runpath
=no
11300 hardcode_into_libs
=yes
11302 *) # from 4.6 on, and DragonFly
11303 shlibpath_overrides_runpath
=yes
11304 hardcode_into_libs
=yes
11313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11314 soname_spec
='${libname}${release}${shared_ext}$major'
11315 shlibpath_var
=LD_LIBRARY_PATH
11316 hardcode_into_libs
=yes
11323 dynamic_linker
="$host_os runtime_loader"
11324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11325 soname_spec
='${libname}${release}${shared_ext}$major'
11326 shlibpath_var
=LIBRARY_PATH
11327 shlibpath_overrides_runpath
=yes
11328 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11329 hardcode_into_libs
=yes
11332 hpux9
* | hpux10
* | hpux11
*)
11333 # Give a soname corresponding to the major version so that dld.sl refuses to
11334 # link against other versions.
11341 hardcode_into_libs
=yes
11342 dynamic_linker
="$host_os dld.so"
11343 shlibpath_var
=LD_LIBRARY_PATH
11344 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 soname_spec
='${libname}${release}${shared_ext}$major'
11347 if test "X$HPUX_IA64_MODE" = X32
; then
11348 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11350 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11352 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11356 hardcode_into_libs
=yes
11357 dynamic_linker
="$host_os dld.sl"
11358 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11359 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec
='${libname}${release}${shared_ext}$major'
11362 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11363 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11367 dynamic_linker
="$host_os dld.sl"
11368 shlibpath_var
=SHLIB_PATH
11369 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 soname_spec
='${libname}${release}${shared_ext}$major'
11374 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11375 postinstall_cmds
='chmod 555 $lib'
11376 # or fails outright, so override atomically:
11377 install_override_mode
=555
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11385 soname_spec
='${libname}${release}${shared_ext}$major'
11386 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11387 shlibpath_var
=LD_LIBRARY_PATH
11388 shlibpath_overrides_runpath
=no
11389 hardcode_into_libs
=yes
11392 irix5
* | irix6
* | nonstopux
*)
11394 nonstopux
*) version_type
=nonstopux
;;
11396 if test "$lt_cv_prog_gnu_ld" = yes; then
11404 soname_spec
='${libname}${release}${shared_ext}$major'
11405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11407 irix5
* | nonstopux
*)
11408 libsuff
= shlibsuff
=
11411 case $LD in # libtool.m4 will add one of these switches to LD
11412 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11413 libsuff
= shlibsuff
= libmagic
=32-bit;;
11414 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11415 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11416 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11417 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11418 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11422 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11423 shlibpath_overrides_runpath
=no
11424 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11425 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11426 hardcode_into_libs
=yes
11429 # No shared lib support for Linux oldld, aout, or coff.
11430 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11434 # This must be Linux ELF.
11435 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11442 shlibpath_var
=LD_LIBRARY_PATH
11443 shlibpath_overrides_runpath
=no
11445 # Some binutils ld are patched to set DT_RUNPATH
11446 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11447 $as_echo_n "(cached) " >&6
11449 lt_cv_shlibpath_overrides_runpath
=no
11450 save_LDFLAGS
=$LDFLAGS
11451 save_libdir
=$libdir
11452 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11453 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11465 if ac_fn_c_try_link
"$LINENO"; then :
11466 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11467 lt_cv_shlibpath_overrides_runpath
=yes
11470 rm -f core conftest.err conftest.
$ac_objext \
11471 conftest
$ac_exeext conftest.
$ac_ext
11472 LDFLAGS
=$save_LDFLAGS
11473 libdir
=$save_libdir
11477 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11479 # This implies no fast_install, which is unacceptable.
11480 # Some rework will be needed to allow for fast_install
11481 # before this can be enabled.
11482 hardcode_into_libs
=yes
11484 # Append ld.so.conf contents to the search path
11485 if test -f /etc
/ld.so.conf
; then
11486 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' ' '`
11487 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11490 # We used to test for /lib/ld.so.1 and disable shared libraries on
11491 # powerpc, because MkLinux only supported shared libraries with the
11492 # GNU dynamic linker. Since this was broken with cross compilers,
11493 # most powerpc-linux boxes support dynamic linking these days and
11494 # people can always --disable-shared, the test was removed, and we
11495 # assume the GNU/Linux dynamic linker is in use.
11496 dynamic_linker
='GNU/Linux ld.so'
11503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11505 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11506 dynamic_linker
='NetBSD (a.out) ld.so'
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11509 soname_spec
='${libname}${release}${shared_ext}$major'
11510 dynamic_linker
='NetBSD ld.elf_so'
11512 shlibpath_var
=LD_LIBRARY_PATH
11513 shlibpath_overrides_runpath
=yes
11514 hardcode_into_libs
=yes
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 shlibpath_var
=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath
=yes
11528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11529 soname_spec
='${libname}${release}${shared_ext}$major'
11530 shlibpath_var
=LD_LIBRARY_PATH
11531 shlibpath_overrides_runpath
=no
11532 hardcode_into_libs
=yes
11533 dynamic_linker
='ldqnx.so'
11538 sys_lib_dlsearch_path_spec
="/usr/lib"
11540 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11542 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11543 *) need_version
=no
;;
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11546 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11547 shlibpath_var
=LD_LIBRARY_PATH
11548 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11550 openbsd2.
[89] | openbsd2.
[89].
*)
11551 shlibpath_overrides_runpath
=no
11554 shlibpath_overrides_runpath
=yes
11558 shlibpath_overrides_runpath
=yes
11563 libname_spec
='$name'
11566 library_names_spec
='$libname${shared_ext} $libname.a'
11567 dynamic_linker
='OS/2 ld.exe'
11568 shlibpath_var
=LIBPATH
11571 osf3
* | osf4
* | osf5
*)
11575 soname_spec
='${libname}${release}${shared_ext}$major'
11576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11577 shlibpath_var
=LD_LIBRARY_PATH
11578 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11579 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11591 soname_spec
='${libname}${release}${shared_ext}$major'
11592 shlibpath_var
=LD_LIBRARY_PATH
11593 shlibpath_overrides_runpath
=yes
11594 hardcode_into_libs
=yes
11595 # ldd complains unless libraries are executable
11596 postinstall_cmds
='chmod +x $lib'
11601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11602 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11603 shlibpath_var
=LD_LIBRARY_PATH
11604 shlibpath_overrides_runpath
=yes
11605 if test "$with_gnu_ld" = yes; then
11613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614 soname_spec
='${libname}${release}${shared_ext}$major'
11615 shlibpath_var
=LD_LIBRARY_PATH
11616 case $host_vendor in
11618 shlibpath_overrides_runpath
=no
11620 runpath_var
=LD_RUN_PATH
11628 shlibpath_overrides_runpath
=no
11629 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11635 if test -d /usr
/nec
;then
11637 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11638 soname_spec
='$libname${shared_ext}.$major'
11639 shlibpath_var
=LD_LIBRARY_PATH
11643 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11644 version_type
=freebsd-elf
11647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11648 soname_spec
='${libname}${release}${shared_ext}$major'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=yes
11651 hardcode_into_libs
=yes
11652 if test "$with_gnu_ld" = yes; then
11653 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11655 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11658 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11662 sys_lib_dlsearch_path_spec
='/usr/lib'
11666 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11671 shlibpath_var
=LD_LIBRARY_PATH
11672 shlibpath_overrides_runpath
=no
11673 hardcode_into_libs
=yes
11678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11679 soname_spec
='${libname}${release}${shared_ext}$major'
11680 shlibpath_var
=LD_LIBRARY_PATH
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11688 $as_echo "$dynamic_linker" >&6; }
11689 test "$dynamic_linker" = no
&& can_build_shared
=no
11691 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11692 if test "$GCC" = yes; then
11693 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11696 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11697 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11699 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11700 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11797 if test -n "$hardcode_libdir_flag_spec" ||
11798 test -n "$runpath_var" ||
11799 test "X$hardcode_automatic" = "Xyes" ; then
11801 # We can hardcode non-existent directories.
11802 if test "$hardcode_direct" != no
&&
11803 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11804 # have to relink, otherwise we might link with an installed library
11805 # when we should be linking with a yet-to-be-installed one
11806 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11807 test "$hardcode_minus_L" != no
; then
11808 # Linking always hardcodes the temporary library directory.
11809 hardcode_action
=relink
11811 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11812 hardcode_action
=immediate
11815 # We cannot hardcode anything, or else we can only hardcode existing
11817 hardcode_action
=unsupported
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11820 $as_echo "$hardcode_action" >&6; }
11822 if test "$hardcode_action" = relink ||
11823 test "$inherit_rpath" = yes; then
11824 # Fast installation is not supported
11825 enable_fast_install
=no
11826 elif test "$shlibpath_overrides_runpath" = yes ||
11827 test "$enable_shared" = no
; then
11828 # Fast installation is not necessary
11829 enable_fast_install
=needless
11837 if test "x$enable_dlopen" != xyes
; then
11838 enable_dlopen
=unknown
11839 enable_dlopen_self
=unknown
11840 enable_dlopen_self_static
=unknown
11847 lt_cv_dlopen
="load_add_on"
11849 lt_cv_dlopen_self
=yes
11852 mingw
* | pw32
* | cegcc
*)
11853 lt_cv_dlopen
="LoadLibrary"
11858 lt_cv_dlopen
="dlopen"
11863 # if libdl is installed we need to link against it
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11865 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11867 $as_echo_n "(cached) " >&6
11869 ac_check_lib_save_LIBS
=$LIBS
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11889 if ac_fn_c_try_link
"$LINENO"; then :
11890 ac_cv_lib_dl_dlopen
=yes
11892 ac_cv_lib_dl_dlopen
=no
11894 rm -f core conftest.err conftest.
$ac_objext \
11895 conftest
$ac_exeext conftest.
$ac_ext
11896 LIBS
=$ac_check_lib_save_LIBS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11899 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11900 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11901 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11904 lt_cv_dlopen
="dyld"
11906 lt_cv_dlopen_self
=yes
11913 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11914 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11915 lt_cv_dlopen
="shl_load"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11918 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11919 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11920 $as_echo_n "(cached) " >&6
11922 ac_check_lib_save_LIBS
=$LIBS
11924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11937 return shl_load ();
11942 if ac_fn_c_try_link
"$LINENO"; then :
11943 ac_cv_lib_dld_shl_load
=yes
11945 ac_cv_lib_dld_shl_load
=no
11947 rm -f core conftest.err conftest.
$ac_objext \
11948 conftest
$ac_exeext conftest.
$ac_ext
11949 LIBS
=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11953 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11954 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11956 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11957 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11958 lt_cv_dlopen
="dlopen"
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11962 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11963 $as_echo_n "(cached) " >&6
11965 ac_check_lib_save_LIBS
=$LIBS
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 /* Override any GCC internal prototype to avoid an error.
11971 Use char because int might match the return type of a GCC
11972 builtin and then its argument prototype would still apply. */
11985 if ac_fn_c_try_link
"$LINENO"; then :
11986 ac_cv_lib_dl_dlopen
=yes
11988 ac_cv_lib_dl_dlopen
=no
11990 rm -f core conftest.err conftest.
$ac_objext \
11991 conftest
$ac_exeext conftest.
$ac_ext
11992 LIBS
=$ac_check_lib_save_LIBS
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11995 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11996 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12000 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12001 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12002 $as_echo_n "(cached) " >&6
12004 ac_check_lib_save_LIBS
=$LIBS
12005 LIBS
="-lsvld $LIBS"
12006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12024 if ac_fn_c_try_link
"$LINENO"; then :
12025 ac_cv_lib_svld_dlopen
=yes
12027 ac_cv_lib_svld_dlopen
=no
12029 rm -f core conftest.err conftest.
$ac_objext \
12030 conftest
$ac_exeext conftest.
$ac_ext
12031 LIBS
=$ac_check_lib_save_LIBS
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12034 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12035 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12036 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12039 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12040 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12041 $as_echo_n "(cached) " >&6
12043 ac_check_lib_save_LIBS
=$LIBS
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12058 return dld_link ();
12063 if ac_fn_c_try_link
"$LINENO"; then :
12064 ac_cv_lib_dld_dld_link
=yes
12066 ac_cv_lib_dld_dld_link
=no
12068 rm -f core conftest.err conftest.
$ac_objext \
12069 conftest
$ac_exeext conftest.
$ac_ext
12070 LIBS
=$ac_check_lib_save_LIBS
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12073 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12074 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12075 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12096 if test "x$lt_cv_dlopen" != xno
; then
12102 case $lt_cv_dlopen in
12104 save_CPPFLAGS
="$CPPFLAGS"
12105 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12107 save_LDFLAGS
="$LDFLAGS"
12108 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12111 LIBS
="$lt_cv_dlopen_libs $LIBS"
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12114 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12115 if test "${lt_cv_dlopen_self+set}" = set; then :
12116 $as_echo_n "(cached) " >&6
12118 if test "$cross_compiling" = yes; then :
12119 lt_cv_dlopen_self
=cross
12121 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12122 lt_status
=$lt_dlunknown
12123 cat > conftest.
$ac_ext <<_LT_EOF
12124 #line 12124 "configure"
12125 #include "confdefs.h"
12134 # define LT_DLGLOBAL RTLD_GLOBAL
12137 # define LT_DLGLOBAL DL_GLOBAL
12139 # define LT_DLGLOBAL 0
12143 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12144 find out it does not work in some platform. */
12145 #ifndef LT_DLLAZY_OR_NOW
12147 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12150 # define LT_DLLAZY_OR_NOW DL_LAZY
12153 # define LT_DLLAZY_OR_NOW RTLD_NOW
12156 # define LT_DLLAZY_OR_NOW DL_NOW
12158 # define LT_DLLAZY_OR_NOW 0
12165 /* When -fvisbility=hidden is used, assume the code has been annotated
12166 correspondingly for the symbols needed. */
12167 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12168 void fnord () __attribute__((visibility("default")));
12171 void fnord () { int i=42; }
12174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12175 int status = $lt_dlunknown;
12179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12182 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12183 else puts (dlerror ());
12185 /* dlclose (self); */
12193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12194 (eval $ac_link) 2>&5
12196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12198 (.
/conftest
; exit; ) >&5 2>/dev
/null
12200 case x
$lt_status in
12201 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12202 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12203 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12206 # compilation failed
12207 lt_cv_dlopen_self
=no
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12215 $as_echo "$lt_cv_dlopen_self" >&6; }
12217 if test "x$lt_cv_dlopen_self" = xyes
; then
12218 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12220 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12221 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12222 $as_echo_n "(cached) " >&6
12224 if test "$cross_compiling" = yes; then :
12225 lt_cv_dlopen_self_static
=cross
12227 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12228 lt_status
=$lt_dlunknown
12229 cat > conftest.
$ac_ext <<_LT_EOF
12230 #line 12230 "configure"
12231 #include "confdefs.h"
12240 # define LT_DLGLOBAL RTLD_GLOBAL
12243 # define LT_DLGLOBAL DL_GLOBAL
12245 # define LT_DLGLOBAL 0
12249 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12250 find out it does not work in some platform. */
12251 #ifndef LT_DLLAZY_OR_NOW
12253 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12256 # define LT_DLLAZY_OR_NOW DL_LAZY
12259 # define LT_DLLAZY_OR_NOW RTLD_NOW
12262 # define LT_DLLAZY_OR_NOW DL_NOW
12264 # define LT_DLLAZY_OR_NOW 0
12271 /* When -fvisbility=hidden is used, assume the code has been annotated
12272 correspondingly for the symbols needed. */
12273 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12274 void fnord () __attribute__((visibility("default")));
12277 void fnord () { int i=42; }
12280 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12281 int status = $lt_dlunknown;
12285 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12288 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12289 else puts (dlerror ());
12291 /* dlclose (self); */
12299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12300 (eval $ac_link) 2>&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12303 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12304 (.
/conftest
; exit; ) >&5 2>/dev
/null
12306 case x
$lt_status in
12307 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12308 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12309 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12312 # compilation failed
12313 lt_cv_dlopen_self_static
=no
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12321 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12324 CPPFLAGS
="$save_CPPFLAGS"
12325 LDFLAGS
="$save_LDFLAGS"
12330 case $lt_cv_dlopen_self in
12331 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12332 *) enable_dlopen_self
=unknown
;;
12335 case $lt_cv_dlopen_self_static in
12336 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12337 *) enable_dlopen_self_static
=unknown
;;
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12360 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12361 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12362 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12363 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12365 $as_echo "yes" >&6; }
12367 # FIXME - insert some real tests, host_os isn't really good enough
12370 if test -n "$STRIP" ; then
12371 striplib
="$STRIP -x"
12372 old_striplib
="$STRIP -S"
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12374 $as_echo "yes" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12398 # Report which library types will actually be built
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12400 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12402 $as_echo "$can_build_shared" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12405 $as_echo_n "checking whether to build shared libraries... " >&6; }
12406 test "$can_build_shared" = "no" && enable_shared
=no
12408 # On AIX, shared libraries and static libraries use the same namespace, and
12409 # are all built from PIC.
12412 test "$enable_shared" = yes && enable_static
=no
12413 if test -n "$RANLIB"; then
12414 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12415 postinstall_cmds
='$RANLIB $lib'
12420 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12421 test "$enable_shared" = yes && enable_static
=no
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12426 $as_echo "$enable_shared" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12429 $as_echo_n "checking whether to build static libraries... " >&6; }
12430 # Make sure either enable_shared or enable_static is yes.
12431 test "$enable_shared" = yes || enable_static
=yes
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12433 $as_echo "$enable_static" >&6; }
12440 ac_cpp
='$CPP $CPPFLAGS'
12441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12447 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12448 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12449 (test "X$CXX" != "Xg++"))) ; then
12451 ac_cpp
='$CXXCPP $CPPFLAGS'
12452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12456 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12457 if test -z "$CXXCPP"; then
12458 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12459 $as_echo_n "(cached) " >&6
12461 # Double quotes because CXXCPP needs to be expanded
12462 for CXXCPP
in "$CXX -E" "/lib/cpp"
12464 ac_preproc_ok
=false
12465 for ac_cxx_preproc_warn_flag
in '' yes
12467 # Use a header file that comes with gcc, so configuring glibc
12468 # with a fresh cross-compiler works.
12469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12470 # <limits.h> exists even on freestanding compilers.
12471 # On the NeXT, cc -E runs the code through the compiler's parser,
12472 # not just through cpp. "Syntax error" is here to catch this case.
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 # include <limits.h>
12478 # include <assert.h>
12482 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12485 # Broken: fails on valid input.
12488 rm -f conftest.err conftest.
$ac_ext
12490 # OK, works on sane cases. Now check whether nonexistent headers
12491 # can be detected and how.
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12494 #include <ac_nonexistent.h>
12496 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12497 # Broken: success on invalid input.
12500 # Passes both tests.
12504 rm -f conftest.err conftest.
$ac_ext
12507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12508 rm -f conftest.err conftest.
$ac_ext
12509 if $ac_preproc_ok; then :
12514 ac_cv_prog_CXXCPP
=$CXXCPP
12517 CXXCPP
=$ac_cv_prog_CXXCPP
12519 ac_cv_prog_CXXCPP
=$CXXCPP
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12522 $as_echo "$CXXCPP" >&6; }
12523 ac_preproc_ok
=false
12524 for ac_cxx_preproc_warn_flag
in '' yes
12526 # Use a header file that comes with gcc, so configuring glibc
12527 # with a fresh cross-compiler works.
12528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12529 # <limits.h> exists even on freestanding compilers.
12530 # On the NeXT, cc -E runs the code through the compiler's parser,
12531 # not just through cpp. "Syntax error" is here to catch this case.
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 # include <limits.h>
12537 # include <assert.h>
12541 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12544 # Broken: fails on valid input.
12547 rm -f conftest.err conftest.
$ac_ext
12549 # OK, works on sane cases. Now check whether nonexistent headers
12550 # can be detected and how.
12551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12553 #include <ac_nonexistent.h>
12555 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12556 # Broken: success on invalid input.
12559 # Passes both tests.
12563 rm -f conftest.err conftest.
$ac_ext
12566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12567 rm -f conftest.err conftest.
$ac_ext
12568 if $ac_preproc_ok; then :
12571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12573 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12574 See \`config.log' for more details." "$LINENO" 5; }
12578 ac_cpp
='$CPP $CPPFLAGS'
12579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12584 _lt_caught_CXX_error
=yes
12588 ac_cpp
='$CXXCPP $CPPFLAGS'
12589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12593 archive_cmds_need_lc_CXX
=no
12594 allow_undefined_flag_CXX
=
12595 always_export_symbols_CXX
=no
12596 archive_expsym_cmds_CXX
=
12597 compiler_needs_object_CXX
=no
12598 export_dynamic_flag_spec_CXX
=
12599 hardcode_direct_CXX
=no
12600 hardcode_direct_absolute_CXX
=no
12601 hardcode_libdir_flag_spec_CXX
=
12602 hardcode_libdir_flag_spec_ld_CXX
=
12603 hardcode_libdir_separator_CXX
=
12604 hardcode_minus_L_CXX
=no
12605 hardcode_shlibpath_var_CXX
=unsupported
12606 hardcode_automatic_CXX
=no
12607 inherit_rpath_CXX
=no
12609 module_expsym_cmds_CXX
=
12610 link_all_deplibs_CXX
=unknown
12611 old_archive_cmds_CXX
=$old_archive_cmds
12612 reload_flag_CXX
=$reload_flag
12613 reload_cmds_CXX
=$reload_cmds
12614 no_undefined_flag_CXX
=
12615 whole_archive_flag_spec_CXX
=
12616 enable_shared_with_static_runtimes_CXX
=no
12618 # Source file extension for C++ test sources.
12621 # Object file extension for compiled C++ test sources.
12625 # No sense in running all these tests if we already determined that
12626 # the CXX compiler isn't working. Some variables (like enable_shared)
12627 # are currently assumed to apply to all compilers on this platform,
12628 # and will be corrupted by setting them based on a non-working compiler.
12629 if test "$_lt_caught_CXX_error" != yes; then
12630 # Code to be used in simple compile tests
12631 lt_simple_compile_test_code
="int some_variable = 0;"
12633 # Code to be used in simple link tests
12634 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12636 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12643 # If no C compiler was specified, use CC.
12646 # If no C compiler flags were specified, use CFLAGS.
12647 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12649 # Allow CC to be a program name with arguments.
12653 # save warnings/boilerplate of simple test code
12654 ac_outfile
=conftest.
$ac_objext
12655 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12656 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12657 _lt_compiler_boilerplate
=`cat conftest.err`
12660 ac_outfile
=conftest.
$ac_objext
12661 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12662 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12663 _lt_linker_boilerplate
=`cat conftest.err`
12667 # Allow CC to be a program name with arguments.
12672 lt_save_with_gnu_ld
=$with_gnu_ld
12673 lt_save_path_LD
=$lt_cv_path_LD
12674 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12675 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12677 $as_unset lt_cv_prog_gnu_ld
12679 if test -n "${lt_cv_path_LDCXX+set}"; then
12680 lt_cv_path_LD
=$lt_cv_path_LDCXX
12682 $as_unset lt_cv_path_LD
12684 test -z "${LDCXX+set}" || LD
=$LDCXX
12688 for cc_temp
in $compiler""; do
12690 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12691 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12696 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12699 if test -n "$compiler"; then
12700 # We don't want -fno-exception when compiling C++ code, so set the
12701 # no_builtin_flag separately
12702 if test "$GXX" = yes; then
12703 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12705 lt_prog_compiler_no_builtin_flag_CXX
=
12708 if test "$GXX" = yes; then
12709 # Set up default GNU C++ configuration
12713 # Check whether --with-gnu-ld was given.
12714 if test "${with_gnu_ld+set}" = set; then :
12715 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12721 if test "$GCC" = yes; then
12722 # Check if gcc -print-prog-name=ld gives a path.
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12724 $as_echo_n "checking for ld used by $CC... " >&6; }
12727 # gcc leaves a trailing carriage return which upsets mingw
12728 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12730 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12733 # Accept absolute paths.
12735 re_direlt
='/[^/][^/]*/\.\./'
12736 # Canonicalize the pathname of ld
12737 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12738 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12739 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12741 test -z "$LD" && LD
="$ac_prog"
12744 # If it fails, then pretend we aren't using GCC.
12748 # If it is relative, then search for the first ld in PATH.
12749 with_gnu_ld
=unknown
12752 elif test "$with_gnu_ld" = yes; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12754 $as_echo_n "checking for GNU ld... " >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12757 $as_echo_n "checking for non-GNU ld... " >&6; }
12759 if test "${lt_cv_path_LD+set}" = set; then :
12760 $as_echo_n "(cached) " >&6
12762 if test -z "$LD"; then
12763 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12764 for ac_dir
in $PATH; do
12766 test -z "$ac_dir" && ac_dir
=.
12767 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12768 lt_cv_path_LD
="$ac_dir/$ac_prog"
12769 # Check to see if the program is GNU ld. I'd rather use --version,
12770 # but apparently some variants of GNU ld only accept -v.
12771 # Break only if it was the GNU/non-GNU ld that we prefer.
12772 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12773 *GNU
* |
*'with BFD'*)
12774 test "$with_gnu_ld" != no
&& break
12777 test "$with_gnu_ld" != yes && break
12784 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12788 LD
="$lt_cv_path_LD"
12789 if test -n "$LD"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12791 $as_echo "$LD" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12796 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12798 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12799 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12800 $as_echo_n "(cached) " >&6
12802 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12803 case `$LD -v 2>&1 </dev/null` in
12804 *GNU
* |
*'with BFD'*)
12805 lt_cv_prog_gnu_ld
=yes
12808 lt_cv_prog_gnu_ld
=no
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12813 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12814 with_gnu_ld
=$lt_cv_prog_gnu_ld
12822 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12823 # archiving commands below assume that GNU ld is being used.
12824 if test "$with_gnu_ld" = yes; then
12825 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12826 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'
12828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12829 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12831 # If archive_cmds runs LD, not CC, wlarc should be empty
12832 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12833 # investigate it a little bit more. (MM)
12836 # ancient GNU ld didn't support --whole-archive et. al.
12837 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12838 $GREP 'no-whole-archive' > /dev
/null
; then
12839 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12841 whole_archive_flag_spec_CXX
=
12847 # A generic and very simple default shared library creation
12848 # command for GNU C++ for the case where it uses the native
12849 # linker, instead of GNU ld. If possible, this setting should
12850 # overridden to take advantage of the native linker features on
12851 # the platform it is being used on.
12852 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12855 # Commands to make compiler produce verbose output that lists
12856 # what "hidden" libraries, object files and flags are used when
12857 # linking a shared library.
12858 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12866 # PORTME: fill in a description of your system's C++ link characteristics
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12868 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12872 # FIXME: insert proper C++ library support
12876 if test "$host_cpu" = ia64
; then
12877 # On IA64, the linker does run time linking by default, so we don't
12878 # have to do anything special.
12879 aix_use_runtimelinking
=no
12880 exp_sym_flag
='-Bexport'
12883 aix_use_runtimelinking
=no
12885 # Test if we are trying to use run time linking or normal
12886 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12887 # need to do runtime linking.
12888 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12889 for ld_flag
in $LDFLAGS; do
12892 aix_use_runtimelinking
=yes
12900 exp_sym_flag
='-bexport'
12901 no_entry_flag
='-bnoentry'
12904 # When large executables or shared objects are built, AIX ld can
12905 # have problems creating the table of contents. If linking a library
12906 # or program results in "error TOC overflow" add -mminimal-toc to
12907 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12908 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12910 archive_cmds_CXX
=''
12911 hardcode_direct_CXX
=yes
12912 hardcode_direct_absolute_CXX
=yes
12913 hardcode_libdir_separator_CXX
=':'
12914 link_all_deplibs_CXX
=yes
12915 file_list_spec_CXX
='${wl}-f,'
12917 if test "$GXX" = yes; then
12918 case $host_os in aix4.
[012]|aix4.
[012].
*)
12919 # We only want to do this on AIX 4.2 and lower, the check
12920 # below for broken collect2 doesn't work under 4.3+
12921 collect2name
=`${CC} -print-prog-name=collect2`
12922 if test -f "$collect2name" &&
12923 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12925 # We have reworked collect2
12928 # We have old collect2
12929 hardcode_direct_CXX
=unsupported
12930 # It fails to find uninstalled libraries when the uninstalled
12931 # path is not listed in the libpath. Setting hardcode_minus_L
12932 # to unsupported forces relinking
12933 hardcode_minus_L_CXX
=yes
12934 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12935 hardcode_libdir_separator_CXX
=
12938 shared_flag
='-shared'
12939 if test "$aix_use_runtimelinking" = yes; then
12940 shared_flag
="$shared_flag "'${wl}-G'
12944 if test "$host_cpu" = ia64
; then
12945 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12946 # chokes on -Wl,-G. The following line is correct:
12949 if test "$aix_use_runtimelinking" = yes; then
12950 shared_flag
='${wl}-G'
12952 shared_flag
='${wl}-bM:SRE'
12957 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12958 # It seems that -bexpall does not export symbols beginning with
12959 # underscore (_), so it is better to generate a list of symbols to
12961 always_export_symbols_CXX
=yes
12962 if test "$aix_use_runtimelinking" = yes; then
12963 # Warning - without using the other runtime loading flags (-brtl),
12964 # -berok will link without error, but may produce a broken library.
12965 allow_undefined_flag_CXX
='-berok'
12966 # Determine the default libpath from the value encoded in an empty
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12979 if ac_fn_cxx_try_link
"$LINENO"; then :
12981 lt_aix_libpath_sed
='
12982 /Import File Strings/,/^$/ {
12988 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12989 # Check for a 64-bit object if we didn't find anything.
12990 if test -z "$aix_libpath"; then
12991 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12994 rm -f core conftest.err conftest.
$ac_objext \
12995 conftest
$ac_exeext conftest.
$ac_ext
12996 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12998 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13000 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"
13002 if test "$host_cpu" = ia64
; then
13003 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13004 allow_undefined_flag_CXX
="-z nodefs"
13005 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"
13007 # Determine the default libpath from the value encoded in an
13008 # empty executable.
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13020 if ac_fn_cxx_try_link
"$LINENO"; then :
13022 lt_aix_libpath_sed
='
13023 /Import File Strings/,/^$/ {
13029 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13030 # Check for a 64-bit object if we didn't find anything.
13031 if test -z "$aix_libpath"; then
13032 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13035 rm -f core conftest.err conftest.
$ac_objext \
13036 conftest
$ac_exeext conftest.
$ac_ext
13037 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13039 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13040 # Warning - without using the other run time loading flags,
13041 # -berok will link without error, but may produce a broken library.
13042 no_undefined_flag_CXX
=' ${wl}-bernotok'
13043 allow_undefined_flag_CXX
=' ${wl}-berok'
13044 if test "$with_gnu_ld" = yes; then
13045 # We only use this code for GNU lds that support --whole-archive.
13046 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13048 # Exported symbols can be pulled into shared objects from archives
13049 whole_archive_flag_spec_CXX
='$convenience'
13051 archive_cmds_need_lc_CXX
=yes
13052 # This is similar to how AIX traditionally builds its shared
13054 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'
13060 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13061 allow_undefined_flag_CXX
=unsupported
13062 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13063 # support --undefined. This deserves some investigation. FIXME
13064 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13071 case $cc_basename in
13073 # FIXME: insert proper C++ library support
13079 cygwin
* | mingw
* | pw32
* | cegcc
*)
13080 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13081 # as there is no search path for DLLs.
13082 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13083 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13084 allow_undefined_flag_CXX
=unsupported
13085 always_export_symbols_CXX
=no
13086 enable_shared_with_static_runtimes_CXX
=yes
13088 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13089 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'
13090 # If the export-symbols file already is a .def file (1st line
13091 # is EXPORTS), use it as is; otherwise, prepend...
13092 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13093 cp $export_symbols $output_objdir/$soname.def;
13095 echo EXPORTS > $output_objdir/$soname.def;
13096 cat $export_symbols >> $output_objdir/$soname.def;
13098 $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'
13103 darwin
* | rhapsody
*)
13106 archive_cmds_need_lc_CXX
=no
13107 hardcode_direct_CXX
=no
13108 hardcode_automatic_CXX
=yes
13109 hardcode_shlibpath_var_CXX
=unsupported
13110 if test "$lt_cv_ld_force_load" = "yes"; then
13111 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\"`'
13113 whole_archive_flag_spec_CXX
=''
13115 link_all_deplibs_CXX
=yes
13116 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13117 case $cc_basename in
13118 ifort
*) _lt_dar_can_shared
=yes ;;
13119 *) _lt_dar_can_shared
=$GCC ;;
13121 if test "$_lt_dar_can_shared" = "yes"; then
13122 output_verbose_link_cmd
=func_echo_all
13123 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}"
13124 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13125 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}"
13126 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}"
13127 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13128 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}"
13129 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}"
13139 case $cc_basename in
13141 # FIXME: insert proper C++ library support
13145 # Green Hills C++ Compiler
13146 # FIXME: insert proper C++ library support
13150 # FIXME: insert proper C++ library support
13157 # C++ shared libraries reported to be fairly broken before
13163 archive_cmds_need_lc_CXX
=no
13166 freebsd
* | dragonfly
*)
13167 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13176 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13177 link_all_deplibs_CXX
=yes
13181 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13182 hardcode_libdir_separator_CXX
=:
13183 export_dynamic_flag_spec_CXX
='${wl}-E'
13184 hardcode_direct_CXX
=yes
13185 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13186 # but as the default
13187 # location of the library.
13189 case $cc_basename in
13191 # FIXME: insert proper C++ library support
13195 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'
13196 # Commands to make compiler produce verbose output that lists
13197 # what "hidden" libraries, object files and flags are used when
13198 # linking a shared library.
13200 # There doesn't appear to be a way to prevent this compiler from
13201 # explicitly linking system object files so we need to strip them
13202 # from the output so that they don't get included in the library
13204 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"'
13207 if test "$GXX" = yes; then
13208 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'
13210 # FIXME: insert proper C++ library support
13218 if test $with_gnu_ld = no
; then
13219 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13220 hardcode_libdir_separator_CXX
=:
13226 export_dynamic_flag_spec_CXX
='${wl}-E'
13232 hardcode_direct_CXX
=no
13233 hardcode_shlibpath_var_CXX
=no
13236 hardcode_direct_CXX
=yes
13237 hardcode_direct_absolute_CXX
=yes
13238 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13239 # but as the default
13240 # location of the library.
13244 case $cc_basename in
13246 # FIXME: insert proper C++ library support
13252 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13255 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13258 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13261 # Commands to make compiler produce verbose output that lists
13262 # what "hidden" libraries, object files and flags are used when
13263 # linking a shared library.
13265 # There doesn't appear to be a way to prevent this compiler from
13266 # explicitly linking system object files so we need to strip them
13267 # from the output so that they don't get included in the library
13269 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"'
13272 if test "$GXX" = yes; then
13273 if test $with_gnu_ld = no
; then
13276 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13279 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13282 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'
13287 # FIXME: insert proper C++ library support
13295 hardcode_direct_CXX
=no
13296 hardcode_shlibpath_var_CXX
=no
13297 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13298 export_dynamic_flag_spec_CXX
='${wl}-E'
13299 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13300 # Instead, shared libraries are loaded at an image base (0x10000000 by
13301 # default) and relocated if they conflict, which is a slow very memory
13302 # consuming and fragmenting process. To avoid this, we pick a random,
13303 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13304 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13305 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'
13306 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'
13309 case $cc_basename in
13312 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'
13314 # Archives containing C++ object files must be created using
13315 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13316 # necessary to make sure instantiated templates are included
13318 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13321 if test "$GXX" = yes; then
13322 if test "$with_gnu_ld" = no
; then
13323 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'
13325 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'
13328 link_all_deplibs_CXX
=yes
13331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13332 hardcode_libdir_separator_CXX
=:
13333 inherit_rpath_CXX
=yes
13336 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13337 case $cc_basename in
13339 # Kuck and Associates, Inc. (KAI) C++ Compiler
13341 # KCC will only create a shared library if the output file
13342 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13343 # to its proper name (with version) after linking.
13344 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'
13345 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'
13346 # Commands to make compiler produce verbose output that lists
13347 # what "hidden" libraries, object files and flags are used when
13348 # linking a shared library.
13350 # There doesn't appear to be a way to prevent this compiler from
13351 # explicitly linking system object files so we need to strip them
13352 # from the output so that they don't get included in the library
13354 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"'
13356 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13357 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13359 # Archives containing C++ object files must be created using
13360 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13361 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13366 # version 8.0 and above of icpc choke on multiply defined symbols
13367 # if we add $predep_objects and $postdep_objects, however 7.1 and
13368 # earlier do not add the objects themselves.
13369 case `$CC -V 2>&1` in
13371 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13372 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'
13374 *) # Version 8.0 or newer
13377 ia64
*) tmp_idyn
=' -i_dynamic';;
13379 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380 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'
13383 archive_cmds_need_lc_CXX
=no
13384 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13385 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13386 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13389 # Portland Group C++ compiler
13391 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13392 prelink_cmds_CXX
='tpldir=Template.dir~
13394 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13395 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13396 old_archive_cmds_CXX
='tpldir=Template.dir~
13398 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13399 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13401 archive_cmds_CXX
='tpldir=Template.dir~
13403 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13404 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13405 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13407 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13408 $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'
13410 *) # Version 6 and above use weak symbols
13411 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13412 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'
13416 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13417 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13418 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'
13422 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13423 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'
13425 runpath_var
=LD_RUN_PATH
13426 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13427 hardcode_libdir_separator_CXX
=:
13429 # Commands to make compiler produce verbose output that lists
13430 # what "hidden" libraries, object files and flags are used when
13431 # linking a shared library.
13433 # There doesn't appear to be a way to prevent this compiler from
13434 # explicitly linking system object files so we need to strip them
13435 # from the output so that they don't get included in the library
13437 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'
13439 xl
* | mpixl
* | bgxl
*)
13440 # IBM XL 8.0 on PPC, with GNU ld
13441 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13442 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13443 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 if test "x$supports_anon_versioning" = xyes
; then
13445 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13446 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13447 echo "local: *; };" >> $output_objdir/$libname.ver~
13448 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13452 case `$CC -V 2>&1 | sed 5q` in
13455 no_undefined_flag_CXX
=' -zdefs'
13456 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13457 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'
13458 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13459 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'
13460 compiler_needs_object_CXX
=yes
13462 # Not sure whether something based on
13463 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13465 output_verbose_link_cmd
='func_echo_all'
13467 # Archives containing C++ object files must be created using
13468 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13469 # necessary to make sure instantiated templates are included
13471 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13479 # FIXME: insert proper C++ library support
13484 # FIXME: insert proper C++ library support
13489 case $cc_basename in
13491 # FIXME: insert proper C++ library support
13495 # FIXME: insert proper C++ library support
13502 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13503 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13505 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13506 hardcode_direct_CXX
=yes
13507 hardcode_shlibpath_var_CXX
=no
13509 # Workaround some broken pre-1.5 toolchains
13510 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13518 # C++ shared libraries are fairly broken
13523 if test -f /usr
/libexec
/ld.so
; then
13524 hardcode_direct_CXX
=yes
13525 hardcode_shlibpath_var_CXX
=no
13526 hardcode_direct_absolute_CXX
=yes
13527 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13528 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13529 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13530 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13531 export_dynamic_flag_spec_CXX
='${wl}-E'
13532 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13534 output_verbose_link_cmd
=func_echo_all
13540 osf3
* | osf4
* | osf5
*)
13541 case $cc_basename in
13543 # Kuck and Associates, Inc. (KAI) C++ Compiler
13545 # KCC will only create a shared library if the output file
13546 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13547 # to its proper name (with version) after linking.
13548 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'
13550 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13551 hardcode_libdir_separator_CXX
=:
13553 # Archives containing C++ object files must be created using
13554 # the KAI C++ compiler.
13556 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13557 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13561 # Rational C++ 2.4.1
13562 # FIXME: insert proper C++ library support
13568 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13569 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'
13570 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13573 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13574 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'
13575 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13576 echo "-hidden">> $lib.exp~
13577 $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~
13579 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13583 hardcode_libdir_separator_CXX
=:
13585 # Commands to make compiler produce verbose output that lists
13586 # what "hidden" libraries, object files and flags are used when
13587 # linking a shared library.
13589 # There doesn't appear to be a way to prevent this compiler from
13590 # explicitly linking system object files so we need to strip them
13591 # from the output so that they don't get included in the library
13593 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"'
13596 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13597 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13600 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'
13603 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'
13607 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13608 hardcode_libdir_separator_CXX
=:
13610 # Commands to make compiler produce verbose output that lists
13611 # what "hidden" libraries, object files and flags are used when
13612 # linking a shared library.
13613 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13616 # FIXME: insert proper C++ library support
13624 # FIXME: insert proper C++ library support
13629 case $cc_basename in
13632 # FIXME: insert proper C++ library support
13637 # FIXME: insert proper C++ library support
13641 # FIXME: insert proper C++ library support
13648 case $cc_basename in
13650 # Sun C++ 4.2, 5.x and Centerline C++
13651 archive_cmds_need_lc_CXX
=yes
13652 no_undefined_flag_CXX
=' -zdefs'
13653 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13654 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13655 $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'
13657 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13658 hardcode_shlibpath_var_CXX
=no
13660 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13662 # The compiler driver will combine and reorder linker options,
13663 # but understands `-z linker_flag'.
13664 # Supported since Solaris 2.6 (maybe 2.5.1?)
13665 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13668 link_all_deplibs_CXX
=yes
13670 output_verbose_link_cmd
='func_echo_all'
13672 # Archives containing C++ object files must be created using
13673 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13674 # necessary to make sure instantiated templates are included
13676 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13679 # Green Hills C++ Compiler
13680 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13682 # The C++ compiler must be used to create the archive.
13683 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13686 # GNU C++ compiler with Solaris linker
13687 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13688 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13689 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13690 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13691 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13692 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13694 # Commands to make compiler produce verbose output that lists
13695 # what "hidden" libraries, object files and flags are used when
13696 # linking a shared library.
13697 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13699 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13701 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13702 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13703 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13705 # Commands to make compiler produce verbose output that lists
13706 # what "hidden" libraries, object files and flags are used when
13707 # linking a shared library.
13708 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13711 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13713 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13715 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13723 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13724 no_undefined_flag_CXX
='${wl}-z,text'
13725 archive_cmds_need_lc_CXX
=no
13726 hardcode_shlibpath_var_CXX
=no
13727 runpath_var
='LD_RUN_PATH'
13729 case $cc_basename in
13731 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13732 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13735 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13736 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13741 sysv5
* | sco3.2v5
* | sco5v6
*)
13742 # Note: We can NOT use -z defs as we might desire, because we do not
13743 # link with -lc, and that would cause any symbols used from libc to
13744 # always be unresolved, which means just about no library would
13745 # ever link correctly. If we're not using GNU ld we use -z text
13746 # though, which does catch some bad symbols but isn't as heavy-handed
13748 no_undefined_flag_CXX
='${wl}-z,text'
13749 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13750 archive_cmds_need_lc_CXX
=no
13751 hardcode_shlibpath_var_CXX
=no
13752 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13753 hardcode_libdir_separator_CXX
=':'
13754 link_all_deplibs_CXX
=yes
13755 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13756 runpath_var
='LD_RUN_PATH'
13758 case $cc_basename in
13760 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13761 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13762 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13763 '"$old_archive_cmds_CXX"
13764 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13765 '"$reload_cmds_CXX"
13768 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13769 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13775 case $cc_basename in
13777 # NonStop-UX NCC 3.20
13778 # FIXME: insert proper C++ library support
13782 # FIXME: insert proper C++ library support
13789 # FIXME: insert proper C++ library support
13794 # FIXME: insert proper C++ library support
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13800 $as_echo "$ld_shlibs_CXX" >&6; }
13801 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13807 ## There is no encapsulation within the following macros, do not change
13808 ## the running order or otherwise move them around unless you know exactly
13809 ## what you are doing...
13810 # Dependencies to place before and after the object being linked:
13811 predep_objects_CXX
=
13812 postdep_objects_CXX
=
13815 compiler_lib_search_path_CXX
=
13817 cat > conftest.
$ac_ext <<_LT_EOF
13821 Foo (void) { a = 0; }
13827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13828 (eval $ac_compile) 2>&5
13830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13831 test $ac_status = 0; }; then
13832 # Parse the compiler output and extract the necessary
13833 # objects, libraries and library flags.
13835 # Sentinel used to keep track of whether or not we are before
13836 # the conftest object file.
13837 pre_test_object_deps_done
=no
13839 for p
in `eval "$output_verbose_link_cmd"`; do
13843 # Some compilers place space between "-{L,R}" and the path.
13844 # Remove the space.
13845 if test $p = "-L" ||
13846 test $p = "-R"; then
13853 if test "$pre_test_object_deps_done" = no
; then
13856 # Internal compiler library paths should come after those
13857 # provided the user. The postdeps already come after the
13858 # user supplied libs so there is no need to process them.
13859 if test -z "$compiler_lib_search_path_CXX"; then
13860 compiler_lib_search_path_CXX
="${prev}${p}"
13862 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13865 # The "-l" case would never come before the object being
13866 # linked, so don't bother handling this case.
13869 if test -z "$postdeps_CXX"; then
13870 postdeps_CXX
="${prev}${p}"
13872 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13878 # This assumes that the test object file only shows up
13879 # once in the compiler output.
13880 if test "$p" = "conftest.$objext"; then
13881 pre_test_object_deps_done
=yes
13885 if test "$pre_test_object_deps_done" = no
; then
13886 if test -z "$predep_objects_CXX"; then
13887 predep_objects_CXX
="$p"
13889 predep_objects_CXX
="$predep_objects_CXX $p"
13892 if test -z "$postdep_objects_CXX"; then
13893 postdep_objects_CXX
="$p"
13895 postdep_objects_CXX
="$postdep_objects_CXX $p"
13900 *) ;; # Ignore the rest.
13908 echo "libtool.m4: error: problem compiling CXX test program"
13911 $RM -f confest.
$objext
13913 # PORTME: override above test on systems where it is broken
13916 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13917 # hack all around it, let's just trust "g++" to DTRT.
13918 predep_objects_CXX
=
13919 postdep_objects_CXX
=
13924 case `$CC -V 2>&1 | sed 5q` in
13928 # The more standards-conforming stlport4 library is
13929 # incompatible with the Cstd library. Avoid specifying
13930 # it if it's in CXXFLAGS. Ignore libCrun as
13931 # -library=stlport4 depends on it.
13932 case " $CXX $CXXFLAGS " in
13933 *" -library=stlport4 "*)
13934 solaris_use_stlport4
=yes
13938 if test "$solaris_use_stlport4" != yes; then
13939 postdeps_CXX
='-library=Cstd -library=Crun'
13946 case $cc_basename in
13948 # The more standards-conforming stlport4 library is
13949 # incompatible with the Cstd library. Avoid specifying
13950 # it if it's in CXXFLAGS. Ignore libCrun as
13951 # -library=stlport4 depends on it.
13952 case " $CXX $CXXFLAGS " in
13953 *" -library=stlport4 "*)
13954 solaris_use_stlport4
=yes
13958 # Adding this requires a known-good setup of shared libraries for
13959 # Sun compiler versions before 5.6, else PIC objects from an old
13960 # archive will be linked into the output, leading to subtle bugs.
13961 if test "$solaris_use_stlport4" != yes; then
13962 postdeps_CXX
='-library=Cstd -library=Crun'
13970 case " $postdeps_CXX " in
13971 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13973 compiler_lib_search_dirs_CXX
=
13974 if test -n "${compiler_lib_search_path_CXX}"; then
13975 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14008 lt_prog_compiler_wl_CXX
=
14009 lt_prog_compiler_pic_CXX
=
14010 lt_prog_compiler_static_CXX
=
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14013 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14015 # C++ specific cases for pic, static, wl, etc.
14016 if test "$GXX" = yes; then
14017 lt_prog_compiler_wl_CXX
='-Wl,'
14018 lt_prog_compiler_static_CXX
='-static'
14022 # All AIX code is PIC.
14023 if test "$host_cpu" = ia64
; then
14024 # AIX 5 now supports IA64 processor
14025 lt_prog_compiler_static_CXX
='-Bstatic'
14027 lt_prog_compiler_pic_CXX
='-fPIC'
14033 # see comment about AmigaOS4 .so support
14034 lt_prog_compiler_pic_CXX
='-fPIC'
14037 # FIXME: we need at least 68020 code to build shared libraries, but
14038 # adding the `-m68020' flag to GCC prevents building anything better,
14040 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14045 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14046 # PIC is the default for these OSes.
14048 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14049 # This hack is so that the source file can tell whether it is being
14050 # built for inclusion in a dll (and should export symbols for example).
14051 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14052 # (--disable-auto-import) libraries
14053 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14055 darwin
* | rhapsody
*)
14056 # PIC is the default on this platform
14057 # Common symbols not allowed in MH_DYLIB files
14058 lt_prog_compiler_pic_CXX
='-fno-common'
14061 # DJGPP does not support shared libraries at all
14062 lt_prog_compiler_pic_CXX
=
14065 # PIC is the default for Haiku.
14066 # The "-static" flag exists, but is broken.
14067 lt_prog_compiler_static_CXX
=
14070 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14071 # Instead, we relocate shared libraries at runtime.
14074 if test -d /usr
/nec
; then
14075 lt_prog_compiler_pic_CXX
=-Kconform_pic
14079 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14080 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14081 # sets the default TLS model and affects inlining.
14086 lt_prog_compiler_pic_CXX
='-fPIC'
14091 # QNX uses GNU C++, but need to define -shared option too, otherwise
14092 # it will coredump.
14093 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14096 lt_prog_compiler_pic_CXX
='-fPIC'
14102 # All AIX code is PIC.
14103 if test "$host_cpu" = ia64
; then
14104 # AIX 5 now supports IA64 processor
14105 lt_prog_compiler_static_CXX
='-Bstatic'
14107 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14111 case $cc_basename in
14113 # Green Hills C++ Compiler
14114 # _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"
14119 case $cc_basename in
14121 lt_prog_compiler_pic_CXX
='-KPIC'
14124 # Green Hills C++ Compiler
14125 lt_prog_compiler_pic_CXX
='-pic'
14131 freebsd
* | dragonfly
*)
14132 # FreeBSD uses GNU C++
14134 hpux9
* | hpux10
* | hpux11
*)
14135 case $cc_basename in
14137 lt_prog_compiler_wl_CXX
='-Wl,'
14138 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14139 if test "$host_cpu" != ia64
; then
14140 lt_prog_compiler_pic_CXX
='+Z'
14144 lt_prog_compiler_wl_CXX
='-Wl,'
14145 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14151 lt_prog_compiler_pic_CXX
='+Z'
14160 # This is c89, which is MS Visual C++ (no shared libs)
14161 # Anyone wants to do a port?
14163 irix5
* | irix6
* | nonstopux
*)
14164 case $cc_basename in
14166 lt_prog_compiler_wl_CXX
='-Wl,'
14167 lt_prog_compiler_static_CXX
='-non_shared'
14168 # CC pic flag -KPIC is the default.
14174 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14175 case $cc_basename in
14178 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14179 lt_prog_compiler_pic_CXX
='-fPIC'
14182 # old Intel C++ for x86_64 which still supported -KPIC.
14183 lt_prog_compiler_wl_CXX
='-Wl,'
14184 lt_prog_compiler_pic_CXX
='-KPIC'
14185 lt_prog_compiler_static_CXX
='-static'
14188 # Intel C++, used to be incompatible with GCC.
14189 # ICC 10 doesn't accept -KPIC any more.
14190 lt_prog_compiler_wl_CXX
='-Wl,'
14191 lt_prog_compiler_pic_CXX
='-fPIC'
14192 lt_prog_compiler_static_CXX
='-static'
14195 # Portland Group C++ compiler
14196 lt_prog_compiler_wl_CXX
='-Wl,'
14197 lt_prog_compiler_pic_CXX
='-fpic'
14198 lt_prog_compiler_static_CXX
='-Bstatic'
14202 # Make sure the PIC flag is empty. It appears that all Alpha
14203 # Linux and Compaq Tru64 Unix objects are PIC.
14204 lt_prog_compiler_pic_CXX
=
14205 lt_prog_compiler_static_CXX
='-non_shared'
14207 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14208 # IBM XL 8.0, 9.0 on PPC and BlueGene
14209 lt_prog_compiler_wl_CXX
='-Wl,'
14210 lt_prog_compiler_pic_CXX
='-qpic'
14211 lt_prog_compiler_static_CXX
='-qstaticlink'
14214 case `$CC -V 2>&1 | sed 5q` in
14217 lt_prog_compiler_pic_CXX
='-KPIC'
14218 lt_prog_compiler_static_CXX
='-Bstatic'
14219 lt_prog_compiler_wl_CXX
='-Qoption ld '
14230 case $cc_basename in
14232 lt_prog_compiler_pic_CXX
='-W c,exportall'
14241 # QNX uses GNU C++, but need to define -shared option too, otherwise
14242 # it will coredump.
14243 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14245 osf3
* | osf4
* | osf5
*)
14246 case $cc_basename in
14248 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14251 # Rational C++ 2.4.1
14252 lt_prog_compiler_pic_CXX
='-pic'
14255 # Digital/Compaq C++
14256 lt_prog_compiler_wl_CXX
='-Wl,'
14257 # Make sure the PIC flag is empty. It appears that all Alpha
14258 # Linux and Compaq Tru64 Unix objects are PIC.
14259 lt_prog_compiler_pic_CXX
=
14260 lt_prog_compiler_static_CXX
='-non_shared'
14269 case $cc_basename in
14271 # Sun C++ 4.2, 5.x and Centerline C++
14272 lt_prog_compiler_pic_CXX
='-KPIC'
14273 lt_prog_compiler_static_CXX
='-Bstatic'
14274 lt_prog_compiler_wl_CXX
='-Qoption ld '
14277 # Green Hills C++ Compiler
14278 lt_prog_compiler_pic_CXX
='-PIC'
14285 case $cc_basename in
14288 lt_prog_compiler_pic_CXX
='-pic'
14289 lt_prog_compiler_static_CXX
='-Bstatic'
14293 lt_prog_compiler_pic_CXX
='-pic'
14299 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14300 case $cc_basename in
14302 lt_prog_compiler_wl_CXX
='-Wl,'
14303 lt_prog_compiler_pic_CXX
='-KPIC'
14304 lt_prog_compiler_static_CXX
='-Bstatic'
14309 case $cc_basename in
14311 # NonStop-UX NCC 3.20
14312 lt_prog_compiler_pic_CXX
='-KPIC'
14321 lt_prog_compiler_can_build_shared_CXX
=no
14327 # For platforms which do not support PIC, -DPIC is meaningless:
14329 lt_prog_compiler_pic_CXX
=
14332 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14336 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14341 # Check to make sure the PIC flag actually works.
14343 if test -n "$lt_prog_compiler_pic_CXX"; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14345 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14346 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14347 $as_echo_n "(cached) " >&6
14349 lt_cv_prog_compiler_pic_works_CXX
=no
14350 ac_outfile
=conftest.
$ac_objext
14351 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14352 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14353 # Insert the option either (1) after the last *FLAGS variable, or
14354 # (2) before a word containing "conftest.", or (3) at the end.
14355 # Note that $ac_compile itself does not contain backslashes and begins
14356 # with a dollar sign (not a hyphen), so the echo should work correctly.
14357 # The option is referenced via a variable to avoid confusing sed.
14358 lt_compile
=`echo "$ac_compile" | $SED \
14359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14361 -e 's:$: $lt_compiler_flag:'`
14362 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14363 (eval "$lt_compile" 2>conftest.err
)
14365 cat conftest.err
>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 if (exit $ac_status) && test -s "$ac_outfile"; then
14368 # The compiler can only warn and ignore the option if not recognized
14369 # So say no if there are warnings other than the usual output.
14370 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14371 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14372 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14373 lt_cv_prog_compiler_pic_works_CXX
=yes
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14380 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14382 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14383 case $lt_prog_compiler_pic_CXX in
14385 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14388 lt_prog_compiler_pic_CXX
=
14389 lt_prog_compiler_can_build_shared_CXX
=no
14397 # Check to make sure the static flag actually works.
14399 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14401 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14402 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14403 $as_echo_n "(cached) " >&6
14405 lt_cv_prog_compiler_static_works_CXX
=no
14406 save_LDFLAGS
="$LDFLAGS"
14407 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14408 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14410 # The linker can only warn and ignore the option if not recognized
14411 # So say no if there are warnings
14412 if test -s conftest.err
; then
14413 # Append any errors to the config.log.
14414 cat conftest.err
1>&5
14415 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14417 if diff conftest.exp conftest.er2
>/dev
/null
; then
14418 lt_cv_prog_compiler_static_works_CXX
=yes
14421 lt_cv_prog_compiler_static_works_CXX
=yes
14425 LDFLAGS
="$save_LDFLAGS"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14429 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14431 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14434 lt_prog_compiler_static_CXX
=
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14441 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14442 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14443 $as_echo_n "(cached) " >&6
14445 lt_cv_prog_compiler_c_o_CXX
=no
14446 $RM -r conftest
2>/dev
/null
14450 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14452 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14453 # Insert the option either (1) after the last *FLAGS variable, or
14454 # (2) before a word containing "conftest.", or (3) at the end.
14455 # Note that $ac_compile itself does not contain backslashes and begins
14456 # with a dollar sign (not a hyphen), so the echo should work correctly.
14457 lt_compile
=`echo "$ac_compile" | $SED \
14458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14460 -e 's:$: $lt_compiler_flag:'`
14461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14462 (eval "$lt_compile" 2>out
/conftest.err
)
14464 cat out
/conftest.err
>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14468 # The compiler can only warn and ignore the option if not recognized
14469 # So say no if there are warnings
14470 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14471 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14472 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14473 lt_cv_prog_compiler_c_o_CXX
=yes
14478 # SGI C++ compiler will create directory out/ii_files/ for
14479 # template instantiation
14480 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14481 $RM out
/* && rmdir out
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14488 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14493 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14494 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14497 lt_cv_prog_compiler_c_o_CXX
=no
14498 $RM -r conftest
2>/dev
/null
14502 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14504 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14505 # Insert the option either (1) after the last *FLAGS variable, or
14506 # (2) before a word containing "conftest.", or (3) at the end.
14507 # Note that $ac_compile itself does not contain backslashes and begins
14508 # with a dollar sign (not a hyphen), so the echo should work correctly.
14509 lt_compile
=`echo "$ac_compile" | $SED \
14510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14512 -e 's:$: $lt_compiler_flag:'`
14513 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14514 (eval "$lt_compile" 2>out
/conftest.err
)
14516 cat out
/conftest.err
>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14520 # The compiler can only warn and ignore the option if not recognized
14521 # So say no if there are warnings
14522 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14523 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14524 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14525 lt_cv_prog_compiler_c_o_CXX
=yes
14530 # SGI C++ compiler will create directory out/ii_files/ for
14531 # template instantiation
14532 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14533 $RM out
/* && rmdir out
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14540 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14545 hard_links
="nottested"
14546 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14547 # do not overwrite the value of need_locks provided by the user
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14549 $as_echo_n "checking if we can lock with hard links... " >&6; }
14552 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14554 ln conftest.a conftest.b
2>&5 || hard_links
=no
14555 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14557 $as_echo "$hard_links" >&6; }
14558 if test "$hard_links" = no
; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14560 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14570 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14572 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14575 # If we're using GNU nm, then we don't want the "-C" option.
14576 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14577 # Also, AIX nm treats weak defined symbols like other global defined
14578 # symbols, whereas GNU nm marks them as "W".
14579 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14580 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'
14582 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'
14586 export_symbols_cmds_CXX
="$ltdll_cmds"
14588 cygwin
* | mingw
* | cegcc
*)
14589 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'
14592 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14595 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14598 $as_echo "$ld_shlibs_CXX" >&6; }
14599 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14601 with_gnu_ld_CXX
=$with_gnu_ld
14609 # Do we need to explicitly link libc?
14611 case "x$archive_cmds_need_lc_CXX" in
14613 # Assume -lc should be added
14614 archive_cmds_need_lc_CXX
=yes
14616 if test "$enable_shared" = yes && test "$GCC" = yes; then
14617 case $archive_cmds_CXX in
14619 # FIXME: we may have to deal with multi-command sequences.
14622 # Test whether the compiler implicitly links with -lc since on some
14623 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14624 # to ld, don't add -lc before -lgcc.
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14626 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14627 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14628 $as_echo_n "(cached) " >&6
14631 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14634 (eval $ac_compile) 2>&5
14636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14637 test $ac_status = 0; } 2>conftest.err
; then
14640 libobjs
=conftest.
$ac_objext
14642 wl
=$lt_prog_compiler_wl_CXX
14643 pic_flag
=$lt_prog_compiler_pic_CXX
14649 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14650 allow_undefined_flag_CXX
=
14651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14652 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14655 test $ac_status = 0; }
14657 lt_cv_archive_cmds_need_lc_CXX
=no
14659 lt_cv_archive_cmds_need_lc_CXX
=yes
14661 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14663 cat conftest.err
1>&5
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14669 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14670 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14741 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14743 library_names_spec
=
14744 libname_spec
='lib$name'
14748 postuninstall_cmds
=
14752 shlibpath_overrides_runpath
=unknown
14754 dynamic_linker
="$host_os ld.so"
14755 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14756 need_lib_prefix
=unknown
14757 hardcode_into_libs
=no
14759 # when you set need_version to no, make sure it does not cause -set_version
14760 # flags to be left without arguments
14761 need_version
=unknown
14766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14767 shlibpath_var
=LIBPATH
14769 # AIX 3 has no versioning support, so we append a major version to the name.
14770 soname_spec
='${libname}${release}${shared_ext}$major'
14777 hardcode_into_libs
=yes
14778 if test "$host_cpu" = ia64
; then
14779 # AIX 5 supports IA64
14780 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14781 shlibpath_var
=LD_LIBRARY_PATH
14783 # With GCC up to 2.95.x, collect2 would create an import file
14784 # for dependence libraries. The import file would start with
14785 # the line `#! .'. This would cause the generated library to
14786 # depend on `.', always an invalid library. This was fixed in
14787 # development snapshots of GCC prior to 3.0.
14789 aix4 | aix4.
[01] | aix4.
[01].
*)
14790 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14792 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14795 can_build_shared
=no
14799 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14800 # soname into executable. Probably we can add versioning support to
14801 # collect2, so additional links can be useful in future.
14802 if test "$aix_use_runtimelinking" = yes; then
14803 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14804 # instead of lib<name>.a to let people know that these are not
14805 # typical AIX shared libraries.
14806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14808 # We preserve .a as extension for shared libraries through AIX4.2
14809 # and later when we are not doing run time linking.
14810 library_names_spec
='${libname}${release}.a $libname.a'
14811 soname_spec
='${libname}${release}${shared_ext}$major'
14813 shlibpath_var
=LIBPATH
14820 # Since July 2007 AmigaOS4 officially supports .so libraries.
14821 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 library_names_spec
='$libname.ixlibrary $libname.a'
14826 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14827 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'
14833 library_names_spec
='${libname}${shared_ext}'
14834 dynamic_linker
="$host_os ld.so"
14835 shlibpath_var
=LIBRARY_PATH
14841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14842 soname_spec
='${libname}${release}${shared_ext}$major'
14843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14844 shlibpath_var
=LD_LIBRARY_PATH
14845 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14846 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14847 # the default ld.so.conf also contains /usr/contrib/lib and
14848 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14849 # libtool to hard-code these into programs
14852 cygwin
* | mingw
* | pw32
* | cegcc
*)
14853 version_type
=windows
14858 case $GCC,$host_os in
14859 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14860 library_names_spec
='$libname.dll.a'
14861 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14862 postinstall_cmds
='base_file=`basename \${file}`~
14863 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14864 dldir=$destdir/`dirname \$dlpath`~
14865 test -d \$dldir || mkdir -p \$dldir~
14866 $install_prog $dir/$dlname \$dldir/$dlname~
14867 chmod a+x \$dldir/$dlname~
14868 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14869 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14871 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14872 dlpath=$dir/\$dldll~
14874 shlibpath_overrides_runpath
=yes
14878 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14879 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14883 # MinGW DLLs use traditional 'lib' prefix
14884 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14887 # pw32 DLLs use 'pw' prefix rather than 'lib'
14888 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14894 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14897 dynamic_linker
='Win32 ld.exe'
14898 # FIXME: first we should search . and the directory the executable is in
14902 darwin
* | rhapsody
*)
14903 dynamic_linker
="$host_os dyld"
14904 version_type
=darwin
14907 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14908 soname_spec
='${libname}${release}${major}$shared_ext'
14909 shlibpath_overrides_runpath
=yes
14910 shlibpath_var
=DYLD_LIBRARY_PATH
14911 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14913 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14921 soname_spec
='${libname}${release}${shared_ext}$major'
14922 shlibpath_var
=LD_LIBRARY_PATH
14925 freebsd
* | dragonfly
*)
14926 # DragonFly does not have aout. When/if they implement a new
14927 # versioning mechanism, adjust this.
14928 if test -x /usr
/bin
/objformat
; then
14929 objformat
=`/usr/bin/objformat`
14932 freebsd
[23].
*) objformat
=aout
;;
14933 *) objformat
=elf
;;
14936 version_type
=freebsd-
$objformat
14937 case $version_type in
14939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14944 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14948 shlibpath_var
=LD_LIBRARY_PATH
14951 shlibpath_overrides_runpath
=yes
14953 freebsd3.
[01]* | freebsdelf3.
[01]*)
14954 shlibpath_overrides_runpath
=yes
14955 hardcode_into_libs
=yes
14957 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14958 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14959 shlibpath_overrides_runpath
=no
14960 hardcode_into_libs
=yes
14962 *) # from 4.6 on, and DragonFly
14963 shlibpath_overrides_runpath
=yes
14964 hardcode_into_libs
=yes
14973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14974 soname_spec
='${libname}${release}${shared_ext}$major'
14975 shlibpath_var
=LD_LIBRARY_PATH
14976 hardcode_into_libs
=yes
14983 dynamic_linker
="$host_os runtime_loader"
14984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14985 soname_spec
='${libname}${release}${shared_ext}$major'
14986 shlibpath_var
=LIBRARY_PATH
14987 shlibpath_overrides_runpath
=yes
14988 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14989 hardcode_into_libs
=yes
14992 hpux9
* | hpux10
* | hpux11
*)
14993 # Give a soname corresponding to the major version so that dld.sl refuses to
14994 # link against other versions.
15001 hardcode_into_libs
=yes
15002 dynamic_linker
="$host_os dld.so"
15003 shlibpath_var
=LD_LIBRARY_PATH
15004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 soname_spec
='${libname}${release}${shared_ext}$major'
15007 if test "X$HPUX_IA64_MODE" = X32
; then
15008 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15016 hardcode_into_libs
=yes
15017 dynamic_linker
="$host_os dld.sl"
15018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15021 soname_spec
='${libname}${release}${shared_ext}$major'
15022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15027 dynamic_linker
="$host_os dld.sl"
15028 shlibpath_var
=SHLIB_PATH
15029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15031 soname_spec
='${libname}${release}${shared_ext}$major'
15034 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15035 postinstall_cmds
='chmod 555 $lib'
15036 # or fails outright, so override atomically:
15037 install_override_mode
=555
15044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15045 soname_spec
='${libname}${release}${shared_ext}$major'
15046 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15047 shlibpath_var
=LD_LIBRARY_PATH
15048 shlibpath_overrides_runpath
=no
15049 hardcode_into_libs
=yes
15052 irix5
* | irix6
* | nonstopux
*)
15054 nonstopux
*) version_type
=nonstopux
;;
15056 if test "$lt_cv_prog_gnu_ld" = yes; then
15064 soname_spec
='${libname}${release}${shared_ext}$major'
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15067 irix5
* | nonstopux
*)
15068 libsuff
= shlibsuff
=
15071 case $LD in # libtool.m4 will add one of these switches to LD
15072 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15073 libsuff
= shlibsuff
= libmagic
=32-bit;;
15074 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15075 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15076 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15077 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15078 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15082 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15083 shlibpath_overrides_runpath
=no
15084 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15085 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15086 hardcode_into_libs
=yes
15089 # No shared lib support for Linux oldld, aout, or coff.
15090 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15094 # This must be Linux ELF.
15095 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15100 soname_spec
='${libname}${release}${shared_ext}$major'
15101 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15102 shlibpath_var
=LD_LIBRARY_PATH
15103 shlibpath_overrides_runpath
=no
15105 # Some binutils ld are patched to set DT_RUNPATH
15106 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15109 lt_cv_shlibpath_overrides_runpath
=no
15110 save_LDFLAGS
=$LDFLAGS
15111 save_libdir
=$libdir
15112 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15113 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15125 if ac_fn_cxx_try_link
"$LINENO"; then :
15126 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15127 lt_cv_shlibpath_overrides_runpath
=yes
15130 rm -f core conftest.err conftest.
$ac_objext \
15131 conftest
$ac_exeext conftest.
$ac_ext
15132 LDFLAGS
=$save_LDFLAGS
15133 libdir
=$save_libdir
15137 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15139 # This implies no fast_install, which is unacceptable.
15140 # Some rework will be needed to allow for fast_install
15141 # before this can be enabled.
15142 hardcode_into_libs
=yes
15144 # Append ld.so.conf contents to the search path
15145 if test -f /etc
/ld.so.conf
; then
15146 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' ' '`
15147 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15150 # We used to test for /lib/ld.so.1 and disable shared libraries on
15151 # powerpc, because MkLinux only supported shared libraries with the
15152 # GNU dynamic linker. Since this was broken with cross compilers,
15153 # most powerpc-linux boxes support dynamic linking these days and
15154 # people can always --disable-shared, the test was removed, and we
15155 # assume the GNU/Linux dynamic linker is in use.
15156 dynamic_linker
='GNU/Linux ld.so'
15163 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15166 dynamic_linker
='NetBSD (a.out) ld.so'
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15169 soname_spec
='${libname}${release}${shared_ext}$major'
15170 dynamic_linker
='NetBSD ld.elf_so'
15172 shlibpath_var
=LD_LIBRARY_PATH
15173 shlibpath_overrides_runpath
=yes
15174 hardcode_into_libs
=yes
15179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 shlibpath_var
=LD_LIBRARY_PATH
15181 shlibpath_overrides_runpath
=yes
15188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189 soname_spec
='${libname}${release}${shared_ext}$major'
15190 shlibpath_var
=LD_LIBRARY_PATH
15191 shlibpath_overrides_runpath
=no
15192 hardcode_into_libs
=yes
15193 dynamic_linker
='ldqnx.so'
15198 sys_lib_dlsearch_path_spec
="/usr/lib"
15200 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15202 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15203 *) need_version
=no
;;
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15207 shlibpath_var
=LD_LIBRARY_PATH
15208 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15210 openbsd2.
[89] | openbsd2.
[89].
*)
15211 shlibpath_overrides_runpath
=no
15214 shlibpath_overrides_runpath
=yes
15218 shlibpath_overrides_runpath
=yes
15223 libname_spec
='$name'
15226 library_names_spec
='$libname${shared_ext} $libname.a'
15227 dynamic_linker
='OS/2 ld.exe'
15228 shlibpath_var
=LIBPATH
15231 osf3
* | osf4
* | osf5
*)
15235 soname_spec
='${libname}${release}${shared_ext}$major'
15236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237 shlibpath_var
=LD_LIBRARY_PATH
15238 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15239 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 soname_spec
='${libname}${release}${shared_ext}$major'
15252 shlibpath_var
=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath
=yes
15254 hardcode_into_libs
=yes
15255 # ldd complains unless libraries are executable
15256 postinstall_cmds
='chmod +x $lib'
15261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15262 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15263 shlibpath_var
=LD_LIBRARY_PATH
15264 shlibpath_overrides_runpath
=yes
15265 if test "$with_gnu_ld" = yes; then
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 shlibpath_var
=LD_LIBRARY_PATH
15276 case $host_vendor in
15278 shlibpath_overrides_runpath
=no
15280 runpath_var
=LD_RUN_PATH
15288 shlibpath_overrides_runpath
=no
15289 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15295 if test -d /usr
/nec
;then
15297 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15298 soname_spec
='$libname${shared_ext}.$major'
15299 shlibpath_var
=LD_LIBRARY_PATH
15303 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15304 version_type
=freebsd-elf
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 shlibpath_var
=LD_LIBRARY_PATH
15310 shlibpath_overrides_runpath
=yes
15311 hardcode_into_libs
=yes
15312 if test "$with_gnu_ld" = yes; then
15313 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15315 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15318 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15322 sys_lib_dlsearch_path_spec
='/usr/lib'
15326 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15331 shlibpath_var
=LD_LIBRARY_PATH
15332 shlibpath_overrides_runpath
=no
15333 hardcode_into_libs
=yes
15338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15339 soname_spec
='${libname}${release}${shared_ext}$major'
15340 shlibpath_var
=LD_LIBRARY_PATH
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15348 $as_echo "$dynamic_linker" >&6; }
15349 test "$dynamic_linker" = no
&& can_build_shared
=no
15351 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15352 if test "$GCC" = yes; then
15353 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15356 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15357 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15359 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15360 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15401 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15402 hardcode_action_CXX
=
15403 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15404 test -n "$runpath_var_CXX" ||
15405 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15407 # We can hardcode non-existent directories.
15408 if test "$hardcode_direct_CXX" != no
&&
15409 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15410 # have to relink, otherwise we might link with an installed library
15411 # when we should be linking with a yet-to-be-installed one
15412 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15413 test "$hardcode_minus_L_CXX" != no
; then
15414 # Linking always hardcodes the temporary library directory.
15415 hardcode_action_CXX
=relink
15417 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15418 hardcode_action_CXX
=immediate
15421 # We cannot hardcode anything, or else we can only hardcode existing
15423 hardcode_action_CXX
=unsupported
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15426 $as_echo "$hardcode_action_CXX" >&6; }
15428 if test "$hardcode_action_CXX" = relink ||
15429 test "$inherit_rpath_CXX" = yes; then
15430 # Fast installation is not supported
15431 enable_fast_install
=no
15432 elif test "$shlibpath_overrides_runpath" = yes ||
15433 test "$enable_shared" = no
; then
15434 # Fast installation is not necessary
15435 enable_fast_install
=needless
15444 fi # test -n "$compiler"
15450 with_gnu_ld
=$lt_save_with_gnu_ld
15451 lt_cv_path_LDCXX
=$lt_cv_path_LD
15452 lt_cv_path_LD
=$lt_save_path_LD
15453 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15454 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15455 fi # test "$_lt_caught_CXX_error" != yes
15458 ac_cpp
='$CPP $CPPFLAGS'
15459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15475 ac_config_commands
="$ac_config_commands libtool"
15480 # Only expand once:
15486 # For libtool versioning info, format is CURRENT:REVISION:AGE
15487 libtool_VERSION
=1:0:0
15490 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15493 if test "${multilib}" = "yes"; then
15494 multilib_arg
="--enable-multilib"
15499 ac_config_files
="$ac_config_files Makefile"
15502 if test "x$VTV_SUPPORTED" = "xyes"; then
15503 ac_config_files
="$ac_config_files ./Makefile testsuite/Makefile"
15507 cat >confcache
<<\_ACEOF
15508 # This file is a shell script that caches the results of configure
15509 # tests run on this system so they can be shared between configure
15510 # scripts and configure runs, see configure's option --config-cache.
15511 # It is not useful on other systems. If it contains results you don't
15512 # want to keep, you may remove or edit it.
15514 # config.status only pays attention to the cache file if you give it
15515 # the --recheck option to rerun configure.
15517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15519 # following values.
15523 # The following way of writing the cache mishandles newlines in values,
15524 # but we know of no workaround that is simple, portable, and efficient.
15525 # So, we kill variables containing newlines.
15526 # Ultrix sh set writes to stderr and can't be redirected directly,
15527 # and sets the high bit in the cache file unless we assign to the vars.
15529 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15530 eval ac_val
=\$
$ac_var
15534 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15538 _ | IFS | as_nl
) ;; #(
15539 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15540 *) { eval $ac_var=; unset $ac_var;} ;;
15546 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15547 *${as_nl}ac_space
=\
*)
15548 # `set' does not quote correctly, so add quotes: double-quote
15549 # substitution turns \\\\ into \\, and sed turns \\ into \.
15552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15555 # `set' quotes correctly as required by POSIX, so do not add quotes.
15556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15569 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15570 if test -w "$cache_file"; then
15571 test "x$cache_file" != "x/dev/null" &&
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15573 $as_echo "$as_me: updating cache $cache_file" >&6;}
15574 cat confcache
>$cache_file
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15577 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15582 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15583 # Let make expand exec_prefix.
15584 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15586 # Transform confdefs.h into DEFS.
15587 # Protect against shell expansion while executing Makefile rules.
15588 # Protect against Makefile macro expansion.
15590 # If the first sed substitution is executed (which looks for macros that
15591 # take arguments), then branch to the quote section. Otherwise,
15592 # look for a macro that doesn't take arguments.
15602 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15604 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15608 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15621 DEFS
=`sed -n "$ac_script" confdefs.h`
15626 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15627 # 1. Remove the extension, and $U if already installed.
15628 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15629 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15631 # will be set to the directory where LIBOBJS objects are built.
15632 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15633 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15635 LIBOBJS
=$ac_libobjs
15637 LTLIBOBJS
=$ac_ltlibobjs
15640 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15641 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15644 if test -n "$EXEEXT"; then
15646 am__EXEEXT_FALSE
='#'
15648 am__EXEEXT_TRUE
='#'
15652 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15653 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15656 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15657 as_fn_error
"conditional \"AMDEP\" was never defined.
15658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15660 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15661 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15664 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15665 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15668 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15669 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15673 : ${CONFIG_STATUS=./config.status}
15675 ac_clean_files_save
=$ac_clean_files
15676 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15678 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15680 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15682 # Generated by $as_me.
15683 # Run this file to recreate the current configuration.
15684 # Compiler output produced by configure, useful for debugging
15685 # configure, is in config.log if it exists.
15688 ac_cs_recheck=false
15691 SHELL=\${CONFIG_SHELL-$SHELL}
15694 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15695 ## -------------------- ##
15696 ## M4sh Initialization. ##
15697 ## -------------------- ##
15699 # Be more Bourne compatible
15700 DUALCASE
=1; export DUALCASE
# for MKS sh
15701 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15704 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15705 # is contrary to our usage. Disable this feature.
15706 alias -g '${1+"$@"}'='"$@"'
15707 setopt NO_GLOB_SUBST
15709 case `(set -o) 2>/dev/null` in #(
15721 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15722 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15725 # Prefer a ksh shell builtin over an external printf program on Solaris,
15726 # but without wasting forks for bash or zsh.
15727 if test -z "$BASH_VERSION$ZSH_VERSION" \
15728 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15729 as_echo='print
-r --'
15730 as_echo_n='print
-rn --'
15731 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15732 as_echo='printf %s
\n'
15733 as_echo_n='printf %s
'
15735 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15736 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15737 as_echo_n='/usr
/ucb
/echo -n'
15739 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15740 as_echo_n_body='eval
15744 expr "X$arg" : "X\\(.*\\)$as_nl";
15745 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15747 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15749 export as_echo_n_body
15750 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15752 export as_echo_body
15753 as_echo='sh
-c $as_echo_body as_echo
'
15756 # The user is always right.
15757 if test "${PATH_SEPARATOR+set}" != set; then
15759 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15760 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15767 # We need space, tab and new line, in precisely that order. Quoting is
15768 # there to prevent editors from complaining about space-tab.
15769 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15770 # splitting by setting IFS to empty value.)
15773 # Find who we are. Look in the path if we contain no directory separator.
15775 *[\\/]* ) as_myself=$0 ;;
15776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15777 for as_dir in $PATH
15780 test -z "$as_dir" && as_dir=.
15781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15787 # We did not find ourselves, most probably we were run as `sh COMMAND'
15788 # in which case we are not to be found in the path.
15789 if test "x$as_myself" = x
; then
15792 if test ! -f "$as_myself"; then
15793 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15797 # Unset variables that we do not need and which cause bugs (e.g. in
15798 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15799 # suppresses any "Segmentation fault" message there. '((' could
15800 # trigger a bug in pdksh 5.2.14.
15801 for as_var
in BASH_ENV ENV MAIL MAILPATH
15802 do eval test x\
${$as_var+set} = xset \
15803 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15816 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15819 # as_fn_error ERROR [LINENO LOG_FD]
15820 # ---------------------------------
15821 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15822 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15823 # script with status $?, using 1 if that was 0.
15826 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15828 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15829 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15831 $as_echo "$as_me: error: $1" >&2
15832 as_fn_exit
$as_status
15836 # as_fn_set_status STATUS
15837 # -----------------------
15838 # Set $? to STATUS, without forking.
15839 as_fn_set_status
()
15842 } # as_fn_set_status
15844 # as_fn_exit STATUS
15845 # -----------------
15846 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15850 as_fn_set_status
$1
15856 # Portably unset VAR.
15859 { eval $1=; unset $1;}
15861 as_unset
=as_fn_unset
15862 # as_fn_append VAR VALUE
15863 # ----------------------
15864 # Append the text in VALUE to the end of the definition contained in VAR. Take
15865 # advantage of any shell optimizations that allow amortized linear growth over
15866 # repeated appends, instead of the typical quadratic growth present in naive
15868 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15869 eval 'as_fn_append ()
15880 # as_fn_arith ARG...
15881 # ------------------
15882 # Perform arithmetic evaluation on the ARGs, and store the result in the
15883 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15884 # must be portable across $(()) and expr.
15885 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15886 eval 'as_fn_arith ()
15893 as_val
=`expr "$@" || test $? -eq 1`
15898 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15899 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15905 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15906 as_basename
=basename
15911 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15917 as_me
=`$as_basename -- "$0" ||
15918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15919 X"$0" : 'X\(//\)$' \| \
15920 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15922 sed '/^.*\/\([^/][^/]*\)\/*$/{
15936 # Avoid depending upon Character Ranges.
15937 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15938 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15939 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15940 as_cr_digits
='0123456789'
15941 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15943 ECHO_C
= ECHO_N
= ECHO_T
=
15944 case `echo -n x` in #(((((
15946 case `echo 'xy\c'` in
15947 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15949 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15956 rm -f conf$$ conf$$.exe conf$$.
file
15957 if test -d conf$$.dir
; then
15958 rm -f conf$$.dir
/conf$$.
file
15961 mkdir conf$$.dir
2>/dev
/null
15963 if (echo >conf$$.
file) 2>/dev
/null
; then
15964 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15966 # ... but there are two gotchas:
15967 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15968 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15969 # In both cases, we have to default to `cp -p'.
15970 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15972 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15980 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15981 rmdir conf$$.dir
2>/dev
/null
15986 # Create "$as_dir" as a directory, including parents if necessary.
15991 -*) as_dir
=.
/$as_dir;;
15993 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15997 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15998 *) as_qdir
=$as_dir;;
16000 as_dirs
="'$as_qdir' $as_dirs"
16001 as_dir
=`$as_dirname -- "$as_dir" ||
16002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16003 X"$as_dir" : 'X\(//\)[^/]' \| \
16004 X"$as_dir" : 'X\(//\)$' \| \
16005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16006 $as_echo X"$as_dir" |
16007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16011 /^X\(\/\/\)[^/].*/{
16024 test -d "$as_dir" && break
16026 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16027 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16031 if mkdir
-p .
2>/dev
/null
; then
16032 as_mkdir_p
='mkdir -p "$as_dir"'
16034 test -d .
/-p && rmdir .
/-p
16038 if test -x / >/dev
/null
2>&1; then
16039 as_test_x
='test -x'
16041 if ls -dL / >/dev
/null
2>&1; then
16048 if test -d "$1"; then
16054 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16055 ???[sx]*):;;*)false;;esac;fi
16059 as_executable_p
=$as_test_x
16061 # Sed expression to map a string onto a valid CPP name.
16062 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16064 # Sed expression to map a string onto a valid variable name.
16065 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16069 ## ----------------------------------- ##
16070 ## Main body of $CONFIG_STATUS script. ##
16071 ## ----------------------------------- ##
16073 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16076 # Save the log message, to keep $0 and so on meaningful, and to
16077 # report actual input values of CONFIG_FILES etc. instead of their
16078 # values after options handling.
16080 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16081 generated by GNU Autoconf 2.64. Invocation command line was
16083 CONFIG_FILES = $CONFIG_FILES
16084 CONFIG_HEADERS = $CONFIG_HEADERS
16085 CONFIG_LINKS = $CONFIG_LINKS
16086 CONFIG_COMMANDS = $CONFIG_COMMANDS
16089 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16094 case $ac_config_files in *"
16095 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16101 # Files that config.status was made for.
16102 config_files="$ac_config_files"
16103 config_commands="$ac_config_commands"
16107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16109 \`$as_me' instantiates files and other configuration actions
16110 from templates according to the current configuration. Unless the files
16111 and actions are specified as TAGs, all are instantiated by default.
16113 Usage: $0 [OPTION]... [TAG]...
16115 -h, --help print this help, then exit
16116 -V, --version print version number and configuration settings, then exit
16117 -q, --quiet, --silent
16118 do not print progress messages
16119 -d, --debug don't remove temporary files
16120 --recheck update $as_me by reconfiguring in the same conditions
16121 --file=FILE[:TEMPLATE]
16122 instantiate the configuration file FILE
16124 Configuration files:
16127 Configuration commands:
16130 Report bugs to the package provider.
16131 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16132 General help using GNU software: <http://www.gnu.org/gethelp/>."
16135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16137 GNU Vtable Verification Runtime Library config.status 1.0
16138 configured by $0, generated by GNU Autoconf 2.64,
16139 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16141 Copyright (C) 2009 Free Software Foundation, Inc.
16142 This config.status script is free software; the Free Software Foundation
16143 gives unlimited permission to copy, distribute and modify it."
16150 test -n "\$AWK" || AWK=awk
16153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16154 # The default lists apply if the user does not specify any file.
16160 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16161 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16172 # Handling of the options.
16173 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16175 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16176 $as_echo "$ac_cs_version"; exit ;;
16177 --debug |
--debu |
--deb |
--de |
--d |
-d )
16179 --file |
--fil |
--fi |
--f )
16182 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16184 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16185 ac_need_defaults
=false
;;
16186 --he |
--h |
--help |
--hel |
-h )
16187 $as_echo "$ac_cs_usage"; exit ;;
16188 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16189 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16192 # This is an error.
16193 -*) as_fn_error
"unrecognized option: \`$1'
16194 Try \`$0 --help' for more information." ;;
16196 *) as_fn_append ac_config_targets
" $1"
16197 ac_need_defaults
=false
;;
16203 ac_configure_extra_args
=
16205 if $ac_cs_silent; then
16207 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16212 if \$ac_cs_recheck; then
16213 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16215 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16216 CONFIG_SHELL='$SHELL'
16217 export CONFIG_SHELL
16222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16226 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16227 ## Running $as_me. ##
16233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16241 with_multisubdir="$with_multisubdir"
16242 with_multisrctop="$with_multisrctop"
16243 with_target_subdir="$with_target_subdir"
16244 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16245 multi_basedir="$multi_basedir"
16246 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16249 GFORTRAN="$GFORTRAN"
16251 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16254 # The HP-UX ksh and POSIX shell print the target directory to stdout
16255 # if CDPATH is set.
16256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16258 sed_quote_subst='$sed_quote_subst'
16259 double_quote_subst='$double_quote_subst'
16260 delay_variable_subst='$delay_variable_subst'
16261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16269 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16270 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16271 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16272 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16273 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16274 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16275 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16276 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16277 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16278 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16279 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16280 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16281 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16282 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16283 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16284 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16285 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16286 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16287 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16288 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16289 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16290 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16291 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16292 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16293 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16296 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16297 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16298 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16299 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16300 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16301 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16302 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16303 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16304 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16305 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16306 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16307 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16308 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16309 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"`'
16310 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16311 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16312 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16313 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16314 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16315 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16316 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16317 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16318 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16319 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16320 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16321 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16322 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16323 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16324 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16325 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16326 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16327 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16328 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16329 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16330 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16331 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16332 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16333 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16334 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16335 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16336 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16337 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16338 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16339 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16340 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16341 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16342 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16343 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16344 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16345 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16346 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16347 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16348 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16349 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16350 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16351 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16352 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16353 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16354 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16355 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16359 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16360 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16361 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16362 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16363 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16364 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16365 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16366 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16367 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16368 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16369 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16370 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16371 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16372 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16373 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16374 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16375 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16376 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16377 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16378 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16379 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16380 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16381 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16382 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16383 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16384 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16385 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16386 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16387 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16388 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16389 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16390 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16391 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16392 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16393 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16394 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16395 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16396 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16397 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16398 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16399 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16400 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16401 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16402 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16403 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16404 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16405 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16406 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16407 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16408 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16409 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16410 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16411 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16412 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16413 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16414 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16415 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16416 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16417 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16418 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16419 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16420 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16421 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16422 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16423 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16424 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16425 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16426 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16427 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16428 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16429 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16430 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16431 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16432 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16433 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16434 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16435 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16438 LTCFLAGS='$LTCFLAGS'
16439 compiler='$compiler_DEFAULT'
16441 # A function that is used when there is no print builtin or printf.
16442 func_fallback_echo ()
16444 eval 'cat <<_LTECHO_EOF
16449 # Quote evaled strings.
16463 deplibs_check_method \
16472 lt_cv_sys_global_symbol_pipe \
16473 lt_cv_sys_global_symbol_to_cdecl \
16474 lt_cv_sys_global_symbol_to_c_name_address \
16475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16476 lt_prog_compiler_no_builtin_flag \
16477 lt_prog_compiler_wl \
16478 lt_prog_compiler_pic \
16479 lt_prog_compiler_static \
16480 lt_cv_prog_compiler_c_o \
16488 export_dynamic_flag_spec \
16489 whole_archive_flag_spec \
16490 compiler_needs_object \
16492 allow_undefined_flag \
16493 no_undefined_flag \
16494 hardcode_libdir_flag_spec \
16495 hardcode_libdir_flag_spec_ld \
16496 hardcode_libdir_separator \
16501 variables_saved_for_relink \
16503 library_names_spec \
16505 install_override_mode \
16509 compiler_lib_search_dirs \
16514 compiler_lib_search_path \
16518 lt_prog_compiler_no_builtin_flag_CXX \
16519 lt_prog_compiler_wl_CXX \
16520 lt_prog_compiler_pic_CXX \
16521 lt_prog_compiler_static_CXX \
16522 lt_cv_prog_compiler_c_o_CXX \
16523 export_dynamic_flag_spec_CXX \
16524 whole_archive_flag_spec_CXX \
16525 compiler_needs_object_CXX \
16527 allow_undefined_flag_CXX \
16528 no_undefined_flag_CXX \
16529 hardcode_libdir_flag_spec_CXX \
16530 hardcode_libdir_flag_spec_ld_CXX \
16531 hardcode_libdir_separator_CXX \
16532 fix_srcfile_path_CXX \
16533 exclude_expsyms_CXX \
16534 include_expsyms_CXX \
16535 file_list_spec_CXX \
16536 compiler_lib_search_dirs_CXX \
16537 predep_objects_CXX \
16538 postdep_objects_CXX \
16541 compiler_lib_search_path_CXX; do
16542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16543 *[\\\\\\\`\\"\\\$]*)
16544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16552 # Double-quote double-evaled strings.
16553 for var in reload_cmds \
16554 old_postinstall_cmds \
16555 old_postuninstall_cmds \
16557 extract_expsyms_cmds \
16558 old_archive_from_new_cmds \
16559 old_archive_from_expsyms_cmds \
16561 archive_expsym_cmds \
16563 module_expsym_cmds \
16564 export_symbols_cmds \
16567 postuninstall_cmds \
16569 sys_lib_search_path_spec \
16570 sys_lib_dlsearch_path_spec \
16572 old_archive_cmds_CXX \
16573 old_archive_from_new_cmds_CXX \
16574 old_archive_from_expsyms_cmds_CXX \
16576 archive_expsym_cmds_CXX \
16578 module_expsym_cmds_CXX \
16579 export_symbols_cmds_CXX \
16580 prelink_cmds_CXX; do
16581 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16582 *[\\\\\\\`\\"\\\$]*)
16583 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16586 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16591 ac_aux_dir='$ac_aux_dir'
16592 xsi_shell='$xsi_shell'
16593 lt_shell_append='$lt_shell_append'
16595 # See if we are running on zsh, and set the options which allow our
16596 # commands through without removal of \ escapes INIT.
16597 if test -n "\${ZSH_VERSION+set}" ; then
16598 setopt NO_GLOB_SUBST
16604 TIMESTAMP='$TIMESTAMP'
16615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16617 # Handling of arguments.
16618 for ac_config_target
in $ac_config_targets
16620 case $ac_config_target in
16621 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16622 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16623 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16624 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16625 "./Makefile") CONFIG_FILES
="$CONFIG_FILES ./Makefile" ;;
16626 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16628 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16633 # If the user did not use the arguments to specify the items to instantiate,
16634 # then the envvar interface is used. Set only those that are not.
16635 # We use the long form for the default assignment because of an extremely
16636 # bizarre bug on SunOS 4.1.3.
16637 if $ac_need_defaults; then
16638 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16639 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16642 # Have a temporary directory for convenience. Make it in the build tree
16643 # simply because there is no reason against having it here, and in addition,
16644 # creating and moving files from /tmp can sometimes cause problems.
16645 # Hook for its removal unless debugging.
16646 # Note that there is a small window in which the directory will not be cleaned:
16647 # after its creation but before its name has been assigned to `$tmp'.
16651 trap 'exit_status=$?
16652 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16654 trap 'as_fn_exit 1' 1 2 13 15
16656 # Create a (secure) tmp directory for tmp files.
16659 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16660 test -n "$tmp" && test -d "$tmp"
16663 tmp
=.
/conf$$
-$RANDOM
16664 (umask 077 && mkdir
"$tmp")
16665 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16667 # Set up the scripts for CONFIG_FILES section.
16668 # No need to generate them if there are no CONFIG_FILES.
16669 # This happens for instance with `./config.status config.h'.
16670 if test -n "$CONFIG_FILES"; then
16673 ac_cr
=`echo X | tr X '\015'`
16674 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16675 # But we know of no other shell where ac_cr would be empty at this
16676 # point, so we can use a bashism as a fallback.
16677 if test "x$ac_cr" = x
; then
16678 eval ac_cr
=\$
\'\\r
\'
16680 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16681 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16684 ac_cs_awk_cr
=$ac_cr
16687 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16692 echo "cat >conf$$subs.awk <<_ACEOF" &&
16693 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16695 } >conf$$subs.sh ||
16696 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16697 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16699 for ac_last_try in false false false false false :; do
16700 . ./conf$$subs.sh ||
16701 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16703 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16704 if test $ac_delim_n = $ac_delim_num; then
16706 elif $ac_last_try; then
16707 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16709 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16712 rm -f conf$$subs.sh
16714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16715 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16719 s/^/S["/; s
/!.
*/"]=/
16729 s/\(.\{148\}\).*/\1/
16731 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16736 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16743 s/\(.\{148\}\).*/\1/
16745 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16749 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16754 ' <conf$$subs.awk | sed '
16759 ' >>$CONFIG_STATUS || ac_write_fail=1
16760 rm -f conf$$subs.awk
16761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16763 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16764 for (key in S) S_is_set[key] = 1
16770 nfields = split(line, field, "@
")
16772 len = length(field[1])
16773 for (i = 2; i < nfields; i++) {
16775 keylen = length(key)
16776 if (S_is_set[key]) {
16778 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16779 len += length(value) + length(field[++i])
16790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16791 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16792 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16795 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16796 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16799 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16800 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16801 # trailing colons and then remove the whole line if VPATH becomes empty
16802 # (actually we leave an empty line to preserve line numbers).
16803 if test "x
$srcdir" = x.; then
16804 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16805 s/:*\$(srcdir):*/:/
16806 s/:*\${srcdir}:*/:/
16808 s/^\([^=]*=[ ]*\):*/\1/
16814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16815 fi # test -n "$CONFIG_FILES"
16818 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16823 :[FHLC]) ac_mode=$ac_tag; continue;;
16825 case $ac_mode$ac_tag in
16827 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16828 :[FH]-) ac_tag=-:-;;
16829 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16846 -) ac_f="$tmp/stdin";;
16847 *) # Look for the file first in the build tree, then in the source tree
16848 # (if the path is not absolute). The absolute path cannot be DOS-style,
16849 # because $ac_f cannot contain `:'.
16853 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16855 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16857 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16858 as_fn_append ac_file_inputs " '$ac_f'"
16861 # Let's still pretend it is `configure' which instantiates (i.e., don't
16862 # use $as_me), people would be surprised to read:
16863 # /* config.h. Generated by config.status. */
16864 configure_input='Generated from '`
16865 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16867 if test x"$ac_file" != x-; then
16868 configure_input="$ac_file.
$configure_input"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16870 $as_echo "$as_me: creating
$ac_file" >&6;}
16872 # Neutralize special characters interpreted by sed in replacement strings.
16873 case $configure_input in #(
16874 *\&* | *\|* | *\\* )
16875 ac_sed_conf_input=`$as_echo "$configure_input" |
16876 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16877 *) ac_sed_conf_input=$configure_input;;
16881 *:-:* | *:-) cat >"$tmp/stdin
" \
16882 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16887 ac_dir=`$as_dirname -- "$ac_file" ||
16888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16889 X"$ac_file" : 'X\(//\)[^/]' \| \
16890 X"$ac_file" : 'X\(//\)$' \| \
16891 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16892 $as_echo X"$ac_file" |
16893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16897 /^X\(\/\/\)[^/].*/{
16910 as_dir="$ac_dir"; as_fn_mkdir_p
16914 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16916 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16917 # A "..
" for each directory in $ac_dir_suffix.
16918 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16919 case $ac_top_builddir_sub in
16920 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16921 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16924 ac_abs_top_builddir=$ac_pwd
16925 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16926 # for backward compatibility:
16927 ac_top_builddir=$ac_top_build_prefix
16930 .) # We are building in place.
16932 ac_top_srcdir=$ac_top_builddir_sub
16933 ac_abs_top_srcdir=$ac_pwd ;;
16934 [\\/]* | ?:[\\/]* ) # Absolute name.
16935 ac_srcdir=$srcdir$ac_dir_suffix;
16936 ac_top_srcdir=$srcdir
16937 ac_abs_top_srcdir=$srcdir ;;
16938 *) # Relative name.
16939 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16940 ac_top_srcdir=$ac_top_build_prefix$srcdir
16941 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16943 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16954 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16956 ac_MKDIR_P=$MKDIR_P
16958 [\\/$]* | ?:[\\/]* ) ;;
16959 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16964 # If the template does not know about datarootdir, expand it.
16965 # FIXME: This hack should be removed a few years after 2.60.
16966 ac_datarootdir_hack=; ac_datarootdir_seen=
16977 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16978 *datarootdir*) ac_datarootdir_seen=yes;;
16979 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16981 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16984 ac_datarootdir_hack='
16985 s&@datadir@&$datadir&g
16986 s&@docdir@&$docdir&g
16987 s&@infodir@&$infodir&g
16988 s&@localedir@&$localedir&g
16989 s&@mandir@&$mandir&g
16990 s&\\\${datarootdir}&$datarootdir&g' ;;
16994 # Neutralize VPATH when `$srcdir' = `.'.
16995 # Shell code in configure.ac might set extrasub.
16996 # FIXME: do we really want to maintain this feature?
16997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16998 ac_sed_extra="$ac_vpsub
17001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17003 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17004 s|@configure_input@|
$ac_sed_conf_input|
;t t
17005 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17006 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17007 s
&@srcdir@
&$ac_srcdir&;t t
17008 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17009 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17010 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17011 s
&@builddir@
&$ac_builddir&;t t
17012 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17013 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17014 s
&@INSTALL@
&$ac_INSTALL&;t t
17015 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17016 $ac_datarootdir_hack
17018 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17019 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17021 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17022 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17023 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17025 which seems to be undefined. Please make sure it is defined." >&5
17026 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17027 which seems to be undefined. Please make sure it is defined." >&2;}
17031 -) cat "$tmp/out" && rm -f "$tmp/out";;
17032 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17034 || as_fn_error "could not create $ac_file" "$LINENO" 5
17038 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17039 $as_echo "$as_me: executing $ac_file commands" >&6;}
17044 case $ac_file$ac_mode in
17046 # Only add multilib support code if we just rebuilt the top-level
17048 case " $CONFIG_FILES " in
17050 ac_file=Makefile . ${multi_basedir}/config-ml.in
17053 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17054 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17055 # are listed without --file. Let's play safe and only
enable the
eval
17056 # if we detect the quoting.
17057 case $CONFIG_FILES in
17058 *\'*) eval set x
"$CONFIG_FILES" ;;
17059 *) set x
$CONFIG_FILES ;;
17064 # Strip MF so we end up with the name of the file.
17065 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17066 # Check whether this is an Automake generated Makefile or not.
17067 # We used to match only the files named `Makefile.in', but
17068 # some people rename them; so instead we look at the file content.
17069 # Grep'ing the first line is not enough: some people post-process
17070 # each Makefile.in and add a new line on top of each file to say so.
17071 # Grep'ing the whole file is not good either: AIX grep has a line
17072 # limit of 2048, but all sed's we know have understand at least 4000.
17073 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17074 dirpart
=`$as_dirname -- "$mf" ||
17075 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17076 X"$mf" : 'X\(//\)[^/]' \| \
17077 X"$mf" : 'X\(//\)$' \| \
17078 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17084 /^X\(\/\/\)[^/].*/{
17100 # Extract the definition of DEPDIR, am__include, and am__quote
17101 # from the Makefile without running `make'.
17102 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17103 test -z "$DEPDIR" && continue
17104 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17105 test -z "am__include" && continue
17106 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17107 # When using ansi2knr, U may be empty or an underscore; expand it
17108 U
=`sed -n 's/^U = //p' < "$mf"`
17109 # Find all dependency output files, they are included files with
17110 # $(DEPDIR) in their names. We invoke sed twice because it is the
17111 # simplest approach to changing $(DEPDIR) to its actual value in the
17113 for file in `sed -n "
17114 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17115 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17116 # Make sure the directory exists.
17117 test -f "$dirpart/$file" && continue
17118 fdir
=`$as_dirname -- "$file" ||
17119 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17120 X"$file" : 'X\(//\)[^/]' \| \
17121 X"$file" : 'X\(//\)$' \| \
17122 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17123 $as_echo X"$file" |
17124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17128 /^X\(\/\/\)[^/].*/{
17141 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17142 # echo "creating $dirpart/$file"
17143 echo '# dummy' > "$dirpart/$file"
17150 # See if we are running on zsh, and set the options which allow our
17151 # commands through without removal of \ escapes.
17152 if test -n "${ZSH_VERSION+set}" ; then
17153 setopt NO_GLOB_SUBST
17156 cfgfile
="${ofile}T"
17157 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17160 cat <<_LT_EOF >> "$cfgfile"
17163 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17164 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17165 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17166 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17168 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17169 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17170 # Written by Gordon Matzigkeit, 1996
17172 # This file is part of GNU Libtool.
17174 # GNU Libtool is free software; you can redistribute it and/or
17175 # modify it under the terms of the GNU General Public License as
17176 # published by the Free Software Foundation; either version 2 of
17177 # the License, or (at your option) any later version.
17179 # As a special exception to the GNU General Public License,
17180 # if you distribute this file as part of a program or library that
17181 # is built using GNU Libtool, you may include this file under the
17182 # same distribution terms that you use for the rest of that program.
17184 # GNU Libtool is distributed in the hope that it will be useful,
17185 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17186 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17187 # GNU General Public License for more details.
17189 # You should have received a copy of the GNU General Public License
17190 # along with GNU Libtool; see the file COPYING. If not, a copy
17191 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17192 # obtained by writing to the Free Software Foundation, Inc.,
17193 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17196 # The names of the tagged configurations supported by this script.
17197 available_tags="CXX "
17199 # ### BEGIN LIBTOOL CONFIG
17201 # Which release of libtool.m4 was used?
17202 macro_version=$macro_version
17203 macro_revision=$macro_revision
17205 # Whether or not to build shared libraries.
17206 build_libtool_libs=$enable_shared
17208 # Whether or not to build static libraries.
17209 build_old_libs=$enable_static
17211 # What type of objects to build.
17214 # Whether or not to optimize for fast installation.
17215 fast_install=$enable_fast_install
17217 # Shell to use when invoking shell scripts.
17220 # An echo program that protects backslashes.
17224 host_alias=$host_alias
17228 # The build system.
17229 build_alias=$build_alias
17233 # A sed program that does not truncate output.
17236 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17237 Xsed="\$SED -e 1s/^X//"
17239 # A grep program that handles long lines.
17245 # A literal string matcher.
17248 # A BSD- or MS-compatible name lister.
17251 # Whether we need soft or hard links.
17254 # What is the maximum length of a command?
17255 max_cmd_len=$max_cmd_len
17257 # Object file suffix (normally "o").
17260 # Executable file suffix (normally "").
17263 # whether the shell understands "unset".
17266 # turn spaces into newlines.
17269 # turn newlines into spaces.
17272 # An object symbol dumper.
17273 OBJDUMP=$lt_OBJDUMP
17275 # Method to check whether dependent libraries are shared objects.
17276 deplibs_check_method=$lt_deplibs_check_method
17278 # Command to use when deplibs_check_method == "file_magic".
17279 file_magic_cmd=$lt_file_magic_cmd
17283 AR_FLAGS=$lt_AR_FLAGS
17285 # A symbol stripping program.
17288 # Commands used to install an old-style archive.
17290 old_postinstall_cmds=$lt_old_postinstall_cmds
17291 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17293 # Whether to use a lock for old archive extraction.
17294 lock_old_archive_extraction=$lock_old_archive_extraction
17299 # LTCC compiler flags.
17300 LTCFLAGS=$lt_CFLAGS
17302 # Take the output of nm and produce a listing of raw symbols and C names.
17303 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17305 # Transform the output of nm in a proper C declaration.
17306 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17308 # Transform the output of nm in a C name address pair.
17309 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17311 # Transform the output of nm in a C name address pair when lib prefix is needed.
17312 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17314 # The name of the directory that contains temporary libtool files.
17317 # Used to examine libraries when file_magic_cmd begins with "file".
17318 MAGIC_CMD=$MAGIC_CMD
17320 # Must we lock files when doing compilation?
17321 need_locks=$lt_need_locks
17323 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17324 DSYMUTIL=$lt_DSYMUTIL
17326 # Tool to change global to local symbols on Mac OS X.
17329 # Tool to manipulate fat objects and archives on Mac OS X.
17332 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17335 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17336 OTOOL64=$lt_OTOOL64
17338 # Old archive suffix (normally "a").
17341 # Shared library suffix (normally ".so").
17342 shrext_cmds=$lt_shrext_cmds
17344 # The commands to extract the exported symbol list from a shared archive.
17345 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17347 # Variables whose values should be saved in libtool wrapper scripts and
17348 # restored at link time.
17349 variables_saved_for_relink=$lt_variables_saved_for_relink
17351 # Do we need the "lib" prefix for modules?
17352 need_lib_prefix=$need_lib_prefix
17354 # Do we need a version for libraries?
17355 need_version=$need_version
17357 # Library versioning type.
17358 version_type=$version_type
17360 # Shared library runtime path variable.
17361 runpath_var=$runpath_var
17363 # Shared library path variable.
17364 shlibpath_var=$shlibpath_var
17366 # Is shlibpath searched before the hard-coded library search path?
17367 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17369 # Format of library name prefix.
17370 libname_spec=$lt_libname_spec
17372 # List of archive names. First name is the real one, the rest are links.
17373 # The last name is the one that the linker finds with -lNAME
17374 library_names_spec=$lt_library_names_spec
17376 # The coded name of the library, if different from the real name.
17377 soname_spec=$lt_soname_spec
17379 # Permission mode override for installation of shared libraries.
17380 install_override_mode=$lt_install_override_mode
17382 # Command to use after installation of a shared archive.
17383 postinstall_cmds=$lt_postinstall_cmds
17385 # Command to use after uninstallation of a shared archive.
17386 postuninstall_cmds=$lt_postuninstall_cmds
17388 # Commands used to finish a libtool library installation in a directory.
17389 finish_cmds=$lt_finish_cmds
17391 # As "finish_cmds", except a single script fragment to be evaled but
17393 finish_eval=$lt_finish_eval
17395 # Whether we should hardcode library paths into libraries.
17396 hardcode_into_libs=$hardcode_into_libs
17398 # Compile-time system search path for libraries.
17399 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17401 # Run-time system search path for libraries.
17402 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17404 # Whether dlopen is supported.
17405 dlopen_support=$enable_dlopen
17407 # Whether dlopen of programs is supported.
17408 dlopen_self=$enable_dlopen_self
17410 # Whether dlopen of statically linked programs is supported.
17411 dlopen_self_static=$enable_dlopen_self_static
17413 # Commands to strip libraries.
17414 old_striplib=$lt_old_striplib
17415 striplib=$lt_striplib
17418 # The linker used to build libraries.
17421 # How to create reloadable object files.
17422 reload_flag=$lt_reload_flag
17423 reload_cmds=$lt_reload_cmds
17425 # Commands used to build an old-style archive.
17426 old_archive_cmds=$lt_old_archive_cmds
17428 # A language specific compiler.
17431 # Is the compiler the GNU compiler?
17434 # Compiler flag to turn off builtin functions.
17435 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17437 # How to pass a linker flag through the compiler.
17438 wl=$lt_lt_prog_compiler_wl
17440 # Additional compiler flags for building library objects.
17441 pic_flag=$lt_lt_prog_compiler_pic
17443 # Compiler flag to prevent dynamic linking.
17444 link_static_flag=$lt_lt_prog_compiler_static
17446 # Does compiler simultaneously support -c and -o options?
17447 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17449 # Whether or not to add -lc for building shared libraries.
17450 build_libtool_need_lc=$archive_cmds_need_lc
17452 # Whether or not to disallow shared libs when runtime libs are static.
17453 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17455 # Compiler flag to allow reflexive dlopens.
17456 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17458 # Compiler flag to generate shared objects directly from archives.
17459 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17461 # Whether the compiler copes with passing no objects directly.
17462 compiler_needs_object=$lt_compiler_needs_object
17464 # Create an old-style archive from a shared archive.
17465 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17467 # Create a temporary old-style archive to link instead of a shared archive.
17468 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17470 # Commands used to build a shared archive.
17471 archive_cmds=$lt_archive_cmds
17472 archive_expsym_cmds=$lt_archive_expsym_cmds
17474 # Commands used to build a loadable module if different from building
17475 # a shared archive.
17476 module_cmds=$lt_module_cmds
17477 module_expsym_cmds=$lt_module_expsym_cmds
17479 # Whether we are building with GNU ld or not.
17480 with_gnu_ld=$lt_with_gnu_ld
17482 # Flag that allows shared libraries with undefined symbols to be built.
17483 allow_undefined_flag=$lt_allow_undefined_flag
17485 # Flag that enforces no undefined symbols.
17486 no_undefined_flag=$lt_no_undefined_flag
17488 # Flag to hardcode \$libdir into a binary during linking.
17489 # This must work even if \$libdir does not exist
17490 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17492 # If ld is used when linking, flag to hardcode \$libdir into a binary
17493 # during linking. This must work even if \$libdir does not exist.
17494 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17496 # Whether we need a single "-rpath" flag with a separated argument.
17497 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17499 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17500 # DIR into the resulting binary.
17501 hardcode_direct=$hardcode_direct
17503 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17504 # DIR into the resulting binary and the resulting library dependency is
17505 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17506 # library is relocated.
17507 hardcode_direct_absolute=$hardcode_direct_absolute
17509 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17510 # into the resulting binary.
17511 hardcode_minus_L=$hardcode_minus_L
17513 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17514 # into the resulting binary.
17515 hardcode_shlibpath_var=$hardcode_shlibpath_var
17517 # Set to "yes" if building a shared library automatically hardcodes DIR
17518 # into the library and all subsequent libraries and executables linked
17520 hardcode_automatic=$hardcode_automatic
17522 # Set to yes if linker adds runtime paths of dependent libraries
17523 # to runtime path list.
17524 inherit_rpath=$inherit_rpath
17526 # Whether libtool must link a program against all its dependency libraries.
17527 link_all_deplibs=$link_all_deplibs
17529 # Fix the shell variable \$srcfile for the compiler.
17530 fix_srcfile_path=$lt_fix_srcfile_path
17532 # Set to "yes" if exported symbols are required.
17533 always_export_symbols=$always_export_symbols
17535 # The commands to list exported symbols.
17536 export_symbols_cmds=$lt_export_symbols_cmds
17538 # Symbols that should not be listed in the preloaded symbols.
17539 exclude_expsyms=$lt_exclude_expsyms
17541 # Symbols that must always be exported.
17542 include_expsyms=$lt_include_expsyms
17544 # Commands necessary for linking programs (against libraries) with templates.
17545 prelink_cmds=$lt_prelink_cmds
17547 # Specify filename containing input files.
17548 file_list_spec=$lt_file_list_spec
17550 # How to hardcode a shared library path into an executable.
17551 hardcode_action=$hardcode_action
17553 # The directories searched by this compiler when creating a shared library.
17554 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17556 # Dependencies to place before and after the objects being linked to
17557 # create a shared library.
17558 predep_objects=$lt_predep_objects
17559 postdep_objects=$lt_postdep_objects
17560 predeps=$lt_predeps
17561 postdeps=$lt_postdeps
17563 # The library search path used internally by the compiler when linking
17564 # a shared library.
17565 compiler_lib_search_path=$lt_compiler_lib_search_path
17567 # ### END LIBTOOL CONFIG
17573 cat <<\_LT_EOF
>> "$cfgfile"
17574 # AIX sometimes has problems with the GCC collect2 program. For some
17575 # reason, if we set the COLLECT_NAMES environment variable, the problems
17576 # vanish in a puff of smoke.
17577 if test "X${COLLECT_NAMES+set}" != Xset
; then
17579 export COLLECT_NAMES
17586 ltmain
="$ac_aux_dir/ltmain.sh"
17589 # We use sed instead of cat because bash on DJGPP gets confused if
17590 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17591 # text mode, it properly converts lines to CR/LF. This bash problem
17592 # is reportedly fixed, but why not run on old versions too?
17593 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17594 ||
(rm -f "$cfgfile"; exit 1)
17598 cat << \_LT_EOF
>> "$cfgfile"
17600 # func_dirname file append nondir_replacement
17601 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17602 # otherwise set result to NONDIR_REPLACEMENT.
17606 */*) func_dirname_result
="${1%/*}${2}" ;;
17607 * ) func_dirname_result
="${3}" ;;
17611 # func_basename file
17614 func_basename_result
="${1##*/}"
17617 # func_dirname_and_basename file append nondir_replacement
17618 # perform func_basename and func_dirname in a single function
17620 # dirname: Compute the dirname of FILE. If nonempty,
17621 # add APPEND to the result, otherwise set result
17622 # to NONDIR_REPLACEMENT.
17623 # value returned in "$func_dirname_result"
17624 # basename: Compute filename of FILE.
17625 # value retuned in "$func_basename_result"
17626 # Implementation must be kept synchronized with func_dirname
17627 # and func_basename. For efficiency, we do not delegate to
17628 # those functions but instead duplicate the functionality here.
17629 func_dirname_and_basename
()
17632 */*) func_dirname_result
="${1%/*}${2}" ;;
17633 * ) func_dirname_result
="${3}" ;;
17635 func_basename_result
="${1##*/}"
17638 # func_stripname prefix suffix name
17639 # strip PREFIX and SUFFIX off of NAME.
17640 # PREFIX and SUFFIX must not contain globbing or regex special
17641 # characters, hashes, percent signs, but SUFFIX may contain a leading
17642 # dot (in which case that matches only a dot).
17645 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17646 # positional parameters, so assign one to ordinary parameter first.
17647 func_stripname_result
=${3}
17648 func_stripname_result
=${func_stripname_result#"${1}"}
17649 func_stripname_result
=${func_stripname_result%"${2}"}
17655 func_opt_split_opt
=${1%%=*}
17656 func_opt_split_arg
=${1#*=}
17663 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17664 *) func_lo2o_result
=${1} ;;
17668 # func_xform libobj-or-source
17671 func_xform_result
=${1%.*}.lo
17674 # func_arith arithmetic-term...
17677 func_arith_result
=$
(( $
* ))
17681 # STRING may not start with a hyphen.
17684 func_len_result
=${#1}
17689 *) # Bourne compatible functions.
17690 cat << \_LT_EOF
>> "$cfgfile"
17692 # func_dirname file append nondir_replacement
17693 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17694 # otherwise set result to NONDIR_REPLACEMENT.
17697 # Extract subdirectory from the argument.
17698 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17699 if test "X$func_dirname_result" = "X${1}"; then
17700 func_dirname_result
="${3}"
17702 func_dirname_result
="$func_dirname_result${2}"
17706 # func_basename file
17709 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17713 # func_stripname prefix suffix name
17714 # strip PREFIX and SUFFIX off of NAME.
17715 # PREFIX and SUFFIX must not contain globbing or regex special
17716 # characters, hashes, percent signs, but SUFFIX may contain a leading
17717 # dot (in which case that matches only a dot).
17718 # func_strip_suffix prefix name
17722 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17723 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17728 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17729 my_sed_long_arg
='1s/^-[^=]*=//'
17734 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17735 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17741 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17744 # func_xform libobj-or-source
17747 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17750 # func_arith arithmetic-term...
17753 func_arith_result
=`expr "$@"`
17757 # STRING may not start with a hyphen.
17760 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17766 case $lt_shell_append in
17768 cat << \_LT_EOF
>> "$cfgfile"
17770 # func_append var value
17771 # Append VALUE to the end of shell variable VAR.
17779 cat << \_LT_EOF
>> "$cfgfile"
17781 # func_append var value
17782 # Append VALUE to the end of shell variable VAR.
17793 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17794 ||
(rm -f "$cfgfile"; exit 1)
17796 mv -f "$cfgfile" "$ofile" ||
17797 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17801 cat <<_LT_EOF >> "$ofile"
17803 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17805 # The linker used to build libraries.
17808 # How to create reloadable object files.
17809 reload_flag=$lt_reload_flag_CXX
17810 reload_cmds=$lt_reload_cmds_CXX
17812 # Commands used to build an old-style archive.
17813 old_archive_cmds=$lt_old_archive_cmds_CXX
17815 # A language specific compiler.
17816 CC=$lt_compiler_CXX
17818 # Is the compiler the GNU compiler?
17821 # Compiler flag to turn off builtin functions.
17822 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17824 # How to pass a linker flag through the compiler.
17825 wl=$lt_lt_prog_compiler_wl_CXX
17827 # Additional compiler flags for building library objects.
17828 pic_flag=$lt_lt_prog_compiler_pic_CXX
17830 # Compiler flag to prevent dynamic linking.
17831 link_static_flag=$lt_lt_prog_compiler_static_CXX
17833 # Does compiler simultaneously support -c and -o options?
17834 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17836 # Whether or not to add -lc for building shared libraries.
17837 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17839 # Whether or not to disallow shared libs when runtime libs are static.
17840 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17842 # Compiler flag to allow reflexive dlopens.
17843 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17845 # Compiler flag to generate shared objects directly from archives.
17846 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17848 # Whether the compiler copes with passing no objects directly.
17849 compiler_needs_object=$lt_compiler_needs_object_CXX
17851 # Create an old-style archive from a shared archive.
17852 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17854 # Create a temporary old-style archive to link instead of a shared archive.
17855 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17857 # Commands used to build a shared archive.
17858 archive_cmds=$lt_archive_cmds_CXX
17859 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17861 # Commands used to build a loadable module if different from building
17862 # a shared archive.
17863 module_cmds=$lt_module_cmds_CXX
17864 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17866 # Whether we are building with GNU ld or not.
17867 with_gnu_ld=$lt_with_gnu_ld_CXX
17869 # Flag that allows shared libraries with undefined symbols to be built.
17870 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17872 # Flag that enforces no undefined symbols.
17873 no_undefined_flag=$lt_no_undefined_flag_CXX
17875 # Flag to hardcode \$libdir into a binary during linking.
17876 # This must work even if \$libdir does not exist
17877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17879 # If ld is used when linking, flag to hardcode \$libdir into a binary
17880 # during linking. This must work even if \$libdir does not exist.
17881 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17883 # Whether we need a single "-rpath" flag with a separated argument.
17884 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17886 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17887 # DIR into the resulting binary.
17888 hardcode_direct=$hardcode_direct_CXX
17890 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17891 # DIR into the resulting binary and the resulting library dependency is
17892 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17893 # library is relocated.
17894 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17896 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17897 # into the resulting binary.
17898 hardcode_minus_L=$hardcode_minus_L_CXX
17900 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17901 # into the resulting binary.
17902 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17904 # Set to "yes" if building a shared library automatically hardcodes DIR
17905 # into the library and all subsequent libraries and executables linked
17907 hardcode_automatic=$hardcode_automatic_CXX
17909 # Set to yes if linker adds runtime paths of dependent libraries
17910 # to runtime path list.
17911 inherit_rpath=$inherit_rpath_CXX
17913 # Whether libtool must link a program against all its dependency libraries.
17914 link_all_deplibs=$link_all_deplibs_CXX
17916 # Fix the shell variable \$srcfile for the compiler.
17917 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17919 # Set to "yes" if exported symbols are required.
17920 always_export_symbols=$always_export_symbols_CXX
17922 # The commands to list exported symbols.
17923 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17925 # Symbols that should not be listed in the preloaded symbols.
17926 exclude_expsyms=$lt_exclude_expsyms_CXX
17928 # Symbols that must always be exported.
17929 include_expsyms=$lt_include_expsyms_CXX
17931 # Commands necessary for linking programs (against libraries) with templates.
17932 prelink_cmds=$lt_prelink_cmds_CXX
17934 # Specify filename containing input files.
17935 file_list_spec=$lt_file_list_spec_CXX
17937 # How to hardcode a shared library path into an executable.
17938 hardcode_action=$hardcode_action_CXX
17940 # The directories searched by this compiler when creating a shared library.
17941 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17943 # Dependencies to place before and after the objects being linked to
17944 # create a shared library.
17945 predep_objects=$lt_predep_objects_CXX
17946 postdep_objects=$lt_postdep_objects_CXX
17947 predeps=$lt_predeps_CXX
17948 postdeps=$lt_postdeps_CXX
17950 # The library search path used internally by the compiler when linking
17951 # a shared library.
17952 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17954 # ### END LIBTOOL TAG CONFIG: CXX
17958 "./Makefile":F
) cat > vpsed$$
<< \_EOF
17959 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17961 sed -f vpsed$$
$ac_file > tmp$$
17964 echo 'MULTISUBDIR =' >> $ac_file
17966 .
${multi_basedir}/config-ml.
in
17967 { ml_norecursion
=; unset ml_norecursion
;}
17969 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17970 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17972 sed -f vpsed$$
$ac_file > tmp$$
17975 echo 'MULTISUBDIR =' >> $ac_file
17977 .
${multi_basedir}/config-ml.
in
17978 { ml_norecursion
=; unset ml_norecursion
;}
17987 ac_clean_files
=$ac_clean_files_save
17989 test $ac_write_fail = 0 ||
17990 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17993 # configure is writing to config.log, and then calls config.status.
17994 # config.status does its own redirection, appending to config.log.
17995 # Unfortunately, on DOS this fails, as config.log is still kept open
17996 # by configure, so config.status won't be able to write to it; its
17997 # output is simply discarded. So we exec the FD to /dev/null,
17998 # effectively closing config.log, so it can be properly (re)opened and
17999 # appended to by config.status. When coming back to configure, we
18000 # need to make the FD available again.
18001 if test "$no_create" != yes; then
18003 ac_config_status_args
=
18004 test "$silent" = yes &&
18005 ac_config_status_args
="$ac_config_status_args --quiet"
18007 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18009 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18010 # would make configure fail if this is the last instruction.
18011 $ac_cs_success || as_fn_exit $?
18013 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18015 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}