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
648 MAINTAINER_MODE_FALSE
668 INSTALL_STRIP_PROGRAM
683 ENABLE_VTABLE_VERIFY_FALSE
684 ENABLE_VTABLE_VERIFY_TRUE
695 LIBSTDCXX_RAW_CXX_LDFLAGS
696 LIBSTDCXX_RAW_CXX_CXXFLAGS
738 program_transform_name
751 enable_option_checking
753 enable_version_specific_runtime_libs
755 enable_dependency_tracking
756 enable_maintainer_mode
764 with_gcc_major_version_only
766 ac_precious_vars
='build_alias
778 # Initialize some variables set by options.
780 ac_init_version
=false
781 ac_unrecognized_opts
=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir |
--docdir |
--docdi |
--doc |
--do)
898 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
901 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
903 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
906 -enable-* |
--enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1147 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1150 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1154 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1157 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information."
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1169 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1231 If a cross compiler is detected then cross compile mode will be used." >&2
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1382 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive
) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
1393 --disable-option-checking ignore unrecognized
--enable/--with options
1394 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1395 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1396 --enable-multilib build many library versions
(default
)
1397 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1398 --enable-vtable-verify Enable vtable verification feature
1399 --disable-dependency-tracking speeds up one-time build
1400 --enable-dependency-tracking do not reject slow dependency extractors
1401 --enable-maintainer-mode enable make rules and dependencies not useful
1402 (and sometimes confusing
) to the casual installer
1403 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1404 --enable-static[=PKGS
] build static libraries
[default
=yes]
1405 --enable-fast-install[=PKGS
]
1406 optimize
for fast installation
[default
=yes]
1407 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1408 --enable-cet enable Intel CET
in target libraries
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1416 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1417 --with-gcc-major-version-only
1418 use only GCC major number
in filesystem paths
1420 Some influential environment variables
:
1421 CC C compiler
command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1424 nonstandard directory
<lib dir
>
1425 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1426 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1427 you have headers
in a nonstandard directory
<include dir
>
1429 CXX C
++ compiler
command
1430 CXXFLAGS C
++ compiler flags
1431 CXXCPP C
++ preprocessor
1433 Use these variables to override the choices made by
`configure' or to help
1434 it to find libraries and programs with nonstandard names/locations.
1436 Report bugs to the package provider.
1437 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1438 General help using GNU software: <http://www.gnu.org/gethelp/>.
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" ||
1447 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1468 .) # We are building in place.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1492 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1501 GNU Vtable Verification Runtime Library configure 1.0
1502 generated by GNU Autoconf 2.64
1504 Copyright (C) 2009 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 rm -f conftest.$ac_objext
1522 if { { ac_try="$ac_compile"
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_compile") 2>conftest.err
1531 if test -s conftest.err
; then
1532 grep -v '^ *+' conftest.err
>conftest.er1
1533 cat conftest.er1
>&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } && {
1538 test -z "$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1540 } && test -s conftest.
$ac_objext; then :
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1551 } # ac_fn_c_try_compile
1553 # ac_fn_c_try_cpp LINENO
1554 # ----------------------
1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1558 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1559 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } >/dev/null && {
1575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1593 # the include files in INCLUDES and setting the cache variable VAR
1595 ac_fn_c_check_header_mongrel ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1602 $as_echo_n "(cached) " >&6
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1608 # Is the header compilable?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1610 $as_echo_n "checking $2 usability... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1616 if ac_fn_c_try_compile "$LINENO"; then :
1617 ac_header_compiler=yes
1619 ac_header_compiler=no
1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1623 $as_echo "$ac_header_compiler" >&6; }
1625 # Is the header present?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1627 $as_echo_n "checking $2 presence... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1632 if ac_fn_c_try_cpp "$LINENO"; then :
1633 ac_header_preproc=yes
1635 ac_header_preproc=no
1637 rm -f conftest.err conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1639 $as_echo "$ac_header_preproc" >&6; }
1641 # So? What about this header?
1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1653 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1657 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1665 $as_echo_n "(cached) " >&6
1667 eval "$3=\$ac_header_compiler"
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 } # ac_fn_c_check_header_mongrel
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1687 *) ac_try_echo
=$ac_try;;
1689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 ac_retval=$ac_status
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1720 # -------------------------------------------------------
1721 # Tests whether HEADER exists and can be compiled using the include files in
1722 # INCLUDES, setting the cache variable VAR accordingly.
1723 ac_fn_c_check_header_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1729 $as_echo_n "(cached) " >&6
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1736 if ac_fn_c_try_compile "$LINENO"; then :
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_check_header_compile
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext conftest$ac_exeext
1757 if { { ac_try="$ac_link"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_link") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest
$ac_exeext && {
1776 test "$cross_compiling" = yes ||
1777 $as_test_x conftest
$ac_exeext
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788 # interfere with the next link command; also delete a directory that is
1789 # left behind by Apple's compiler. We do this before executing the actions.
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1794 } # ac_fn_c_try_link
1796 # ac_fn_c_check_func LINENO FUNC VAR
1797 # ----------------------------------
1798 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1799 ac_fn_c_check_func
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1809 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1811 #define $2 innocuous_$2
1813 /* System header to define __stub macros and hopefully few prototypes,
1814 which can conflict with char $2 (); below.
1815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1816 <limits.h> exists even on freestanding compilers. */
1819 # include <limits.h>
1821 # include <assert.h>
1826 /* Override any GCC internal prototype to avoid an error.
1827 Use char because int might match the return type of a GCC
1828 builtin and then its argument prototype would still apply. */
1833 /* The GNU C library defines this for functions which it implements
1834 to always fail with ENOSYS. Some functions are actually named
1835 something starting with __ and the normal name is an alias. */
1836 #if defined __stub_$2 || defined __stub___$2
1848 if ac_fn_c_try_link
"$LINENO"; then :
1853 rm -f core conftest.err conftest.
$ac_objext \
1854 conftest
$ac_exeext conftest.
$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_c_check_func
1863 # ac_fn_cxx_try_compile LINENO
1864 # ----------------------------
1865 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1866 ac_fn_cxx_try_compile
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 rm -f conftest.
$ac_objext
1870 if { { ac_try
="$ac_compile"
1872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_compile") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_cxx_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest.$ac_objext; then :
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.$ac_ext >&5
1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_cxx_try_compile
1901 # ac_fn_cxx_try_cpp LINENO
1902 # ------------------------
1903 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1904 ac_fn_cxx_try_cpp ()
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 if { { ac_try="$ac_cpp conftest.$ac_ext"
1909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1910 *) ac_try_echo
=$ac_try;;
1912 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913 $as_echo "$ac_try_echo"; } >&5
1914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1916 if test -s conftest.err
; then
1917 grep -v '^ *+' conftest.err
>conftest.er1
1918 cat conftest.er1
>&5
1919 mv -f conftest.er1 conftest.err
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } >/dev
/null
&& {
1923 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1924 test ! -s conftest.err
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1936 } # ac_fn_cxx_try_cpp
1938 # ac_fn_cxx_try_link LINENO
1939 # -------------------------
1940 # Try to link conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_cxx_try_link
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 rm -f conftest.
$ac_objext conftest
$ac_exeext
1945 if { { ac_try
="$ac_link"
1947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_link") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_cxx_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest$ac_exeext && {
1964 test "$cross_compiling" = yes ||
1965 $as_test_x conftest$ac_exeext
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.$ac_ext >&5
1974 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1975 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1976 # interfere with the next link command; also delete a directory that is
1977 # left behind by Apple's compiler. We do this before executing the actions.
1978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982 } # ac_fn_cxx_try_link
1983 cat >config.log <<_ACEOF
1984 This file contains any messages produced by compilers while
1985 running configure, to aid debugging if configure makes a mistake.
1987 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1988 generated by GNU Autoconf 2.64. Invocation command line was
2000 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2001 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2002 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2003 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2004 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2006 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2007 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2009 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2010 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2011 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2012 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2013 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2014 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2015 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 test -z "$as_dir" && as_dir=.
2024 $as_echo "PATH: $as_dir"
2040 # Keep a trace of the command line.
2041 # Strip out --no-create and --no-recursion so they do not pile up.
2042 # Strip out --silent because we don't want to record it for future runs.
2043 # Also quote any args containing shell meta-characters.
2044 # Make two passes to allow for proper duplicate-argument suppression.
2048 ac_must_keep_next=false
2054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2056 | -silent | --silent | --silen | --sile | --sil)
2059 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2062 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2064 as_fn_append ac_configure_args1 " '$ac_arg'"
2065 if test $ac_must_keep_next = true; then
2066 ac_must_keep_next=false # Got value, back to normal.
2069 *=* | --config-cache | -C | -disable-* | --disable-* \
2070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2072 | -with-* | --with-* | -without-* | --without-* | --x)
2073 case "$ac_configure_args0 " in
2074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2077 -* ) ac_must_keep_next=true ;;
2080 as_fn_append ac_configure_args " '$ac_arg'"
2085 { ac_configure_args0=; unset ac_configure_args0;}
2086 { ac_configure_args1=; unset ac_configure_args1;}
2088 # When interrupted or exit'd, cleanup temporary files, and complete
2089 # config.log. We remove comments because anyway the quotes in there
2090 # would cause problems or look ugly.
2091 # WARNING: Use '\'' to represent an apostrophe within the trap.
2092 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2093 trap 'exit_status=$?
2094 # Save into config.log some information that might help in debugging.
2099 ## ---------------- ##
2100 ## Cache variables. ##
2101 ## ---------------- ##
2104 # The following way of writing the cache mishandles newlines in values,
2106 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2107 eval ac_val=\$$ac_var
2111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2115 _ | IFS | as_nl) ;; #(
2116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2117 *) { eval $ac_var=; unset $ac_var;} ;;
2122 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2123 *${as_nl}ac_space=\ *)
2125 "s/'\''/'\''\\\\'\'''\''/g;
2126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2137 ## ----------------- ##
2138 ## Output variables. ##
2139 ## ----------------- ##
2142 for ac_var in $ac_subst_vars
2144 eval ac_val=\$$ac_var
2146 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 $as_echo "$ac_var='\''$ac_val'\''"
2152 if test -n "$ac_subst_files"; then
2154 ## ------------------- ##
2155 ## File substitutions. ##
2156 ## ------------------- ##
2159 for ac_var in $ac_subst_files
2161 eval ac_val=\$$ac_var
2163 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 $as_echo "$ac_var='\''$ac_val'\''"
2170 if test -s confdefs.h; then
2180 test "$ac_signal" != 0 &&
2181 $as_echo "$as_me: caught signal $ac_signal"
2182 $as_echo "$as_me: exit $exit_status"
2184 rm -f core *.core core.conftest.* &&
2185 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2188 for ac_signal in 1 2 13 15; do
2189 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2194 rm -f -r conftest* confdefs.h
2196 $as_echo "/* confdefs.h */" > confdefs.h
2198 # Predefined preprocessor variables.
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_NAME "$PACKAGE_NAME"
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_STRING "$PACKAGE_STRING"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_URL "$PACKAGE_URL"
2225 # Let the site file select an alternate cache file if it wants to.
2226 # Prefer an explicitly selected file to automatically selected ones.
2229 if test -n "$CONFIG_SITE"; then
2230 ac_site_file1=$CONFIG_SITE
2231 elif test "x$prefix" != xNONE; then
2232 ac_site_file1=$prefix/share/config.site
2233 ac_site_file2=$prefix/etc/config.site
2235 ac_site_file1=$ac_default_prefix/share/config.site
2236 ac_site_file2=$ac_default_prefix/etc/config.site
2238 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2240 test "x$ac_site_file" = xNONE && continue
2241 if test -r "$ac_site_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2243 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2244 sed 's/^/| /' "$ac_site_file" >&5
2249 if test -r "$cache_file"; then
2250 # Some versions of bash will fail to source /dev/null (special
2251 # files actually), so we avoid doing that.
2252 if test -f "$cache_file"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2254 $as_echo "$as_me: loading cache $cache_file" >&6;}
2256 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2257 *) . "./$cache_file";;
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2262 $as_echo "$as_me: creating cache $cache_file" >&6;}
2266 # Check that the precious variables saved in the cache have kept the same
2268 ac_cache_corrupted=false
2269 for ac_var in $ac_precious_vars; do
2270 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2271 eval ac_new_set=\$ac_env_${ac_var}_set
2272 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2273 eval ac_new_val=\$ac_env_${ac_var}_value
2274 case $ac_old_set,$ac_new_set in
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2277 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2278 ac_cache_corrupted=: ;;
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2281 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2282 ac_cache_corrupted=: ;;
2285 if test "x$ac_old_val" != "x$ac_new_val"; then
2286 # differences in whitespace do not lead to failure.
2287 ac_old_val_w=`echo x
$ac_old_val`
2288 ac_new_val_w=`echo x
$ac_new_val`
2289 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2291 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2292 ac_cache_corrupted=:
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2295 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2296 eval $ac_var=\$ac_old_val
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2299 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2301 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2304 # Pass precious variables to config.status.
2305 if test "$ac_new_set" = set; then
2307 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2308 *) ac_arg=$ac_var=$ac_new_val ;;
2310 case " $ac_configure_args " in
2311 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2312 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2316 if $ac_cache_corrupted; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2320 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2321 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2323 ## -------------------- ##
2324 ## Main body of script. ##
2325 ## -------------------- ##
2328 ac_cpp='$CPP $CPPFLAGS'
2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337 #AC_INIT(package-unused, version-unused, libvtv)
2340 # Default to --enable-multilib
2341 # Check whether --enable-multilib was given.
2342 if test "${enable_multilib+set}" = set; then :
2343 enableval=$enable_multilib; case "$enableval" in
2344 yes) multilib=yes ;;
2346 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2353 # We may get other options which we leave undocumented:
2354 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2355 # See config-ml.in if you want the gory details.
2357 if test "$srcdir" = "."; then
2358 if test "$with_target_subdir" != "."; then
2359 multi_basedir="$srcdir/$with_multisrctop../.."
2361 multi_basedir="$srcdir/$with_multisrctop.."
2364 multi_basedir="$srcdir/.."
2368 # Even if the default multilib is not a cross compilation,
2369 # it may be that some of the other multilibs are.
2370 if test $cross_compiling = no && test $multilib = yes \
2371 && test "x${with_multisubdir}" != x ; then
2372 cross_compiling=maybe
2375 ac_config_commands="$ac_config_commands default-1"
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2382 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2383 # Check whether --enable-version-specific-runtime-libs was given.
2384 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2385 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2386 yes) version_specific_libs=yes ;;
2387 no) version_specific_libs=no ;;
2388 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2391 version_specific_libs=no
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2395 $as_echo "$version_specific_libs" >&6; }
2397 # Do not delete or change the following two lines. For why, see
2398 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2400 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2401 for ac_t in install-sh install.sh shtool; do
2402 if test -f "$ac_dir/$ac_t"; then
2404 ac_install_sh="$ac_aux_dir/$ac_t -c"
2409 if test -z "$ac_aux_dir"; then
2410 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2413 # These three variables are undocumented and unsupported,
2414 # and are intended to be withdrawn in a future Autoconf release.
2415 # They can cause serious problems if a builder's source tree is in a directory
2416 # whose full name contains unusual characters.
2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2419 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2424 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2427 $as_echo_n "checking build system type... " >&6; }
2428 if test "${ac_cv_build+set}" = set; then :
2429 $as_echo_n "(cached) " >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2436 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2437 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2441 $as_echo "$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2444 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2447 ac_save_IFS=$IFS; IFS='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2461 $as_echo_n "checking host system type... " >&6; }
2462 if test "${ac_cv_host+set}" = set; then :
2463 $as_echo_n "(cached) " >&6
2465 if test "x$host_alias" = x; then
2466 ac_cv_host=$ac_cv_build
2468 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2469 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2474 $as_echo "$ac_cv_host" >&6; }
2477 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2480 ac_save_IFS=$IFS; IFS='-'
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2490 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2494 $as_echo_n "checking target system type... " >&6; }
2495 if test "${ac_cv_target+set}" = set; then :
2496 $as_echo_n "(cached) " >&6
2498 if test "x$target_alias" = x; then
2499 ac_cv_target=$ac_cv_host
2501 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2502 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2507 $as_echo "$ac_cv_target" >&6; }
2508 case $ac_cv_target in
2510 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2512 target=$ac_cv_target
2513 ac_save_IFS=$IFS; IFS='-'
2519 # Remember, the first character of IFS is used to create $*,
2520 # except with old shells:
2523 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2526 # The aliases save the names the user supplied, while $host etc.
2527 # will get canonicalized.
2528 test -n "$target_alias" &&
2529 test "$program_prefix$program_suffix$program_transform_name" = \
2531 program_prefix=${target_alias}-
2533 target_alias=${target_alias-$host_alias}
2535 case ${build_alias} in
2536 "") build_noncanonical=${build} ;;
2537 *) build_noncanonical=${build_alias} ;;
2540 case ${host_alias} in
2541 "") host_noncanonical=${build_noncanonical} ;;
2542 *) host_noncanonical=${host_alias} ;;
2545 case ${target_alias} in
2546 "") target_noncanonical=${host_noncanonical} ;;
2547 *) target_noncanonical=${target_alias} ;;
2554 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2555 -I\$(top_builddir)/../libstdc++-v3/include \
2556 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2557 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2558 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2559 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2565 ac_cpp='$CPP $CPPFLAGS'
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2569 if test -n "$ac_tool_prefix"; then
2570 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2573 $as_echo_n "checking for $ac_word... " >&6; }
2574 if test "${ac_cv_prog_CC+set}" = set; then :
2575 $as_echo_n "(cached) " >&6
2577 if test -n "$CC"; then
2578 ac_cv_prog_CC="$CC" # Let the user override the test.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 if test -n "$CC"; then
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2600 $as_echo "$CC" >&6; }
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603 $as_echo "no" >&6; }
2608 if test -z "$ac_cv_prog_CC"; then
2610 # Extract the first word of "gcc", so it can be a program name with args.
2611 set dummy gcc; ac_word=$2
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2615 $as_echo_n "(cached) " >&6
2617 if test -n "$ac_ct_CC"; then
2618 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_ac_ct_CC="gcc"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2638 if test -n "$ac_ct_CC"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2640 $as_echo "$ac_ct_CC" >&6; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2646 if test "x$ac_ct_CC" = x; then
2649 case $cross_compiling:$ac_tool_warned in
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2653 ac_tool_warned=yes ;;
2661 if test -z "$CC"; then
2662 if test -n "$ac_tool_prefix"; then
2663 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2664 set dummy ${ac_tool_prefix}cc; ac_word=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if test "${ac_cv_prog_CC+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$CC"; then
2671 ac_cv_prog_CC="$CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_CC="${ac_tool_prefix}cc"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2693 $as_echo "$CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2702 if test -z "$CC"; then
2703 # Extract the first word of "cc", so it can be a program name with args.
2704 set dummy cc; ac_word=$2
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706 $as_echo_n "checking for $ac_word... " >&6; }
2707 if test "${ac_cv_prog_CC+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 if test -n "$CC"; then
2711 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2722 ac_prog_rejected=yes
2726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test $ac_prog_rejected = yes; then
2734 # We found a bogon in the path, so make sure we never use it.
2735 set dummy $ac_cv_prog_CC
2737 if test $# != 0; then
2738 # We chose a different compiler from the bogus one.
2739 # However, it has the same basename, so the bogon will be chosen
2740 # first if we set CC to just the basename; use the full file name.
2742 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2748 if test -n "$CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2758 if test -z "$CC"; then
2759 if test -n "$ac_tool_prefix"; then
2760 for ac_prog in cl.exe
2762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2763 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2799 test -n "$CC" && break
2802 if test -z "$CC"; then
2804 for ac_prog in cl.exe
2806 # Extract the first word of "$ac_prog", so it can be a program name with args.
2807 set dummy $ac_prog; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$ac_ct_CC"; then
2814 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_ac_ct_CC="$ac_prog"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2834 if test -n "$ac_ct_CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2836 $as_echo "$ac_ct_CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$ac_ct_CC" && break
2846 if test "x$ac_ct_CC" = x; then
2849 case $cross_compiling:$ac_tool_warned in
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2853 ac_tool_warned=yes ;;
2862 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2864 as_fn_error "no acceptable C compiler found
in \
$PATH
2865 See \
`config.log' for more details." "$LINENO" 5; }
2867 # Provide some information about the compiler.
2868 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2871 for ac_option in --version -v -V -qversion; do
2872 { { ac_try="$ac_compiler $ac_option >&5"
2874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2875 *) ac_try_echo
=$ac_try;;
2877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2881 if test -s conftest.err
; then
2883 ... rest of stderr output deleted ...
2884 10q' conftest.err
>conftest.er1
2885 cat conftest.er1
>&5
2886 rm -f conftest.er1 conftest.err
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; }
2892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2903 ac_clean_files_save
=$ac_clean_files
2904 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2905 # Try to create an executable without -o first, disregard a.out.
2906 # It will help us diagnose broken compilers, and finding out an intuition
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2909 $as_echo_n "checking for C compiler default output file name... " >&6; }
2910 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2912 # The possible output files:
2913 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2916 for ac_file
in $ac_files
2919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2920 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2925 if { { ac_try
="$ac_link_default"
2927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_link_default") 2>&5
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; }; then :
2936 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2937 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2938 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2939 # so that the user can short-circuit this test for compilers unknown to
2941 for ac_file in $ac_files ''
2943 test -f "$ac_file" || continue
2945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2948 # We found the default executable, but exeext='' is most
2952 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2954 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2956 # We set ac_cv_exeext here because the later test for it is not
2957 # safe: cross compilers may not add the suffix if given an `-o'
2958 # argument, so we may need to know it at that point already.
2959 # Even if this section looks crufty: it has the advantage of
2966 test "$ac_cv_exeext" = no && ac_cv_exeext=
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2972 $as_echo "$ac_file" >&6; }
2973 if test -z "$ac_file"; then :
2974 $as_echo "$as_me: failed program was:" >&5
2975 sed 's
/^
/|
/' conftest.$ac_ext >&5
2977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2979 { as_fn_set_status 77
2980 as_fn_error "C compiler cannot create executables
2981 See \`config.log
' for more details." "$LINENO" 5; }; }
2983 ac_exeext=$ac_cv_exeext
2985 # Check that the compiler produces executables we can run. If not, either
2986 # the compiler is broken, or we cross compile.
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2988 $as_echo_n "checking whether the C compiler works... " >&6; }
2989 # If not cross compiling, check that we can run a simple program.
2990 if test "$cross_compiling" != yes; then
2991 if { ac_try='.
/$ac_file'
2992 { { case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_try") 2>&5
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; }; }; then
3004 if test "$cross_compiling" = maybe; then
3007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3008 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3009 as_fn_error "cannot run C compiled programs.
3010 If you meant to cross compile, use \`--host'.
3011 See \`config.log' for more details.
" "$LINENO" 5; }
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3016 $as_echo "yes" >&6; }
3018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3019 ac_clean_files=$ac_clean_files_save
3020 # Check that the compiler produces executables we can run. If not, either
3021 # the compiler is broken, or we cross compile.
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3023 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3025 $as_echo "$cross_compiling" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3028 $as_echo_n "checking
for suffix of executables...
" >&6; }
3029 if { { ac_try="$ac_link"
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3034 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3035 $as_echo "$ac_try_echo"; } >&5
3036 (eval "$ac_link") 2>&5
3038 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3039 test $ac_status = 0; }; then :
3040 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3041 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3042 # work properly (i.e., refer to `conftest.exe'), while it won't with
3044 for ac_file in conftest.exe conftest conftest.*; do
3045 test -f "$ac_file" || continue
3047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3048 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error "cannot compute suffix of executables: cannot compile and link
3057 See \`config.log' for more details.
" "$LINENO" 5; }
3059 rm -f conftest$ac_cv_exeext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3061 $as_echo "$ac_cv_exeext" >&6; }
3063 rm -f conftest.$ac_ext
3064 EXEEXT=$ac_cv_exeext
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3067 $as_echo_n "checking
for suffix of object files...
" >&6; }
3068 if test "${ac_cv_objext+set}" = set; then :
3069 $as_echo_n "(cached
) " >&6
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3082 rm -f conftest.o conftest.obj
3083 if { { ac_try="$ac_compile"
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_compile") 2>&5
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3093 test $ac_status = 0; }; then :
3094 for ac_file in conftest.o conftest.obj conftest.*; do
3095 test -f "$ac_file" || continue;
3097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3103 $as_echo "$as_me: failed program was
:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 as_fn_error "cannot compute suffix of object files: cannot compile
3109 See \`config.log' for more details.
" "$LINENO" 5; }
3111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3114 $as_echo "$ac_cv_objext" >&6; }
3115 OBJEXT=$ac_cv_objext
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3118 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3119 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3120 $as_echo_n "(cached
) " >&6
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3136 if ac_fn_c_try_compile "$LINENO"; then :
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3146 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3147 if test $ac_compiler_gnu = yes; then
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3155 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3156 if test "${ac_cv_prog_cc_g+set}" = set; then :
3157 $as_echo_n "(cached
) " >&6
3159 ac_save_c_werror_flag=$ac_c_werror_flag
3160 ac_c_werror_flag=yes
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3174 if ac_fn_c_try_compile "$LINENO"; then :
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3189 if ac_fn_c_try_compile "$LINENO"; then :
3192 ac_c_werror_flag=$ac_save_c_werror_flag
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 ac_c_werror_flag=$ac_save_c_werror_flag
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3216 $as_echo "$ac_cv_prog_cc_g" >&6; }
3217 if test "$ac_test_CFLAGS" = set; then
3218 CFLAGS=$ac_save_CFLAGS
3219 elif test $ac_cv_prog_cc_g = yes; then
3220 if test "$GCC" = yes; then
3226 if test "$GCC" = yes; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3233 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3234 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3235 $as_echo_n "(cached
) " >&6
3237 ac_cv_prog_cc_c89=no
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3243 #include <sys/types.h>
3244 #include <sys/stat.h>
3245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3246 struct buf { int x; };
3247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3248 static char *e (p, i)
3254 static char *f (char * (*g) (char **, int), char **p, ...)
3259 s = g (p, va_arg (v,int));
3264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3265 function prototypes and stuff, but not '\xHH' hex character constants.
3266 These don't provoke an error unfortunately, instead are silently treated
3267 as 'x'. The following induces an error, until -std is added to get
3268 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3269 array size at least. It's necessary to write '\x00'==0 to get something
3270 that's true only with -std. */
3271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3274 inside strings and character constants. */
3276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3278 int test (int i, double x);
3279 struct s1 {int (*f) (int a);};
3280 struct s2 {int (*f) (double a);};
3281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3287 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3293 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3295 CC="$ac_save_CC $ac_arg"
3296 if ac_fn_c_try_compile "$LINENO"; then :
3297 ac_cv_prog_cc_c89=$ac_arg
3299 rm -f core conftest.err conftest.$ac_objext
3300 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3302 rm -f conftest.$ac_ext
3307 case "x
$ac_cv_prog_cc_c89" in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3310 $as_echo "none needed
" >&6; } ;;
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3313 $as_echo "unsupported
" >&6; } ;;
3315 CC="$CC $ac_cv_prog_cc_c89"
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3319 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3324 ac_cpp='$CPP $CPPFLAGS'
3325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3336 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3337 # On Suns, sometimes $CPP names a directory.
3338 if test -n "$CPP" && test -d "$CPP"; then
3341 if test -z "$CPP"; then
3342 if test "${ac_cv_prog_CPP+set}" = set; then :
3343 $as_echo_n "(cached
) " >&6
3345 # Double quotes because CPP needs to be expanded
3346 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3349 for ac_c_preproc_warn_flag in '' yes
3351 # Use a header file that comes with gcc, so configuring glibc
3352 # with a fresh cross-compiler works.
3353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3354 # <limits.h> exists even on freestanding compilers.
3355 # On the NeXT, cc -E runs the code through the compiler's parser,
3356 # not just through cpp. "Syntax error
" is here to catch this case.
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3360 # include <limits.h>
3362 # include <assert.h>
3366 if ac_fn_c_try_cpp "$LINENO"; then :
3369 # Broken: fails on valid input.
3372 rm -f conftest.err conftest.$ac_ext
3374 # OK, works on sane cases. Now check whether nonexistent headers
3375 # can be detected and how.
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3378 #include <ac_nonexistent.h>
3380 if ac_fn_c_try_cpp "$LINENO"; then :
3381 # Broken: success on invalid input.
3384 # Passes both tests.
3388 rm -f conftest.err conftest.$ac_ext
3391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3392 rm -f conftest.err conftest.$ac_ext
3393 if $ac_preproc_ok; then :
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3406 $as_echo "$CPP" >&6; }
3408 for ac_c_preproc_warn_flag in '' yes
3410 # Use a header file that comes with gcc, so configuring glibc
3411 # with a fresh cross-compiler works.
3412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3413 # <limits.h> exists even on freestanding compilers.
3414 # On the NeXT, cc -E runs the code through the compiler's parser,
3415 # not just through cpp. "Syntax error
" is here to catch this case.
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3419 # include <limits.h>
3421 # include <assert.h>
3425 if ac_fn_c_try_cpp "$LINENO"; then :
3428 # Broken: fails on valid input.
3431 rm -f conftest.err conftest.$ac_ext
3433 # OK, works on sane cases. Now check whether nonexistent headers
3434 # can be detected and how.
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3439 if ac_fn_c_try_cpp "$LINENO"; then :
3440 # Broken: success on invalid input.
3443 # Passes both tests.
3447 rm -f conftest.err conftest.$ac_ext
3450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3451 rm -f conftest.err conftest.$ac_ext
3452 if $ac_preproc_ok; then :
3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3458 See \`config.log' for more details.
" "$LINENO" 5; }
3462 ac_cpp='$CPP $CPPFLAGS'
3463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3469 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3470 if test "${ac_cv_path_GREP+set}" = set; then :
3471 $as_echo_n "(cached
) " >&6
3473 if test -z "$GREP"; then
3474 ac_path_GREP_found=false
3475 # Loop through the user's path and test for each of PROGNAME-LIST
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3480 test -z "$as_dir" && as_dir=.
3481 for ac_prog in grep ggrep; do
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3484 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3485 # Check for GNU ac_path_GREP and select it if it is found.
3486 # Check for GNU $ac_path_GREP
3487 case `"$ac_path_GREP" --version 2>&1` in
3489 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3492 $as_echo_n 0123456789 >"conftest.
in"
3495 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3496 mv "conftest.tmp
" "conftest.
in"
3497 cp "conftest.
in" "conftest.
nl"
3498 $as_echo 'GREP' >> "conftest.
nl"
3499 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3500 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3501 as_fn_arith $ac_count + 1 && ac_count=$as_val
3502 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3503 # Best one so far, save it but keep looking for a better one
3504 ac_cv_path_GREP="$ac_path_GREP"
3505 ac_path_GREP_max=$ac_count
3507 # 10*(2^10) chars as input seems more than enough
3508 test $ac_count -gt 10 && break
3510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3513 $ac_path_GREP_found && break 3
3518 if test -z "$ac_cv_path_GREP"; then
3519 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3522 ac_cv_path_GREP=$GREP
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3527 $as_echo "$ac_cv_path_GREP" >&6; }
3528 GREP="$ac_cv_path_GREP"
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3532 $as_echo_n "checking
for egrep...
" >&6; }
3533 if test "${ac_cv_path_EGREP+set}" = set; then :
3534 $as_echo_n "(cached
) " >&6
3536 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3537 then ac_cv_path_EGREP="$GREP -E"
3539 if test -z "$EGREP"; then
3540 ac_path_EGREP_found=false
3541 # Loop through the user's path and test for each of PROGNAME-LIST
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3546 test -z "$as_dir" && as_dir=.
3547 for ac_prog in egrep; do
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3550 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3551 # Check for GNU ac_path_EGREP and select it if it is found.
3552 # Check for GNU $ac_path_EGREP
3553 case `"$ac_path_EGREP" --version 2>&1` in
3555 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3558 $as_echo_n 0123456789 >"conftest.
in"
3561 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3562 mv "conftest.tmp
" "conftest.
in"
3563 cp "conftest.
in" "conftest.
nl"
3564 $as_echo 'EGREP' >> "conftest.
nl"
3565 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3566 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3567 as_fn_arith $ac_count + 1 && ac_count=$as_val
3568 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3569 # Best one so far, save it but keep looking for a better one
3570 ac_cv_path_EGREP="$ac_path_EGREP"
3571 ac_path_EGREP_max=$ac_count
3573 # 10*(2^10) chars as input seems more than enough
3574 test $ac_count -gt 10 && break
3576 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3579 $ac_path_EGREP_found && break 3
3584 if test -z "$ac_cv_path_EGREP"; then
3585 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3588 ac_cv_path_EGREP=$EGREP
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3594 $as_echo "$ac_cv_path_EGREP" >&6; }
3595 EGREP="$ac_cv_path_EGREP"
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3599 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3600 if test "${ac_cv_header_stdc+set}" = set; then :
3601 $as_echo_n "(cached
) " >&6
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 ac_cv_header_stdc=yes
3621 ac_cv_header_stdc=no
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 if test $ac_cv_header_stdc = yes; then
3626 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3632 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3633 $EGREP "memchr
" >/dev/null 2>&1; then :
3636 ac_cv_header_stdc=no
3642 if test $ac_cv_header_stdc = yes; then
3643 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3649 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3650 $EGREP "free
" >/dev/null 2>&1; then :
3653 ac_cv_header_stdc=no
3659 if test $ac_cv_header_stdc = yes; then
3660 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3661 if test "$cross_compiling" = yes; then :
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3668 #if ((' ' & 0x0FF) == 0x020)
3669 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3670 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3672 # define ISLOWER(c) \
3673 (('a' <= (c) && (c) <= 'i') \
3674 || ('j' <= (c) && (c) <= 'r') \
3675 || ('s' <= (c) && (c) <= 'z'))
3676 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3679 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3684 for (i = 0; i < 256; i++)
3685 if (XOR (islower (i), ISLOWER (i))
3686 || toupper (i) != TOUPPER (i))
3691 if ac_fn_c_try_run "$LINENO"; then :
3694 ac_cv_header_stdc=no
3696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3697 conftest.$ac_objext conftest.beam conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3703 $as_echo "$ac_cv_header_stdc" >&6; }
3704 if test $ac_cv_header_stdc = yes; then
3706 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3710 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3711 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3712 inttypes.h stdint.h unistd.h
3714 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3715 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3717 eval as_val
=\$
$as_ac_Header
3718 if test "x$as_val" = x
""yes; then :
3719 cat >>confdefs.h
<<_ACEOF
3720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3729 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3730 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3737 if test "$MINIX" = yes; then
3739 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3742 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3745 $as_echo "#define _MINIX 1" >>confdefs.h
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3751 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3752 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3753 $as_echo_n "(cached) " >&6
3755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3758 # define __EXTENSIONS__ 1
3759 $ac_includes_default
3768 if ac_fn_c_try_compile
"$LINENO"; then :
3769 ac_cv_safe_to_define___extensions__
=yes
3771 ac_cv_safe_to_define___extensions__
=no
3773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3776 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3777 test $ac_cv_safe_to_define___extensions__ = yes &&
3778 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3780 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3782 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3784 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3786 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3790 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3792 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3793 # Check whether --enable-vtable-verify was given.
3794 if test "${enable_vtable_verify+set}" = set; then :
3795 enableval
=$enable_vtable_verify; case "$enableval" in
3796 yes) enable_vtable_verify
=yes ;;
3797 no
) enable_vtable_verify
=no
;;
3798 *) enable_vtable_verify
=no
;;
3801 enable_vtable_verify
=no
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3805 $as_echo "$enable_vtable_verify" >&6; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3810 $as_echo_n "checking for host support for vtable verification... " >&6; }
3811 .
${srcdir}/configure.tgt
3814 # libvtv requires init priority support, which depends on the linker
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3817 $as_echo_n "checking for init priority support... " >&6; }
3818 if test "${libvtv_cv_init_priority+set}" = set; then :
3819 $as_echo_n "(cached) " >&6
3822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3828 void ip (void) __attribute__ ((constructor (1)));
3833 if ac_fn_c_try_compile
"$LINENO"; then :
3834 libgcc_cv_init_priority
=yes
3836 libgcc_cv_init_priority
=no
3838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3841 $as_echo "$libvtv_cv_init_priority" >&6; }
3842 if test x
$libvtv_cv_init_priority = xno
; then
3845 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3846 # configure.tgt restricting to libvtv to Solaris 11+.
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3850 $as_echo "$VTV_SUPPORTED" >&6; }
3852 # Decide if it's usable.
3853 use_vtable_verify
=no
3854 if test "x$VTV_SUPPORTED" = "xyes"; then
3855 if test "x$enable_vtable_verify" = "xyes"; then
3856 use_vtable_verify
=yes
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3858 $as_echo "$as_me: using vtable verification" >&6;}
3861 if test $use_vtable_verify = yes; then
3862 ENABLE_VTABLE_VERIFY_TRUE
=
3863 ENABLE_VTABLE_VERIFY_FALSE
='#'
3865 ENABLE_VTABLE_VERIFY_TRUE
='#'
3866 ENABLE_VTABLE_VERIFY_FALSE
=
3870 am__api_version
='1.11'
3872 # Find a good install program. We prefer a C program (faster),
3873 # so one script is as good as another. But avoid the broken or
3874 # incompatible versions:
3875 # SysV /etc/install, /usr/sbin/install
3876 # SunOS /usr/etc/install
3877 # IRIX /sbin/install
3879 # AmigaOS /C/install, which installs bootblocks on floppy discs
3880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3883 # OS/2's system install, which has a completely different semantic
3884 # ./install, which can be erroneously created by make from ./install.sh.
3885 # Reject install programs that cannot install multiple files.
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3887 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3888 if test -z "$INSTALL"; then
3889 if test "${ac_cv_path_install+set}" = set; then :
3890 $as_echo_n "(cached) " >&6
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 # Account for people who put trailing slashes in PATH elements.
3898 case $as_dir/ in #((
3899 .
/ | .
// |
/[cC
]/* | \
3900 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3901 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3904 # OSF1 and SCO ODT 3.0 have their own names for install.
3905 # Don't use installbsd from OSF since it installs stuff as root
3907 for ac_prog
in ginstall scoinst
install; do
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3910 if test $ac_prog = install &&
3911 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3912 # AIX install. It has an incompatible calling convention.
3914 elif test $ac_prog = install &&
3915 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3916 # program-specific install script used by HP pwplus--don't use.
3919 rm -rf conftest.one conftest.two conftest.dir
3920 echo one
> conftest.one
3921 echo two
> conftest.two
3923 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3924 test -s conftest.one
&& test -s conftest.two
&&
3925 test -s conftest.dir
/conftest.one
&&
3926 test -s conftest.dir
/conftest.two
3928 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3941 rm -rf conftest.one conftest.two conftest.dir
3944 if test "${ac_cv_path_install+set}" = set; then
3945 INSTALL
=$ac_cv_path_install
3947 # As a last resort, use the slow shell script. Don't cache a
3948 # value for INSTALL within a source directory, because that will
3949 # break other packages using the cache if that directory is
3950 # removed, or if the value is a relative name.
3951 INSTALL
=$ac_install_sh
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3955 $as_echo "$INSTALL" >&6; }
3957 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3958 # It thinks the first close brace ends the variable substitution.
3959 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3961 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3963 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3966 $as_echo_n "checking whether build environment is sane... " >&6; }
3969 echo timestamp
> conftest.
file
3970 # Reject unsafe characters in $srcdir or the absolute working directory
3971 # name. Accept space and tab only in the latter.
3975 *[\\\"\
#\$\&\'\`$am_lf]*)
3976 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3979 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3980 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3983 # Do `set' in a subshell so we don't clobber the current shell's
3984 # arguments. Must try -L first in case configure is actually a
3985 # symlink; some systems play weird games with the mod time of symlinks
3986 # (eg FreeBSD returns the mod time of the symlink's containing
3989 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3990 if test "$*" = "X"; then
3992 set X
`ls -t "$srcdir/configure" conftest.file`
3995 if test "$*" != "X $srcdir/configure conftest.file" \
3996 && test "$*" != "X conftest.file $srcdir/configure"; then
3998 # If neither matched, then we have a broken ls. This can happen
3999 # if, for instance, CONFIG_SHELL is bash and it inherits a
4000 # broken ls alias from the environment. This has actually
4001 # happened. Such a system could not be considered "sane".
4002 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4003 alias in your environment" "$LINENO" 5
4006 test "$2" = conftest.
file
4012 as_fn_error
"newly created file is older than distributed files!
4013 Check your system clock" "$LINENO" 5
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4017 test "$program_prefix" != NONE
&&
4018 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4019 # Use a double $ so make ignores it.
4020 test "$program_suffix" != NONE
&&
4021 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4022 # Double any \ or $.
4023 # By default was `s,x,x', remove it if useless.
4024 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4025 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4027 # expand $ac_aux_dir to an absolute path
4028 am_aux_dir
=`cd $ac_aux_dir && pwd`
4030 if test x
"${MISSING+set}" != xset
; then
4033 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4035 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4038 # Use eval to expand $SHELL
4039 if eval "$MISSING --run true"; then
4040 am_missing_run
="$MISSING --run "
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4044 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4047 if test x
"${install_sh}" != xset
; then
4050 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4052 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4056 # Installed binaries are usually stripped using `strip' when the user
4057 # run `make install-strip'. However `strip' might not be the right
4058 # tool to use in cross-compilation environments, therefore Automake
4059 # will honor the `STRIP' environment variable to overrule this program.
4060 if test "$cross_compiling" != no
; then
4061 if test -n "$ac_tool_prefix"; then
4062 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4063 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if test "${ac_cv_prog_STRIP+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -n "$STRIP"; then
4070 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 STRIP
=$ac_cv_prog_STRIP
4090 if test -n "$STRIP"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4092 $as_echo "$STRIP" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4100 if test -z "$ac_cv_prog_STRIP"; then
4102 # Extract the first word of "strip", so it can be a program name with args.
4103 set dummy strip
; ac_word
=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4109 if test -n "$ac_ct_STRIP"; then
4110 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir
=.
4117 for ac_exec_ext
in '' $ac_executable_extensions; do
4118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4119 ac_cv_prog_ac_ct_STRIP
="strip"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4130 if test -n "$ac_ct_STRIP"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4132 $as_echo "$ac_ct_STRIP" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4138 if test "x$ac_ct_STRIP" = x
; then
4141 case $cross_compiling:$ac_tool_warned in
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4145 ac_tool_warned
=yes ;;
4150 STRIP
="$ac_cv_prog_STRIP"
4154 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4157 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4158 if test -z "$MKDIR_P"; then
4159 if test "${ac_cv_path_mkdir+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4163 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4166 test -z "$as_dir" && as_dir
=.
4167 for ac_prog
in mkdir gmkdir
; do
4168 for ac_exec_ext
in '' $ac_executable_extensions; do
4169 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4170 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4171 'mkdir (GNU coreutils) '* | \
4172 'mkdir (coreutils) '* | \
4173 'mkdir (fileutils) '4.1*)
4174 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4184 if test "${ac_cv_path_mkdir+set}" = set; then
4185 MKDIR_P
="$ac_cv_path_mkdir -p"
4187 # As a last resort, use the slow shell script. Don't cache a
4188 # value for MKDIR_P within a source directory, because that will
4189 # break other packages using the cache if that directory is
4190 # removed, or if the value is a relative name.
4191 test -d .
/--version && rmdir .
/--version
4192 MKDIR_P
="$ac_install_sh -d"
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4196 $as_echo "$MKDIR_P" >&6; }
4200 [\\/$
]* | ?
:[\\/]*) ;;
4201 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4204 for ac_prog
in gawk mawk nawk
awk
4206 # Extract the first word of "$ac_prog", so it can be a program name with args.
4207 set dummy
$ac_prog; ac_word
=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if test "${ac_cv_prog_AWK+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$AWK"; then
4214 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_prog_AWK
="$ac_prog"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$AWK"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4236 $as_echo "$AWK" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4243 test -n "$AWK" && break
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4247 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4249 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4250 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4251 $as_echo_n "(cached) " >&6
4253 cat >conftest.
make <<\_ACEOF
4256 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4258 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4259 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4261 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4263 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4267 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4269 $as_echo "yes" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4274 SET_MAKE
="MAKE=${MAKE-make}"
4277 rm -rf .tst
2>/dev
/null
4278 mkdir .tst
2>/dev
/null
4279 if test -d .tst
; then
4284 rmdir .tst
2>/dev
/null
4286 DEPDIR
="${am__leading_dot}deps"
4288 ac_config_commands
="$ac_config_commands depfiles"
4291 am_make
=${MAKE-make}
4292 cat > confinc
<< 'END'
4294 @
echo this is the am__doit target
4297 # If we don't find an include directive, just comment out the code.
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4299 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4303 # First try GNU make style include.
4304 echo "include confinc" > confmf
4305 # Ignore all kinds of additional output from `make'.
4306 case `$am_make -s -f confmf 2> /dev/null` in #(
4307 *the\ am__doit\ target
*)
4313 # Now try BSD make style include.
4314 if test "$am__include" = "#"; then
4315 echo '.include "confinc"' > confmf
4316 case `$am_make -s -f confmf 2> /dev/null` in #(
4317 *the\ am__doit\ target
*)
4318 am__include
=.include
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4327 $as_echo "$_am_result" >&6; }
4328 rm -f confinc confmf
4330 # Check whether --enable-dependency-tracking was given.
4331 if test "${enable_dependency_tracking+set}" = set; then :
4332 enableval
=$enable_dependency_tracking;
4335 if test "x$enable_dependency_tracking" != xno
; then
4336 am_depcomp
="$ac_aux_dir/depcomp"
4340 if test "x$enable_dependency_tracking" != xno; then
4349 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4350 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4351 # is not polluted with repeated "-I."
4352 am__isrc
=' -I$(srcdir)'
4353 # test to see if srcdir already configured
4354 if test -f $srcdir/config.status
; then
4355 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4359 # test whether we have cygpath
4360 if test -z "$CYGPATH_W"; then
4361 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4362 CYGPATH_W
='cygpath -w'
4369 # Define the identity of the package.
4374 cat >>confdefs.h
<<_ACEOF
4375 #define PACKAGE "$PACKAGE"
4379 cat >>confdefs.h
<<_ACEOF
4380 #define VERSION "$VERSION"
4383 # Some tools Automake needs.
4385 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4388 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4391 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4394 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4397 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4399 # We need awk for the "check" target. The system "awk" is bad on
4401 # Always define AMTAR for backward compatibility. Yes, it's still used
4402 # in the wild :-( We should find a proper way to deprecate it ...
4405 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4410 depcc
="$CC" am_compiler_list
=
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4413 $as_echo_n "checking dependency style of $depcc... " >&6; }
4414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4415 $as_echo_n "(cached) " >&6
4417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4418 # We make a subdir and do the tests there. Otherwise we can end up
4419 # making bogus files that we don't know about and never remove. For
4420 # instance it was reported that on HP-UX the gcc test will end up
4421 # making a dummy file named `D' -- because `-MD' means `put the output
4425 # Copy depcomp to subdir because otherwise we won't find it if we're
4426 # using a relative directory.
4427 cp "$am_depcomp" conftest.dir
4429 # We will build objects and dependencies in a subdirectory because
4430 # it helps to detect inapplicable dependency modes. For instance
4431 # both Tru64's cc and ICC support -MD to output dependencies as a
4432 # side effect of compilation, but ICC will put the dependencies in
4433 # the current directory while Tru64 will put them in the object
4437 am_cv_CC_dependencies_compiler_type
=none
4438 if test "$am_compiler_list" = ""; then
4439 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4442 case " $depcc " in #(
4443 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4446 for depmode
in $am_compiler_list; do
4447 # Setup a source with many dependencies, because some compilers
4448 # like to wrap large dependency lists on column 80 (with \), and
4449 # we should not choose a depcomp mode which is confused by this.
4451 # We need to recreate these files for each test, as the compiler may
4452 # overwrite some of them when testing with obscure command lines.
4453 # This happens at least with the AIX C compiler.
4455 for i
in 1 2 3 4 5 6; do
4456 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4457 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4458 # Solaris 8's {/usr,}/bin/sh.
4459 touch sub
/conftst
$i.h
4461 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4463 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4464 # mode. It turns out that the SunPro C++ compiler does not properly
4465 # handle `-M -o', and we need to detect this. Also, some Intel
4466 # versions had trouble with output in subdirs
4467 am__obj
=sub
/conftest.
${OBJEXT-o}
4468 am__minus_obj
="-o $am__obj"
4471 # This depmode causes a compiler race in universal mode.
4472 test "$am__universal" = false ||
continue
4475 # after this tag, mechanisms are not by side-effect, so they'll
4476 # only be used when explicitly requested
4477 if test "x$enable_dependency_tracking" = xyes
; then
4483 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4484 # This compiler won't grok `-c -o', but also, the minuso test has
4485 # not run yet. These depmodes are late enough in the game, and
4486 # so weak that their functioning should not be impacted.
4487 am__obj
=conftest.
${OBJEXT-o}
4492 if depmode
=$depmode \
4493 source=sub
/conftest.c object
=$am__obj \
4494 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4495 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4496 >/dev
/null
2>conftest.err
&&
4497 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4498 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4499 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4500 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4501 # icc doesn't choke on unknown options, it will just issue warnings
4502 # or remarks (even with -Werror). So we grep stderr for any message
4503 # that says an option was ignored or not supported.
4504 # When given -MP, icc 7.0 and 7.1 complain thusly:
4505 # icc: Command line warning: ignoring option '-M'; no argument required
4506 # The diagnosis changed in icc 8.0:
4507 # icc: Command line remark: option '-MP' not supported
4508 if (grep 'ignoring option' conftest.err ||
4509 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4510 am_cv_CC_dependencies_compiler_type
=$depmode
4519 am_cv_CC_dependencies_compiler_type
=none
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4524 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4525 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4528 test "x$enable_dependency_tracking" != xno \
4529 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4531 am__fastdepCC_FALSE
='#'
4533 am__fastdepCC_TRUE
='#'
4534 am__fastdepCC_FALSE
=
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4541 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4542 # Check whether --enable-maintainer-mode was given.
4543 if test "${enable_maintainer_mode+set}" = set; then :
4544 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4546 USE_MAINTAINER_MODE
=no
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4550 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4551 if test $USE_MAINTAINER_MODE = yes; then
4552 MAINTAINER_MODE_TRUE
=
4553 MAINTAINER_MODE_FALSE
='#'
4555 MAINTAINER_MODE_TRUE
='#'
4556 MAINTAINER_MODE_FALSE
=
4559 MAINT
=$MAINTAINER_MODE_TRUE
4565 # These need to be absolute paths, yet at the same time need to
4566 # canonicalize only relative paths, because then amd will not unmount
4567 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4568 libvtv_builddir
=`${PWDCMD-pwd}`
4570 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4571 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4573 toplevel_builddir
=${libvtv_builddir}/..
4574 toplevel_srcdir
=${libvtv_srcdir}/..
4581 # Calculate toolexeclibdir
4582 # Also toolexecdir, though it's only used in toolexeclibdir
4583 case ${version_specific_libs} in
4585 # Need the gcc compiler version to know where to install libraries
4586 # and header files if --enable-version-specific-runtime-libs option
4588 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4589 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4592 if test -n "$with_cross_host" &&
4593 test x
"$with_cross_host" != x
"no"; then
4594 # Install a library built with a cross compiler in tooldir, not libdir.
4595 toolexecdir
='$(exec_prefix)/$(target_alias)'
4596 toolexeclibdir
='$(toolexecdir)/lib'
4598 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4599 toolexeclibdir
='$(libdir)'
4601 multi_os_directory
=`$CC -print-multi-os-directory`
4602 case $multi_os_directory in
4603 .
) ;; # Avoid trailing /.
4604 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4612 for ac_func
in __secure_getenv
4614 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4615 if test "x$ac_cv_func___secure_getenv" = x
""yes; then :
4616 cat >>confdefs.h
<<_ACEOF
4617 #define HAVE___SECURE_GETENV 1
4625 for ac_func
in secure_getenv
4627 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4628 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4629 cat >>confdefs.h
<<_ACEOF
4630 #define HAVE_SECURE_GETENV 1
4637 for ac_func
in getexecname __fortify_fail
4639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4640 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4641 eval as_val
=\$
$as_ac_var
4642 if test "x$as_val" = x
""yes; then :
4643 cat >>confdefs.h
<<_ACEOF
4644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4651 # Check for programs.
4655 ac_cpp
='$CPP $CPPFLAGS'
4656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if test "${ac_cv_prog_CC+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$CC"; then
4668 ac_cv_prog_CC
="$CC" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$CC"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4690 $as_echo "$CC" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4698 if test -z "$ac_cv_prog_CC"; then
4700 # Extract the first word of "gcc", so it can be a program name with args.
4701 set dummy gcc
; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$ac_ct_CC"; then
4708 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717 ac_cv_prog_ac_ct_CC
="gcc"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4728 if test -n "$ac_ct_CC"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4730 $as_echo "$ac_ct_CC" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4736 if test "x$ac_ct_CC" = x
; then
4739 case $cross_compiling:$ac_tool_warned in
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned
=yes ;;
4751 if test -z "$CC"; then
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4754 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if test "${ac_cv_prog_CC+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC
="$CC" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$CC"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4783 $as_echo "$CC" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4792 if test -z "$CC"; then
4793 # Extract the first word of "cc", so it can be a program name with args.
4794 set dummy cc
; ac_word
=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if test "${ac_cv_prog_CC+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$CC"; then
4801 ac_cv_prog_CC
="$CC" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4812 ac_prog_rejected
=yes
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 if test $ac_prog_rejected = yes; then
4824 # We found a bogon in the path, so make sure we never use it.
4825 set dummy
$ac_cv_prog_CC
4827 if test $# != 0; then
4828 # We chose a different compiler from the bogus one.
4829 # However, it has the same basename, so the bogon will be chosen
4830 # first if we set CC to just the basename; use the full file name.
4832 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4838 if test -n "$CC"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4840 $as_echo "$CC" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4848 if test -z "$CC"; then
4849 if test -n "$ac_tool_prefix"; then
4850 for ac_prog
in cl.exe
4852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4853 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if test "${ac_cv_prog_CC+set}" = set; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$CC"; then
4860 ac_cv_prog_CC
="$CC" # Let the user override the test.
4862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir
=.
4867 for ac_exec_ext
in '' $ac_executable_extensions; do
4868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 if test -n "$CC"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4882 $as_echo "$CC" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$CC" && break
4892 if test -z "$CC"; then
4894 for ac_prog
in cl.exe
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_prog; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$ac_ct_CC"; then
4904 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_ac_ct_CC
="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4924 if test -n "$ac_ct_CC"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4926 $as_echo "$ac_ct_CC" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$ac_ct_CC" && break
4936 if test "x$ac_ct_CC" = x
; then
4939 case $cross_compiling:$ac_tool_warned in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4943 ac_tool_warned
=yes ;;
4952 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4954 as_fn_error
"no acceptable C compiler found in \$PATH
4955 See \`config.log' for more details." "$LINENO" 5; }
4957 # Provide some information about the compiler.
4958 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4961 for ac_option
in --version -v -V -qversion; do
4962 { { ac_try
="$ac_compiler $ac_option >&5"
4964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4968 $as_echo "$ac_try_echo"; } >&5
4969 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4971 if test -s conftest.err; then
4973 ... rest of stderr output deleted ...
4974 10q' conftest.err >conftest.er1
4975 cat conftest.er1 >&5
4976 rm -f conftest.er1 conftest.err
4978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4979 test $ac_status = 0; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4984 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4985 $as_echo_n "(cached) " >&6
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
5001 if ac_fn_c_try_compile "$LINENO"; then :
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5012 if test $ac_compiler_gnu = yes; then
5017 ac_test_CFLAGS=${CFLAGS+set}
5018 ac_save_CFLAGS=$CFLAGS
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5021 if test "${ac_cv_prog_cc_g+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5024 ac_save_c_werror_flag=$ac_c_werror_flag
5025 ac_c_werror_flag=yes
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5039 if ac_fn_c_try_compile "$LINENO"; then :
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5054 if ac_fn_c_try_compile "$LINENO"; then :
5057 ac_c_werror_flag=$ac_save_c_werror_flag
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5070 if ac_fn_c_try_compile "$LINENO"; then :
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_c_werror_flag=$ac_save_c_werror_flag
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5081 $as_echo "$ac_cv_prog_cc_g" >&6; }
5082 if test "$ac_test_CFLAGS" = set; then
5083 CFLAGS=$ac_save_CFLAGS
5084 elif test $ac_cv_prog_cc_g = yes; then
5085 if test "$GCC" = yes; then
5091 if test "$GCC" = yes; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5099 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5100 $as_echo_n "(cached) " >&6
5102 ac_cv_prog_cc_c89=no
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5108 #include <sys/types.h>
5109 #include <sys/stat.h>
5110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5111 struct buf { int x; };
5112 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5113 static char *e (p, i)
5119 static char *f (char * (*g) (char **, int), char **p, ...)
5124 s = g (p, va_arg (v,int));
5129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5130 function prototypes and stuff, but not '\xHH' hex character constants.
5131 These don't provoke an error unfortunately, instead are silently treated
5132 as 'x'. The following induces an error, until -std is added to get
5133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5134 array size at least. It's necessary to write '\x00'==0 to get something
5135 that's true only with -std. */
5136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5138 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5139 inside strings and character constants. */
5141 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5143 int test (int i, double x);
5144 struct s1 {int (*f) (int a);};
5145 struct s2 {int (*f) (double a);};
5146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5157 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5158 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5160 CC="$ac_save_CC $ac_arg"
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_prog_cc_c89=$ac_arg
5164 rm -f core conftest.err conftest.$ac_objext
5165 test "x$ac_cv_prog_cc_c89" != "xno" && break
5167 rm -f conftest.$ac_ext
5172 case "x$ac_cv_prog_cc_c89" in
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5175 $as_echo "none needed" >&6; } ;;
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5178 $as_echo "unsupported" >&6; } ;;
5180 CC="$CC $ac_cv_prog_cc_c89"
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5182 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5184 if test "x$ac_cv_prog_cc_c89" != xno; then :
5189 ac_cpp='$CPP $CPPFLAGS'
5190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5195 ac_cpp='$CXXCPP $CPPFLAGS'
5196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5199 if test -z "$CXX"; then
5200 if test -n "$CCC"; then
5203 if test -n "$ac_tool_prefix"; then
5204 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if test "${ac_cv_prog_CXX+set}" = set; then :
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$CXX"; then
5214 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 if test -n "$CXX"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5236 $as_echo "$CXX" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 test -n "$CXX" && break
5246 if test -z "$CXX"; then
5248 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5250 # Extract the first word of "$ac_prog", so it can be a program name with args.
5251 set dummy $ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$ac_ct_CXX"; then
5258 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267 ac_cv_prog_ac_ct_CXX="$ac_prog"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5278 if test -n "$ac_ct_CXX"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5280 $as_echo "$ac_ct_CXX" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5287 test -n "$ac_ct_CXX" && break
5290 if test "x$ac_ct_CXX" = x; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5297 ac_tool_warned=yes ;;
5305 # Provide some information about the compiler.
5306 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5309 for ac_option in --version -v -V -qversion; do
5310 { { ac_try="$ac_compiler $ac_option >&5"
5312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5313 *) ac_try_echo
=$ac_try;;
5315 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5316 $as_echo "$ac_try_echo"; } >&5
5317 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5319 if test -s conftest.err
; then
5321 ... rest of stderr output deleted ...
5322 10q' conftest.err
>conftest.er1
5323 cat conftest.er1
>&5
5324 rm -f conftest.er1 conftest.err
5326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5327 test $ac_status = 0; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5331 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5332 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5333 $as_echo_n "(cached) " >&6
5335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5349 if ac_fn_cxx_try_compile
"$LINENO"; then :
5354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5355 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5359 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5360 if test $ac_compiler_gnu = yes; then
5365 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5366 ac_save_CXXFLAGS
=$CXXFLAGS
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5368 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5369 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5370 $as_echo_n "(cached) " >&6
5372 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5373 ac_cxx_werror_flag
=yes
5376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5387 if ac_fn_cxx_try_compile
"$LINENO"; then :
5388 ac_cv_prog_cxx_g
=yes
5391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5402 if ac_fn_cxx_try_compile
"$LINENO"; then :
5405 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5418 if ac_fn_cxx_try_compile
"$LINENO"; then :
5419 ac_cv_prog_cxx_g
=yes
5421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5426 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5429 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5430 if test "$ac_test_CXXFLAGS" = set; then
5431 CXXFLAGS
=$ac_save_CXXFLAGS
5432 elif test $ac_cv_prog_cxx_g = yes; then
5433 if test "$GXX" = yes; then
5439 if test "$GXX" = yes; then
5446 ac_cpp
='$CPP $CPPFLAGS'
5447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5451 depcc
="$CXX" am_compiler_list
=
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5454 $as_echo_n "checking dependency style of $depcc... " >&6; }
5455 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5459 # We make a subdir and do the tests there. Otherwise we can end up
5460 # making bogus files that we don't know about and never remove. For
5461 # instance it was reported that on HP-UX the gcc test will end up
5462 # making a dummy file named `D' -- because `-MD' means `put the output
5466 # Copy depcomp to subdir because otherwise we won't find it if we're
5467 # using a relative directory.
5468 cp "$am_depcomp" conftest.dir
5470 # We will build objects and dependencies in a subdirectory because
5471 # it helps to detect inapplicable dependency modes. For instance
5472 # both Tru64's cc and ICC support -MD to output dependencies as a
5473 # side effect of compilation, but ICC will put the dependencies in
5474 # the current directory while Tru64 will put them in the object
5478 am_cv_CXX_dependencies_compiler_type
=none
5479 if test "$am_compiler_list" = ""; then
5480 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5483 case " $depcc " in #(
5484 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5487 for depmode
in $am_compiler_list; do
5488 # Setup a source with many dependencies, because some compilers
5489 # like to wrap large dependency lists on column 80 (with \), and
5490 # we should not choose a depcomp mode which is confused by this.
5492 # We need to recreate these files for each test, as the compiler may
5493 # overwrite some of them when testing with obscure command lines.
5494 # This happens at least with the AIX C compiler.
5496 for i
in 1 2 3 4 5 6; do
5497 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5498 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5499 # Solaris 8's {/usr,}/bin/sh.
5500 touch sub
/conftst
$i.h
5502 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5504 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5505 # mode. It turns out that the SunPro C++ compiler does not properly
5506 # handle `-M -o', and we need to detect this. Also, some Intel
5507 # versions had trouble with output in subdirs
5508 am__obj
=sub
/conftest.
${OBJEXT-o}
5509 am__minus_obj
="-o $am__obj"
5512 # This depmode causes a compiler race in universal mode.
5513 test "$am__universal" = false ||
continue
5516 # after this tag, mechanisms are not by side-effect, so they'll
5517 # only be used when explicitly requested
5518 if test "x$enable_dependency_tracking" = xyes
; then
5524 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5525 # This compiler won't grok `-c -o', but also, the minuso test has
5526 # not run yet. These depmodes are late enough in the game, and
5527 # so weak that their functioning should not be impacted.
5528 am__obj
=conftest.
${OBJEXT-o}
5533 if depmode
=$depmode \
5534 source=sub
/conftest.c object
=$am__obj \
5535 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5536 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5537 >/dev
/null
2>conftest.err
&&
5538 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5539 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5540 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5541 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5542 # icc doesn't choke on unknown options, it will just issue warnings
5543 # or remarks (even with -Werror). So we grep stderr for any message
5544 # that says an option was ignored or not supported.
5545 # When given -MP, icc 7.0 and 7.1 complain thusly:
5546 # icc: Command line warning: ignoring option '-M'; no argument required
5547 # The diagnosis changed in icc 8.0:
5548 # icc: Command line remark: option '-MP' not supported
5549 if (grep 'ignoring option' conftest.err ||
5550 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5551 am_cv_CXX_dependencies_compiler_type
=$depmode
5560 am_cv_CXX_dependencies_compiler_type
=none
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5565 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5566 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5569 test "x$enable_dependency_tracking" != xno \
5570 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5571 am__fastdepCXX_TRUE
=
5572 am__fastdepCXX_FALSE
='#'
5574 am__fastdepCXX_TRUE
='#'
5575 am__fastdepCXX_FALSE
=
5581 if test "x$CC" != xcc
; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5583 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5586 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5588 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5589 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5590 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5591 $as_echo_n "(cached) " >&6
5593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5604 # Make sure it works both with $CC and with simple cc.
5605 # We do the test twice because some compilers refuse to overwrite an
5606 # existing .o file with -o, though they will create one.
5607 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5609 if { { case "(($ac_try" in
5610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5611 *) ac_try_echo=$ac_try;;
5613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5614 $as_echo "$ac_try_echo"; } >&5
5615 (eval "$ac_try") 2>&5
5617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5618 test $ac_status = 0; } &&
5619 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5621 *) ac_try_echo
=$ac_try;;
5623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5624 $as_echo "$ac_try_echo"; } >&5
5625 (eval "$ac_try") 2>&5
5627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5628 test $ac_status = 0; };
5630 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5631 if test "x$CC" != xcc
; then
5632 # Test first that cc exists at all.
5633 if { ac_try
='cc -c conftest.$ac_ext >&5'
5634 { { case "(($ac_try" in
5635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5636 *) ac_try_echo=$ac_try;;
5638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5639 $as_echo "$ac_try_echo"; } >&5
5640 (eval "$ac_try") 2>&5
5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5643 test $ac_status = 0; }; }; then
5644 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5646 if { { case "(($ac_try" in
5647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5648 *) ac_try_echo
=$ac_try;;
5650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5651 $as_echo "$ac_try_echo"; } >&5
5652 (eval "$ac_try") 2>&5
5654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5655 test $ac_status = 0; } &&
5656 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5658 *) ac_try_echo=$ac_try;;
5660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5661 $as_echo "$ac_try_echo"; } >&5
5662 (eval "$ac_try") 2>&5
5664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5665 test $ac_status = 0; };
5670 # cc exists but doesn't like -o.
5671 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5676 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5678 rm -f core conftest*
5681 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5683 $as_echo "yes" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5688 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5692 # FIXME: we rely on the cache variable name because
5693 # there is no other way.
5695 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5696 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5697 if test "$am_t" != yes; then
5698 # Losing compiler, so override with the script.
5699 # FIXME: It is wrong to rewrite CC.
5700 # But if we don't then we get into trouble of one sort or another.
5701 # A longer-term fix would be to have automake use am__CC in this case,
5702 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5703 CC="$am_aux_dir/compile $CC"
5711 # Newer automakes demand CCAS and CCASFLAGS.
5713 : ${CCASFLAGS='$(CFLAGS)'}
5717 if test -n "$ac_tool_prefix"; then
5718 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5719 set dummy ${ac_tool_prefix}as; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_prog_AS+set}" = set; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$AS"; then
5726 ac_cv_prog_AS="$AS" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735 ac_cv_prog_AS="${ac_tool_prefix}as"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 if test -n "$AS"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5748 $as_echo "$AS" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5756 if test -z "$ac_cv_prog_AS"; then
5758 # Extract the first word of "as", so it can be a program name with args.
5759 set dummy as; ac_word=$2
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761 $as_echo_n "checking for $ac_word... " >&6; }
5762 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5765 if test -n "$ac_ct_AS"; then
5766 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_ac_ct_AS="as"
5776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5786 if test -n "$ac_ct_AS"; then
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5788 $as_echo "$ac_ct_AS" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791 $as_echo "no" >&6; }
5794 if test "x$ac_ct_AS" = x; then
5797 case $cross_compiling:$ac_tool_warned in
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5801 ac_tool_warned=yes ;;
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}ar; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_AR+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$AR"; then
5818 ac_cv_prog_AR="$AR" # Let the user override the test.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_AR="${ac_tool_prefix}ar"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 if test -n "$AR"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5840 $as_echo "$AR" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if test -z "$ac_cv_prog_AR"; then
5850 # Extract the first word of "ar", so it can be a program name with args.
5851 set dummy ar; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$ac_ct_AR"; then
5858 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_AR="ar"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5878 if test -n "$ac_ct_AR"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5880 $as_echo "$ac_ct_AR" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5886 if test "x$ac_ct_AR" = x; then
5889 case $cross_compiling:$ac_tool_warned in
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5893 ac_tool_warned=yes ;;
5901 if test -n "$ac_tool_prefix"; then
5902 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$RANLIB"; then
5910 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 RANLIB=$ac_cv_prog_RANLIB
5930 if test -n "$RANLIB"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5932 $as_echo "$RANLIB" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5940 if test -z "$ac_cv_prog_RANLIB"; then
5941 ac_ct_RANLIB=$RANLIB
5942 # Extract the first word of "ranlib", so it can be a program name with args.
5943 set dummy ranlib; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$ac_ct_RANLIB"; then
5950 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959 ac_cv_prog_ac_ct_RANLIB="ranlib"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5970 if test -n "$ac_ct_RANLIB"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5972 $as_echo "$ac_ct_RANLIB" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5978 if test "x$ac_ct_RANLIB" = x; then
5981 case $cross_compiling:$ac_tool_warned in
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5985 ac_tool_warned=yes ;;
5987 RANLIB=$ac_ct_RANLIB
5990 RANLIB="$ac_cv_prog_RANLIB"
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6002 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6007 macro_version='2.2.7a'
6008 macro_revision='1.3134'
6022 ltmain="$ac_aux_dir/ltmain.sh"
6024 # Backslashify metacharacters that are still active within
6025 # double-quoted strings.
6026 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6028 # Same as above, but do not quote variable references.
6029 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6031 # Sed substitution to delay expansion of an escaped shell variable in a
6032 # double_quote_subst'ed string.
6033 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6035 # Sed substitution to delay expansion of an escaped single quote.
6036 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6038 # Sed substitution to avoid accidental globbing in evaled expressions
6039 no_glob_subst='s/\*/\\\*/g'
6041 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6043 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6046 $as_echo_n "checking how to print
strings...
" >&6; }
6047 # Test print first, because it will be a builtin if present.
6048 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6049 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6051 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6054 # Use this function as a fallback that always works.
6055 func_fallback_echo ()
6057 eval 'cat <<_LTECHO_EOF
6061 ECHO='func_fallback_echo'
6064 # func_echo_all arg...
6065 # Invoke $ECHO with all args, space-separated.
6072 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6073 $as_echo "printf" >&6; } ;;
6074 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6075 $as_echo "print
-r" >&6; } ;;
6076 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6077 $as_echo "cat" >&6; } ;;
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6094 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6095 if test "${ac_cv_path_SED+set}" = set; then :
6096 $as_echo_n "(cached
) " >&6
6098 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6099 for ac_i in 1 2 3 4 5 6 7; do
6100 ac_script="$ac_script$as_nl$ac_script"
6102 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6103 { ac_script=; unset ac_script;}
6104 if test -z "$SED"; then
6105 ac_path_SED_found=false
6106 # Loop through the user's path and test for each of PROGNAME-LIST
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 test -z "$as_dir" && as_dir=.
6112 for ac_prog in sed gsed; do
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6115 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6116 # Check for GNU ac_path_SED and select it if it is found.
6117 # Check for GNU $ac_path_SED
6118 case `"$ac_path_SED" --version 2>&1` in
6120 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6123 $as_echo_n 0123456789 >"conftest.
in"
6126 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6127 mv "conftest.tmp
" "conftest.
in"
6128 cp "conftest.
in" "conftest.
nl"
6129 $as_echo '' >> "conftest.
nl"
6130 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6131 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6132 as_fn_arith $ac_count + 1 && ac_count=$as_val
6133 if test $ac_count -gt ${ac_path_SED_max-0}; then
6134 # Best one so far, save it but keep looking for a better one
6135 ac_cv_path_SED="$ac_path_SED"
6136 ac_path_SED_max=$ac_count
6138 # 10*(2^10) chars as input seems more than enough
6139 test $ac_count -gt 10 && break
6141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6144 $ac_path_SED_found && break 3
6149 if test -z "$ac_cv_path_SED"; then
6150 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6158 $as_echo "$ac_cv_path_SED" >&6; }
6159 SED="$ac_cv_path_SED"
6162 test -z "$SED" && SED=sed
6163 Xsed="$SED -e 1s
/^X
//"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6176 $as_echo_n "checking
for fgrep...
" >&6; }
6177 if test "${ac_cv_path_FGREP+set}" = set; then :
6178 $as_echo_n "(cached
) " >&6
6180 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6181 then ac_cv_path_FGREP="$GREP -F"
6183 if test -z "$FGREP"; then
6184 ac_path_FGREP_found=false
6185 # Loop through the user's path and test for each of PROGNAME-LIST
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6190 test -z "$as_dir" && as_dir=.
6191 for ac_prog in fgrep; do
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6194 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6195 # Check for GNU ac_path_FGREP and select it if it is found.
6196 # Check for GNU $ac_path_FGREP
6197 case `"$ac_path_FGREP" --version 2>&1` in
6199 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6202 $as_echo_n 0123456789 >"conftest.
in"
6205 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6206 mv "conftest.tmp
" "conftest.
in"
6207 cp "conftest.
in" "conftest.
nl"
6208 $as_echo 'FGREP' >> "conftest.
nl"
6209 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6210 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6211 as_fn_arith $ac_count + 1 && ac_count=$as_val
6212 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6213 # Best one so far, save it but keep looking for a better one
6214 ac_cv_path_FGREP="$ac_path_FGREP"
6215 ac_path_FGREP_max=$ac_count
6217 # 10*(2^10) chars as input seems more than enough
6218 test $ac_count -gt 10 && break
6220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6223 $ac_path_FGREP_found && break 3
6228 if test -z "$ac_cv_path_FGREP"; then
6229 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6232 ac_cv_path_FGREP=$FGREP
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6238 $as_echo "$ac_cv_path_FGREP" >&6; }
6239 FGREP="$ac_cv_path_FGREP"
6242 test -z "$GREP" && GREP=grep
6262 # Check whether --with-gnu-ld was given.
6263 if test "${with_gnu_ld+set}" = set; then :
6264 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6270 if test "$GCC" = yes; then
6271 # Check if gcc -print-prog-name=ld gives a path.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6273 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6276 # gcc leaves a trailing carriage return which upsets mingw
6277 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6279 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6282 # Accept absolute paths.
6284 re_direlt='/[^/][^/]*/\.\./'
6285 # Canonicalize the pathname of ld
6286 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6287 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6288 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6290 test -z "$LD" && LD="$ac_prog"
6293 # If it fails, then pretend we aren't using GCC.
6297 # If it is relative, then search for the first ld in PATH.
6301 elif test "$with_gnu_ld" = yes; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6303 $as_echo_n "checking
for GNU ld...
" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6306 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6308 if test "${lt_cv_path_LD+set}" = set; then :
6309 $as_echo_n "(cached
) " >&6
6311 if test -z "$LD"; then
6312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6313 for ac_dir in $PATH; do
6315 test -z "$ac_dir" && ac_dir=.
6316 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6317 lt_cv_path_LD="$ac_dir/$ac_prog"
6318 # Check to see if the program is GNU ld. I'd rather use --version,
6319 # but apparently some variants of GNU ld only accept -v.
6320 # Break only if it was the GNU/non-GNU ld that we prefer.
6321 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6322 *GNU* | *'with BFD'*)
6323 test "$with_gnu_ld" != no && break
6326 test "$with_gnu_ld" != yes && break
6333 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6338 if test -n "$LD"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6340 $as_echo "$LD" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6343 $as_echo "no
" >&6; }
6345 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6347 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6348 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6349 $as_echo_n "(cached
) " >&6
6351 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6352 case `$LD -v 2>&1 </dev/null` in
6353 *GNU* | *'with BFD'*)
6354 lt_cv_prog_gnu_ld=yes
6357 lt_cv_prog_gnu_ld=no
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6362 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6363 with_gnu_ld=$lt_cv_prog_gnu_ld
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6374 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6375 if test "${lt_cv_path_NM+set}" = set; then :
6376 $as_echo_n "(cached
) " >&6
6378 if test -n "$NM"; then
6379 # Let the user override the test.
6382 lt_nm_to_check="${ac_tool_prefix}nm
"
6383 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6384 lt_nm_to_check="$lt_nm_to_check nm
"
6386 for lt_tmp_nm in $lt_nm_to_check; do
6387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6388 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6390 test -z "$ac_dir" && ac_dir=.
6391 tmp_nm="$ac_dir/$lt_tmp_nm"
6392 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6393 # Check to see if the nm accepts a BSD-compat flag.
6394 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6395 # nm: unknown option "B
" ignored
6396 # Tru64's nm complains that /dev/null is an invalid object file
6397 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6398 */dev/null* | *'Invalid file or object type'*)
6399 lt_cv_path_NM="$tmp_nm -B"
6403 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6405 lt_cv_path_NM="$tmp_nm -p"
6409 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6410 continue # so that we can try to find one that supports BSD flags
6419 : ${lt_cv_path_NM=no}
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6423 $as_echo "$lt_cv_path_NM" >&6; }
6424 if test "$lt_cv_path_NM" != "no
"; then
6427 # Didn't find any BSD compatible name lister, look for dumpbin.
6428 if test -n "$DUMPBIN"; then :
6429 # Let the user override the test.
6431 if test -n "$ac_tool_prefix"; then
6432 for ac_prog in dumpbin "link
-dump"
6434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6437 $as_echo_n "checking
for $ac_word...
" >&6; }
6438 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6439 $as_echo_n "(cached
) " >&6
6441 if test -n "$DUMPBIN"; then
6442 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6461 DUMPBIN=$ac_cv_prog_DUMPBIN
6462 if test -n "$DUMPBIN"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6464 $as_echo "$DUMPBIN" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6467 $as_echo "no
" >&6; }
6471 test -n "$DUMPBIN" && break
6474 if test -z "$DUMPBIN"; then
6475 ac_ct_DUMPBIN=$DUMPBIN
6476 for ac_prog in dumpbin "link
-dump"
6478 # Extract the first word of "$ac_prog", so it can be a program name with args.
6479 set dummy $ac_prog; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6481 $as_echo_n "checking
for $ac_word...
" >&6; }
6482 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6483 $as_echo_n "(cached
) " >&6
6485 if test -n "$ac_ct_DUMPBIN"; then
6486 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6506 if test -n "$ac_ct_DUMPBIN"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6508 $as_echo "$ac_ct_DUMPBIN" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6511 $as_echo "no
" >&6; }
6515 test -n "$ac_ct_DUMPBIN" && break
6518 if test "x
$ac_ct_DUMPBIN" = x; then
6521 case $cross_compiling:$ac_tool_warned in
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6524 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6525 ac_tool_warned=yes ;;
6527 DUMPBIN=$ac_ct_DUMPBIN
6531 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6533 DUMPBIN="$DUMPBIN -symbols"
6541 if test "$DUMPBIN" != ":"; then
6545 test -z "$NM" && NM=nm
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6553 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6554 if test "${lt_cv_nm_interface+set}" = set; then :
6555 $as_echo_n "(cached
) " >&6
6557 lt_cv_nm_interface="BSD nm
"
6558 echo "int some_variable
= 0;" > conftest.$ac_ext
6559 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6560 (eval "$ac_compile" 2>conftest.err)
6561 cat conftest.err >&5
6562 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6563 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6564 cat conftest.err >&5
6565 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6566 cat conftest.out >&5
6567 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6568 lt_cv_nm_interface="MS dumpbin
"
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6573 $as_echo "$lt_cv_nm_interface" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6576 $as_echo_n "checking whether
ln -s works...
" >&6; }
6578 if test "$LN_S" = "ln -s"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6580 $as_echo "yes" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6583 $as_echo "no
, using
$LN_S" >&6; }
6586 # find the maximum length of command line arguments
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6588 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6589 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6590 $as_echo_n "(cached
) " >&6
6597 # On DJGPP, this test can blow up pretty badly due to problems in libc
6598 # (any single argument exceeding 2000 bytes causes a buffer overrun
6599 # during glob expansion). Even if it were fixed, the result of this
6600 # check would be larger than it should be.
6601 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6605 # Under GNU Hurd, this test is not required because there is
6606 # no limit to the length of command line arguments.
6607 # Libtool will interpret -1 as no limit whatsoever
6608 lt_cv_sys_max_cmd_len=-1;
6611 cygwin* | mingw* | cegcc*)
6612 # On Win9x/ME, this test blows up -- it succeeds, but takes
6613 # about 5 minutes as the teststring grows exponentially.
6614 # Worse, since 9x/ME are not pre-emptively multitasking,
6615 # you end up with a "frozen
" computer, even though with patience
6616 # the test eventually succeeds (with a max line length of 256k).
6617 # Instead, let's just punt: use the minimum linelength reported by
6618 # all of the supported platforms: 8192 (on NT/2K/XP).
6619 lt_cv_sys_max_cmd_len=8192;
6623 # On MiNT this can take a long time and run out of memory.
6624 lt_cv_sys_max_cmd_len=8192;
6628 # On AmigaOS with pdksh, this test takes hours, literally.
6629 # So we just punt and use a minimum line length of 8192.
6630 lt_cv_sys_max_cmd_len=8192;
6633 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6634 # This has been around since 386BSD, at least. Likely further.
6635 if test -x /sbin/sysctl; then
6636 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6637 elif test -x /usr/sbin/sysctl; then
6638 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6640 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6642 # And add a safety zone
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6648 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6649 lt_cv_sys_max_cmd_len=196608
6653 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6654 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6655 # nice to cause kernel panics so lets avoid the loop below.
6656 # First set a reasonable default.
6657 lt_cv_sys_max_cmd_len=16384
6659 if test -x /sbin/sysconfig; then
6660 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6661 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6666 lt_cv_sys_max_cmd_len=102400
6668 sysv5* | sco5v6* | sysv4.2uw2*)
6669 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6670 if test -n "$kargmax"; then
6671 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6673 lt_cv_sys_max_cmd_len=32768
6677 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6678 if test -n "$lt_cv_sys_max_cmd_len"; then
6679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6680 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6682 # Make teststring a little bigger before we do anything with it.
6683 # a 1K string should be a reasonable start.
6684 for i in 1 2 3 4 5 6 7 8 ; do
6685 teststring=$teststring$teststring
6687 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6688 # If test is not a shell built-in, we'll probably end up computing a
6689 # maximum length that is only half of the actual maximum length, but
6691 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6692 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6693 test $i != 17 # 1/2 MB should be enough
6696 teststring=$teststring$teststring
6698 # Only check the string length outside the loop.
6699 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6701 # Add a significant safety factor because C++ compilers can tack on
6702 # massive amounts of additional arguments before passing them to the
6703 # linker. It appears as though 1/2 is a usable value.
6704 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6711 if test -n $lt_cv_sys_max_cmd_len ; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6713 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6716 $as_echo "none
" >&6; }
6718 max_cmd_len=$lt_cv_sys_max_cmd_len
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6730 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6731 # Try some XSI features
6734 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6736 && eval 'test $(( 1 + 1 )) -eq 2 \
6737 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6740 $as_echo "$xsi_shell" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6744 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6746 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6748 && lt_shell_append
=yes
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6750 $as_echo "$lt_shell_append" >&6; }
6753 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6763 # test EBCDIC or ASCII
6764 case `echo X|tr X '\101'` in
6765 A
) # ASCII based system
6766 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6767 lt_SP2NL
='tr \040 \012'
6768 lt_NL2SP
='tr \015\012 \040\040'
6770 *) # EBCDIC based system
6771 lt_SP2NL
='tr \100 \n'
6772 lt_NL2SP
='tr \r\n \100\100'
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6785 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6786 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6787 $as_echo_n "(cached) " >&6
6789 lt_cv_ld_reload_flag
='-r'
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6792 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6793 reload_flag
=$lt_cv_ld_reload_flag
6794 case $reload_flag in
6796 *) reload_flag
=" $reload_flag" ;;
6798 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6801 if test "$GCC" = yes; then
6802 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6804 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6817 if test -n "$ac_tool_prefix"; then
6818 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6819 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821 $as_echo_n "checking for $ac_word... " >&6; }
6822 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6825 if test -n "$OBJDUMP"; then
6826 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir
=.
6833 for ac_exec_ext
in '' $ac_executable_extensions; do
6834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845 OBJDUMP
=$ac_cv_prog_OBJDUMP
6846 if test -n "$OBJDUMP"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6848 $as_echo "$OBJDUMP" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6856 if test -z "$ac_cv_prog_OBJDUMP"; then
6857 ac_ct_OBJDUMP
=$OBJDUMP
6858 # Extract the first word of "objdump", so it can be a program name with args.
6859 set dummy objdump
; ac_word
=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861 $as_echo_n "checking for $ac_word... " >&6; }
6862 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6863 $as_echo_n "(cached) " >&6
6865 if test -n "$ac_ct_OBJDUMP"; then
6866 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir
=.
6873 for ac_exec_ext
in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6886 if test -n "$ac_ct_OBJDUMP"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6888 $as_echo "$ac_ct_OBJDUMP" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 $as_echo "no" >&6; }
6894 if test "x$ac_ct_OBJDUMP" = x
; then
6897 case $cross_compiling:$ac_tool_warned in
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6901 ac_tool_warned
=yes ;;
6903 OBJDUMP
=$ac_ct_OBJDUMP
6906 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6909 test -z "$OBJDUMP" && OBJDUMP
=objdump
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6920 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6921 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6922 $as_echo_n "(cached) " >&6
6924 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6925 lt_cv_file_magic_test_file
=
6926 lt_cv_deplibs_check_method
='unknown'
6927 # Need to set the preceding variable on all platforms that support
6928 # interlibrary dependencies.
6929 # 'none' -- dependencies not supported.
6930 # `unknown' -- same as none, but documents that we really don't know.
6931 # 'pass_all' -- all dependencies passed with no checks.
6932 # 'test_compile' -- check by making test program.
6933 # 'file_magic [[regex]]' -- check by looking for files in library path
6934 # which responds to the $file_magic_cmd with a given extended regex.
6935 # If you have `file' or equivalent on your system and you're not sure
6936 # whether `pass_all' will *always* work, you probably want this one.
6940 lt_cv_deplibs_check_method
=pass_all
6944 lt_cv_deplibs_check_method
=pass_all
6948 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6949 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6950 lt_cv_file_magic_test_file
=/shlib
/libc.so
6954 # func_win32_libid is a shell function defined in ltmain.sh
6955 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6956 lt_cv_file_magic_cmd
='func_win32_libid'
6960 # Base MSYS/MinGW do not provide the 'file' command needed by
6961 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6962 # unless we find 'file', for example because we are cross-compiling.
6963 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6964 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6965 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6966 lt_cv_file_magic_cmd
='func_win32_libid'
6968 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6969 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6974 # use the weaker test based on 'objdump'. See mingw*.
6975 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6976 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6979 darwin
* | rhapsody
*)
6980 lt_cv_deplibs_check_method
=pass_all
6983 freebsd
* | dragonfly
*)
6984 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6987 # Not sure whether the presence of OpenBSD here was a mistake.
6988 # Let's accept both of them until this is cleared up.
6989 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6990 lt_cv_file_magic_cmd
=/usr
/bin
/file
6991 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6995 lt_cv_deplibs_check_method
=pass_all
7000 lt_cv_deplibs_check_method
=pass_all
7004 lt_cv_deplibs_check_method
=pass_all
7007 hpux10.20
* | hpux11
*)
7008 lt_cv_file_magic_cmd
=/usr
/bin
/file
7011 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7012 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7015 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]'
7016 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7019 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7020 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7026 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7027 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7030 irix5
* | irix6
* | nonstopux
*)
7032 *-32|
*"-32 ") libmagic
=32-bit;;
7033 *-n32|
*"-n32 ") libmagic
=N32
;;
7034 *-64|
*"-64 ") libmagic
=64-bit;;
7035 *) libmagic
=never-match
;;
7037 lt_cv_deplibs_check_method
=pass_all
7040 # This must be Linux ELF.
7041 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7042 lt_cv_deplibs_check_method
=pass_all
7046 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7047 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7049 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7054 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7055 lt_cv_file_magic_cmd
=/usr
/bin
/file
7056 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7060 lt_cv_deplibs_check_method
=pass_all
7064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7065 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7067 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7071 osf3
* | osf4
* | osf5
*)
7072 lt_cv_deplibs_check_method
=pass_all
7076 lt_cv_deplibs_check_method
=pass_all
7080 lt_cv_deplibs_check_method
=pass_all
7083 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7084 lt_cv_deplibs_check_method
=pass_all
7088 case $host_vendor in
7090 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]'
7091 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7094 lt_cv_deplibs_check_method
=pass_all
7097 lt_cv_file_magic_cmd
='/bin/file'
7098 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7101 lt_cv_file_magic_cmd
='/bin/file'
7102 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7103 lt_cv_file_magic_test_file
=/lib
/libc.so
7106 lt_cv_deplibs_check_method
=pass_all
7109 lt_cv_deplibs_check_method
=pass_all
7115 lt_cv_deplibs_check_method
=pass_all
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7121 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7122 file_magic_cmd
=$lt_cv_file_magic_cmd
7123 deplibs_check_method
=$lt_cv_deplibs_check_method
7124 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7137 if test -n "$ac_tool_prefix"; then
7138 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7139 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if test "${ac_cv_prog_AR+set}" = set; then :
7143 $as_echo_n "(cached) " >&6
7145 if test -n "$AR"; then
7146 ac_cv_prog_AR
="$AR" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 if test -n "$AR"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7168 $as_echo "$AR" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7176 if test -z "$ac_cv_prog_AR"; then
7178 # Extract the first word of "ar", so it can be a program name with args.
7179 set dummy
ar; ac_word
=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 $as_echo_n "checking for $ac_word... " >&6; }
7182 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -n "$ac_ct_AR"; then
7186 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir
=.
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 ac_cv_prog_ac_ct_AR
="ar"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7206 if test -n "$ac_ct_AR"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7208 $as_echo "$ac_ct_AR" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7214 if test "x$ac_ct_AR" = x
; then
7217 case $cross_compiling:$ac_tool_warned in
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned
=yes ;;
7229 test -z "$AR" && AR
=ar
7230 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7242 if test -n "$ac_tool_prefix"; then
7243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7244 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if test "${ac_cv_prog_STRIP+set}" = set; then :
7248 $as_echo_n "(cached) " >&6
7250 if test -n "$STRIP"; then
7251 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir
=.
7258 for ac_exec_ext
in '' $ac_executable_extensions; do
7259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 STRIP
=$ac_cv_prog_STRIP
7271 if test -n "$STRIP"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7273 $as_echo "$STRIP" >&6; }
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7281 if test -z "$ac_cv_prog_STRIP"; then
7283 # Extract the first word of "strip", so it can be a program name with args.
7284 set dummy strip
; ac_word
=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7288 $as_echo_n "(cached) " >&6
7290 if test -n "$ac_ct_STRIP"; then
7291 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir
=.
7298 for ac_exec_ext
in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_prog_ac_ct_STRIP
="strip"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7311 if test -n "$ac_ct_STRIP"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7313 $as_echo "$ac_ct_STRIP" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7319 if test "x$ac_ct_STRIP" = x
; then
7322 case $cross_compiling:$ac_tool_warned in
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned
=yes ;;
7331 STRIP
="$ac_cv_prog_STRIP"
7334 test -z "$STRIP" && STRIP
=:
7341 if test -n "$ac_tool_prefix"; then
7342 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7343 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7347 $as_echo_n "(cached) " >&6
7349 if test -n "$RANLIB"; then
7350 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 RANLIB
=$ac_cv_prog_RANLIB
7370 if test -n "$RANLIB"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7372 $as_echo "$RANLIB" >&6; }
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7380 if test -z "$ac_cv_prog_RANLIB"; then
7381 ac_ct_RANLIB
=$RANLIB
7382 # Extract the first word of "ranlib", so it can be a program name with args.
7383 set dummy ranlib
; ac_word
=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7387 $as_echo_n "(cached) " >&6
7389 if test -n "$ac_ct_RANLIB"; then
7390 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir
=.
7397 for ac_exec_ext
in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7410 if test -n "$ac_ct_RANLIB"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7412 $as_echo "$ac_ct_RANLIB" >&6; }
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 $as_echo "no" >&6; }
7418 if test "x$ac_ct_RANLIB" = x
; then
7421 case $cross_compiling:$ac_tool_warned in
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425 ac_tool_warned
=yes ;;
7427 RANLIB
=$ac_ct_RANLIB
7430 RANLIB
="$ac_cv_prog_RANLIB"
7433 test -z "$RANLIB" && RANLIB
=:
7440 # Determine commands to create old-style static archives.
7441 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7442 old_postinstall_cmds
='chmod 644 $oldlib'
7443 old_postuninstall_cmds
=
7445 if test -n "$RANLIB"; then
7448 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7451 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7454 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7459 lock_old_archive_extraction
=yes ;;
7461 lock_old_archive_extraction
=no
;;
7502 # If no C compiler was specified, use CC.
7505 # If no C compiler flags were specified, use CFLAGS.
7506 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7508 # Allow CC to be a program name with arguments.
7512 # Check for command to grab the raw symbol name followed by C symbol from nm.
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7514 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7515 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7516 $as_echo_n "(cached) " >&6
7519 # These are sane defaults that work on at least a few old systems.
7520 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7522 # Character class describing NM global symbol codes.
7523 symcode
='[BCDEGRST]'
7525 # Regexp to match symbols that can be accessed directly from C.
7526 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7528 # Define system-specific variables.
7533 cygwin
* | mingw
* | pw32
* | cegcc
*)
7534 symcode
='[ABCDGISTW]'
7537 if test "$host_cpu" = ia64
; then
7538 symcode
='[ABCDEGRST]'
7542 symcode
='[BCDEGRST]'
7545 symcode
='[BCDEGQRST]'
7556 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7564 # If we're using GNU nm, then use its standard symbol codes.
7565 case `$NM -V 2>&1` in
7566 *GNU
* |
*'with BFD'*)
7567 symcode
='[ABCDGIRSTW]' ;;
7570 # Transform an extracted symbol line into a proper C declaration.
7571 # Some systems (esp. on ia64) link data and code symbols differently,
7572 # so use this general approach.
7573 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7575 # Transform an extracted symbol line into symbol name and symbol address
7576 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7577 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'"
7579 # Handle CRLF in mingw tool chain
7583 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7587 # Try without a prefix underscore, then with it.
7588 for ac_symprfx
in "" "_"; do
7590 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7591 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7593 # Write the raw and C identifiers.
7594 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7595 # Fake it for dumpbin and say T for any non-static function
7596 # and D for any global variable.
7597 # Also find C++ and __fastcall symbols from MSVC++,
7598 # which start with @ or ?.
7599 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7600 " {last_section=section; section=\$ 3};"\
7601 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7602 " \$ 0!~/External *\|/{next};"\
7603 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7604 " {if(hide[section]) next};"\
7605 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7606 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7607 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7608 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7609 " ' prfx=^$ac_symprfx"
7611 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7614 # Check to see that the pipe works correctly.
7618 cat > conftest.
$ac_ext <<_LT_EOF
7623 void nm_test_func(void);
7624 void nm_test_func(void){}
7628 int main(){nm_test_var='a';nm_test_func();return(0);}
7631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7632 (eval $ac_compile) 2>&5
7634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7635 test $ac_status = 0; }; then
7636 # Now try to grab the symbols.
7638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7639 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7642 test $ac_status = 0; } && test -s "$nlist"; then
7643 # Try sorting and uniquifying the output.
7644 if sort "$nlist" |
uniq > "$nlist"T
; then
7645 mv -f "$nlist"T
"$nlist"
7650 # Make sure that we snagged all the symbols we need.
7651 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7652 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7653 cat <<_LT_EOF > conftest.$ac_ext
7659 # Now generate the symbol file.
7660 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7662 cat <<_LT_EOF >> conftest.$ac_ext
7664 /* The mapping between symbol names and symbols. */
7669 lt__PROGRAM__LTX_preloaded_symbols[] =
7671 { "@PROGRAM@", (void *) 0 },
7673 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7674 cat <<\_LT_EOF
>> conftest.
$ac_ext
7678 /* This works around a problem
in FreeBSD linker
*/
7679 #ifdef FREEBSD_WORKAROUND
7680 static const void
*lt_preloaded_setup
() {
7681 return lt__PROGRAM__LTX_preloaded_symbols
;
7689 # Now try linking the two files.
7690 mv conftest.
$ac_objext conftstm.
$ac_objext
7691 lt_save_LIBS
="$LIBS"
7692 lt_save_CFLAGS
="$CFLAGS"
7693 LIBS
="conftstm.$ac_objext"
7694 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7696 (eval $ac_link) 2>&5
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7699 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7702 LIBS
="$lt_save_LIBS"
7703 CFLAGS
="$lt_save_CFLAGS"
7705 echo "cannot find nm_test_func in $nlist" >&5
7708 echo "cannot find nm_test_var in $nlist" >&5
7711 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7714 echo "$progname: failed program was:" >&5
7715 cat conftest.
$ac_ext >&5
7717 rm -rf conftest
* conftst
*
7719 # Do not use the global_symbol_pipe unless it works.
7720 if test "$pipe_works" = yes; then
7723 lt_cv_sys_global_symbol_pipe
=
7729 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7730 lt_cv_sys_global_symbol_to_cdecl
=
7732 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7734 $as_echo "failed" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7737 $as_echo "ok" >&6; }
7761 # Check whether --enable-libtool-lock was given.
7762 if test "${enable_libtool_lock+set}" = set; then :
7763 enableval
=$enable_libtool_lock;
7766 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7768 # Some flags need to be propagated to the compiler or linker for good
7772 # Find out which ABI we are using.
7773 echo 'int i;' > conftest.
$ac_ext
7774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7775 (eval $ac_compile) 2>&5
7777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7778 test $ac_status = 0; }; then
7779 case `/usr/bin/file conftest.$ac_objext` in
7791 # Find out which ABI we are using.
7792 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7794 (eval $ac_compile) 2>&5
7796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7797 test $ac_status = 0; }; then
7798 if test "$lt_cv_prog_gnu_ld" = yes; then
7799 case `/usr/bin/file conftest.$ac_objext` in
7801 LD
="${LD-ld} -melf32bsmip"
7804 LD
="${LD-ld} -melf32bmipn32"
7807 LD
="${LD-ld} -melf64bmip"
7811 case `/usr/bin/file conftest.$ac_objext` in
7827 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7828 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7829 # Find out which ABI we are using.
7830 echo 'int i;' > conftest.
$ac_ext
7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7832 (eval $ac_compile) 2>&5
7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835 test $ac_status = 0; }; then
7836 case `/usr/bin/file conftest.o` in
7839 x86_64-
*kfreebsd
*-gnu)
7840 LD
="${LD-ld} -m elf_i386_fbsd"
7843 case `/usr/bin/file conftest.o` in
7845 LD
="${LD-ld} -m elf32_x86_64"
7848 LD
="${LD-ld} -m elf_i386"
7852 powerpc64le-
*linux
*)
7853 LD
="${LD-ld} -m elf32lppclinux"
7856 LD
="${LD-ld} -m elf32ppclinux"
7859 LD
="${LD-ld} -m elf_s390"
7862 LD
="${LD-ld} -m elf32_sparc"
7868 x86_64-
*kfreebsd
*-gnu)
7869 LD
="${LD-ld} -m elf_x86_64_fbsd"
7872 LD
="${LD-ld} -m elf_x86_64"
7875 LD
="${LD-ld} -m elf64lppc"
7878 LD
="${LD-ld} -m elf64ppc"
7880 s390
*-*linux
*|s390
*-*tpf
*)
7881 LD
="${LD-ld} -m elf64_s390"
7884 LD
="${LD-ld} -m elf64_sparc"
7894 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7895 SAVE_CFLAGS
="$CFLAGS"
7896 CFLAGS
="$CFLAGS -belf"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7898 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7899 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7900 $as_echo_n "(cached) " >&6
7903 ac_cpp
='$CPP $CPPFLAGS'
7904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7919 if ac_fn_c_try_link
"$LINENO"; then :
7920 lt_cv_cc_needs_belf
=yes
7922 lt_cv_cc_needs_belf
=no
7924 rm -f core conftest.err conftest.
$ac_objext \
7925 conftest
$ac_exeext conftest.
$ac_ext
7927 ac_cpp
='$CPP $CPPFLAGS'
7928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7934 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7935 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7936 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7937 CFLAGS
="$SAVE_CFLAGS"
7941 # Find out which ABI we are using.
7942 echo 'int i;' > conftest.
$ac_ext
7943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7944 (eval $ac_compile) 2>&5
7946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7947 test $ac_status = 0; }; then
7948 case `/usr/bin/file conftest.o` in
7950 case $lt_cv_prog_gnu_ld in
7951 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7953 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7965 need_locks
="$enable_libtool_lock"
7969 rhapsody
* | darwin
*)
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7972 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7976 $as_echo_n "(cached) " >&6
7978 if test -n "$DSYMUTIL"; then
7979 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7985 test -z "$as_dir" && as_dir
=.
7986 for ac_exec_ext
in '' $ac_executable_extensions; do
7987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7988 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7999 if test -n "$DSYMUTIL"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8001 $as_echo "$DSYMUTIL" >&6; }
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_DSYMUTIL"; then
8010 ac_ct_DSYMUTIL
=$DSYMUTIL
8011 # Extract the first word of "dsymutil", so it can be a program name with args.
8012 set dummy dsymutil
; ac_word
=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8016 $as_echo_n "(cached) " >&6
8018 if test -n "$ac_ct_DSYMUTIL"; then
8019 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8039 if test -n "$ac_ct_DSYMUTIL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8041 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_DSYMUTIL" = x
; then
8050 case $cross_compiling:$ac_tool_warned in
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned
=yes ;;
8056 DSYMUTIL
=$ac_ct_DSYMUTIL
8059 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8062 if test -n "$ac_tool_prefix"; then
8063 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8064 set dummy
${ac_tool_prefix}nmedit
; 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_NMEDIT+set}" = set; then :
8068 $as_echo_n "(cached) " >&6
8070 if test -n "$NMEDIT"; then
8071 ac_cv_prog_NMEDIT
="$NMEDIT" # 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_NMEDIT
="${ac_tool_prefix}nmedit"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 NMEDIT
=$ac_cv_prog_NMEDIT
8091 if test -n "$NMEDIT"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8093 $as_echo "$NMEDIT" >&6; }
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8101 if test -z "$ac_cv_prog_NMEDIT"; then
8102 ac_ct_NMEDIT
=$NMEDIT
8103 # Extract the first word of "nmedit", so it can be a program name with args.
8104 set dummy nmedit
; ac_word
=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8106 $as_echo_n "checking for $ac_word... " >&6; }
8107 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8108 $as_echo_n "(cached) " >&6
8110 if test -n "$ac_ct_NMEDIT"; then
8111 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8117 test -z "$as_dir" && as_dir
=.
8118 for ac_exec_ext
in '' $ac_executable_extensions; do
8119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8120 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8131 if test -n "$ac_ct_NMEDIT"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8133 $as_echo "$ac_ct_NMEDIT" >&6; }
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8136 $as_echo "no" >&6; }
8139 if test "x$ac_ct_NMEDIT" = x
; then
8142 case $cross_compiling:$ac_tool_warned in
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8146 ac_tool_warned
=yes ;;
8148 NMEDIT
=$ac_ct_NMEDIT
8151 NMEDIT
="$ac_cv_prog_NMEDIT"
8154 if test -n "$ac_tool_prefix"; then
8155 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8156 set dummy
${ac_tool_prefix}lipo
; 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_LIPO+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8162 if test -n "$LIPO"; then
8163 ac_cv_prog_LIPO
="$LIPO" # 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_LIPO
="${ac_tool_prefix}lipo"
8173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 LIPO
=$ac_cv_prog_LIPO
8183 if test -n "$LIPO"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8185 $as_echo "$LIPO" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8193 if test -z "$ac_cv_prog_LIPO"; then
8195 # Extract the first word of "lipo", so it can be a program name with args.
8196 set dummy lipo
; ac_word
=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8200 $as_echo_n "(cached) " >&6
8202 if test -n "$ac_ct_LIPO"; then
8203 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8209 test -z "$as_dir" && as_dir
=.
8210 for ac_exec_ext
in '' $ac_executable_extensions; do
8211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8212 ac_cv_prog_ac_ct_LIPO
="lipo"
8213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8223 if test -n "$ac_ct_LIPO"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8225 $as_echo "$ac_ct_LIPO" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8231 if test "x$ac_ct_LIPO" = x
; then
8234 case $cross_compiling:$ac_tool_warned in
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8238 ac_tool_warned
=yes ;;
8243 LIPO
="$ac_cv_prog_LIPO"
8246 if test -n "$ac_tool_prefix"; then
8247 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8248 set dummy
${ac_tool_prefix}otool
; 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_OTOOL+set}" = set; then :
8252 $as_echo_n "(cached) " >&6
8254 if test -n "$OTOOL"; then
8255 ac_cv_prog_OTOOL
="$OTOOL" # 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_OTOOL
="${ac_tool_prefix}otool"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 OTOOL
=$ac_cv_prog_OTOOL
8275 if test -n "$OTOOL"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8277 $as_echo "$OTOOL" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8285 if test -z "$ac_cv_prog_OTOOL"; then
8287 # Extract the first word of "otool", so it can be a program name with args.
8288 set dummy otool
; ac_word
=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 $as_echo_n "checking for $ac_word... " >&6; }
8291 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8292 $as_echo_n "(cached) " >&6
8294 if test -n "$ac_ct_OTOOL"; then
8295 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir
=.
8302 for ac_exec_ext
in '' $ac_executable_extensions; do
8303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8304 ac_cv_prog_ac_ct_OTOOL
="otool"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8314 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8315 if test -n "$ac_ct_OTOOL"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8317 $as_echo "$ac_ct_OTOOL" >&6; }
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8323 if test "x$ac_ct_OTOOL" = x
; then
8326 case $cross_compiling:$ac_tool_warned in
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8330 ac_tool_warned
=yes ;;
8335 OTOOL
="$ac_cv_prog_OTOOL"
8338 if test -n "$ac_tool_prefix"; then
8339 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8340 set dummy
${ac_tool_prefix}otool64
; 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_OTOOL64+set}" = set; then :
8344 $as_echo_n "(cached) " >&6
8346 if test -n "$OTOOL64"; then
8347 ac_cv_prog_OTOOL64
="$OTOOL64" # 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_OTOOL64
="${ac_tool_prefix}otool64"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 OTOOL64
=$ac_cv_prog_OTOOL64
8367 if test -n "$OTOOL64"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8369 $as_echo "$OTOOL64" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8377 if test -z "$ac_cv_prog_OTOOL64"; then
8378 ac_ct_OTOOL64
=$OTOOL64
8379 # Extract the first word of "otool64", so it can be a program name with args.
8380 set dummy otool64
; ac_word
=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 $as_echo_n "checking for $ac_word... " >&6; }
8383 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8386 if test -n "$ac_ct_OTOOL64"; then
8387 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8393 test -z "$as_dir" && as_dir
=.
8394 for ac_exec_ext
in '' $ac_executable_extensions; do
8395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8406 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8407 if test -n "$ac_ct_OTOOL64"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8409 $as_echo "$ac_ct_OTOOL64" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8415 if test "x$ac_ct_OTOOL64" = x
; then
8418 case $cross_compiling:$ac_tool_warned in
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8422 ac_tool_warned
=yes ;;
8424 OTOOL64
=$ac_ct_OTOOL64
8427 OTOOL64
="$ac_cv_prog_OTOOL64"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8457 $as_echo_n "checking for -single_module linker flag... " >&6; }
8458 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8459 $as_echo_n "(cached) " >&6
8461 lt_cv_apple_cc_single_mod
=no
8462 if test -z "${LT_MULTI_MODULE}"; then
8463 # By default we will add the -single_module flag. You can override
8464 # by either setting the environment variable LT_MULTI_MODULE
8465 # non-empty at configure time, or by adding -multi_module to the
8467 rm -rf libconftest.dylib
*
8468 echo "int foo(void){return 1;}" > conftest.c
8469 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8470 -dynamiclib -Wl,-single_module conftest.c" >&5
8471 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8472 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8474 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8475 lt_cv_apple_cc_single_mod
=yes
8477 cat conftest.err
>&5
8479 rm -rf libconftest.dylib
*
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8484 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8486 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8487 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8490 lt_cv_ld_exported_symbols_list
=no
8491 save_LDFLAGS
=$LDFLAGS
8492 echo "_main" > conftest.sym
8493 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8505 if ac_fn_c_try_link
"$LINENO"; then :
8506 lt_cv_ld_exported_symbols_list
=yes
8508 lt_cv_ld_exported_symbols_list
=no
8510 rm -f core conftest.err conftest.
$ac_objext \
8511 conftest
$ac_exeext conftest.
$ac_ext
8512 LDFLAGS
="$save_LDFLAGS"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8516 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8518 $as_echo_n "checking for -force_load linker flag... " >&6; }
8519 if test "${lt_cv_ld_force_load+set}" = set; then :
8520 $as_echo_n "(cached) " >&6
8522 lt_cv_ld_force_load
=no
8523 cat > conftest.c
<< _LT_EOF
8524 int forced_loaded() { return 2;}
8526 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8527 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8528 echo "$AR cru libconftest.a conftest.o" >&5
8529 $AR cru libconftest.a conftest.o
2>&5
8530 cat > conftest.c
<< _LT_EOF
8531 int main() { return 0;}
8533 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8534 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8536 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8537 lt_cv_ld_force_load
=yes
8539 cat conftest.err
>&5
8541 rm -f conftest.err libconftest.a conftest conftest.c
8542 rm -rf conftest.dSYM
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8546 $as_echo "$lt_cv_ld_force_load" >&6; }
8548 rhapsody
* | darwin1.
[012])
8549 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8551 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8552 darwin
*) # darwin 5.x on
8553 # if running on 10.5 or later, the deployment target defaults
8554 # to the OS version, if on x86, and 10.4, the deployment
8555 # target defaults to 10.4. Don't you love it?
8556 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8557 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8558 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8560 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8562 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8566 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8567 _lt_dar_single_mod
='$single_module'
8569 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8570 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8572 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8574 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8575 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8582 for ac_header
in dlfcn.h
8584 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8586 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8587 cat >>confdefs.h
<<_ACEOF
8588 #define HAVE_DLFCN_H 1
8608 # Check whether --enable-shared was given.
8609 if test "${enable_shared+set}" = set; then :
8610 enableval
=$enable_shared; p
=${PACKAGE-default}
8612 yes) enable_shared
=yes ;;
8613 no
) enable_shared
=no
;;
8616 # Look at the argument we got. We use all the common list separators.
8617 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8618 for pkg
in $enableval; do
8620 if test "X$pkg" = "X$p"; then
8639 # Check whether --enable-static was given.
8640 if test "${enable_static+set}" = set; then :
8641 enableval
=$enable_static; p
=${PACKAGE-default}
8643 yes) enable_static
=yes ;;
8644 no
) enable_static
=no
;;
8647 # Look at the argument we got. We use all the common list separators.
8648 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8649 for pkg
in $enableval; do
8651 if test "X$pkg" = "X$p"; then
8671 # Check whether --with-pic was given.
8672 if test "${with_pic+set}" = set; then :
8673 withval
=$with_pic; pic_mode
="$withval"
8679 test -z "$pic_mode" && pic_mode
=default
8687 # Check whether --enable-fast-install was given.
8688 if test "${enable_fast_install+set}" = set; then :
8689 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8691 yes) enable_fast_install
=yes ;;
8692 no
) enable_fast_install
=no
;;
8694 enable_fast_install
=no
8695 # Look at the argument we got. We use all the common list separators.
8696 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8697 for pkg
in $enableval; do
8699 if test "X$pkg" = "X$p"; then
8700 enable_fast_install
=yes
8707 enable_fast_install
=yes
8720 # This can be used to rebuild libtool when needed
8721 LIBTOOL_DEPS
="$ltmain"
8723 # Always use our own libtool.
8724 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8751 test -z "$LN_S" && LN_S
="ln -s"
8766 if test -n "${ZSH_VERSION+set}" ; then
8767 setopt NO_GLOB_SUBST
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8771 $as_echo_n "checking for objdir... " >&6; }
8772 if test "${lt_cv_objdir+set}" = set; then :
8773 $as_echo_n "(cached) " >&6
8775 rm -f .libs
2>/dev
/null
8776 mkdir .libs
2>/dev
/null
8777 if test -d .libs
; then
8780 # MS-DOS does not allow filenames that begin with a dot.
8783 rmdir .libs
2>/dev
/null
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8786 $as_echo "$lt_cv_objdir" >&6; }
8787 objdir
=$lt_cv_objdir
8793 cat >>confdefs.h
<<_ACEOF
8794 #define LT_OBJDIR "$lt_cv_objdir/"
8802 # AIX sometimes has problems with the GCC collect2 program. For some
8803 # reason, if we set the COLLECT_NAMES environment variable, the problems
8804 # vanish in a puff of smoke.
8805 if test "X${COLLECT_NAMES+set}" != Xset
; then
8807 export COLLECT_NAMES
8814 can_build_shared
=yes
8816 # All known linkers require a `.a' archive for static linking (except MSVC,
8817 # which needs '.lib').
8820 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8823 old_CFLAGS
="$CFLAGS"
8825 # Set sane defaults for various variables
8826 test -z "$CC" && CC
=cc
8827 test -z "$LTCC" && LTCC
=$CC
8828 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8829 test -z "$LD" && LD
=ld
8830 test -z "$ac_objext" && ac_objext
=o
8832 for cc_temp
in $compiler""; do
8834 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8835 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8840 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8843 # Only perform the check for file, if the check method requires it
8844 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8845 case $deplibs_check_method in
8847 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8849 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8850 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8851 $as_echo_n "(cached) " >&6
8855 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8858 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8859 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8860 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8861 for ac_dir
in $ac_dummy; do
8863 test -z "$ac_dir" && ac_dir
=.
8864 if test -f $ac_dir/${ac_tool_prefix}file; then
8865 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8866 if test -n "$file_magic_test_file"; then
8867 case $deplibs_check_method in
8869 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8870 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8871 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8872 $EGREP "$file_magic_regex" > /dev
/null
; then
8877 *** Warning: the command libtool uses to detect shared libraries,
8878 *** $file_magic_cmd, produces output that libtool cannot recognize.
8879 *** The result is that libtool may fail to recognize shared libraries
8880 *** as such. This will affect the creation of libtool libraries that
8881 *** depend on shared libraries, but programs linked with such libtool
8882 *** libraries will work regardless of this problem. Nevertheless, you
8883 *** may want to report the problem to your system manager and/or to
8884 *** bug-libtool@gnu.org
8894 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8899 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8900 if test -n "$MAGIC_CMD"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8902 $as_echo "$MAGIC_CMD" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905 $as_echo "no" >&6; }
8912 if test -z "$lt_cv_path_MAGIC_CMD"; then
8913 if test -n "$ac_tool_prefix"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8915 $as_echo_n "checking for file... " >&6; }
8916 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8917 $as_echo_n "(cached) " >&6
8921 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8924 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8925 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8926 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8927 for ac_dir
in $ac_dummy; do
8929 test -z "$ac_dir" && ac_dir
=.
8930 if test -f $ac_dir/file; then
8931 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8932 if test -n "$file_magic_test_file"; then
8933 case $deplibs_check_method in
8935 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8936 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8937 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8938 $EGREP "$file_magic_regex" > /dev
/null
; then
8943 *** Warning: the command libtool uses to detect shared libraries,
8944 *** $file_magic_cmd, produces output that libtool cannot recognize.
8945 *** The result is that libtool may fail to recognize shared libraries
8946 *** as such. This will affect the creation of libtool libraries that
8947 *** depend on shared libraries, but programs linked with such libtool
8948 *** libraries will work regardless of this problem. Nevertheless, you
8949 *** may want to report the problem to your system manager and/or to
8950 *** bug-libtool@gnu.org
8960 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8965 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8966 if test -n "$MAGIC_CMD"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8968 $as_echo "$MAGIC_CMD" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8984 # Use C for the default configuration in the libtool script
8988 ac_cpp
='$CPP $CPPFLAGS'
8989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8994 # Source file extension for C test sources.
8997 # Object file extension for compiled C test sources.
9001 # Code to be used in simple compile tests
9002 lt_simple_compile_test_code
="int some_variable = 0;"
9004 # Code to be used in simple link tests
9005 lt_simple_link_test_code
='int main(){return(0);}'
9013 # If no C compiler was specified, use CC.
9016 # If no C compiler flags were specified, use CFLAGS.
9017 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9019 # Allow CC to be a program name with arguments.
9022 # Save the default compiler, since it gets overwritten when the other
9023 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9024 compiler_DEFAULT
=$CC
9026 # save warnings/boilerplate of simple test code
9027 ac_outfile
=conftest.
$ac_objext
9028 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9029 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9030 _lt_compiler_boilerplate
=`cat conftest.err`
9033 ac_outfile
=conftest.
$ac_objext
9034 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9035 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9036 _lt_linker_boilerplate
=`cat conftest.err`
9041 ## There is no encapsulation within the following macros, do not change
9042 ## the running order or otherwise move them around unless you know exactly
9043 ## what you are doing...
9044 if test -n "$compiler"; then
9046 lt_prog_compiler_no_builtin_flag
=
9048 if test "$GCC" = yes; then
9049 case $cc_basename in
9051 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9053 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9057 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9058 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9059 $as_echo_n "(cached) " >&6
9061 lt_cv_prog_compiler_rtti_exceptions
=no
9062 ac_outfile
=conftest.
$ac_objext
9063 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9064 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9065 # Insert the option either (1) after the last *FLAGS variable, or
9066 # (2) before a word containing "conftest.", or (3) at the end.
9067 # Note that $ac_compile itself does not contain backslashes and begins
9068 # with a dollar sign (not a hyphen), so the echo should work correctly.
9069 # The option is referenced via a variable to avoid confusing sed.
9070 lt_compile
=`echo "$ac_compile" | $SED \
9071 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9073 -e 's:$: $lt_compiler_flag:'`
9074 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9075 (eval "$lt_compile" 2>conftest.err
)
9077 cat conftest.err
>&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 if (exit $ac_status) && test -s "$ac_outfile"; then
9080 # The compiler can only warn and ignore the option if not recognized
9081 # So say no if there are warnings other than the usual output.
9082 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9083 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9084 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9085 lt_cv_prog_compiler_rtti_exceptions
=yes
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9092 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9094 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9095 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9107 lt_prog_compiler_wl
=
9108 lt_prog_compiler_pic
=
9109 lt_prog_compiler_static
=
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9112 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9114 if test "$GCC" = yes; then
9115 lt_prog_compiler_wl
='-Wl,'
9116 lt_prog_compiler_static
='-static'
9120 # All AIX code is PIC.
9121 if test "$host_cpu" = ia64
; then
9122 # AIX 5 now supports IA64 processor
9123 lt_prog_compiler_static
='-Bstatic'
9125 lt_prog_compiler_pic
='-fPIC'
9131 # see comment about AmigaOS4 .so support
9132 lt_prog_compiler_pic
='-fPIC'
9135 # FIXME: we need at least 68020 code to build shared libraries, but
9136 # adding the `-m68020' flag to GCC prevents building anything better,
9138 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9143 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9144 # PIC is the default for these OSes.
9147 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9148 # This hack is so that the source file can tell whether it is being
9149 # built for inclusion in a dll (and should export symbols for example).
9150 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9151 # (--disable-auto-import) libraries
9152 lt_prog_compiler_pic
='-DDLL_EXPORT'
9155 darwin
* | rhapsody
*)
9156 # PIC is the default on this platform
9157 # Common symbols not allowed in MH_DYLIB files
9158 lt_prog_compiler_pic
='-fno-common'
9162 # PIC is the default for Haiku.
9163 # The "-static" flag exists, but is broken.
9164 lt_prog_compiler_static
=
9168 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9169 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9170 # sets the default TLS model and affects inlining.
9176 lt_prog_compiler_pic
='-fPIC'
9182 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9183 # Instead, we relocate shared libraries at runtime.
9187 # Just because we use GCC doesn't mean we suddenly get shared libraries
9188 # on systems that don't support them.
9189 lt_prog_compiler_can_build_shared
=no
9194 # QNX uses GNU C++, but need to define -shared option too, otherwise
9196 lt_prog_compiler_pic
='-fPIC -shared'
9200 if test -d /usr
/nec
; then
9201 lt_prog_compiler_pic
=-Kconform_pic
9206 lt_prog_compiler_pic
='-fPIC'
9210 case $cc_basename in
9211 nvcc
*) # Cuda Compiler Driver 2.2
9212 lt_prog_compiler_wl
='-Xlinker '
9213 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9217 # PORTME Check for flag to pass linker flags through the system compiler.
9220 lt_prog_compiler_wl
='-Wl,'
9221 if test "$host_cpu" = ia64
; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static
='-Bstatic'
9225 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9229 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9230 # This hack is so that the source file can tell whether it is being
9231 # built for inclusion in a dll (and should export symbols for example).
9232 lt_prog_compiler_pic
='-DDLL_EXPORT'
9235 hpux9
* | hpux10
* | hpux11
*)
9236 lt_prog_compiler_wl
='-Wl,'
9237 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9244 lt_prog_compiler_pic
='+Z'
9247 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9248 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9251 irix5
* | irix6
* | nonstopux
*)
9252 lt_prog_compiler_wl
='-Wl,'
9253 # PIC (with -KPIC) is the default.
9254 lt_prog_compiler_static
='-non_shared'
9257 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9258 case $cc_basename in
9259 # old Intel for x86_64 which still supported -KPIC.
9261 lt_prog_compiler_wl
='-Wl,'
9262 lt_prog_compiler_pic
='-KPIC'
9263 lt_prog_compiler_static
='-static'
9265 # icc used to be incompatible with GCC.
9266 # ICC 10 doesn't accept -KPIC any more.
9268 lt_prog_compiler_wl
='-Wl,'
9269 lt_prog_compiler_pic
='-fPIC'
9270 lt_prog_compiler_static
='-static'
9272 # Lahey Fortran 8.1.
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_pic
='--shared'
9276 lt_prog_compiler_static
='--static'
9278 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9279 # Portland Group compilers (*not* the Pentium gcc compiler,
9280 # which looks to be a dead project)
9281 lt_prog_compiler_wl
='-Wl,'
9282 lt_prog_compiler_pic
='-fpic'
9283 lt_prog_compiler_static
='-Bstatic'
9286 lt_prog_compiler_wl
='-Wl,'
9287 # All Alpha code is PIC.
9288 lt_prog_compiler_static
='-non_shared'
9290 xl
* | bgxl
* | bgf
* | mpixl
*)
9291 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9292 lt_prog_compiler_wl
='-Wl,'
9293 lt_prog_compiler_pic
='-qpic'
9294 lt_prog_compiler_static
='-qstaticlink'
9297 case `$CC -V 2>&1 | sed 5q` in
9298 *Sun\ F
* |
*Sun
*Fortran
*)
9299 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9300 lt_prog_compiler_pic
='-KPIC'
9301 lt_prog_compiler_static
='-Bstatic'
9302 lt_prog_compiler_wl
=''
9306 lt_prog_compiler_pic
='-KPIC'
9307 lt_prog_compiler_static
='-Bstatic'
9308 lt_prog_compiler_wl
='-Wl,'
9316 lt_prog_compiler_pic
='-KPIC'
9317 lt_prog_compiler_static
='-Bstatic'
9321 # QNX uses GNU C++, but need to define -shared option too, otherwise
9323 lt_prog_compiler_pic
='-fPIC -shared'
9326 osf3
* | osf4
* | osf5
*)
9327 lt_prog_compiler_wl
='-Wl,'
9328 # All OSF/1 code is PIC.
9329 lt_prog_compiler_static
='-non_shared'
9333 lt_prog_compiler_static
='-non_shared'
9337 lt_prog_compiler_pic
='-KPIC'
9338 lt_prog_compiler_static
='-Bstatic'
9339 case $cc_basename in
9341 lt_prog_compiler_wl
='-Qoption ld ';;
9343 lt_prog_compiler_wl
='-Wl,';;
9348 lt_prog_compiler_wl
='-Qoption ld '
9349 lt_prog_compiler_pic
='-PIC'
9350 lt_prog_compiler_static
='-Bstatic'
9353 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9354 lt_prog_compiler_wl
='-Wl,'
9355 lt_prog_compiler_pic
='-KPIC'
9356 lt_prog_compiler_static
='-Bstatic'
9360 if test -d /usr
/nec
;then
9361 lt_prog_compiler_pic
='-Kconform_pic'
9362 lt_prog_compiler_static
='-Bstatic'
9366 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9367 lt_prog_compiler_wl
='-Wl,'
9368 lt_prog_compiler_pic
='-KPIC'
9369 lt_prog_compiler_static
='-Bstatic'
9373 lt_prog_compiler_wl
='-Wl,'
9374 lt_prog_compiler_can_build_shared
=no
9378 lt_prog_compiler_pic
='-pic'
9379 lt_prog_compiler_static
='-Bstatic'
9383 lt_prog_compiler_can_build_shared
=no
9389 # For platforms which do not support PIC, -DPIC is meaningless:
9391 lt_prog_compiler_pic
=
9394 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9398 $as_echo "$lt_prog_compiler_pic" >&6; }
9406 # Check to make sure the PIC flag actually works.
9408 if test -n "$lt_prog_compiler_pic"; then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9410 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9411 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9412 $as_echo_n "(cached) " >&6
9414 lt_cv_prog_compiler_pic_works
=no
9415 ac_outfile
=conftest.
$ac_objext
9416 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9417 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9418 # Insert the option either (1) after the last *FLAGS variable, or
9419 # (2) before a word containing "conftest.", or (3) at the end.
9420 # Note that $ac_compile itself does not contain backslashes and begins
9421 # with a dollar sign (not a hyphen), so the echo should work correctly.
9422 # The option is referenced via a variable to avoid confusing sed.
9423 lt_compile
=`echo "$ac_compile" | $SED \
9424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9426 -e 's:$: $lt_compiler_flag:'`
9427 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9428 (eval "$lt_compile" 2>conftest.err
)
9430 cat conftest.err
>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 if (exit $ac_status) && test -s "$ac_outfile"; then
9433 # The compiler can only warn and ignore the option if not recognized
9434 # So say no if there are warnings other than the usual output.
9435 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9436 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9437 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9438 lt_cv_prog_compiler_pic_works
=yes
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9445 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9447 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9448 case $lt_prog_compiler_pic in
9450 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9453 lt_prog_compiler_pic
=
9454 lt_prog_compiler_can_build_shared
=no
9465 # Check to make sure the static flag actually works.
9467 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9469 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9470 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9471 $as_echo_n "(cached) " >&6
9473 lt_cv_prog_compiler_static_works
=no
9474 save_LDFLAGS
="$LDFLAGS"
9475 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9476 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9477 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9478 # The linker can only warn and ignore the option if not recognized
9479 # So say no if there are warnings
9480 if test -s conftest.err
; then
9481 # Append any errors to the config.log.
9482 cat conftest.err
1>&5
9483 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9484 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9485 if diff conftest.exp conftest.er2
>/dev
/null
; then
9486 lt_cv_prog_compiler_static_works
=yes
9489 lt_cv_prog_compiler_static_works
=yes
9493 LDFLAGS
="$save_LDFLAGS"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9497 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9499 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9502 lt_prog_compiler_static
=
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9512 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9513 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9514 $as_echo_n "(cached) " >&6
9516 lt_cv_prog_compiler_c_o
=no
9517 $RM -r conftest
2>/dev
/null
9521 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9523 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9524 # Insert the option either (1) after the last *FLAGS variable, or
9525 # (2) before a word containing "conftest.", or (3) at the end.
9526 # Note that $ac_compile itself does not contain backslashes and begins
9527 # with a dollar sign (not a hyphen), so the echo should work correctly.
9528 lt_compile
=`echo "$ac_compile" | $SED \
9529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9531 -e 's:$: $lt_compiler_flag:'`
9532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9533 (eval "$lt_compile" 2>out
/conftest.err
)
9535 cat out
/conftest.err
>&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9539 # The compiler can only warn and ignore the option if not recognized
9540 # So say no if there are warnings
9541 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9542 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9543 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9544 lt_cv_prog_compiler_c_o
=yes
9549 # SGI C++ compiler will create directory out/ii_files/ for
9550 # template instantiation
9551 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9552 $RM out
/* && rmdir out
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9559 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9567 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9568 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9569 $as_echo_n "(cached) " >&6
9571 lt_cv_prog_compiler_c_o
=no
9572 $RM -r conftest
2>/dev
/null
9576 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9578 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9579 # Insert the option either (1) after the last *FLAGS variable, or
9580 # (2) before a word containing "conftest.", or (3) at the end.
9581 # Note that $ac_compile itself does not contain backslashes and begins
9582 # with a dollar sign (not a hyphen), so the echo should work correctly.
9583 lt_compile
=`echo "$ac_compile" | $SED \
9584 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9585 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9586 -e 's:$: $lt_compiler_flag:'`
9587 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9588 (eval "$lt_compile" 2>out
/conftest.err
)
9590 cat out
/conftest.err
>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9594 # The compiler can only warn and ignore the option if not recognized
9595 # So say no if there are warnings
9596 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9597 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9598 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9599 lt_cv_prog_compiler_c_o
=yes
9604 # SGI C++ compiler will create directory out/ii_files/ for
9605 # template instantiation
9606 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9607 $RM out
/* && rmdir out
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9614 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9619 hard_links
="nottested"
9620 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9621 # do not overwrite the value of need_locks provided by the user
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9623 $as_echo_n "checking if we can lock with hard links... " >&6; }
9626 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9628 ln conftest.a conftest.b
2>&5 || hard_links
=no
9629 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9631 $as_echo "$hard_links" >&6; }
9632 if test "$hard_links" = no
; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9634 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9647 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9650 allow_undefined_flag
=
9651 always_export_symbols
=no
9653 archive_expsym_cmds
=
9654 compiler_needs_object
=no
9655 enable_shared_with_static_runtimes
=no
9656 export_dynamic_flag_spec
=
9657 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9658 hardcode_automatic
=no
9660 hardcode_direct_absolute
=no
9661 hardcode_libdir_flag_spec
=
9662 hardcode_libdir_flag_spec_ld
=
9663 hardcode_libdir_separator
=
9665 hardcode_shlibpath_var
=unsupported
9667 link_all_deplibs
=unknown
9670 old_archive_from_new_cmds
=
9671 old_archive_from_expsyms_cmds
=
9672 thread_safe_flag_spec
=
9673 whole_archive_flag_spec
=
9674 # include_expsyms should be a list of space-separated symbols to be *always*
9675 # included in the symbol list
9677 # exclude_expsyms can be an extended regexp of symbols to exclude
9678 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9679 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9680 # as well as any symbol that contains `d'.
9681 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9682 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9683 # platforms (ab)use it in PIC code, but their linkers get confused if
9684 # the symbol is explicitly referenced. Since portable code cannot
9685 # rely on this symbol name, it's probably fine to never include it in
9686 # preloaded symbol tables.
9687 # Exclude shared library initialization/finalization symbols.
9688 extract_expsyms_cmds
=
9691 cygwin
* | mingw
* | pw32
* | cegcc
*)
9692 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9693 # When not using gcc, we currently assume that we are using
9694 # Microsoft Visual C++.
9695 if test "$GCC" != yes; then
9700 # we just hope/assume this is gcc and not c89 (= MSVC++)
9710 # On some targets, GNU ld is compatible enough with the native linker
9711 # that we're better off using the native interface for both.
9712 lt_use_gnu_ld_interface
=no
9713 if test "$with_gnu_ld" = yes; then
9716 # The AIX port of GNU ld has always aspired to compatibility
9717 # with the native linker. However, as the warning in the GNU ld
9718 # block says, versions before 2.19.5* couldn't really create working
9719 # shared libraries, regardless of the interface used.
9720 case `$LD -v 2>&1` in
9721 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9722 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9723 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9725 lt_use_gnu_ld_interface
=yes
9730 lt_use_gnu_ld_interface
=yes
9735 if test "$lt_use_gnu_ld_interface" = yes; then
9736 # If archive_cmds runs LD, not CC, wlarc should be empty
9739 # Set some defaults for GNU ld with shared library support. These
9740 # are reset later if shared libraries are not supported. Putting them
9741 # here allows them to be overridden if necessary.
9742 runpath_var
=LD_RUN_PATH
9743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9744 export_dynamic_flag_spec
='${wl}--export-dynamic'
9745 # ancient GNU ld didn't support --whole-archive et. al.
9746 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9747 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9749 whole_archive_flag_spec
=
9751 supports_anon_versioning
=no
9752 case `$LD -v 2>&1` in
9753 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9754 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9755 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9756 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9757 *\
2.11.
*) ;; # other 2.11 versions
9758 *) supports_anon_versioning
=yes ;;
9761 # See if GNU ld supports shared libraries.
9764 # On AIX/PPC, the GNU linker is very broken
9765 if test "$host_cpu" != ia64
; then
9769 *** Warning: the GNU linker, at least up to release 2.19, is reported
9770 *** to be unable to reliably create shared libraries on AIX.
9771 *** Therefore, libtool is disabling shared libraries support. If you
9772 *** really care for shared libraries, you may want to install binutils
9773 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9774 *** You will then need to restart the configuration process.
9783 # see comment about AmigaOS4 .so support
9784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 archive_expsym_cmds
=''
9788 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)'
9789 hardcode_libdir_flag_spec
='-L$libdir'
9790 hardcode_minus_L
=yes
9796 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9797 allow_undefined_flag
=unsupported
9798 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9799 # support --undefined. This deserves some investigation. FIXME
9800 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 cygwin
* | mingw
* | pw32
* | cegcc
*)
9807 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9808 # as there is no search path for DLLs.
9809 hardcode_libdir_flag_spec
='-L$libdir'
9810 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9811 allow_undefined_flag
=unsupported
9812 always_export_symbols
=no
9813 enable_shared_with_static_runtimes
=yes
9814 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9816 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9818 # If the export-symbols file already is a .def file (1st line
9819 # is EXPORTS), use it as is; otherwise, prepend...
9820 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9821 cp $export_symbols $output_objdir/$soname.def;
9823 echo EXPORTS > $output_objdir/$soname.def;
9824 cat $export_symbols >> $output_objdir/$soname.def;
9826 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9833 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9834 link_all_deplibs
=yes
9839 hardcode_shlibpath_var
=no
9840 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9841 export_dynamic_flag_spec
='${wl}-E'
9842 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9843 # Instead, shared libraries are loaded at an image base (0x10000000 by
9844 # default) and relocated if they conflict, which is a slow very memory
9845 # consuming and fragmenting process. To avoid this, we pick a random,
9846 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9847 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9848 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9849 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'
9852 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9854 if test "$host_os" = linux-dietlibc
; then
9855 case $cc_basename in
9856 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9859 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9860 && test "$tmp_diet" = no
9862 tmp_addflag
=' $pic_flag'
9863 tmp_sharedflag
='-shared'
9864 case $cc_basename,$host_cpu in
9865 pgcc
*) # Portland Group C compiler
9866 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'
9867 tmp_addflag
=' $pic_flag'
9869 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9870 # Portland Group f77 and f90 compilers
9871 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'
9872 tmp_addflag
=' $pic_flag -Mnomain' ;;
9873 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9874 tmp_addflag
=' -i_dynamic' ;;
9875 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9876 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9877 ifc
* | ifort
*) # Intel Fortran compiler
9878 tmp_addflag
=' -nofor_main' ;;
9879 lf95
*) # Lahey Fortran 8.1
9880 whole_archive_flag_spec
=
9881 tmp_sharedflag
='--shared' ;;
9882 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9883 tmp_sharedflag
='-qmkshrobj'
9885 nvcc
*) # Cuda Compiler Driver 2.2
9886 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'
9887 compiler_needs_object
=yes
9890 case `$CC -V 2>&1 | sed 5q` in
9891 *Sun\ C
*) # Sun C 5.9
9892 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'
9893 compiler_needs_object
=yes
9894 tmp_sharedflag
='-G' ;;
9895 *Sun\ F
*) # Sun Fortran 8.3
9896 tmp_sharedflag
='-G' ;;
9898 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900 if test "x$supports_anon_versioning" = xyes
; then
9901 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9902 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9903 echo "local: *; };" >> $output_objdir/$libname.ver~
9904 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9907 case $cc_basename in
9908 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9909 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9910 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9911 hardcode_libdir_flag_spec
=
9912 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9913 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9914 if test "x$supports_anon_versioning" = xyes
; then
9915 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9916 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9917 echo "local: *; };" >> $output_objdir/$libname.ver~
9918 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9928 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9929 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9932 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9933 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9938 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9942 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9943 *** create shared libraries on Solaris systems. Therefore, libtool
9944 *** is disabling shared libraries support. We urge you to upgrade GNU
9945 *** binutils to release 2.9.1 or newer. Another option is to modify
9946 *** your PATH or compiler configuration so that the native linker is
9947 *** used, and then restart.
9950 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9951 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9952 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9959 case `$LD -v 2>&1` in
9960 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9964 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9965 *** reliably create shared libraries on SCO systems. Therefore, libtool
9966 *** is disabling shared libraries support. We urge you to upgrade GNU
9967 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9968 *** your PATH or compiler configuration so that the native linker is
9969 *** used, and then restart.
9974 # For security reasons, it is highly recommended that you always
9975 # use absolute paths for naming shared libraries, and exclude the
9976 # DT_RUNPATH tag from executables and libraries. But doing so
9977 # requires that you compile everything twice, which is a pain.
9978 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9979 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9981 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9990 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9993 hardcode_shlibpath_var
=no
9997 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9998 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9999 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10006 if test "$ld_shlibs" = no
; then
10008 hardcode_libdir_flag_spec
=
10009 export_dynamic_flag_spec
=
10010 whole_archive_flag_spec
=
10013 # PORTME fill in a description of your system's linker (not GNU ld)
10016 allow_undefined_flag
=unsupported
10017 always_export_symbols
=yes
10018 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'
10019 # Note: this linker hardcodes the directories in LIBPATH if there
10020 # are no directories specified by -L.
10021 hardcode_minus_L
=yes
10022 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10023 # Neither direct hardcoding nor static linking is supported with a
10025 hardcode_direct
=unsupported
10030 if test "$host_cpu" = ia64
; then
10031 # On IA64, the linker does run time linking by default, so we don't
10032 # have to do anything special.
10033 aix_use_runtimelinking
=no
10034 exp_sym_flag
='-Bexport'
10037 # If we're using GNU nm, then we don't want the "-C" option.
10038 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10039 # Also, AIX nm treats weak defined symbols like other global
10040 # defined symbols, whereas GNU nm marks them as "W".
10041 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10042 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'
10044 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10046 aix_use_runtimelinking
=no
10048 # Test if we are trying to use run time linking or normal
10049 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10050 # need to do runtime linking.
10051 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10052 for ld_flag
in $LDFLAGS; do
10053 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10054 aix_use_runtimelinking
=yes
10061 exp_sym_flag
='-bexport'
10062 no_entry_flag
='-bnoentry'
10065 # When large executables or shared objects are built, AIX ld can
10066 # have problems creating the table of contents. If linking a library
10067 # or program results in "error TOC overflow" add -mminimal-toc to
10068 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10069 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10072 hardcode_direct
=yes
10073 hardcode_direct_absolute
=yes
10074 hardcode_libdir_separator
=':'
10075 link_all_deplibs
=yes
10076 file_list_spec
='${wl}-f,'
10078 if test "$GCC" = yes; then
10079 case $host_os in aix4.
[012]|aix4.
[012].
*)
10080 # We only want to do this on AIX 4.2 and lower, the check
10081 # below for broken collect2 doesn't work under 4.3+
10082 collect2name
=`${CC} -print-prog-name=collect2`
10083 if test -f "$collect2name" &&
10084 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10086 # We have reworked collect2
10089 # We have old collect2
10090 hardcode_direct
=unsupported
10091 # It fails to find uninstalled libraries when the uninstalled
10092 # path is not listed in the libpath. Setting hardcode_minus_L
10093 # to unsupported forces relinking
10094 hardcode_minus_L
=yes
10095 hardcode_libdir_flag_spec
='-L$libdir'
10096 hardcode_libdir_separator
=
10100 shared_flag
='-shared'
10101 if test "$aix_use_runtimelinking" = yes; then
10102 shared_flag
="$shared_flag "'${wl}-G'
10106 if test "$host_cpu" = ia64
; then
10107 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10108 # chokes on -Wl,-G. The following line is correct:
10111 if test "$aix_use_runtimelinking" = yes; then
10112 shared_flag
='${wl}-G'
10114 shared_flag
='${wl}-bM:SRE'
10119 export_dynamic_flag_spec
='${wl}-bexpall'
10120 # It seems that -bexpall does not export symbols beginning with
10121 # underscore (_), so it is better to generate a list of symbols to export.
10122 always_export_symbols
=yes
10123 if test "$aix_use_runtimelinking" = yes; then
10124 # Warning - without using the other runtime loading flags (-brtl),
10125 # -berok will link without error, but may produce a broken library.
10126 allow_undefined_flag
='-berok'
10127 # Determine the default libpath from the value encoded in an
10128 # empty executable.
10129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10140 if ac_fn_c_try_link
"$LINENO"; then :
10142 lt_aix_libpath_sed
='
10143 /Import File Strings/,/^$/ {
10149 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10150 # Check for a 64-bit object if we didn't find anything.
10151 if test -z "$aix_libpath"; then
10152 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10155 rm -f core conftest.err conftest.
$ac_objext \
10156 conftest
$ac_exeext conftest.
$ac_ext
10157 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10159 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10160 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"
10162 if test "$host_cpu" = ia64
; then
10163 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10164 allow_undefined_flag
="-z nodefs"
10165 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"
10167 # Determine the default libpath from the value encoded in an
10168 # empty executable.
10169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10180 if ac_fn_c_try_link
"$LINENO"; then :
10182 lt_aix_libpath_sed
='
10183 /Import File Strings/,/^$/ {
10189 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10190 # Check for a 64-bit object if we didn't find anything.
10191 if test -z "$aix_libpath"; then
10192 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10195 rm -f core conftest.err conftest.
$ac_objext \
10196 conftest
$ac_exeext conftest.
$ac_ext
10197 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10199 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10200 # Warning - without using the other run time loading flags,
10201 # -berok will link without error, but may produce a broken library.
10202 no_undefined_flag
=' ${wl}-bernotok'
10203 allow_undefined_flag
=' ${wl}-berok'
10204 if test "$with_gnu_ld" = yes; then
10205 # We only use this code for GNU lds that support --whole-archive.
10206 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10208 # Exported symbols can be pulled into shared objects from archives
10209 whole_archive_flag_spec
='$convenience'
10211 archive_cmds_need_lc
=yes
10212 # This is similar to how AIX traditionally builds its shared libraries.
10213 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'
10221 # see comment about AmigaOS4 .so support
10222 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10223 archive_expsym_cmds
=''
10226 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)'
10227 hardcode_libdir_flag_spec
='-L$libdir'
10228 hardcode_minus_L
=yes
10234 export_dynamic_flag_spec
=-rdynamic
10237 cygwin
* | mingw
* | pw32
* | cegcc
*)
10238 # When not using gcc, we currently assume that we are using
10239 # Microsoft Visual C++.
10240 # hardcode_libdir_flag_spec is actually meaningless, as there is
10241 # no search path for DLLs.
10242 hardcode_libdir_flag_spec
=' '
10243 allow_undefined_flag
=unsupported
10244 # Tell ltmain to make .lib files, not .a files.
10246 # Tell ltmain to make .dll files, not .so files.
10248 # FIXME: Setting linknames here is a bad hack.
10249 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10250 # The linker will automatically build a .lib file if we build a DLL.
10251 old_archive_from_new_cmds
='true'
10252 # FIXME: Should let the user specify the lib program.
10253 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10254 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10255 enable_shared_with_static_runtimes
=yes
10258 darwin
* | rhapsody
*)
10261 archive_cmds_need_lc
=no
10263 hardcode_automatic
=yes
10264 hardcode_shlibpath_var
=unsupported
10265 if test "$lt_cv_ld_force_load" = "yes"; then
10266 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\"`'
10268 whole_archive_flag_spec
=''
10270 link_all_deplibs
=yes
10271 allow_undefined_flag
="$_lt_dar_allow_undefined"
10272 case $cc_basename in
10273 ifort
*) _lt_dar_can_shared
=yes ;;
10274 *) _lt_dar_can_shared
=$GCC ;;
10276 if test "$_lt_dar_can_shared" = "yes"; then
10277 output_verbose_link_cmd
=func_echo_all
10278 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10279 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10280 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}"
10281 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}"
10290 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10291 hardcode_libdir_flag_spec
='-L$libdir'
10292 hardcode_shlibpath_var
=no
10295 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10296 # support. Future versions do this automatically, but an explicit c++rt0.o
10297 # does not break anything, and helps significantly (at the cost of a little
10300 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10301 hardcode_libdir_flag_spec
='-R$libdir'
10302 hardcode_direct
=yes
10303 hardcode_shlibpath_var
=no
10306 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10308 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10309 hardcode_direct
=yes
10310 hardcode_minus_L
=yes
10311 hardcode_shlibpath_var
=no
10314 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10315 freebsd
* | dragonfly
*)
10316 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10317 hardcode_libdir_flag_spec
='-R$libdir'
10318 hardcode_direct
=yes
10319 hardcode_shlibpath_var
=no
10323 if test "$GCC" = yes; then
10324 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'
10326 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'
10328 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10329 hardcode_libdir_separator
=:
10330 hardcode_direct
=yes
10332 # hardcode_minus_L: Not really in the search PATH,
10333 # but as the default location of the library.
10334 hardcode_minus_L
=yes
10335 export_dynamic_flag_spec
='${wl}-E'
10339 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10340 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10342 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10344 if test "$with_gnu_ld" = no
; then
10345 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10346 hardcode_libdir_flag_spec_ld
='+b $libdir'
10347 hardcode_libdir_separator
=:
10348 hardcode_direct
=yes
10349 hardcode_direct_absolute
=yes
10350 export_dynamic_flag_spec
='${wl}-E'
10351 # hardcode_minus_L: Not really in the search PATH,
10352 # but as the default location of the library.
10353 hardcode_minus_L
=yes
10358 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10361 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10364 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10367 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10373 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10376 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10380 # Older versions of the 11.00 compiler do not understand -b yet
10381 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10383 $as_echo_n "checking if $CC understands -b... " >&6; }
10384 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10385 $as_echo_n "(cached) " >&6
10387 lt_cv_prog_compiler__b
=no
10388 save_LDFLAGS
="$LDFLAGS"
10389 LDFLAGS
="$LDFLAGS -b"
10390 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10391 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10392 # The linker can only warn and ignore the option if not recognized
10393 # So say no if there are warnings
10394 if test -s conftest.err
; then
10395 # Append any errors to the config.log.
10396 cat conftest.err
1>&5
10397 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10398 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10399 if diff conftest.exp conftest.er2
>/dev
/null
; then
10400 lt_cv_prog_compiler__b
=yes
10403 lt_cv_prog_compiler__b
=yes
10407 LDFLAGS
="$save_LDFLAGS"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10411 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10413 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10414 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10416 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10422 if test "$with_gnu_ld" = no
; then
10423 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10424 hardcode_libdir_separator
=:
10429 hardcode_shlibpath_var
=no
10432 hardcode_direct
=yes
10433 hardcode_direct_absolute
=yes
10434 export_dynamic_flag_spec
='${wl}-E'
10436 # hardcode_minus_L: Not really in the search PATH,
10437 # but as the default location of the library.
10438 hardcode_minus_L
=yes
10444 irix5
* | irix6
* | nonstopux
*)
10445 if test "$GCC" = yes; then
10446 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'
10447 # Try to use the -exported_symbol ld option, if it does not
10448 # work, assume that -exports_file does not work either and
10449 # implicitly export all symbols.
10450 save_LDFLAGS
="$LDFLAGS"
10451 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10456 if ac_fn_c_try_link
"$LINENO"; then :
10457 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'
10460 rm -f core conftest.err conftest.
$ac_objext \
10461 conftest
$ac_exeext conftest.
$ac_ext
10462 LDFLAGS
="$save_LDFLAGS"
10464 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'
10465 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'
10467 archive_cmds_need_lc
='no'
10468 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10469 hardcode_libdir_separator
=:
10471 link_all_deplibs
=yes
10475 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10476 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10478 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10480 hardcode_libdir_flag_spec
='-R$libdir'
10481 hardcode_direct
=yes
10482 hardcode_shlibpath_var
=no
10486 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10487 hardcode_direct
=yes
10488 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10489 hardcode_libdir_separator
=:
10490 hardcode_shlibpath_var
=no
10497 if test -f /usr
/libexec
/ld.so
; then
10498 hardcode_direct
=yes
10499 hardcode_shlibpath_var
=no
10500 hardcode_direct_absolute
=yes
10501 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10502 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10503 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10504 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10505 export_dynamic_flag_spec
='${wl}-E'
10508 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10509 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10510 hardcode_libdir_flag_spec
='-R$libdir'
10513 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10514 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10524 hardcode_libdir_flag_spec
='-L$libdir'
10525 hardcode_minus_L
=yes
10526 allow_undefined_flag
=unsupported
10527 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'
10528 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10532 if test "$GCC" = yes; then
10533 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10534 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'
10536 allow_undefined_flag
=' -expect_unresolved \*'
10537 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'
10539 archive_cmds_need_lc
='no'
10540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10541 hardcode_libdir_separator
=:
10544 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10545 if test "$GCC" = yes; then
10546 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10547 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'
10548 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10550 allow_undefined_flag
=' -expect_unresolved \*'
10551 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'
10552 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~
10553 $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'
10555 # Both c and cxx compiler support -rpath directly
10556 hardcode_libdir_flag_spec
='-rpath $libdir'
10558 archive_cmds_need_lc
='no'
10559 hardcode_libdir_separator
=:
10563 no_undefined_flag
=' -z defs'
10564 if test "$GCC" = yes; then
10566 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10567 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10568 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10570 case `$CC -V 2>&1` in
10573 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10574 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10575 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10579 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10580 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10581 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10585 hardcode_libdir_flag_spec
='-R$libdir'
10586 hardcode_shlibpath_var
=no
10588 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10590 # The compiler driver will combine and reorder linker options,
10591 # but understands `-z linker_flag'. GCC discards it without `$wl',
10592 # but is careful enough not to reorder.
10593 # Supported since Solaris 2.6 (maybe 2.5.1?)
10594 if test "$GCC" = yes; then
10595 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10597 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10601 link_all_deplibs
=yes
10605 if test "x$host_vendor" = xsequent
; then
10606 # Use $CC to link under sequent, because it throws in some extra .o
10607 # files that make .init and .fini sections work.
10608 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10610 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10612 hardcode_libdir_flag_spec
='-L$libdir'
10613 hardcode_direct
=yes
10614 hardcode_minus_L
=yes
10615 hardcode_shlibpath_var
=no
10619 case $host_vendor in
10621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_direct
=yes # is this really true???
10625 ## LD is ld it makes a PLAMLIB
10626 ## CC just makes a GrossModule.
10627 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10628 reload_cmds
='$CC -r -o $output$reload_objs'
10632 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10636 runpath_var
='LD_RUN_PATH'
10637 hardcode_shlibpath_var
=no
10641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10642 hardcode_shlibpath_var
=no
10643 export_dynamic_flag_spec
='-Bexport'
10647 if test -d /usr
/nec
; then
10648 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10649 hardcode_shlibpath_var
=no
10650 runpath_var
=LD_RUN_PATH
10651 hardcode_runpath_var
=yes
10656 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10657 no_undefined_flag
='${wl}-z,text'
10658 archive_cmds_need_lc
=no
10659 hardcode_shlibpath_var
=no
10660 runpath_var
='LD_RUN_PATH'
10662 if test "$GCC" = yes; then
10663 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10671 sysv5
* | sco3.2v5
* | sco5v6
*)
10672 # Note: We can NOT use -z defs as we might desire, because we do not
10673 # link with -lc, and that would cause any symbols used from libc to
10674 # always be unresolved, which means just about no library would
10675 # ever link correctly. If we're not using GNU ld we use -z text
10676 # though, which does catch some bad symbols but isn't as heavy-handed
10678 no_undefined_flag
='${wl}-z,text'
10679 allow_undefined_flag
='${wl}-z,nodefs'
10680 archive_cmds_need_lc
=no
10681 hardcode_shlibpath_var
=no
10682 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10683 hardcode_libdir_separator
=':'
10684 link_all_deplibs
=yes
10685 export_dynamic_flag_spec
='${wl}-Bexport'
10686 runpath_var
='LD_RUN_PATH'
10688 if test "$GCC" = yes; then
10689 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10690 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10693 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699 hardcode_libdir_flag_spec
='-L$libdir'
10700 hardcode_shlibpath_var
=no
10708 if test x
$host_vendor = xsni
; then
10710 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10711 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10718 $as_echo "$ld_shlibs" >&6; }
10719 test "$ld_shlibs" = no
&& can_build_shared
=no
10721 with_gnu_ld
=$with_gnu_ld
10738 # Do we need to explicitly link libc?
10740 case "x$archive_cmds_need_lc" in
10742 # Assume -lc should be added
10743 archive_cmds_need_lc
=yes
10745 if test "$enable_shared" = yes && test "$GCC" = yes; then
10746 case $archive_cmds in
10748 # FIXME: we may have to deal with multi-command sequences.
10751 # Test whether the compiler implicitly links with -lc since on some
10752 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10753 # to ld, don't add -lc before -lgcc.
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10755 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10756 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10757 $as_echo_n "(cached) " >&6
10760 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10763 (eval $ac_compile) 2>&5
10765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10766 test $ac_status = 0; } 2>conftest.err
; then
10769 libobjs
=conftest.
$ac_objext
10771 wl
=$lt_prog_compiler_wl
10772 pic_flag
=$lt_prog_compiler_pic
10778 lt_save_allow_undefined_flag
=$allow_undefined_flag
10779 allow_undefined_flag
=
10780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10781 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10784 test $ac_status = 0; }
10786 lt_cv_archive_cmds_need_lc
=no
10788 lt_cv_archive_cmds_need_lc
=yes
10790 allow_undefined_flag
=$lt_save_allow_undefined_flag
10792 cat conftest.err
1>&5
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10798 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10799 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10963 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10965 if test "$GCC" = yes; then
10967 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10968 *) lt_awk_arg
="/^libraries:/" ;;
10971 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10972 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10974 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10975 case $lt_search_path_spec in
10977 # if the path contains ";" then we assume it to be the separator
10978 # otherwise default to the standard path separator (i.e. ":") - it is
10979 # assumed that no part of a normal pathname contains ";" but that should
10980 # okay in the real world where ";" in dirpaths is itself problematic.
10981 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10984 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10987 # Ok, now we have the path, separated by spaces, we can step through it
10988 # and add multilib dir if necessary.
10989 lt_tmp_lt_search_path_spec
=
10990 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10991 for lt_sys_path
in $lt_search_path_spec; do
10992 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10993 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10995 test -d "$lt_sys_path" && \
10996 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10999 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11000 BEGIN {RS=" "; FS="/|\n";} {
11003 for (lt_i = NF; lt_i > 0; lt_i--) {
11004 if ($lt_i != "" && $lt_i != ".") {
11005 if ($lt_i == "..") {
11008 if (lt_count == 0) {
11009 lt_foo="/" $lt_i lt_foo;
11016 if (lt_foo != "") { lt_freq[lt_foo]++; }
11017 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11019 # AWK program above erroneously prepends '/' to C:/dos/paths
11022 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11023 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11025 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11027 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11029 library_names_spec
=
11030 libname_spec
='lib$name'
11034 postuninstall_cmds
=
11038 shlibpath_overrides_runpath
=unknown
11040 dynamic_linker
="$host_os ld.so"
11041 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11042 need_lib_prefix
=unknown
11043 hardcode_into_libs
=no
11045 # when you set need_version to no, make sure it does not cause -set_version
11046 # flags to be left without arguments
11047 need_version
=unknown
11052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11053 shlibpath_var
=LIBPATH
11055 # AIX 3 has no versioning support, so we append a major version to the name.
11056 soname_spec
='${libname}${release}${shared_ext}$major'
11063 hardcode_into_libs
=yes
11064 if test "$host_cpu" = ia64
; then
11065 # AIX 5 supports IA64
11066 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11067 shlibpath_var
=LD_LIBRARY_PATH
11069 # With GCC up to 2.95.x, collect2 would create an import file
11070 # for dependence libraries. The import file would start with
11071 # the line `#! .'. This would cause the generated library to
11072 # depend on `.', always an invalid library. This was fixed in
11073 # development snapshots of GCC prior to 3.0.
11075 aix4 | aix4.
[01] | aix4.
[01].
*)
11076 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11078 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11081 can_build_shared
=no
11085 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11086 # soname into executable. Probably we can add versioning support to
11087 # collect2, so additional links can be useful in future.
11088 if test "$aix_use_runtimelinking" = yes; then
11089 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11090 # instead of lib<name>.a to let people know that these are not
11091 # typical AIX shared libraries.
11092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 # We preserve .a as extension for shared libraries through AIX4.2
11095 # and later when we are not doing run time linking.
11096 library_names_spec
='${libname}${release}.a $libname.a'
11097 soname_spec
='${libname}${release}${shared_ext}$major'
11099 shlibpath_var
=LIBPATH
11106 # Since July 2007 AmigaOS4 officially supports .so libraries.
11107 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 library_names_spec
='$libname.ixlibrary $libname.a'
11112 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11113 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'
11119 library_names_spec
='${libname}${shared_ext}'
11120 dynamic_linker
="$host_os ld.so"
11121 shlibpath_var
=LIBRARY_PATH
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11130 shlibpath_var
=LD_LIBRARY_PATH
11131 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11132 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11133 # the default ld.so.conf also contains /usr/contrib/lib and
11134 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11135 # libtool to hard-code these into programs
11138 cygwin
* | mingw
* | pw32
* | cegcc
*)
11139 version_type
=windows
11144 case $GCC,$host_os in
11145 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11146 library_names_spec
='$libname.dll.a'
11147 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11148 postinstall_cmds
='base_file=`basename \${file}`~
11149 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11150 dldir=$destdir/`dirname \$dlpath`~
11151 test -d \$dldir || mkdir -p \$dldir~
11152 $install_prog $dir/$dlname \$dldir/$dlname~
11153 chmod a+x \$dldir/$dlname~
11154 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11155 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11157 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11158 dlpath=$dir/\$dldll~
11160 shlibpath_overrides_runpath
=yes
11164 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11165 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11167 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11170 # MinGW DLLs use traditional 'lib' prefix
11171 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11174 # pw32 DLLs use 'pw' prefix rather than 'lib'
11175 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11181 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11184 dynamic_linker
='Win32 ld.exe'
11185 # FIXME: first we should search . and the directory the executable is in
11189 darwin
* | rhapsody
*)
11190 dynamic_linker
="$host_os dyld"
11191 version_type
=darwin
11194 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11195 soname_spec
='${libname}${release}${major}$shared_ext'
11196 shlibpath_overrides_runpath
=yes
11197 shlibpath_var
=DYLD_LIBRARY_PATH
11198 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11200 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11201 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11209 soname_spec
='${libname}${release}${shared_ext}$major'
11210 shlibpath_var
=LD_LIBRARY_PATH
11213 freebsd
* | dragonfly
*)
11214 # DragonFly does not have aout. When/if they implement a new
11215 # versioning mechanism, adjust this.
11216 if test -x /usr
/bin
/objformat
; then
11217 objformat
=`/usr/bin/objformat`
11220 freebsd
[23].
*) objformat
=aout
;;
11221 *) objformat
=elf
;;
11224 version_type
=freebsd-
$objformat
11225 case $version_type in
11227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11232 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11236 shlibpath_var
=LD_LIBRARY_PATH
11239 shlibpath_overrides_runpath
=yes
11241 freebsd3.
[01]* | freebsdelf3.
[01]*)
11242 shlibpath_overrides_runpath
=yes
11243 hardcode_into_libs
=yes
11245 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11246 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11247 shlibpath_overrides_runpath
=no
11248 hardcode_into_libs
=yes
11250 *) # from 4.6 on, and DragonFly
11251 shlibpath_overrides_runpath
=yes
11252 hardcode_into_libs
=yes
11261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11262 soname_spec
='${libname}${release}${shared_ext}$major'
11263 shlibpath_var
=LD_LIBRARY_PATH
11264 hardcode_into_libs
=yes
11271 dynamic_linker
="$host_os runtime_loader"
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11273 soname_spec
='${libname}${release}${shared_ext}$major'
11274 shlibpath_var
=LIBRARY_PATH
11275 shlibpath_overrides_runpath
=yes
11276 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11277 hardcode_into_libs
=yes
11280 hpux9
* | hpux10
* | hpux11
*)
11281 # Give a soname corresponding to the major version so that dld.sl refuses to
11282 # link against other versions.
11289 hardcode_into_libs
=yes
11290 dynamic_linker
="$host_os dld.so"
11291 shlibpath_var
=LD_LIBRARY_PATH
11292 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294 soname_spec
='${libname}${release}${shared_ext}$major'
11295 if test "X$HPUX_IA64_MODE" = X32
; then
11296 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11298 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11304 hardcode_into_libs
=yes
11305 dynamic_linker
="$host_os dld.sl"
11306 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11307 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11309 soname_spec
='${libname}${release}${shared_ext}$major'
11310 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11315 dynamic_linker
="$host_os dld.sl"
11316 shlibpath_var
=SHLIB_PATH
11317 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319 soname_spec
='${libname}${release}${shared_ext}$major'
11322 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11323 postinstall_cmds
='chmod 555 $lib'
11324 # or fails outright, so override atomically:
11325 install_override_mode
=555
11332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11333 soname_spec
='${libname}${release}${shared_ext}$major'
11334 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11335 shlibpath_var
=LD_LIBRARY_PATH
11336 shlibpath_overrides_runpath
=no
11337 hardcode_into_libs
=yes
11340 irix5
* | irix6
* | nonstopux
*)
11342 nonstopux
*) version_type
=nonstopux
;;
11344 if test "$lt_cv_prog_gnu_ld" = yes; then
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11355 irix5
* | nonstopux
*)
11356 libsuff
= shlibsuff
=
11359 case $LD in # libtool.m4 will add one of these switches to LD
11360 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11361 libsuff
= shlibsuff
= libmagic
=32-bit;;
11362 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11363 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11364 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11365 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11366 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11370 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11371 shlibpath_overrides_runpath
=no
11372 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11373 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11374 hardcode_into_libs
=yes
11377 # No shared lib support for Linux oldld, aout, or coff.
11378 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11382 # This must be Linux ELF.
11383 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 soname_spec
='${libname}${release}${shared_ext}$major'
11389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11390 shlibpath_var
=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath
=no
11393 # Some binutils ld are patched to set DT_RUNPATH
11394 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11397 lt_cv_shlibpath_overrides_runpath
=no
11398 save_LDFLAGS
=$LDFLAGS
11399 save_libdir
=$libdir
11400 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11401 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11413 if ac_fn_c_try_link
"$LINENO"; then :
11414 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11415 lt_cv_shlibpath_overrides_runpath
=yes
11418 rm -f core conftest.err conftest.
$ac_objext \
11419 conftest
$ac_exeext conftest.
$ac_ext
11420 LDFLAGS
=$save_LDFLAGS
11421 libdir
=$save_libdir
11425 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11427 # This implies no fast_install, which is unacceptable.
11428 # Some rework will be needed to allow for fast_install
11429 # before this can be enabled.
11430 hardcode_into_libs
=yes
11432 # Append ld.so.conf contents to the search path
11433 if test -f /etc
/ld.so.conf
; then
11434 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' ' '`
11435 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11438 # We used to test for /lib/ld.so.1 and disable shared libraries on
11439 # powerpc, because MkLinux only supported shared libraries with the
11440 # GNU dynamic linker. Since this was broken with cross compilers,
11441 # most powerpc-linux boxes support dynamic linking these days and
11442 # people can always --disable-shared, the test was removed, and we
11443 # assume the GNU/Linux dynamic linker is in use.
11444 dynamic_linker
='GNU/Linux ld.so'
11451 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11453 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11454 dynamic_linker
='NetBSD (a.out) ld.so'
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11457 soname_spec
='${libname}${release}${shared_ext}$major'
11458 dynamic_linker
='NetBSD ld.elf_so'
11460 shlibpath_var
=LD_LIBRARY_PATH
11461 shlibpath_overrides_runpath
=yes
11462 hardcode_into_libs
=yes
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11468 shlibpath_var
=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath
=yes
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec
='${libname}${release}${shared_ext}$major'
11478 shlibpath_var
=LD_LIBRARY_PATH
11479 shlibpath_overrides_runpath
=no
11480 hardcode_into_libs
=yes
11481 dynamic_linker
='ldqnx.so'
11486 sys_lib_dlsearch_path_spec
="/usr/lib"
11488 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11490 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11491 *) need_version
=no
;;
11493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11495 shlibpath_var
=LD_LIBRARY_PATH
11496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11498 openbsd2.
[89] | openbsd2.
[89].
*)
11499 shlibpath_overrides_runpath
=no
11502 shlibpath_overrides_runpath
=yes
11506 shlibpath_overrides_runpath
=yes
11511 libname_spec
='$name'
11514 library_names_spec
='$libname${shared_ext} $libname.a'
11515 dynamic_linker
='OS/2 ld.exe'
11516 shlibpath_var
=LIBPATH
11519 osf3
* | osf4
* | osf5
*)
11523 soname_spec
='${libname}${release}${shared_ext}$major'
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 shlibpath_var
=LD_LIBRARY_PATH
11526 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11527 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539 soname_spec
='${libname}${release}${shared_ext}$major'
11540 shlibpath_var
=LD_LIBRARY_PATH
11541 shlibpath_overrides_runpath
=yes
11542 hardcode_into_libs
=yes
11543 # ldd complains unless libraries are executable
11544 postinstall_cmds
='chmod +x $lib'
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11550 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11551 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=yes
11553 if test "$with_gnu_ld" = yes; then
11561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562 soname_spec
='${libname}${release}${shared_ext}$major'
11563 shlibpath_var
=LD_LIBRARY_PATH
11564 case $host_vendor in
11566 shlibpath_overrides_runpath
=no
11568 runpath_var
=LD_RUN_PATH
11576 shlibpath_overrides_runpath
=no
11577 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11583 if test -d /usr
/nec
;then
11585 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11586 soname_spec
='$libname${shared_ext}.$major'
11587 shlibpath_var
=LD_LIBRARY_PATH
11591 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11592 version_type
=freebsd-elf
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 shlibpath_var
=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath
=yes
11599 hardcode_into_libs
=yes
11600 if test "$with_gnu_ld" = yes; then
11601 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11603 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11606 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11610 sys_lib_dlsearch_path_spec
='/usr/lib'
11614 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619 shlibpath_var
=LD_LIBRARY_PATH
11620 shlibpath_overrides_runpath
=no
11621 hardcode_into_libs
=yes
11626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627 soname_spec
='${libname}${release}${shared_ext}$major'
11628 shlibpath_var
=LD_LIBRARY_PATH
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11636 $as_echo "$dynamic_linker" >&6; }
11637 test "$dynamic_linker" = no
&& can_build_shared
=no
11639 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11640 if test "$GCC" = yes; then
11641 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11644 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11645 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11647 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11648 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11743 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11745 if test -n "$hardcode_libdir_flag_spec" ||
11746 test -n "$runpath_var" ||
11747 test "X$hardcode_automatic" = "Xyes" ; then
11749 # We can hardcode non-existent directories.
11750 if test "$hardcode_direct" != no
&&
11751 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11752 # have to relink, otherwise we might link with an installed library
11753 # when we should be linking with a yet-to-be-installed one
11754 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11755 test "$hardcode_minus_L" != no
; then
11756 # Linking always hardcodes the temporary library directory.
11757 hardcode_action
=relink
11759 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11760 hardcode_action
=immediate
11763 # We cannot hardcode anything, or else we can only hardcode existing
11765 hardcode_action
=unsupported
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11768 $as_echo "$hardcode_action" >&6; }
11770 if test "$hardcode_action" = relink ||
11771 test "$inherit_rpath" = yes; then
11772 # Fast installation is not supported
11773 enable_fast_install
=no
11774 elif test "$shlibpath_overrides_runpath" = yes ||
11775 test "$enable_shared" = no
; then
11776 # Fast installation is not necessary
11777 enable_fast_install
=needless
11785 if test "x$enable_dlopen" != xyes
; then
11786 enable_dlopen
=unknown
11787 enable_dlopen_self
=unknown
11788 enable_dlopen_self_static
=unknown
11795 lt_cv_dlopen
="load_add_on"
11797 lt_cv_dlopen_self
=yes
11800 mingw
* | pw32
* | cegcc
*)
11801 lt_cv_dlopen
="LoadLibrary"
11806 lt_cv_dlopen
="dlopen"
11811 # if libdl is installed we need to link against it
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11813 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11814 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11815 $as_echo_n "(cached) " >&6
11817 ac_check_lib_save_LIBS
=$LIBS
11819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11822 /* Override any GCC internal prototype to avoid an error.
11823 Use char because int might match the return type of a GCC
11824 builtin and then its argument prototype would still apply. */
11837 if ac_fn_c_try_link
"$LINENO"; then :
11838 ac_cv_lib_dl_dlopen
=yes
11840 ac_cv_lib_dl_dlopen
=no
11842 rm -f core conftest.err conftest.
$ac_objext \
11843 conftest
$ac_exeext conftest.
$ac_ext
11844 LIBS
=$ac_check_lib_save_LIBS
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11847 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11848 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11849 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11852 lt_cv_dlopen
="dyld"
11854 lt_cv_dlopen_self
=yes
11861 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11862 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11863 lt_cv_dlopen
="shl_load"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11866 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11867 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11868 $as_echo_n "(cached) " >&6
11870 ac_check_lib_save_LIBS
=$LIBS
11872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11885 return shl_load ();
11890 if ac_fn_c_try_link
"$LINENO"; then :
11891 ac_cv_lib_dld_shl_load
=yes
11893 ac_cv_lib_dld_shl_load
=no
11895 rm -f core conftest.err conftest.
$ac_objext \
11896 conftest
$ac_exeext conftest.
$ac_ext
11897 LIBS
=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11900 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11901 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11902 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11904 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11905 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11906 lt_cv_dlopen
="dlopen"
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11909 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11910 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11911 $as_echo_n "(cached) " >&6
11913 ac_check_lib_save_LIBS
=$LIBS
11915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11918 /* Override any GCC internal prototype to avoid an error.
11919 Use char because int might match the return type of a GCC
11920 builtin and then its argument prototype would still apply. */
11933 if ac_fn_c_try_link
"$LINENO"; then :
11934 ac_cv_lib_dl_dlopen
=yes
11936 ac_cv_lib_dl_dlopen
=no
11938 rm -f core conftest.err conftest.
$ac_objext \
11939 conftest
$ac_exeext conftest.
$ac_ext
11940 LIBS
=$ac_check_lib_save_LIBS
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11943 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11944 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11945 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11948 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11949 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11950 $as_echo_n "(cached) " >&6
11952 ac_check_lib_save_LIBS
=$LIBS
11953 LIBS
="-lsvld $LIBS"
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11957 /* Override any GCC internal prototype to avoid an error.
11958 Use char because int might match the return type of a GCC
11959 builtin and then its argument prototype would still apply. */
11972 if ac_fn_c_try_link
"$LINENO"; then :
11973 ac_cv_lib_svld_dlopen
=yes
11975 ac_cv_lib_svld_dlopen
=no
11977 rm -f core conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11979 LIBS
=$ac_check_lib_save_LIBS
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11982 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11983 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11984 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11987 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11988 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11989 $as_echo_n "(cached) " >&6
11991 ac_check_lib_save_LIBS
=$LIBS
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
12006 return dld_link ();
12011 if ac_fn_c_try_link
"$LINENO"; then :
12012 ac_cv_lib_dld_dld_link
=yes
12014 ac_cv_lib_dld_dld_link
=no
12016 rm -f core conftest.err conftest.
$ac_objext \
12017 conftest
$ac_exeext conftest.
$ac_ext
12018 LIBS
=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12021 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12022 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12023 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12044 if test "x$lt_cv_dlopen" != xno
; then
12050 case $lt_cv_dlopen in
12052 save_CPPFLAGS
="$CPPFLAGS"
12053 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12055 save_LDFLAGS
="$LDFLAGS"
12056 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12059 LIBS
="$lt_cv_dlopen_libs $LIBS"
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12062 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12063 if test "${lt_cv_dlopen_self+set}" = set; then :
12064 $as_echo_n "(cached) " >&6
12066 if test "$cross_compiling" = yes; then :
12067 lt_cv_dlopen_self
=cross
12069 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12070 lt_status
=$lt_dlunknown
12071 cat > conftest.
$ac_ext <<_LT_EOF
12072 #line 12072 "configure"
12073 #include "confdefs.h"
12082 # define LT_DLGLOBAL RTLD_GLOBAL
12085 # define LT_DLGLOBAL DL_GLOBAL
12087 # define LT_DLGLOBAL 0
12091 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12092 find out it does not work in some platform. */
12093 #ifndef LT_DLLAZY_OR_NOW
12095 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12098 # define LT_DLLAZY_OR_NOW DL_LAZY
12101 # define LT_DLLAZY_OR_NOW RTLD_NOW
12104 # define LT_DLLAZY_OR_NOW DL_NOW
12106 # define LT_DLLAZY_OR_NOW 0
12113 /* When -fvisbility=hidden is used, assume the code has been annotated
12114 correspondingly for the symbols needed. */
12115 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12116 void fnord () __attribute__((visibility("default")));
12119 void fnord () { int i=42; }
12122 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12123 int status = $lt_dlunknown;
12127 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12130 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12131 else puts (dlerror ());
12133 /* dlclose (self); */
12141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12142 (eval $ac_link) 2>&5
12144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12145 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12146 (.
/conftest
; exit; ) >&5 2>/dev
/null
12148 case x
$lt_status in
12149 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12150 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12151 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12154 # compilation failed
12155 lt_cv_dlopen_self
=no
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12163 $as_echo "$lt_cv_dlopen_self" >&6; }
12165 if test "x$lt_cv_dlopen_self" = xyes
; then
12166 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12168 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12169 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12172 if test "$cross_compiling" = yes; then :
12173 lt_cv_dlopen_self_static
=cross
12175 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12176 lt_status
=$lt_dlunknown
12177 cat > conftest.
$ac_ext <<_LT_EOF
12178 #line 12178 "configure"
12179 #include "confdefs.h"
12188 # define LT_DLGLOBAL RTLD_GLOBAL
12191 # define LT_DLGLOBAL DL_GLOBAL
12193 # define LT_DLGLOBAL 0
12197 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12198 find out it does not work in some platform. */
12199 #ifndef LT_DLLAZY_OR_NOW
12201 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12204 # define LT_DLLAZY_OR_NOW DL_LAZY
12207 # define LT_DLLAZY_OR_NOW RTLD_NOW
12210 # define LT_DLLAZY_OR_NOW DL_NOW
12212 # define LT_DLLAZY_OR_NOW 0
12219 /* When -fvisbility=hidden is used, assume the code has been annotated
12220 correspondingly for the symbols needed. */
12221 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12222 void fnord () __attribute__((visibility("default")));
12225 void fnord () { int i=42; }
12228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12229 int status = $lt_dlunknown;
12233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12236 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12237 else puts (dlerror ());
12239 /* dlclose (self); */
12247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12248 (eval $ac_link) 2>&5
12250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12251 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12252 (.
/conftest
; exit; ) >&5 2>/dev
/null
12254 case x
$lt_status in
12255 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12256 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12257 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12260 # compilation failed
12261 lt_cv_dlopen_self_static
=no
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12269 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12272 CPPFLAGS
="$save_CPPFLAGS"
12273 LDFLAGS
="$save_LDFLAGS"
12278 case $lt_cv_dlopen_self in
12279 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12280 *) enable_dlopen_self
=unknown
;;
12283 case $lt_cv_dlopen_self_static in
12284 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12285 *) enable_dlopen_self_static
=unknown
;;
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12308 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12309 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12310 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12311 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12313 $as_echo "yes" >&6; }
12315 # FIXME - insert some real tests, host_os isn't really good enough
12318 if test -n "$STRIP" ; then
12319 striplib
="$STRIP -x"
12320 old_striplib
="$STRIP -S"
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12322 $as_echo "yes" >&6; }
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325 $as_echo "no" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12346 # Report which library types will actually be built
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12348 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12350 $as_echo "$can_build_shared" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12353 $as_echo_n "checking whether to build shared libraries... " >&6; }
12354 test "$can_build_shared" = "no" && enable_shared
=no
12356 # On AIX, shared libraries and static libraries use the same namespace, and
12357 # are all built from PIC.
12360 test "$enable_shared" = yes && enable_static
=no
12361 if test -n "$RANLIB"; then
12362 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12363 postinstall_cmds
='$RANLIB $lib'
12368 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12369 test "$enable_shared" = yes && enable_static
=no
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12374 $as_echo "$enable_shared" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12377 $as_echo_n "checking whether to build static libraries... " >&6; }
12378 # Make sure either enable_shared or enable_static is yes.
12379 test "$enable_shared" = yes || enable_static
=yes
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12381 $as_echo "$enable_static" >&6; }
12388 ac_cpp
='$CPP $CPPFLAGS'
12389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12395 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12396 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12397 (test "X$CXX" != "Xg++"))) ; then
12399 ac_cpp
='$CXXCPP $CPPFLAGS'
12400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12404 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12405 if test -z "$CXXCPP"; then
12406 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12407 $as_echo_n "(cached) " >&6
12409 # Double quotes because CXXCPP needs to be expanded
12410 for CXXCPP
in "$CXX -E" "/lib/cpp"
12412 ac_preproc_ok
=false
12413 for ac_cxx_preproc_warn_flag
in '' yes
12415 # Use a header file that comes with gcc, so configuring glibc
12416 # with a fresh cross-compiler works.
12417 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12418 # <limits.h> exists even on freestanding compilers.
12419 # On the NeXT, cc -E runs the code through the compiler's parser,
12420 # not just through cpp. "Syntax error" is here to catch this case.
12421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 # include <limits.h>
12426 # include <assert.h>
12430 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12433 # Broken: fails on valid input.
12436 rm -f conftest.err conftest.
$ac_ext
12438 # OK, works on sane cases. Now check whether nonexistent headers
12439 # can be detected and how.
12440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12442 #include <ac_nonexistent.h>
12444 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12445 # Broken: success on invalid input.
12448 # Passes both tests.
12452 rm -f conftest.err conftest.
$ac_ext
12455 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12456 rm -f conftest.err conftest.
$ac_ext
12457 if $ac_preproc_ok; then :
12462 ac_cv_prog_CXXCPP
=$CXXCPP
12465 CXXCPP
=$ac_cv_prog_CXXCPP
12467 ac_cv_prog_CXXCPP
=$CXXCPP
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12470 $as_echo "$CXXCPP" >&6; }
12471 ac_preproc_ok
=false
12472 for ac_cxx_preproc_warn_flag
in '' yes
12474 # Use a header file that comes with gcc, so configuring glibc
12475 # with a fresh cross-compiler works.
12476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12477 # <limits.h> exists even on freestanding compilers.
12478 # On the NeXT, cc -E runs the code through the compiler's parser,
12479 # not just through cpp. "Syntax error" is here to catch this case.
12480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 # include <limits.h>
12485 # include <assert.h>
12489 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12492 # Broken: fails on valid input.
12495 rm -f conftest.err conftest.
$ac_ext
12497 # OK, works on sane cases. Now check whether nonexistent headers
12498 # can be detected and how.
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12501 #include <ac_nonexistent.h>
12503 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12504 # Broken: success on invalid input.
12507 # Passes both tests.
12511 rm -f conftest.err conftest.
$ac_ext
12514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12515 rm -f conftest.err conftest.
$ac_ext
12516 if $ac_preproc_ok; then :
12519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12521 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12522 See \`config.log' for more details." "$LINENO" 5; }
12526 ac_cpp
='$CPP $CPPFLAGS'
12527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12532 _lt_caught_CXX_error
=yes
12536 ac_cpp
='$CXXCPP $CPPFLAGS'
12537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12541 archive_cmds_need_lc_CXX
=no
12542 allow_undefined_flag_CXX
=
12543 always_export_symbols_CXX
=no
12544 archive_expsym_cmds_CXX
=
12545 compiler_needs_object_CXX
=no
12546 export_dynamic_flag_spec_CXX
=
12547 hardcode_direct_CXX
=no
12548 hardcode_direct_absolute_CXX
=no
12549 hardcode_libdir_flag_spec_CXX
=
12550 hardcode_libdir_flag_spec_ld_CXX
=
12551 hardcode_libdir_separator_CXX
=
12552 hardcode_minus_L_CXX
=no
12553 hardcode_shlibpath_var_CXX
=unsupported
12554 hardcode_automatic_CXX
=no
12555 inherit_rpath_CXX
=no
12557 module_expsym_cmds_CXX
=
12558 link_all_deplibs_CXX
=unknown
12559 old_archive_cmds_CXX
=$old_archive_cmds
12560 reload_flag_CXX
=$reload_flag
12561 reload_cmds_CXX
=$reload_cmds
12562 no_undefined_flag_CXX
=
12563 whole_archive_flag_spec_CXX
=
12564 enable_shared_with_static_runtimes_CXX
=no
12566 # Source file extension for C++ test sources.
12569 # Object file extension for compiled C++ test sources.
12573 # No sense in running all these tests if we already determined that
12574 # the CXX compiler isn't working. Some variables (like enable_shared)
12575 # are currently assumed to apply to all compilers on this platform,
12576 # and will be corrupted by setting them based on a non-working compiler.
12577 if test "$_lt_caught_CXX_error" != yes; then
12578 # Code to be used in simple compile tests
12579 lt_simple_compile_test_code
="int some_variable = 0;"
12581 # Code to be used in simple link tests
12582 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12584 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12591 # If no C compiler was specified, use CC.
12594 # If no C compiler flags were specified, use CFLAGS.
12595 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12597 # Allow CC to be a program name with arguments.
12601 # save warnings/boilerplate of simple test code
12602 ac_outfile
=conftest.
$ac_objext
12603 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12604 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12605 _lt_compiler_boilerplate
=`cat conftest.err`
12608 ac_outfile
=conftest.
$ac_objext
12609 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12610 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12611 _lt_linker_boilerplate
=`cat conftest.err`
12615 # Allow CC to be a program name with arguments.
12620 lt_save_with_gnu_ld
=$with_gnu_ld
12621 lt_save_path_LD
=$lt_cv_path_LD
12622 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12623 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12625 $as_unset lt_cv_prog_gnu_ld
12627 if test -n "${lt_cv_path_LDCXX+set}"; then
12628 lt_cv_path_LD
=$lt_cv_path_LDCXX
12630 $as_unset lt_cv_path_LD
12632 test -z "${LDCXX+set}" || LD
=$LDCXX
12636 for cc_temp
in $compiler""; do
12638 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12639 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12644 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12647 if test -n "$compiler"; then
12648 # We don't want -fno-exception when compiling C++ code, so set the
12649 # no_builtin_flag separately
12650 if test "$GXX" = yes; then
12651 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12653 lt_prog_compiler_no_builtin_flag_CXX
=
12656 if test "$GXX" = yes; then
12657 # Set up default GNU C++ configuration
12661 # Check whether --with-gnu-ld was given.
12662 if test "${with_gnu_ld+set}" = set; then :
12663 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12669 if test "$GCC" = yes; then
12670 # Check if gcc -print-prog-name=ld gives a path.
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12672 $as_echo_n "checking for ld used by $CC... " >&6; }
12675 # gcc leaves a trailing carriage return which upsets mingw
12676 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12678 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12681 # Accept absolute paths.
12683 re_direlt
='/[^/][^/]*/\.\./'
12684 # Canonicalize the pathname of ld
12685 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12686 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12687 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12689 test -z "$LD" && LD
="$ac_prog"
12692 # If it fails, then pretend we aren't using GCC.
12696 # If it is relative, then search for the first ld in PATH.
12697 with_gnu_ld
=unknown
12700 elif test "$with_gnu_ld" = yes; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12702 $as_echo_n "checking for GNU ld... " >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12705 $as_echo_n "checking for non-GNU ld... " >&6; }
12707 if test "${lt_cv_path_LD+set}" = set; then :
12708 $as_echo_n "(cached) " >&6
12710 if test -z "$LD"; then
12711 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12712 for ac_dir
in $PATH; do
12714 test -z "$ac_dir" && ac_dir
=.
12715 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12716 lt_cv_path_LD
="$ac_dir/$ac_prog"
12717 # Check to see if the program is GNU ld. I'd rather use --version,
12718 # but apparently some variants of GNU ld only accept -v.
12719 # Break only if it was the GNU/non-GNU ld that we prefer.
12720 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12721 *GNU
* |
*'with BFD'*)
12722 test "$with_gnu_ld" != no
&& break
12725 test "$with_gnu_ld" != yes && break
12732 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12736 LD
="$lt_cv_path_LD"
12737 if test -n "$LD"; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12739 $as_echo "$LD" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12744 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12746 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12747 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12748 $as_echo_n "(cached) " >&6
12750 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12751 case `$LD -v 2>&1 </dev/null` in
12752 *GNU
* |
*'with BFD'*)
12753 lt_cv_prog_gnu_ld
=yes
12756 lt_cv_prog_gnu_ld
=no
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12761 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12762 with_gnu_ld
=$lt_cv_prog_gnu_ld
12770 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12771 # archiving commands below assume that GNU ld is being used.
12772 if test "$with_gnu_ld" = yes; then
12773 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12774 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12776 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12777 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12779 # If archive_cmds runs LD, not CC, wlarc should be empty
12780 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12781 # investigate it a little bit more. (MM)
12784 # ancient GNU ld didn't support --whole-archive et. al.
12785 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12786 $GREP 'no-whole-archive' > /dev
/null
; then
12787 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12789 whole_archive_flag_spec_CXX
=
12795 # A generic and very simple default shared library creation
12796 # command for GNU C++ for the case where it uses the native
12797 # linker, instead of GNU ld. If possible, this setting should
12798 # overridden to take advantage of the native linker features on
12799 # the platform it is being used on.
12800 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12803 # Commands to make compiler produce verbose output that lists
12804 # what "hidden" libraries, object files and flags are used when
12805 # linking a shared library.
12806 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12814 # PORTME: fill in a description of your system's C++ link characteristics
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12816 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12820 # FIXME: insert proper C++ library support
12824 if test "$host_cpu" = ia64
; then
12825 # On IA64, the linker does run time linking by default, so we don't
12826 # have to do anything special.
12827 aix_use_runtimelinking
=no
12828 exp_sym_flag
='-Bexport'
12831 aix_use_runtimelinking
=no
12833 # Test if we are trying to use run time linking or normal
12834 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12835 # need to do runtime linking.
12836 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12837 for ld_flag
in $LDFLAGS; do
12840 aix_use_runtimelinking
=yes
12848 exp_sym_flag
='-bexport'
12849 no_entry_flag
='-bnoentry'
12852 # When large executables or shared objects are built, AIX ld can
12853 # have problems creating the table of contents. If linking a library
12854 # or program results in "error TOC overflow" add -mminimal-toc to
12855 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12856 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12858 archive_cmds_CXX
=''
12859 hardcode_direct_CXX
=yes
12860 hardcode_direct_absolute_CXX
=yes
12861 hardcode_libdir_separator_CXX
=':'
12862 link_all_deplibs_CXX
=yes
12863 file_list_spec_CXX
='${wl}-f,'
12865 if test "$GXX" = yes; then
12866 case $host_os in aix4.
[012]|aix4.
[012].
*)
12867 # We only want to do this on AIX 4.2 and lower, the check
12868 # below for broken collect2 doesn't work under 4.3+
12869 collect2name
=`${CC} -print-prog-name=collect2`
12870 if test -f "$collect2name" &&
12871 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12873 # We have reworked collect2
12876 # We have old collect2
12877 hardcode_direct_CXX
=unsupported
12878 # It fails to find uninstalled libraries when the uninstalled
12879 # path is not listed in the libpath. Setting hardcode_minus_L
12880 # to unsupported forces relinking
12881 hardcode_minus_L_CXX
=yes
12882 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12883 hardcode_libdir_separator_CXX
=
12886 shared_flag
='-shared'
12887 if test "$aix_use_runtimelinking" = yes; then
12888 shared_flag
="$shared_flag "'${wl}-G'
12892 if test "$host_cpu" = ia64
; then
12893 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12894 # chokes on -Wl,-G. The following line is correct:
12897 if test "$aix_use_runtimelinking" = yes; then
12898 shared_flag
='${wl}-G'
12900 shared_flag
='${wl}-bM:SRE'
12905 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12906 # It seems that -bexpall does not export symbols beginning with
12907 # underscore (_), so it is better to generate a list of symbols to
12909 always_export_symbols_CXX
=yes
12910 if test "$aix_use_runtimelinking" = yes; then
12911 # Warning - without using the other runtime loading flags (-brtl),
12912 # -berok will link without error, but may produce a broken library.
12913 allow_undefined_flag_CXX
='-berok'
12914 # Determine the default libpath from the value encoded in an empty
12916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12927 if ac_fn_cxx_try_link
"$LINENO"; then :
12929 lt_aix_libpath_sed
='
12930 /Import File Strings/,/^$/ {
12936 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12937 # Check for a 64-bit object if we didn't find anything.
12938 if test -z "$aix_libpath"; then
12939 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12942 rm -f core conftest.err conftest.
$ac_objext \
12943 conftest
$ac_exeext conftest.
$ac_ext
12944 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12946 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12948 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"
12950 if test "$host_cpu" = ia64
; then
12951 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12952 allow_undefined_flag_CXX
="-z nodefs"
12953 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"
12955 # Determine the default libpath from the value encoded in an
12956 # empty executable.
12957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12968 if ac_fn_cxx_try_link
"$LINENO"; then :
12970 lt_aix_libpath_sed
='
12971 /Import File Strings/,/^$/ {
12977 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12978 # Check for a 64-bit object if we didn't find anything.
12979 if test -z "$aix_libpath"; then
12980 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12983 rm -f core conftest.err conftest.
$ac_objext \
12984 conftest
$ac_exeext conftest.
$ac_ext
12985 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12987 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12988 # Warning - without using the other run time loading flags,
12989 # -berok will link without error, but may produce a broken library.
12990 no_undefined_flag_CXX
=' ${wl}-bernotok'
12991 allow_undefined_flag_CXX
=' ${wl}-berok'
12992 if test "$with_gnu_ld" = yes; then
12993 # We only use this code for GNU lds that support --whole-archive.
12994 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12996 # Exported symbols can be pulled into shared objects from archives
12997 whole_archive_flag_spec_CXX
='$convenience'
12999 archive_cmds_need_lc_CXX
=yes
13000 # This is similar to how AIX traditionally builds its shared
13002 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'
13008 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13009 allow_undefined_flag_CXX
=unsupported
13010 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13011 # support --undefined. This deserves some investigation. FIXME
13012 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13019 case $cc_basename in
13021 # FIXME: insert proper C++ library support
13027 cygwin
* | mingw
* | pw32
* | cegcc
*)
13028 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13029 # as there is no search path for DLLs.
13030 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13031 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13032 allow_undefined_flag_CXX
=unsupported
13033 always_export_symbols_CXX
=no
13034 enable_shared_with_static_runtimes_CXX
=yes
13036 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13037 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'
13038 # If the export-symbols file already is a .def file (1st line
13039 # is EXPORTS), use it as is; otherwise, prepend...
13040 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13041 cp $export_symbols $output_objdir/$soname.def;
13043 echo EXPORTS > $output_objdir/$soname.def;
13044 cat $export_symbols >> $output_objdir/$soname.def;
13046 $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'
13051 darwin
* | rhapsody
*)
13054 archive_cmds_need_lc_CXX
=no
13055 hardcode_direct_CXX
=no
13056 hardcode_automatic_CXX
=yes
13057 hardcode_shlibpath_var_CXX
=unsupported
13058 if test "$lt_cv_ld_force_load" = "yes"; then
13059 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\"`'
13061 whole_archive_flag_spec_CXX
=''
13063 link_all_deplibs_CXX
=yes
13064 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13065 case $cc_basename in
13066 ifort
*) _lt_dar_can_shared
=yes ;;
13067 *) _lt_dar_can_shared
=$GCC ;;
13069 if test "$_lt_dar_can_shared" = "yes"; then
13070 output_verbose_link_cmd
=func_echo_all
13071 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}"
13072 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13073 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}"
13074 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}"
13075 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13076 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}"
13077 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}"
13087 case $cc_basename in
13089 # FIXME: insert proper C++ library support
13093 # Green Hills C++ Compiler
13094 # FIXME: insert proper C++ library support
13098 # FIXME: insert proper C++ library support
13105 # C++ shared libraries reported to be fairly broken before
13111 archive_cmds_need_lc_CXX
=no
13114 freebsd
* | dragonfly
*)
13115 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13124 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13125 link_all_deplibs_CXX
=yes
13129 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13130 hardcode_libdir_separator_CXX
=:
13131 export_dynamic_flag_spec_CXX
='${wl}-E'
13132 hardcode_direct_CXX
=yes
13133 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13134 # but as the default
13135 # location of the library.
13137 case $cc_basename in
13139 # FIXME: insert proper C++ library support
13143 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'
13144 # Commands to make compiler produce verbose output that lists
13145 # what "hidden" libraries, object files and flags are used when
13146 # linking a shared library.
13148 # There doesn't appear to be a way to prevent this compiler from
13149 # explicitly linking system object files so we need to strip them
13150 # from the output so that they don't get included in the library
13152 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"'
13155 if test "$GXX" = yes; then
13156 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'
13158 # FIXME: insert proper C++ library support
13166 if test $with_gnu_ld = no
; then
13167 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13168 hardcode_libdir_separator_CXX
=:
13174 export_dynamic_flag_spec_CXX
='${wl}-E'
13180 hardcode_direct_CXX
=no
13181 hardcode_shlibpath_var_CXX
=no
13184 hardcode_direct_CXX
=yes
13185 hardcode_direct_absolute_CXX
=yes
13186 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13187 # but as the default
13188 # location of the library.
13192 case $cc_basename in
13194 # FIXME: insert proper C++ library support
13200 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13203 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13206 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13209 # Commands to make compiler produce verbose output that lists
13210 # what "hidden" libraries, object files and flags are used when
13211 # linking a shared library.
13213 # There doesn't appear to be a way to prevent this compiler from
13214 # explicitly linking system object files so we need to strip them
13215 # from the output so that they don't get included in the library
13217 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"'
13220 if test "$GXX" = yes; then
13221 if test $with_gnu_ld = no
; then
13224 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13227 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13230 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'
13235 # FIXME: insert proper C++ library support
13243 hardcode_direct_CXX
=no
13244 hardcode_shlibpath_var_CXX
=no
13245 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13246 export_dynamic_flag_spec_CXX
='${wl}-E'
13247 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13248 # Instead, shared libraries are loaded at an image base (0x10000000 by
13249 # default) and relocated if they conflict, which is a slow very memory
13250 # consuming and fragmenting process. To avoid this, we pick a random,
13251 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13252 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13253 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'
13254 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'
13257 case $cc_basename in
13260 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'
13262 # Archives containing C++ object files must be created using
13263 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13264 # necessary to make sure instantiated templates are included
13266 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13269 if test "$GXX" = yes; then
13270 if test "$with_gnu_ld" = no
; then
13271 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'
13273 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'
13276 link_all_deplibs_CXX
=yes
13279 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13280 hardcode_libdir_separator_CXX
=:
13281 inherit_rpath_CXX
=yes
13284 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13285 case $cc_basename in
13287 # Kuck and Associates, Inc. (KAI) C++ Compiler
13289 # KCC will only create a shared library if the output file
13290 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13291 # to its proper name (with version) after linking.
13292 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'
13293 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'
13294 # Commands to make compiler produce verbose output that lists
13295 # what "hidden" libraries, object files and flags are used when
13296 # linking a shared library.
13298 # There doesn't appear to be a way to prevent this compiler from
13299 # explicitly linking system object files so we need to strip them
13300 # from the output so that they don't get included in the library
13302 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"'
13304 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13305 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13307 # Archives containing C++ object files must be created using
13308 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13309 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13314 # version 8.0 and above of icpc choke on multiply defined symbols
13315 # if we add $predep_objects and $postdep_objects, however 7.1 and
13316 # earlier do not add the objects themselves.
13317 case `$CC -V 2>&1` in
13319 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13320 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'
13322 *) # Version 8.0 or newer
13325 ia64
*) tmp_idyn
=' -i_dynamic';;
13327 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13328 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'
13331 archive_cmds_need_lc_CXX
=no
13332 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13333 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13334 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13337 # Portland Group C++ compiler
13339 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13340 prelink_cmds_CXX
='tpldir=Template.dir~
13342 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13343 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13344 old_archive_cmds_CXX
='tpldir=Template.dir~
13346 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13347 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13349 archive_cmds_CXX
='tpldir=Template.dir~
13351 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13352 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13353 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13355 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13356 $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'
13358 *) # Version 6 and above use weak symbols
13359 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13360 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'
13364 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13365 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13366 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'
13370 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13371 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'
13373 runpath_var
=LD_RUN_PATH
13374 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13375 hardcode_libdir_separator_CXX
=:
13377 # Commands to make compiler produce verbose output that lists
13378 # what "hidden" libraries, object files and flags are used when
13379 # linking a shared library.
13381 # There doesn't appear to be a way to prevent this compiler from
13382 # explicitly linking system object files so we need to strip them
13383 # from the output so that they don't get included in the library
13385 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'
13387 xl
* | mpixl
* | bgxl
*)
13388 # IBM XL 8.0 on PPC, with GNU ld
13389 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13390 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13391 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13392 if test "x$supports_anon_versioning" = xyes
; then
13393 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13394 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13395 echo "local: *; };" >> $output_objdir/$libname.ver~
13396 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13400 case `$CC -V 2>&1 | sed 5q` in
13403 no_undefined_flag_CXX
=' -zdefs'
13404 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13405 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'
13406 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13407 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'
13408 compiler_needs_object_CXX
=yes
13410 # Not sure whether something based on
13411 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13413 output_verbose_link_cmd
='func_echo_all'
13415 # Archives containing C++ object files must be created using
13416 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13417 # necessary to make sure instantiated templates are included
13419 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13427 # FIXME: insert proper C++ library support
13432 # FIXME: insert proper C++ library support
13437 case $cc_basename in
13439 # FIXME: insert proper C++ library support
13443 # FIXME: insert proper C++ library support
13450 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13451 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13453 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13454 hardcode_direct_CXX
=yes
13455 hardcode_shlibpath_var_CXX
=no
13457 # Workaround some broken pre-1.5 toolchains
13458 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13466 # C++ shared libraries are fairly broken
13471 if test -f /usr
/libexec
/ld.so
; then
13472 hardcode_direct_CXX
=yes
13473 hardcode_shlibpath_var_CXX
=no
13474 hardcode_direct_absolute_CXX
=yes
13475 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13476 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13477 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13478 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13479 export_dynamic_flag_spec_CXX
='${wl}-E'
13480 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13482 output_verbose_link_cmd
=func_echo_all
13488 osf3
* | osf4
* | osf5
*)
13489 case $cc_basename in
13491 # Kuck and Associates, Inc. (KAI) C++ Compiler
13493 # KCC will only create a shared library if the output file
13494 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13495 # to its proper name (with version) after linking.
13496 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'
13498 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13499 hardcode_libdir_separator_CXX
=:
13501 # Archives containing C++ object files must be created using
13502 # the KAI C++ compiler.
13504 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13505 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13509 # Rational C++ 2.4.1
13510 # FIXME: insert proper C++ library support
13516 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13517 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'
13518 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13521 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13522 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'
13523 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13524 echo "-hidden">> $lib.exp~
13525 $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~
13527 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13531 hardcode_libdir_separator_CXX
=:
13533 # Commands to make compiler produce verbose output that lists
13534 # what "hidden" libraries, object files and flags are used when
13535 # linking a shared library.
13537 # There doesn't appear to be a way to prevent this compiler from
13538 # explicitly linking system object files so we need to strip them
13539 # from the output so that they don't get included in the library
13541 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"'
13544 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13545 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13548 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'
13551 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'
13555 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13556 hardcode_libdir_separator_CXX
=:
13558 # Commands to make compiler produce verbose output that lists
13559 # what "hidden" libraries, object files and flags are used when
13560 # linking a shared library.
13561 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13564 # FIXME: insert proper C++ library support
13572 # FIXME: insert proper C++ library support
13577 case $cc_basename in
13580 # FIXME: insert proper C++ library support
13585 # FIXME: insert proper C++ library support
13589 # FIXME: insert proper C++ library support
13596 case $cc_basename in
13598 # Sun C++ 4.2, 5.x and Centerline C++
13599 archive_cmds_need_lc_CXX
=yes
13600 no_undefined_flag_CXX
=' -zdefs'
13601 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13602 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13603 $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'
13605 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13606 hardcode_shlibpath_var_CXX
=no
13608 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13610 # The compiler driver will combine and reorder linker options,
13611 # but understands `-z linker_flag'.
13612 # Supported since Solaris 2.6 (maybe 2.5.1?)
13613 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13616 link_all_deplibs_CXX
=yes
13618 output_verbose_link_cmd
='func_echo_all'
13620 # Archives containing C++ object files must be created using
13621 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13622 # necessary to make sure instantiated templates are included
13624 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13627 # Green Hills C++ Compiler
13628 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13630 # The C++ compiler must be used to create the archive.
13631 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13634 # GNU C++ compiler with Solaris linker
13635 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13636 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13637 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13638 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13639 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13640 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13642 # Commands to make compiler produce verbose output that lists
13643 # what "hidden" libraries, object files and flags are used when
13644 # linking a shared library.
13645 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13647 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13649 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13650 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13651 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13653 # Commands to make compiler produce verbose output that lists
13654 # what "hidden" libraries, object files and flags are used when
13655 # linking a shared library.
13656 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13659 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13661 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13663 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13671 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13672 no_undefined_flag_CXX
='${wl}-z,text'
13673 archive_cmds_need_lc_CXX
=no
13674 hardcode_shlibpath_var_CXX
=no
13675 runpath_var
='LD_RUN_PATH'
13677 case $cc_basename in
13679 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13680 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13683 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13684 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13689 sysv5
* | sco3.2v5
* | sco5v6
*)
13690 # Note: We can NOT use -z defs as we might desire, because we do not
13691 # link with -lc, and that would cause any symbols used from libc to
13692 # always be unresolved, which means just about no library would
13693 # ever link correctly. If we're not using GNU ld we use -z text
13694 # though, which does catch some bad symbols but isn't as heavy-handed
13696 no_undefined_flag_CXX
='${wl}-z,text'
13697 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13698 archive_cmds_need_lc_CXX
=no
13699 hardcode_shlibpath_var_CXX
=no
13700 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13701 hardcode_libdir_separator_CXX
=':'
13702 link_all_deplibs_CXX
=yes
13703 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13704 runpath_var
='LD_RUN_PATH'
13706 case $cc_basename in
13708 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13710 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13711 '"$old_archive_cmds_CXX"
13712 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13713 '"$reload_cmds_CXX"
13716 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13717 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13723 case $cc_basename in
13725 # NonStop-UX NCC 3.20
13726 # FIXME: insert proper C++ library support
13730 # FIXME: insert proper C++ library support
13737 # FIXME: insert proper C++ library support
13742 # FIXME: insert proper C++ library support
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13748 $as_echo "$ld_shlibs_CXX" >&6; }
13749 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13755 ## There is no encapsulation within the following macros, do not change
13756 ## the running order or otherwise move them around unless you know exactly
13757 ## what you are doing...
13758 # Dependencies to place before and after the object being linked:
13759 predep_objects_CXX
=
13760 postdep_objects_CXX
=
13763 compiler_lib_search_path_CXX
=
13765 cat > conftest.
$ac_ext <<_LT_EOF
13769 Foo (void) { a = 0; }
13775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13776 (eval $ac_compile) 2>&5
13778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13779 test $ac_status = 0; }; then
13780 # Parse the compiler output and extract the necessary
13781 # objects, libraries and library flags.
13783 # Sentinel used to keep track of whether or not we are before
13784 # the conftest object file.
13785 pre_test_object_deps_done
=no
13787 for p
in `eval "$output_verbose_link_cmd"`; do
13791 # Some compilers place space between "-{L,R}" and the path.
13792 # Remove the space.
13793 if test $p = "-L" ||
13794 test $p = "-R"; then
13801 if test "$pre_test_object_deps_done" = no
; then
13804 # Internal compiler library paths should come after those
13805 # provided the user. The postdeps already come after the
13806 # user supplied libs so there is no need to process them.
13807 if test -z "$compiler_lib_search_path_CXX"; then
13808 compiler_lib_search_path_CXX
="${prev}${p}"
13810 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13813 # The "-l" case would never come before the object being
13814 # linked, so don't bother handling this case.
13817 if test -z "$postdeps_CXX"; then
13818 postdeps_CXX
="${prev}${p}"
13820 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13826 # This assumes that the test object file only shows up
13827 # once in the compiler output.
13828 if test "$p" = "conftest.$objext"; then
13829 pre_test_object_deps_done
=yes
13833 if test "$pre_test_object_deps_done" = no
; then
13834 if test -z "$predep_objects_CXX"; then
13835 predep_objects_CXX
="$p"
13837 predep_objects_CXX
="$predep_objects_CXX $p"
13840 if test -z "$postdep_objects_CXX"; then
13841 postdep_objects_CXX
="$p"
13843 postdep_objects_CXX
="$postdep_objects_CXX $p"
13848 *) ;; # Ignore the rest.
13856 echo "libtool.m4: error: problem compiling CXX test program"
13859 $RM -f confest.
$objext
13861 # PORTME: override above test on systems where it is broken
13864 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13865 # hack all around it, let's just trust "g++" to DTRT.
13866 predep_objects_CXX
=
13867 postdep_objects_CXX
=
13872 case `$CC -V 2>&1 | sed 5q` in
13876 # The more standards-conforming stlport4 library is
13877 # incompatible with the Cstd library. Avoid specifying
13878 # it if it's in CXXFLAGS. Ignore libCrun as
13879 # -library=stlport4 depends on it.
13880 case " $CXX $CXXFLAGS " in
13881 *" -library=stlport4 "*)
13882 solaris_use_stlport4
=yes
13886 if test "$solaris_use_stlport4" != yes; then
13887 postdeps_CXX
='-library=Cstd -library=Crun'
13894 case $cc_basename in
13896 # The more standards-conforming stlport4 library is
13897 # incompatible with the Cstd library. Avoid specifying
13898 # it if it's in CXXFLAGS. Ignore libCrun as
13899 # -library=stlport4 depends on it.
13900 case " $CXX $CXXFLAGS " in
13901 *" -library=stlport4 "*)
13902 solaris_use_stlport4
=yes
13906 # Adding this requires a known-good setup of shared libraries for
13907 # Sun compiler versions before 5.6, else PIC objects from an old
13908 # archive will be linked into the output, leading to subtle bugs.
13909 if test "$solaris_use_stlport4" != yes; then
13910 postdeps_CXX
='-library=Cstd -library=Crun'
13918 case " $postdeps_CXX " in
13919 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13921 compiler_lib_search_dirs_CXX
=
13922 if test -n "${compiler_lib_search_path_CXX}"; then
13923 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13956 lt_prog_compiler_wl_CXX
=
13957 lt_prog_compiler_pic_CXX
=
13958 lt_prog_compiler_static_CXX
=
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13961 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13963 # C++ specific cases for pic, static, wl, etc.
13964 if test "$GXX" = yes; then
13965 lt_prog_compiler_wl_CXX
='-Wl,'
13966 lt_prog_compiler_static_CXX
='-static'
13970 # All AIX code is PIC.
13971 if test "$host_cpu" = ia64
; then
13972 # AIX 5 now supports IA64 processor
13973 lt_prog_compiler_static_CXX
='-Bstatic'
13975 lt_prog_compiler_pic_CXX
='-fPIC'
13981 # see comment about AmigaOS4 .so support
13982 lt_prog_compiler_pic_CXX
='-fPIC'
13985 # FIXME: we need at least 68020 code to build shared libraries, but
13986 # adding the `-m68020' flag to GCC prevents building anything better,
13988 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13993 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13994 # PIC is the default for these OSes.
13996 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13997 # This hack is so that the source file can tell whether it is being
13998 # built for inclusion in a dll (and should export symbols for example).
13999 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14000 # (--disable-auto-import) libraries
14001 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14003 darwin
* | rhapsody
*)
14004 # PIC is the default on this platform
14005 # Common symbols not allowed in MH_DYLIB files
14006 lt_prog_compiler_pic_CXX
='-fno-common'
14009 # DJGPP does not support shared libraries at all
14010 lt_prog_compiler_pic_CXX
=
14013 # PIC is the default for Haiku.
14014 # The "-static" flag exists, but is broken.
14015 lt_prog_compiler_static_CXX
=
14018 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14019 # Instead, we relocate shared libraries at runtime.
14022 if test -d /usr
/nec
; then
14023 lt_prog_compiler_pic_CXX
=-Kconform_pic
14027 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14028 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14029 # sets the default TLS model and affects inlining.
14034 lt_prog_compiler_pic_CXX
='-fPIC'
14039 # QNX uses GNU C++, but need to define -shared option too, otherwise
14040 # it will coredump.
14041 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14044 lt_prog_compiler_pic_CXX
='-fPIC'
14050 # All AIX code is PIC.
14051 if test "$host_cpu" = ia64
; then
14052 # AIX 5 now supports IA64 processor
14053 lt_prog_compiler_static_CXX
='-Bstatic'
14055 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14059 case $cc_basename in
14061 # Green Hills C++ Compiler
14062 # _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"
14067 case $cc_basename in
14069 lt_prog_compiler_pic_CXX
='-KPIC'
14072 # Green Hills C++ Compiler
14073 lt_prog_compiler_pic_CXX
='-pic'
14079 freebsd
* | dragonfly
*)
14080 # FreeBSD uses GNU C++
14082 hpux9
* | hpux10
* | hpux11
*)
14083 case $cc_basename in
14085 lt_prog_compiler_wl_CXX
='-Wl,'
14086 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14087 if test "$host_cpu" != ia64
; then
14088 lt_prog_compiler_pic_CXX
='+Z'
14092 lt_prog_compiler_wl_CXX
='-Wl,'
14093 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14099 lt_prog_compiler_pic_CXX
='+Z'
14108 # This is c89, which is MS Visual C++ (no shared libs)
14109 # Anyone wants to do a port?
14111 irix5
* | irix6
* | nonstopux
*)
14112 case $cc_basename in
14114 lt_prog_compiler_wl_CXX
='-Wl,'
14115 lt_prog_compiler_static_CXX
='-non_shared'
14116 # CC pic flag -KPIC is the default.
14122 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14123 case $cc_basename in
14126 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14127 lt_prog_compiler_pic_CXX
='-fPIC'
14130 # old Intel C++ for x86_64 which still supported -KPIC.
14131 lt_prog_compiler_wl_CXX
='-Wl,'
14132 lt_prog_compiler_pic_CXX
='-KPIC'
14133 lt_prog_compiler_static_CXX
='-static'
14136 # Intel C++, used to be incompatible with GCC.
14137 # ICC 10 doesn't accept -KPIC any more.
14138 lt_prog_compiler_wl_CXX
='-Wl,'
14139 lt_prog_compiler_pic_CXX
='-fPIC'
14140 lt_prog_compiler_static_CXX
='-static'
14143 # Portland Group C++ compiler
14144 lt_prog_compiler_wl_CXX
='-Wl,'
14145 lt_prog_compiler_pic_CXX
='-fpic'
14146 lt_prog_compiler_static_CXX
='-Bstatic'
14150 # Make sure the PIC flag is empty. It appears that all Alpha
14151 # Linux and Compaq Tru64 Unix objects are PIC.
14152 lt_prog_compiler_pic_CXX
=
14153 lt_prog_compiler_static_CXX
='-non_shared'
14155 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14156 # IBM XL 8.0, 9.0 on PPC and BlueGene
14157 lt_prog_compiler_wl_CXX
='-Wl,'
14158 lt_prog_compiler_pic_CXX
='-qpic'
14159 lt_prog_compiler_static_CXX
='-qstaticlink'
14162 case `$CC -V 2>&1 | sed 5q` in
14165 lt_prog_compiler_pic_CXX
='-KPIC'
14166 lt_prog_compiler_static_CXX
='-Bstatic'
14167 lt_prog_compiler_wl_CXX
='-Qoption ld '
14178 case $cc_basename in
14180 lt_prog_compiler_pic_CXX
='-W c,exportall'
14189 # QNX uses GNU C++, but need to define -shared option too, otherwise
14190 # it will coredump.
14191 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14193 osf3
* | osf4
* | osf5
*)
14194 case $cc_basename in
14196 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14199 # Rational C++ 2.4.1
14200 lt_prog_compiler_pic_CXX
='-pic'
14203 # Digital/Compaq C++
14204 lt_prog_compiler_wl_CXX
='-Wl,'
14205 # Make sure the PIC flag is empty. It appears that all Alpha
14206 # Linux and Compaq Tru64 Unix objects are PIC.
14207 lt_prog_compiler_pic_CXX
=
14208 lt_prog_compiler_static_CXX
='-non_shared'
14217 case $cc_basename in
14219 # Sun C++ 4.2, 5.x and Centerline C++
14220 lt_prog_compiler_pic_CXX
='-KPIC'
14221 lt_prog_compiler_static_CXX
='-Bstatic'
14222 lt_prog_compiler_wl_CXX
='-Qoption ld '
14225 # Green Hills C++ Compiler
14226 lt_prog_compiler_pic_CXX
='-PIC'
14233 case $cc_basename in
14236 lt_prog_compiler_pic_CXX
='-pic'
14237 lt_prog_compiler_static_CXX
='-Bstatic'
14241 lt_prog_compiler_pic_CXX
='-pic'
14247 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14248 case $cc_basename in
14250 lt_prog_compiler_wl_CXX
='-Wl,'
14251 lt_prog_compiler_pic_CXX
='-KPIC'
14252 lt_prog_compiler_static_CXX
='-Bstatic'
14257 case $cc_basename in
14259 # NonStop-UX NCC 3.20
14260 lt_prog_compiler_pic_CXX
='-KPIC'
14269 lt_prog_compiler_can_build_shared_CXX
=no
14275 # For platforms which do not support PIC, -DPIC is meaningless:
14277 lt_prog_compiler_pic_CXX
=
14280 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14284 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14289 # Check to make sure the PIC flag actually works.
14291 if test -n "$lt_prog_compiler_pic_CXX"; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14293 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14294 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14295 $as_echo_n "(cached) " >&6
14297 lt_cv_prog_compiler_pic_works_CXX
=no
14298 ac_outfile
=conftest.
$ac_objext
14299 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14300 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14301 # Insert the option either (1) after the last *FLAGS variable, or
14302 # (2) before a word containing "conftest.", or (3) at the end.
14303 # Note that $ac_compile itself does not contain backslashes and begins
14304 # with a dollar sign (not a hyphen), so the echo should work correctly.
14305 # The option is referenced via a variable to avoid confusing sed.
14306 lt_compile
=`echo "$ac_compile" | $SED \
14307 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14308 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14309 -e 's:$: $lt_compiler_flag:'`
14310 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14311 (eval "$lt_compile" 2>conftest.err
)
14313 cat conftest.err
>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 if (exit $ac_status) && test -s "$ac_outfile"; then
14316 # The compiler can only warn and ignore the option if not recognized
14317 # So say no if there are warnings other than the usual output.
14318 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14320 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14321 lt_cv_prog_compiler_pic_works_CXX
=yes
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14328 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14330 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14331 case $lt_prog_compiler_pic_CXX in
14333 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14336 lt_prog_compiler_pic_CXX
=
14337 lt_prog_compiler_can_build_shared_CXX
=no
14345 # Check to make sure the static flag actually works.
14347 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14349 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14350 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14351 $as_echo_n "(cached) " >&6
14353 lt_cv_prog_compiler_static_works_CXX
=no
14354 save_LDFLAGS
="$LDFLAGS"
14355 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14356 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14357 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14358 # The linker can only warn and ignore the option if not recognized
14359 # So say no if there are warnings
14360 if test -s conftest.err
; then
14361 # Append any errors to the config.log.
14362 cat conftest.err
1>&5
14363 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14364 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14365 if diff conftest.exp conftest.er2
>/dev
/null
; then
14366 lt_cv_prog_compiler_static_works_CXX
=yes
14369 lt_cv_prog_compiler_static_works_CXX
=yes
14373 LDFLAGS
="$save_LDFLAGS"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14377 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14379 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14382 lt_prog_compiler_static_CXX
=
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14389 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14390 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14391 $as_echo_n "(cached) " >&6
14393 lt_cv_prog_compiler_c_o_CXX
=no
14394 $RM -r conftest
2>/dev
/null
14398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14400 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14401 # Insert the option either (1) after the last *FLAGS variable, or
14402 # (2) before a word containing "conftest.", or (3) at the end.
14403 # Note that $ac_compile itself does not contain backslashes and begins
14404 # with a dollar sign (not a hyphen), so the echo should work correctly.
14405 lt_compile
=`echo "$ac_compile" | $SED \
14406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14408 -e 's:$: $lt_compiler_flag:'`
14409 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14410 (eval "$lt_compile" 2>out
/conftest.err
)
14412 cat out
/conftest.err
>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14416 # The compiler can only warn and ignore the option if not recognized
14417 # So say no if there are warnings
14418 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14419 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14420 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14421 lt_cv_prog_compiler_c_o_CXX
=yes
14426 # SGI C++ compiler will create directory out/ii_files/ for
14427 # template instantiation
14428 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14429 $RM out
/* && rmdir out
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14436 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
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; }
14493 hard_links
="nottested"
14494 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14495 # do not overwrite the value of need_locks provided by the user
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14497 $as_echo_n "checking if we can lock with hard links... " >&6; }
14500 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14502 ln conftest.a conftest.b
2>&5 || hard_links
=no
14503 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14505 $as_echo "$hard_links" >&6; }
14506 if test "$hard_links" = no
; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14508 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14518 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14520 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14523 # If we're using GNU nm, then we don't want the "-C" option.
14524 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14525 # Also, AIX nm treats weak defined symbols like other global defined
14526 # symbols, whereas GNU nm marks them as "W".
14527 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14528 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'
14530 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14534 export_symbols_cmds_CXX
="$ltdll_cmds"
14536 cygwin
* | mingw
* | cegcc
*)
14537 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'
14540 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14543 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14546 $as_echo "$ld_shlibs_CXX" >&6; }
14547 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14549 with_gnu_ld_CXX
=$with_gnu_ld
14557 # Do we need to explicitly link libc?
14559 case "x$archive_cmds_need_lc_CXX" in
14561 # Assume -lc should be added
14562 archive_cmds_need_lc_CXX
=yes
14564 if test "$enable_shared" = yes && test "$GCC" = yes; then
14565 case $archive_cmds_CXX in
14567 # FIXME: we may have to deal with multi-command sequences.
14570 # Test whether the compiler implicitly links with -lc since on some
14571 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14572 # to ld, don't add -lc before -lgcc.
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14574 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14575 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14576 $as_echo_n "(cached) " >&6
14579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14582 (eval $ac_compile) 2>&5
14584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14585 test $ac_status = 0; } 2>conftest.err
; then
14588 libobjs
=conftest.
$ac_objext
14590 wl
=$lt_prog_compiler_wl_CXX
14591 pic_flag
=$lt_prog_compiler_pic_CXX
14597 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14598 allow_undefined_flag_CXX
=
14599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14600 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14603 test $ac_status = 0; }
14605 lt_cv_archive_cmds_need_lc_CXX
=no
14607 lt_cv_archive_cmds_need_lc_CXX
=yes
14609 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14611 cat conftest.err
1>&5
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14617 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14618 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14689 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14691 library_names_spec
=
14692 libname_spec
='lib$name'
14696 postuninstall_cmds
=
14700 shlibpath_overrides_runpath
=unknown
14702 dynamic_linker
="$host_os ld.so"
14703 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14704 need_lib_prefix
=unknown
14705 hardcode_into_libs
=no
14707 # when you set need_version to no, make sure it does not cause -set_version
14708 # flags to be left without arguments
14709 need_version
=unknown
14714 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14715 shlibpath_var
=LIBPATH
14717 # AIX 3 has no versioning support, so we append a major version to the name.
14718 soname_spec
='${libname}${release}${shared_ext}$major'
14725 hardcode_into_libs
=yes
14726 if test "$host_cpu" = ia64
; then
14727 # AIX 5 supports IA64
14728 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14729 shlibpath_var
=LD_LIBRARY_PATH
14731 # With GCC up to 2.95.x, collect2 would create an import file
14732 # for dependence libraries. The import file would start with
14733 # the line `#! .'. This would cause the generated library to
14734 # depend on `.', always an invalid library. This was fixed in
14735 # development snapshots of GCC prior to 3.0.
14737 aix4 | aix4.
[01] | aix4.
[01].
*)
14738 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14740 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14743 can_build_shared
=no
14747 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14748 # soname into executable. Probably we can add versioning support to
14749 # collect2, so additional links can be useful in future.
14750 if test "$aix_use_runtimelinking" = yes; then
14751 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14752 # instead of lib<name>.a to let people know that these are not
14753 # typical AIX shared libraries.
14754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 # We preserve .a as extension for shared libraries through AIX4.2
14757 # and later when we are not doing run time linking.
14758 library_names_spec
='${libname}${release}.a $libname.a'
14759 soname_spec
='${libname}${release}${shared_ext}$major'
14761 shlibpath_var
=LIBPATH
14768 # Since July 2007 AmigaOS4 officially supports .so libraries.
14769 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14773 library_names_spec
='$libname.ixlibrary $libname.a'
14774 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14775 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'
14781 library_names_spec
='${libname}${shared_ext}'
14782 dynamic_linker
="$host_os ld.so"
14783 shlibpath_var
=LIBRARY_PATH
14789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14790 soname_spec
='${libname}${release}${shared_ext}$major'
14791 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14792 shlibpath_var
=LD_LIBRARY_PATH
14793 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14794 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14795 # the default ld.so.conf also contains /usr/contrib/lib and
14796 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14797 # libtool to hard-code these into programs
14800 cygwin
* | mingw
* | pw32
* | cegcc
*)
14801 version_type
=windows
14806 case $GCC,$host_os in
14807 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14808 library_names_spec
='$libname.dll.a'
14809 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14810 postinstall_cmds
='base_file=`basename \${file}`~
14811 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14812 dldir=$destdir/`dirname \$dlpath`~
14813 test -d \$dldir || mkdir -p \$dldir~
14814 $install_prog $dir/$dlname \$dldir/$dlname~
14815 chmod a+x \$dldir/$dlname~
14816 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14817 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14819 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14820 dlpath=$dir/\$dldll~
14822 shlibpath_overrides_runpath
=yes
14826 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14827 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831 # MinGW DLLs use traditional 'lib' prefix
14832 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14835 # pw32 DLLs use 'pw' prefix rather than 'lib'
14836 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14842 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14845 dynamic_linker
='Win32 ld.exe'
14846 # FIXME: first we should search . and the directory the executable is in
14850 darwin
* | rhapsody
*)
14851 dynamic_linker
="$host_os dyld"
14852 version_type
=darwin
14855 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14856 soname_spec
='${libname}${release}${major}$shared_ext'
14857 shlibpath_overrides_runpath
=yes
14858 shlibpath_var
=DYLD_LIBRARY_PATH
14859 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14861 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14869 soname_spec
='${libname}${release}${shared_ext}$major'
14870 shlibpath_var
=LD_LIBRARY_PATH
14873 freebsd
* | dragonfly
*)
14874 # DragonFly does not have aout. When/if they implement a new
14875 # versioning mechanism, adjust this.
14876 if test -x /usr
/bin
/objformat
; then
14877 objformat
=`/usr/bin/objformat`
14880 freebsd
[23].
*) objformat
=aout
;;
14881 *) objformat
=elf
;;
14884 version_type
=freebsd-
$objformat
14885 case $version_type in
14887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14896 shlibpath_var
=LD_LIBRARY_PATH
14899 shlibpath_overrides_runpath
=yes
14901 freebsd3.
[01]* | freebsdelf3.
[01]*)
14902 shlibpath_overrides_runpath
=yes
14903 hardcode_into_libs
=yes
14905 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14906 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14907 shlibpath_overrides_runpath
=no
14908 hardcode_into_libs
=yes
14910 *) # from 4.6 on, and DragonFly
14911 shlibpath_overrides_runpath
=yes
14912 hardcode_into_libs
=yes
14921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14922 soname_spec
='${libname}${release}${shared_ext}$major'
14923 shlibpath_var
=LD_LIBRARY_PATH
14924 hardcode_into_libs
=yes
14931 dynamic_linker
="$host_os runtime_loader"
14932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14933 soname_spec
='${libname}${release}${shared_ext}$major'
14934 shlibpath_var
=LIBRARY_PATH
14935 shlibpath_overrides_runpath
=yes
14936 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14937 hardcode_into_libs
=yes
14940 hpux9
* | hpux10
* | hpux11
*)
14941 # Give a soname corresponding to the major version so that dld.sl refuses to
14942 # link against other versions.
14949 hardcode_into_libs
=yes
14950 dynamic_linker
="$host_os dld.so"
14951 shlibpath_var
=LD_LIBRARY_PATH
14952 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954 soname_spec
='${libname}${release}${shared_ext}$major'
14955 if test "X$HPUX_IA64_MODE" = X32
; then
14956 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14958 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14960 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14964 hardcode_into_libs
=yes
14965 dynamic_linker
="$host_os dld.sl"
14966 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14967 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14969 soname_spec
='${libname}${release}${shared_ext}$major'
14970 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14971 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14975 dynamic_linker
="$host_os dld.sl"
14976 shlibpath_var
=SHLIB_PATH
14977 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 soname_spec
='${libname}${release}${shared_ext}$major'
14982 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14983 postinstall_cmds
='chmod 555 $lib'
14984 # or fails outright, so override atomically:
14985 install_override_mode
=555
14992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14993 soname_spec
='${libname}${release}${shared_ext}$major'
14994 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14995 shlibpath_var
=LD_LIBRARY_PATH
14996 shlibpath_overrides_runpath
=no
14997 hardcode_into_libs
=yes
15000 irix5
* | irix6
* | nonstopux
*)
15002 nonstopux
*) version_type
=nonstopux
;;
15004 if test "$lt_cv_prog_gnu_ld" = yes; then
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15015 irix5
* | nonstopux
*)
15016 libsuff
= shlibsuff
=
15019 case $LD in # libtool.m4 will add one of these switches to LD
15020 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15021 libsuff
= shlibsuff
= libmagic
=32-bit;;
15022 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15023 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15024 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15025 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15026 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15030 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15031 shlibpath_overrides_runpath
=no
15032 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15033 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15034 hardcode_into_libs
=yes
15037 # No shared lib support for Linux oldld, aout, or coff.
15038 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15042 # This must be Linux ELF.
15043 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15048 soname_spec
='${libname}${release}${shared_ext}$major'
15049 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15050 shlibpath_var
=LD_LIBRARY_PATH
15051 shlibpath_overrides_runpath
=no
15053 # Some binutils ld are patched to set DT_RUNPATH
15054 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15055 $as_echo_n "(cached) " >&6
15057 lt_cv_shlibpath_overrides_runpath
=no
15058 save_LDFLAGS
=$LDFLAGS
15059 save_libdir
=$libdir
15060 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15061 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15073 if ac_fn_cxx_try_link
"$LINENO"; then :
15074 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15075 lt_cv_shlibpath_overrides_runpath
=yes
15078 rm -f core conftest.err conftest.
$ac_objext \
15079 conftest
$ac_exeext conftest.
$ac_ext
15080 LDFLAGS
=$save_LDFLAGS
15081 libdir
=$save_libdir
15085 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15087 # This implies no fast_install, which is unacceptable.
15088 # Some rework will be needed to allow for fast_install
15089 # before this can be enabled.
15090 hardcode_into_libs
=yes
15092 # Append ld.so.conf contents to the search path
15093 if test -f /etc
/ld.so.conf
; then
15094 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' ' '`
15095 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15098 # We used to test for /lib/ld.so.1 and disable shared libraries on
15099 # powerpc, because MkLinux only supported shared libraries with the
15100 # GNU dynamic linker. Since this was broken with cross compilers,
15101 # most powerpc-linux boxes support dynamic linking these days and
15102 # people can always --disable-shared, the test was removed, and we
15103 # assume the GNU/Linux dynamic linker is in use.
15104 dynamic_linker
='GNU/Linux ld.so'
15111 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15114 dynamic_linker
='NetBSD (a.out) ld.so'
15116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15117 soname_spec
='${libname}${release}${shared_ext}$major'
15118 dynamic_linker
='NetBSD ld.elf_so'
15120 shlibpath_var
=LD_LIBRARY_PATH
15121 shlibpath_overrides_runpath
=yes
15122 hardcode_into_libs
=yes
15127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 shlibpath_var
=LD_LIBRARY_PATH
15129 shlibpath_overrides_runpath
=yes
15136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 soname_spec
='${libname}${release}${shared_ext}$major'
15138 shlibpath_var
=LD_LIBRARY_PATH
15139 shlibpath_overrides_runpath
=no
15140 hardcode_into_libs
=yes
15141 dynamic_linker
='ldqnx.so'
15146 sys_lib_dlsearch_path_spec
="/usr/lib"
15148 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15150 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15151 *) need_version
=no
;;
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15158 openbsd2.
[89] | openbsd2.
[89].
*)
15159 shlibpath_overrides_runpath
=no
15162 shlibpath_overrides_runpath
=yes
15166 shlibpath_overrides_runpath
=yes
15171 libname_spec
='$name'
15174 library_names_spec
='$libname${shared_ext} $libname.a'
15175 dynamic_linker
='OS/2 ld.exe'
15176 shlibpath_var
=LIBPATH
15179 osf3
* | osf4
* | osf5
*)
15183 soname_spec
='${libname}${release}${shared_ext}$major'
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 shlibpath_var
=LD_LIBRARY_PATH
15186 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15187 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15199 soname_spec
='${libname}${release}${shared_ext}$major'
15200 shlibpath_var
=LD_LIBRARY_PATH
15201 shlibpath_overrides_runpath
=yes
15202 hardcode_into_libs
=yes
15203 # ldd complains unless libraries are executable
15204 postinstall_cmds
='chmod +x $lib'
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15210 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15211 shlibpath_var
=LD_LIBRARY_PATH
15212 shlibpath_overrides_runpath
=yes
15213 if test "$with_gnu_ld" = yes; then
15221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 shlibpath_var
=LD_LIBRARY_PATH
15224 case $host_vendor in
15226 shlibpath_overrides_runpath
=no
15228 runpath_var
=LD_RUN_PATH
15236 shlibpath_overrides_runpath
=no
15237 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15243 if test -d /usr
/nec
;then
15245 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15246 soname_spec
='$libname${shared_ext}.$major'
15247 shlibpath_var
=LD_LIBRARY_PATH
15251 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15252 version_type
=freebsd-elf
15255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15256 soname_spec
='${libname}${release}${shared_ext}$major'
15257 shlibpath_var
=LD_LIBRARY_PATH
15258 shlibpath_overrides_runpath
=yes
15259 hardcode_into_libs
=yes
15260 if test "$with_gnu_ld" = yes; then
15261 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15263 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15266 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15270 sys_lib_dlsearch_path_spec
='/usr/lib'
15274 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=no
15281 hardcode_into_libs
=yes
15286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15287 soname_spec
='${libname}${release}${shared_ext}$major'
15288 shlibpath_var
=LD_LIBRARY_PATH
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15296 $as_echo "$dynamic_linker" >&6; }
15297 test "$dynamic_linker" = no
&& can_build_shared
=no
15299 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15300 if test "$GCC" = yes; then
15301 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15304 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15305 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15307 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15308 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15349 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15350 hardcode_action_CXX
=
15351 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15352 test -n "$runpath_var_CXX" ||
15353 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15355 # We can hardcode non-existent directories.
15356 if test "$hardcode_direct_CXX" != no
&&
15357 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15358 # have to relink, otherwise we might link with an installed library
15359 # when we should be linking with a yet-to-be-installed one
15360 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15361 test "$hardcode_minus_L_CXX" != no
; then
15362 # Linking always hardcodes the temporary library directory.
15363 hardcode_action_CXX
=relink
15365 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15366 hardcode_action_CXX
=immediate
15369 # We cannot hardcode anything, or else we can only hardcode existing
15371 hardcode_action_CXX
=unsupported
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15374 $as_echo "$hardcode_action_CXX" >&6; }
15376 if test "$hardcode_action_CXX" = relink ||
15377 test "$inherit_rpath_CXX" = yes; then
15378 # Fast installation is not supported
15379 enable_fast_install
=no
15380 elif test "$shlibpath_overrides_runpath" = yes ||
15381 test "$enable_shared" = no
; then
15382 # Fast installation is not necessary
15383 enable_fast_install
=needless
15392 fi # test -n "$compiler"
15398 with_gnu_ld
=$lt_save_with_gnu_ld
15399 lt_cv_path_LDCXX
=$lt_cv_path_LD
15400 lt_cv_path_LD
=$lt_save_path_LD
15401 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15402 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15403 fi # test "$_lt_caught_CXX_error" != yes
15406 ac_cpp
='$CPP $CPPFLAGS'
15407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15423 ac_config_commands
="$ac_config_commands libtool"
15428 # Only expand once:
15435 *-cygwin* |
*-mingw*)
15436 # 'host' will be top-level target in the case of a target lib,
15437 # we must compare to with_cross_host to decide if this is a native
15438 # or cross-compiler and select where to install dlls appropriately.
15439 if test -n "$with_cross_host" &&
15440 test x
"$with_cross_host" != x
"no"; then
15441 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15443 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15456 # For libtool versioning info, format is CURRENT:REVISION:AGE
15457 libtool_VERSION
=1:0:0
15460 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15462 # Add CET specific flags if Intel CET is enabled.
15463 # Check whether --enable-cet was given.
15464 if test "${enable_cet+set}" = set; then :
15465 enableval
=$enable_cet;
15466 case "$enableval" in
15468 *) as_fn_error
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15477 i
[34567]86-*-linux* | x86_64-
*-linux*)
15478 case "$enable_cet" in
15480 # Check if assembler supports CET.
15481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15492 if ac_fn_c_try_compile
"$LINENO"; then :
15497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15500 # Check if assembler supports CET.
15501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15512 if ac_fn_c_try_compile
"$LINENO"; then :
15515 as_fn_error
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15525 if test x
$enable_cet = xyes
; then
15526 CET_FLAGS
="-fcf-protection -mcet"
15529 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15533 if test "${multilib}" = "yes"; then
15534 multilib_arg
="--enable-multilib"
15539 ac_config_files
="$ac_config_files Makefile"
15542 if test "x$VTV_SUPPORTED" = "xyes"; then
15543 ac_config_files
="$ac_config_files testsuite/Makefile"
15547 case "$target_os" in
15556 if test $vtv_cygmin = yes; then
15558 VTV_CYGMIN_FALSE
='#'
15560 VTV_CYGMIN_TRUE
='#'
15565 for ac_func
in _obstack_begin
15567 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15568 if test "x$ac_cv_func__obstack_begin" = x
""yes; then :
15569 cat >>confdefs.h
<<_ACEOF
15570 #define HAVE__OBSTACK_BEGIN 1
15576 if test $ac_cv_func__obstack_begin = no
; then
15577 VTV_NO_OBSTACK_TRUE
=
15578 VTV_NO_OBSTACK_FALSE
='#'
15580 VTV_NO_OBSTACK_TRUE
='#'
15581 VTV_NO_OBSTACK_FALSE
=
15585 # Determine what GCC version number to use in filesystem paths.
15587 get_gcc_base_ver
="cat"
15589 # Check whether --with-gcc-major-version-only was given.
15590 if test "${with_gcc_major_version_only+set}" = set; then :
15591 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15592 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
15600 cat >confcache
<<\_ACEOF
15601 # This file is a shell script that caches the results of configure
15602 # tests run on this system so they can be shared between configure
15603 # scripts and configure runs, see configure's option --config-cache.
15604 # It is not useful on other systems. If it contains results you don't
15605 # want to keep, you may remove or edit it.
15607 # config.status only pays attention to the cache file if you give it
15608 # the --recheck option to rerun configure.
15610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15612 # following values.
15616 # The following way of writing the cache mishandles newlines in values,
15617 # but we know of no workaround that is simple, portable, and efficient.
15618 # So, we kill variables containing newlines.
15619 # Ultrix sh set writes to stderr and can't be redirected directly,
15620 # and sets the high bit in the cache file unless we assign to the vars.
15622 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15623 eval ac_val
=\$
$ac_var
15627 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15628 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15631 _ | IFS | as_nl
) ;; #(
15632 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15633 *) { eval $ac_var=; unset $ac_var;} ;;
15639 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15640 *${as_nl}ac_space
=\
*)
15641 # `set' does not quote correctly, so add quotes: double-quote
15642 # substitution turns \\\\ into \\, and sed turns \\ into \.
15645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15648 # `set' quotes correctly as required by POSIX, so do not add quotes.
15649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15658 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15660 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15662 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15663 if test -w "$cache_file"; then
15664 test "x$cache_file" != "x/dev/null" &&
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15666 $as_echo "$as_me: updating cache $cache_file" >&6;}
15667 cat confcache
>$cache_file
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15670 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15675 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15676 # Let make expand exec_prefix.
15677 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15679 # Transform confdefs.h into DEFS.
15680 # Protect against shell expansion while executing Makefile rules.
15681 # Protect against Makefile macro expansion.
15683 # If the first sed substitution is executed (which looks for macros that
15684 # take arguments), then branch to the quote section. Otherwise,
15685 # look for a macro that doesn't take arguments.
15695 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15697 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15701 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15714 DEFS
=`sed -n "$ac_script" confdefs.h`
15719 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15720 # 1. Remove the extension, and $U if already installed.
15721 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15722 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15723 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15724 # will be set to the directory where LIBOBJS objects are built.
15725 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15726 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15728 LIBOBJS
=$ac_libobjs
15730 LTLIBOBJS
=$ac_ltlibobjs
15733 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15734 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15737 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15738 as_fn_error
"conditional \"AMDEP\" was never defined.
15739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15742 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15745 if test -n "$EXEEXT"; then
15747 am__EXEEXT_FALSE
='#'
15749 am__EXEEXT_TRUE
='#'
15753 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15754 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15757 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15758 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15761 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15762 as_fn_error
"conditional \"VTV_CYGMIN\" was never defined.
15763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
15766 as_fn_error
"conditional \"VTV_NO_OBSTACK\" was never defined.
15767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15770 : ${CONFIG_STATUS=./config.status}
15772 ac_clean_files_save
=$ac_clean_files
15773 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15775 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15777 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15779 # Generated by $as_me.
15780 # Run this file to recreate the current configuration.
15781 # Compiler output produced by configure, useful for debugging
15782 # configure, is in config.log if it exists.
15785 ac_cs_recheck=false
15788 SHELL=\${CONFIG_SHELL-$SHELL}
15791 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15792 ## -------------------- ##
15793 ## M4sh Initialization. ##
15794 ## -------------------- ##
15796 # Be more Bourne compatible
15797 DUALCASE
=1; export DUALCASE
# for MKS sh
15798 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15801 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15802 # is contrary to our usage. Disable this feature.
15803 alias -g '${1+"$@"}'='"$@"'
15804 setopt NO_GLOB_SUBST
15806 case `(set -o) 2>/dev/null` in #(
15818 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15819 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15820 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15822 # Prefer a ksh shell builtin over an external printf program on Solaris,
15823 # but without wasting forks for bash or zsh.
15824 if test -z "$BASH_VERSION$ZSH_VERSION" \
15825 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15826 as_echo='print
-r --'
15827 as_echo_n='print
-rn --'
15828 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15829 as_echo='printf %s
\n'
15830 as_echo_n='printf %s
'
15832 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15833 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15834 as_echo_n='/usr
/ucb
/echo -n'
15836 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15837 as_echo_n_body='eval
15841 expr "X$arg" : "X\\(.*\\)$as_nl";
15842 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15844 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15846 export as_echo_n_body
15847 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15849 export as_echo_body
15850 as_echo='sh
-c $as_echo_body as_echo
'
15853 # The user is always right.
15854 if test "${PATH_SEPARATOR+set}" != set; then
15856 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15857 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15864 # We need space, tab and new line, in precisely that order. Quoting is
15865 # there to prevent editors from complaining about space-tab.
15866 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15867 # splitting by setting IFS to empty value.)
15870 # Find who we are. Look in the path if we contain no directory separator.
15872 *[\\/]* ) as_myself=$0 ;;
15873 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15874 for as_dir in $PATH
15877 test -z "$as_dir" && as_dir=.
15878 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15884 # We did not find ourselves, most probably we were run as `sh COMMAND'
15885 # in which case we are not to be found in the path.
15886 if test "x$as_myself" = x
; then
15889 if test ! -f "$as_myself"; then
15890 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15894 # Unset variables that we do not need and which cause bugs (e.g. in
15895 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15896 # suppresses any "Segmentation fault" message there. '((' could
15897 # trigger a bug in pdksh 5.2.14.
15898 for as_var
in BASH_ENV ENV MAIL MAILPATH
15899 do eval test x\
${$as_var+set} = xset \
15900 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15913 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15916 # as_fn_error ERROR [LINENO LOG_FD]
15917 # ---------------------------------
15918 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15919 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15920 # script with status $?, using 1 if that was 0.
15923 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15925 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15926 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15928 $as_echo "$as_me: error: $1" >&2
15929 as_fn_exit
$as_status
15933 # as_fn_set_status STATUS
15934 # -----------------------
15935 # Set $? to STATUS, without forking.
15936 as_fn_set_status
()
15939 } # as_fn_set_status
15941 # as_fn_exit STATUS
15942 # -----------------
15943 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15947 as_fn_set_status
$1
15953 # Portably unset VAR.
15956 { eval $1=; unset $1;}
15958 as_unset
=as_fn_unset
15959 # as_fn_append VAR VALUE
15960 # ----------------------
15961 # Append the text in VALUE to the end of the definition contained in VAR. Take
15962 # advantage of any shell optimizations that allow amortized linear growth over
15963 # repeated appends, instead of the typical quadratic growth present in naive
15965 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15966 eval 'as_fn_append ()
15977 # as_fn_arith ARG...
15978 # ------------------
15979 # Perform arithmetic evaluation on the ARGs, and store the result in the
15980 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15981 # must be portable across $(()) and expr.
15982 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15983 eval 'as_fn_arith ()
15990 as_val
=`expr "$@" || test $? -eq 1`
15995 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15996 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16002 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16003 as_basename
=basename
16008 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16014 as_me
=`$as_basename -- "$0" ||
16015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16016 X"$0" : 'X\(//\)$' \| \
16017 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16019 sed '/^.*\/\([^/][^/]*\)\/*$/{
16033 # Avoid depending upon Character Ranges.
16034 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16035 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16036 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16037 as_cr_digits
='0123456789'
16038 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16040 ECHO_C
= ECHO_N
= ECHO_T
=
16041 case `echo -n x` in #(((((
16043 case `echo 'xy\c'` in
16044 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16046 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16053 rm -f conf$$ conf$$.exe conf$$.
file
16054 if test -d conf$$.dir
; then
16055 rm -f conf$$.dir
/conf$$.
file
16058 mkdir conf$$.dir
2>/dev
/null
16060 if (echo >conf$$.
file) 2>/dev
/null
; then
16061 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16063 # ... but there are two gotchas:
16064 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16065 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16066 # In both cases, we have to default to `cp -p'.
16067 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16069 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16077 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16078 rmdir conf$$.dir
2>/dev
/null
16083 # Create "$as_dir" as a directory, including parents if necessary.
16088 -*) as_dir
=.
/$as_dir;;
16090 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16094 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16095 *) as_qdir
=$as_dir;;
16097 as_dirs
="'$as_qdir' $as_dirs"
16098 as_dir
=`$as_dirname -- "$as_dir" ||
16099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16100 X"$as_dir" : 'X\(//\)[^/]' \| \
16101 X"$as_dir" : 'X\(//\)$' \| \
16102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16103 $as_echo X"$as_dir" |
16104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16108 /^X\(\/\/\)[^/].*/{
16121 test -d "$as_dir" && break
16123 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16124 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16128 if mkdir
-p .
2>/dev
/null
; then
16129 as_mkdir_p
='mkdir -p "$as_dir"'
16131 test -d .
/-p && rmdir .
/-p
16135 if test -x / >/dev
/null
2>&1; then
16136 as_test_x
='test -x'
16138 if ls -dL / >/dev
/null
2>&1; then
16145 if test -d "$1"; then
16151 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16152 ???[sx]*):;;*)false;;esac;fi
16156 as_executable_p
=$as_test_x
16158 # Sed expression to map a string onto a valid CPP name.
16159 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16161 # Sed expression to map a string onto a valid variable name.
16162 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16166 ## ----------------------------------- ##
16167 ## Main body of $CONFIG_STATUS script. ##
16168 ## ----------------------------------- ##
16170 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16173 # Save the log message, to keep $0 and so on meaningful, and to
16174 # report actual input values of CONFIG_FILES etc. instead of their
16175 # values after options handling.
16177 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16178 generated by GNU Autoconf 2.64. Invocation command line was
16180 CONFIG_FILES = $CONFIG_FILES
16181 CONFIG_HEADERS = $CONFIG_HEADERS
16182 CONFIG_LINKS = $CONFIG_LINKS
16183 CONFIG_COMMANDS = $CONFIG_COMMANDS
16186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16191 case $ac_config_files in *"
16192 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16198 # Files that config.status was made for.
16199 config_files="$ac_config_files"
16200 config_commands="$ac_config_commands"
16204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16206 \`$as_me' instantiates files and other configuration actions
16207 from templates according to the current configuration. Unless the files
16208 and actions are specified as TAGs, all are instantiated by default.
16210 Usage: $0 [OPTION]... [TAG]...
16212 -h, --help print this help, then exit
16213 -V, --version print version number and configuration settings, then exit
16214 -q, --quiet, --silent
16215 do not print progress messages
16216 -d, --debug don't remove temporary files
16217 --recheck update $as_me by reconfiguring in the same conditions
16218 --file=FILE[:TEMPLATE]
16219 instantiate the configuration file FILE
16221 Configuration files:
16224 Configuration commands:
16227 Report bugs to the package provider.
16228 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16229 General help using GNU software: <http://www.gnu.org/gethelp/>."
16232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16234 GNU Vtable Verification Runtime Library config.status 1.0
16235 configured by $0, generated by GNU Autoconf 2.64,
16236 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16238 Copyright (C) 2009 Free Software Foundation, Inc.
16239 This config.status script is free software; the Free Software Foundation
16240 gives unlimited permission to copy, distribute and modify it."
16247 test -n "\$AWK" || AWK=awk
16250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16251 # The default lists apply if the user does not specify any file.
16257 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16258 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16269 # Handling of the options.
16270 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16272 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16273 $as_echo "$ac_cs_version"; exit ;;
16274 --debug |
--debu |
--deb |
--de |
--d |
-d )
16276 --file |
--fil |
--fi |
--f )
16279 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16281 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16282 ac_need_defaults
=false
;;
16283 --he |
--h |
--help |
--hel |
-h )
16284 $as_echo "$ac_cs_usage"; exit ;;
16285 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16286 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16289 # This is an error.
16290 -*) as_fn_error
"unrecognized option: \`$1'
16291 Try \`$0 --help' for more information." ;;
16293 *) as_fn_append ac_config_targets
" $1"
16294 ac_need_defaults
=false
;;
16300 ac_configure_extra_args
=
16302 if $ac_cs_silent; then
16304 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16309 if \$ac_cs_recheck; then
16310 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16312 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16313 CONFIG_SHELL='$SHELL'
16314 export CONFIG_SHELL
16319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16324 ## Running $as_me. ##
16330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16338 with_multisubdir="$with_multisubdir"
16339 with_multisrctop="$with_multisrctop"
16340 with_target_subdir="$with_target_subdir"
16341 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16342 multi_basedir="$multi_basedir"
16343 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16346 GFORTRAN="$GFORTRAN"
16347 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16350 # The HP-UX ksh and POSIX shell print the target directory to stdout
16351 # if CDPATH is set.
16352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16354 sed_quote_subst='$sed_quote_subst'
16355 double_quote_subst='$double_quote_subst'
16356 delay_variable_subst='$delay_variable_subst'
16357 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16358 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16359 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16360 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16361 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16362 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16363 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16364 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16365 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16366 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16367 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16368 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16369 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16370 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16371 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16372 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16373 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16374 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16375 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16376 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16377 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16378 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16379 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16380 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16381 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16382 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16383 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16384 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16385 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16386 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16387 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16388 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16389 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16390 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16391 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16392 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16393 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16394 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16395 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16396 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16397 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16398 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16399 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16400 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16401 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16402 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16404 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16405 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"`'
16406 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16407 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16408 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16409 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16410 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16411 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16412 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16413 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16414 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16415 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16416 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16417 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16418 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16419 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16420 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16421 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16422 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16423 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16424 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16425 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16426 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16427 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16428 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16429 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16430 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16431 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16432 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16433 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16434 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16435 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16436 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16437 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16438 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16439 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16440 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16441 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16442 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16443 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16444 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16445 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16446 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16447 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16448 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16449 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16450 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16451 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16452 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16453 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16454 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16455 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16456 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16457 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16458 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16459 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16460 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16461 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16462 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16463 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16464 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16465 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16466 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16467 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16468 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16469 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16470 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16471 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16472 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16473 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16474 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16475 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16476 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16477 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16478 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16479 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16480 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16481 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16482 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16483 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16484 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16485 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16486 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16487 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16488 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16489 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16490 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16491 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16492 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16493 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16494 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16495 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16496 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16497 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16498 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16499 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16500 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16501 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16502 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16503 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16504 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16505 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16506 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16507 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16508 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16509 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16510 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16511 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16512 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16513 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16514 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16515 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16516 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16517 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16518 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16519 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16520 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16521 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16522 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16523 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16524 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16525 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16526 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16527 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16528 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16529 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16530 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16531 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16534 LTCFLAGS='$LTCFLAGS'
16535 compiler='$compiler_DEFAULT'
16537 # A function that is used when there is no print builtin or printf.
16538 func_fallback_echo ()
16540 eval 'cat <<_LTECHO_EOF
16545 # Quote evaled strings.
16559 deplibs_check_method \
16568 lt_cv_sys_global_symbol_pipe \
16569 lt_cv_sys_global_symbol_to_cdecl \
16570 lt_cv_sys_global_symbol_to_c_name_address \
16571 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16572 lt_prog_compiler_no_builtin_flag \
16573 lt_prog_compiler_wl \
16574 lt_prog_compiler_pic \
16575 lt_prog_compiler_static \
16576 lt_cv_prog_compiler_c_o \
16584 export_dynamic_flag_spec \
16585 whole_archive_flag_spec \
16586 compiler_needs_object \
16588 allow_undefined_flag \
16589 no_undefined_flag \
16590 hardcode_libdir_flag_spec \
16591 hardcode_libdir_flag_spec_ld \
16592 hardcode_libdir_separator \
16597 variables_saved_for_relink \
16599 library_names_spec \
16601 install_override_mode \
16605 compiler_lib_search_dirs \
16610 compiler_lib_search_path \
16614 lt_prog_compiler_no_builtin_flag_CXX \
16615 lt_prog_compiler_wl_CXX \
16616 lt_prog_compiler_pic_CXX \
16617 lt_prog_compiler_static_CXX \
16618 lt_cv_prog_compiler_c_o_CXX \
16619 export_dynamic_flag_spec_CXX \
16620 whole_archive_flag_spec_CXX \
16621 compiler_needs_object_CXX \
16623 allow_undefined_flag_CXX \
16624 no_undefined_flag_CXX \
16625 hardcode_libdir_flag_spec_CXX \
16626 hardcode_libdir_flag_spec_ld_CXX \
16627 hardcode_libdir_separator_CXX \
16628 fix_srcfile_path_CXX \
16629 exclude_expsyms_CXX \
16630 include_expsyms_CXX \
16631 file_list_spec_CXX \
16632 compiler_lib_search_dirs_CXX \
16633 predep_objects_CXX \
16634 postdep_objects_CXX \
16637 compiler_lib_search_path_CXX; do
16638 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16639 *[\\\\\\\`\\"\\\$]*)
16640 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16643 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16648 # Double-quote double-evaled strings.
16649 for var in reload_cmds \
16650 old_postinstall_cmds \
16651 old_postuninstall_cmds \
16653 extract_expsyms_cmds \
16654 old_archive_from_new_cmds \
16655 old_archive_from_expsyms_cmds \
16657 archive_expsym_cmds \
16659 module_expsym_cmds \
16660 export_symbols_cmds \
16663 postuninstall_cmds \
16665 sys_lib_search_path_spec \
16666 sys_lib_dlsearch_path_spec \
16668 old_archive_cmds_CXX \
16669 old_archive_from_new_cmds_CXX \
16670 old_archive_from_expsyms_cmds_CXX \
16672 archive_expsym_cmds_CXX \
16674 module_expsym_cmds_CXX \
16675 export_symbols_cmds_CXX \
16676 prelink_cmds_CXX; do
16677 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16678 *[\\\\\\\`\\"\\\$]*)
16679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16687 ac_aux_dir='$ac_aux_dir'
16688 xsi_shell='$xsi_shell'
16689 lt_shell_append='$lt_shell_append'
16691 # See if we are running on zsh, and set the options which allow our
16692 # commands through without removal of \ escapes INIT.
16693 if test -n "\${ZSH_VERSION+set}" ; then
16694 setopt NO_GLOB_SUBST
16700 TIMESTAMP='$TIMESTAMP'
16711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16713 # Handling of arguments.
16714 for ac_config_target
in $ac_config_targets
16716 case $ac_config_target in
16717 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16718 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16719 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16720 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16721 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16723 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16728 # If the user did not use the arguments to specify the items to instantiate,
16729 # then the envvar interface is used. Set only those that are not.
16730 # We use the long form for the default assignment because of an extremely
16731 # bizarre bug on SunOS 4.1.3.
16732 if $ac_need_defaults; then
16733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16734 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16737 # Have a temporary directory for convenience. Make it in the build tree
16738 # simply because there is no reason against having it here, and in addition,
16739 # creating and moving files from /tmp can sometimes cause problems.
16740 # Hook for its removal unless debugging.
16741 # Note that there is a small window in which the directory will not be cleaned:
16742 # after its creation but before its name has been assigned to `$tmp'.
16746 trap 'exit_status=$?
16747 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16749 trap 'as_fn_exit 1' 1 2 13 15
16751 # Create a (secure) tmp directory for tmp files.
16754 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16755 test -n "$tmp" && test -d "$tmp"
16758 tmp
=.
/conf$$
-$RANDOM
16759 (umask 077 && mkdir
"$tmp")
16760 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16762 # Set up the scripts for CONFIG_FILES section.
16763 # No need to generate them if there are no CONFIG_FILES.
16764 # This happens for instance with `./config.status config.h'.
16765 if test -n "$CONFIG_FILES"; then
16768 ac_cr
=`echo X | tr X '\015'`
16769 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16770 # But we know of no other shell where ac_cr would be empty at this
16771 # point, so we can use a bashism as a fallback.
16772 if test "x$ac_cr" = x
; then
16773 eval ac_cr
=\$
\'\\r
\'
16775 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16776 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16779 ac_cs_awk_cr
=$ac_cr
16782 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16787 echo "cat >conf$$subs.awk <<_ACEOF" &&
16788 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16790 } >conf$$subs.sh ||
16791 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16792 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16794 for ac_last_try in false false false false false :; do
16795 . ./conf$$subs.sh ||
16796 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16798 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16799 if test $ac_delim_n = $ac_delim_num; then
16801 elif $ac_last_try; then
16802 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16804 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16807 rm -f conf$$subs.sh
16809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16810 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16814 s/^/S["/; s
/!.
*/"]=/
16824 s/\(.\{148\}\).*/\1/
16826 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16831 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16838 s/\(.\{148\}\).*/\1/
16840 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16844 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16849 ' <conf$$subs.awk | sed '
16854 ' >>$CONFIG_STATUS || ac_write_fail=1
16855 rm -f conf$$subs.awk
16856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16858 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16859 for (key in S) S_is_set[key] = 1
16865 nfields = split(line, field, "@
")
16867 len = length(field[1])
16868 for (i = 2; i < nfields; i++) {
16870 keylen = length(key)
16871 if (S_is_set[key]) {
16873 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16874 len += length(value) + length(field[++i])
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16887 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16890 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16891 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16894 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16895 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16896 # trailing colons and then remove the whole line if VPATH becomes empty
16897 # (actually we leave an empty line to preserve line numbers).
16898 if test "x
$srcdir" = x.; then
16899 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16900 s/:*\$(srcdir):*/:/
16901 s/:*\${srcdir}:*/:/
16903 s/^\([^=]*=[ ]*\):*/\1/
16909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16910 fi # test -n "$CONFIG_FILES"
16913 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16918 :[FHLC]) ac_mode=$ac_tag; continue;;
16920 case $ac_mode$ac_tag in
16922 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16923 :[FH]-) ac_tag=-:-;;
16924 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16941 -) ac_f="$tmp/stdin";;
16942 *) # Look for the file first in the build tree, then in the source tree
16943 # (if the path is not absolute). The absolute path cannot be DOS-style,
16944 # because $ac_f cannot contain `:'.
16948 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16950 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16952 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16953 as_fn_append ac_file_inputs " '$ac_f'"
16956 # Let's still pretend it is `configure' which instantiates (i.e., don't
16957 # use $as_me), people would be surprised to read:
16958 # /* config.h. Generated by config.status. */
16959 configure_input='Generated from '`
16960 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16962 if test x"$ac_file" != x-; then
16963 configure_input="$ac_file.
$configure_input"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16965 $as_echo "$as_me: creating
$ac_file" >&6;}
16967 # Neutralize special characters interpreted by sed in replacement strings.
16968 case $configure_input in #(
16969 *\&* | *\|* | *\\* )
16970 ac_sed_conf_input=`$as_echo "$configure_input" |
16971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16972 *) ac_sed_conf_input=$configure_input;;
16976 *:-:* | *:-) cat >"$tmp/stdin
" \
16977 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16982 ac_dir=`$as_dirname -- "$ac_file" ||
16983 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16984 X"$ac_file" : 'X\(//\)[^/]' \| \
16985 X"$ac_file" : 'X\(//\)$' \| \
16986 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16987 $as_echo X"$ac_file" |
16988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16992 /^X\(\/\/\)[^/].*/{
17005 as_dir="$ac_dir"; as_fn_mkdir_p
17009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17011 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17012 # A "..
" for each directory in $ac_dir_suffix.
17013 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17014 case $ac_top_builddir_sub in
17015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17019 ac_abs_top_builddir=$ac_pwd
17020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17021 # for backward compatibility:
17022 ac_top_builddir=$ac_top_build_prefix
17025 .) # We are building in place.
17027 ac_top_srcdir=$ac_top_builddir_sub
17028 ac_abs_top_srcdir=$ac_pwd ;;
17029 [\\/]* | ?:[\\/]* ) # Absolute name.
17030 ac_srcdir=$srcdir$ac_dir_suffix;
17031 ac_top_srcdir=$srcdir
17032 ac_abs_top_srcdir=$srcdir ;;
17033 *) # Relative name.
17034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17035 ac_top_srcdir=$ac_top_build_prefix$srcdir
17036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17049 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17051 ac_MKDIR_P=$MKDIR_P
17053 [\\/$]* | ?:[\\/]* ) ;;
17054 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17059 # If the template does not know about datarootdir, expand it.
17060 # FIXME: This hack should be removed a few years after 2.60.
17061 ac_datarootdir_hack=; ac_datarootdir_seen=
17072 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17073 *datarootdir*) ac_datarootdir_seen=yes;;
17074 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17076 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17079 ac_datarootdir_hack='
17080 s&@datadir@&$datadir&g
17081 s&@docdir@&$docdir&g
17082 s&@infodir@&$infodir&g
17083 s&@localedir@&$localedir&g
17084 s&@mandir@&$mandir&g
17085 s&\\\${datarootdir}&$datarootdir&g' ;;
17089 # Neutralize VPATH when `$srcdir' = `.'.
17090 # Shell code in configure.ac might set extrasub.
17091 # FIXME: do we really want to maintain this feature?
17092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17093 ac_sed_extra="$ac_vpsub
17096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17098 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17099 s|@configure_input@|
$ac_sed_conf_input|
;t t
17100 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17101 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17102 s
&@srcdir@
&$ac_srcdir&;t t
17103 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17104 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17105 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17106 s
&@builddir@
&$ac_builddir&;t t
17107 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17108 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17109 s
&@INSTALL@
&$ac_INSTALL&;t t
17110 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17111 $ac_datarootdir_hack
17113 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17114 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17116 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17117 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17118 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17120 which seems to be undefined. Please make sure it is defined." >&5
17121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17122 which seems to be undefined. Please make sure it is defined." >&2;}
17126 -) cat "$tmp/out" && rm -f "$tmp/out";;
17127 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17129 || as_fn_error "could not create $ac_file" "$LINENO" 5
17133 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17134 $as_echo "$as_me: executing $ac_file commands" >&6;}
17139 case $ac_file$ac_mode in
17141 # Only add multilib support code if we just rebuilt the top-level
17143 case " $CONFIG_FILES " in
17145 ac_file=Makefile . ${multi_basedir}/config-ml.in
17148 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17149 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17150 # are listed without --file. Let's play safe and only
enable the
eval
17151 # if we detect the quoting.
17152 case $CONFIG_FILES in
17153 *\'*) eval set x
"$CONFIG_FILES" ;;
17154 *) set x
$CONFIG_FILES ;;
17159 # Strip MF so we end up with the name of the file.
17160 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17161 # Check whether this is an Automake generated Makefile or not.
17162 # We used to match only the files named `Makefile.in', but
17163 # some people rename them; so instead we look at the file content.
17164 # Grep'ing the first line is not enough: some people post-process
17165 # each Makefile.in and add a new line on top of each file to say so.
17166 # Grep'ing the whole file is not good either: AIX grep has a line
17167 # limit of 2048, but all sed's we know have understand at least 4000.
17168 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17169 dirpart
=`$as_dirname -- "$mf" ||
17170 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17171 X"$mf" : 'X\(//\)[^/]' \| \
17172 X"$mf" : 'X\(//\)$' \| \
17173 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17179 /^X\(\/\/\)[^/].*/{
17195 # Extract the definition of DEPDIR, am__include, and am__quote
17196 # from the Makefile without running `make'.
17197 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17198 test -z "$DEPDIR" && continue
17199 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17200 test -z "am__include" && continue
17201 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17202 # When using ansi2knr, U may be empty or an underscore; expand it
17203 U
=`sed -n 's/^U = //p' < "$mf"`
17204 # Find all dependency output files, they are included files with
17205 # $(DEPDIR) in their names. We invoke sed twice because it is the
17206 # simplest approach to changing $(DEPDIR) to its actual value in the
17208 for file in `sed -n "
17209 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17210 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17211 # Make sure the directory exists.
17212 test -f "$dirpart/$file" && continue
17213 fdir
=`$as_dirname -- "$file" ||
17214 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17215 X"$file" : 'X\(//\)[^/]' \| \
17216 X"$file" : 'X\(//\)$' \| \
17217 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17218 $as_echo X"$file" |
17219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17223 /^X\(\/\/\)[^/].*/{
17236 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17237 # echo "creating $dirpart/$file"
17238 echo '# dummy' > "$dirpart/$file"
17245 # See if we are running on zsh, and set the options which allow our
17246 # commands through without removal of \ escapes.
17247 if test -n "${ZSH_VERSION+set}" ; then
17248 setopt NO_GLOB_SUBST
17251 cfgfile
="${ofile}T"
17252 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17255 cat <<_LT_EOF >> "$cfgfile"
17258 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17259 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17260 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17261 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17263 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17264 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17265 # Written by Gordon Matzigkeit, 1996
17267 # This file is part of GNU Libtool.
17269 # GNU Libtool is free software; you can redistribute it and/or
17270 # modify it under the terms of the GNU General Public License as
17271 # published by the Free Software Foundation; either version 2 of
17272 # the License, or (at your option) any later version.
17274 # As a special exception to the GNU General Public License,
17275 # if you distribute this file as part of a program or library that
17276 # is built using GNU Libtool, you may include this file under the
17277 # same distribution terms that you use for the rest of that program.
17279 # GNU Libtool is distributed in the hope that it will be useful,
17280 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17281 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17282 # GNU General Public License for more details.
17284 # You should have received a copy of the GNU General Public License
17285 # along with GNU Libtool; see the file COPYING. If not, a copy
17286 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17287 # obtained by writing to the Free Software Foundation, Inc.,
17288 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17291 # The names of the tagged configurations supported by this script.
17292 available_tags="CXX "
17294 # ### BEGIN LIBTOOL CONFIG
17296 # Which release of libtool.m4 was used?
17297 macro_version=$macro_version
17298 macro_revision=$macro_revision
17300 # Whether or not to build shared libraries.
17301 build_libtool_libs=$enable_shared
17303 # Whether or not to build static libraries.
17304 build_old_libs=$enable_static
17306 # What type of objects to build.
17309 # Whether or not to optimize for fast installation.
17310 fast_install=$enable_fast_install
17312 # Shell to use when invoking shell scripts.
17315 # An echo program that protects backslashes.
17319 host_alias=$host_alias
17323 # The build system.
17324 build_alias=$build_alias
17328 # A sed program that does not truncate output.
17331 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17332 Xsed="\$SED -e 1s/^X//"
17334 # A grep program that handles long lines.
17340 # A literal string matcher.
17343 # A BSD- or MS-compatible name lister.
17346 # Whether we need soft or hard links.
17349 # What is the maximum length of a command?
17350 max_cmd_len=$max_cmd_len
17352 # Object file suffix (normally "o").
17355 # Executable file suffix (normally "").
17358 # whether the shell understands "unset".
17361 # turn spaces into newlines.
17364 # turn newlines into spaces.
17367 # An object symbol dumper.
17368 OBJDUMP=$lt_OBJDUMP
17370 # Method to check whether dependent libraries are shared objects.
17371 deplibs_check_method=$lt_deplibs_check_method
17373 # Command to use when deplibs_check_method == "file_magic".
17374 file_magic_cmd=$lt_file_magic_cmd
17378 AR_FLAGS=$lt_AR_FLAGS
17380 # A symbol stripping program.
17383 # Commands used to install an old-style archive.
17385 old_postinstall_cmds=$lt_old_postinstall_cmds
17386 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17388 # Whether to use a lock for old archive extraction.
17389 lock_old_archive_extraction=$lock_old_archive_extraction
17394 # LTCC compiler flags.
17395 LTCFLAGS=$lt_CFLAGS
17397 # Take the output of nm and produce a listing of raw symbols and C names.
17398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17400 # Transform the output of nm in a proper C declaration.
17401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17403 # Transform the output of nm in a C name address pair.
17404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17406 # Transform the output of nm in a C name address pair when lib prefix is needed.
17407 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17409 # The name of the directory that contains temporary libtool files.
17412 # Used to examine libraries when file_magic_cmd begins with "file".
17413 MAGIC_CMD=$MAGIC_CMD
17415 # Must we lock files when doing compilation?
17416 need_locks=$lt_need_locks
17418 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17419 DSYMUTIL=$lt_DSYMUTIL
17421 # Tool to change global to local symbols on Mac OS X.
17424 # Tool to manipulate fat objects and archives on Mac OS X.
17427 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17430 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17431 OTOOL64=$lt_OTOOL64
17433 # Old archive suffix (normally "a").
17436 # Shared library suffix (normally ".so").
17437 shrext_cmds=$lt_shrext_cmds
17439 # The commands to extract the exported symbol list from a shared archive.
17440 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17442 # Variables whose values should be saved in libtool wrapper scripts and
17443 # restored at link time.
17444 variables_saved_for_relink=$lt_variables_saved_for_relink
17446 # Do we need the "lib" prefix for modules?
17447 need_lib_prefix=$need_lib_prefix
17449 # Do we need a version for libraries?
17450 need_version=$need_version
17452 # Library versioning type.
17453 version_type=$version_type
17455 # Shared library runtime path variable.
17456 runpath_var=$runpath_var
17458 # Shared library path variable.
17459 shlibpath_var=$shlibpath_var
17461 # Is shlibpath searched before the hard-coded library search path?
17462 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17464 # Format of library name prefix.
17465 libname_spec=$lt_libname_spec
17467 # List of archive names. First name is the real one, the rest are links.
17468 # The last name is the one that the linker finds with -lNAME
17469 library_names_spec=$lt_library_names_spec
17471 # The coded name of the library, if different from the real name.
17472 soname_spec=$lt_soname_spec
17474 # Permission mode override for installation of shared libraries.
17475 install_override_mode=$lt_install_override_mode
17477 # Command to use after installation of a shared archive.
17478 postinstall_cmds=$lt_postinstall_cmds
17480 # Command to use after uninstallation of a shared archive.
17481 postuninstall_cmds=$lt_postuninstall_cmds
17483 # Commands used to finish a libtool library installation in a directory.
17484 finish_cmds=$lt_finish_cmds
17486 # As "finish_cmds", except a single script fragment to be evaled but
17488 finish_eval=$lt_finish_eval
17490 # Whether we should hardcode library paths into libraries.
17491 hardcode_into_libs=$hardcode_into_libs
17493 # Compile-time system search path for libraries.
17494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17496 # Run-time system search path for libraries.
17497 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17499 # Whether dlopen is supported.
17500 dlopen_support=$enable_dlopen
17502 # Whether dlopen of programs is supported.
17503 dlopen_self=$enable_dlopen_self
17505 # Whether dlopen of statically linked programs is supported.
17506 dlopen_self_static=$enable_dlopen_self_static
17508 # Commands to strip libraries.
17509 old_striplib=$lt_old_striplib
17510 striplib=$lt_striplib
17513 # The linker used to build libraries.
17516 # How to create reloadable object files.
17517 reload_flag=$lt_reload_flag
17518 reload_cmds=$lt_reload_cmds
17520 # Commands used to build an old-style archive.
17521 old_archive_cmds=$lt_old_archive_cmds
17523 # A language specific compiler.
17526 # Is the compiler the GNU compiler?
17529 # Compiler flag to turn off builtin functions.
17530 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17532 # How to pass a linker flag through the compiler.
17533 wl=$lt_lt_prog_compiler_wl
17535 # Additional compiler flags for building library objects.
17536 pic_flag=$lt_lt_prog_compiler_pic
17538 # Compiler flag to prevent dynamic linking.
17539 link_static_flag=$lt_lt_prog_compiler_static
17541 # Does compiler simultaneously support -c and -o options?
17542 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17544 # Whether or not to add -lc for building shared libraries.
17545 build_libtool_need_lc=$archive_cmds_need_lc
17547 # Whether or not to disallow shared libs when runtime libs are static.
17548 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17550 # Compiler flag to allow reflexive dlopens.
17551 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17553 # Compiler flag to generate shared objects directly from archives.
17554 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17556 # Whether the compiler copes with passing no objects directly.
17557 compiler_needs_object=$lt_compiler_needs_object
17559 # Create an old-style archive from a shared archive.
17560 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17562 # Create a temporary old-style archive to link instead of a shared archive.
17563 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17565 # Commands used to build a shared archive.
17566 archive_cmds=$lt_archive_cmds
17567 archive_expsym_cmds=$lt_archive_expsym_cmds
17569 # Commands used to build a loadable module if different from building
17570 # a shared archive.
17571 module_cmds=$lt_module_cmds
17572 module_expsym_cmds=$lt_module_expsym_cmds
17574 # Whether we are building with GNU ld or not.
17575 with_gnu_ld=$lt_with_gnu_ld
17577 # Flag that allows shared libraries with undefined symbols to be built.
17578 allow_undefined_flag=$lt_allow_undefined_flag
17580 # Flag that enforces no undefined symbols.
17581 no_undefined_flag=$lt_no_undefined_flag
17583 # Flag to hardcode \$libdir into a binary during linking.
17584 # This must work even if \$libdir does not exist
17585 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17587 # If ld is used when linking, flag to hardcode \$libdir into a binary
17588 # during linking. This must work even if \$libdir does not exist.
17589 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17591 # Whether we need a single "-rpath" flag with a separated argument.
17592 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17594 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17595 # DIR into the resulting binary.
17596 hardcode_direct=$hardcode_direct
17598 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17599 # DIR into the resulting binary and the resulting library dependency is
17600 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17601 # library is relocated.
17602 hardcode_direct_absolute=$hardcode_direct_absolute
17604 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17605 # into the resulting binary.
17606 hardcode_minus_L=$hardcode_minus_L
17608 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17609 # into the resulting binary.
17610 hardcode_shlibpath_var=$hardcode_shlibpath_var
17612 # Set to "yes" if building a shared library automatically hardcodes DIR
17613 # into the library and all subsequent libraries and executables linked
17615 hardcode_automatic=$hardcode_automatic
17617 # Set to yes if linker adds runtime paths of dependent libraries
17618 # to runtime path list.
17619 inherit_rpath=$inherit_rpath
17621 # Whether libtool must link a program against all its dependency libraries.
17622 link_all_deplibs=$link_all_deplibs
17624 # Fix the shell variable \$srcfile for the compiler.
17625 fix_srcfile_path=$lt_fix_srcfile_path
17627 # Set to "yes" if exported symbols are required.
17628 always_export_symbols=$always_export_symbols
17630 # The commands to list exported symbols.
17631 export_symbols_cmds=$lt_export_symbols_cmds
17633 # Symbols that should not be listed in the preloaded symbols.
17634 exclude_expsyms=$lt_exclude_expsyms
17636 # Symbols that must always be exported.
17637 include_expsyms=$lt_include_expsyms
17639 # Commands necessary for linking programs (against libraries) with templates.
17640 prelink_cmds=$lt_prelink_cmds
17642 # Specify filename containing input files.
17643 file_list_spec=$lt_file_list_spec
17645 # How to hardcode a shared library path into an executable.
17646 hardcode_action=$hardcode_action
17648 # The directories searched by this compiler when creating a shared library.
17649 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17651 # Dependencies to place before and after the objects being linked to
17652 # create a shared library.
17653 predep_objects=$lt_predep_objects
17654 postdep_objects=$lt_postdep_objects
17655 predeps=$lt_predeps
17656 postdeps=$lt_postdeps
17658 # The library search path used internally by the compiler when linking
17659 # a shared library.
17660 compiler_lib_search_path=$lt_compiler_lib_search_path
17662 # ### END LIBTOOL CONFIG
17668 cat <<\_LT_EOF
>> "$cfgfile"
17669 # AIX sometimes has problems with the GCC collect2 program. For some
17670 # reason, if we set the COLLECT_NAMES environment variable, the problems
17671 # vanish in a puff of smoke.
17672 if test "X${COLLECT_NAMES+set}" != Xset
; then
17674 export COLLECT_NAMES
17681 ltmain
="$ac_aux_dir/ltmain.sh"
17684 # We use sed instead of cat because bash on DJGPP gets confused if
17685 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17686 # text mode, it properly converts lines to CR/LF. This bash problem
17687 # is reportedly fixed, but why not run on old versions too?
17688 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17689 ||
(rm -f "$cfgfile"; exit 1)
17693 cat << \_LT_EOF
>> "$cfgfile"
17695 # func_dirname file append nondir_replacement
17696 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17697 # otherwise set result to NONDIR_REPLACEMENT.
17701 */*) func_dirname_result
="${1%/*}${2}" ;;
17702 * ) func_dirname_result
="${3}" ;;
17706 # func_basename file
17709 func_basename_result
="${1##*/}"
17712 # func_dirname_and_basename file append nondir_replacement
17713 # perform func_basename and func_dirname in a single function
17715 # dirname: Compute the dirname of FILE. If nonempty,
17716 # add APPEND to the result, otherwise set result
17717 # to NONDIR_REPLACEMENT.
17718 # value returned in "$func_dirname_result"
17719 # basename: Compute filename of FILE.
17720 # value retuned in "$func_basename_result"
17721 # Implementation must be kept synchronized with func_dirname
17722 # and func_basename. For efficiency, we do not delegate to
17723 # those functions but instead duplicate the functionality here.
17724 func_dirname_and_basename
()
17727 */*) func_dirname_result
="${1%/*}${2}" ;;
17728 * ) func_dirname_result
="${3}" ;;
17730 func_basename_result
="${1##*/}"
17733 # func_stripname prefix suffix name
17734 # strip PREFIX and SUFFIX off of NAME.
17735 # PREFIX and SUFFIX must not contain globbing or regex special
17736 # characters, hashes, percent signs, but SUFFIX may contain a leading
17737 # dot (in which case that matches only a dot).
17740 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17741 # positional parameters, so assign one to ordinary parameter first.
17742 func_stripname_result
=${3}
17743 func_stripname_result
=${func_stripname_result#"${1}"}
17744 func_stripname_result
=${func_stripname_result%"${2}"}
17750 func_opt_split_opt
=${1%%=*}
17751 func_opt_split_arg
=${1#*=}
17758 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17759 *) func_lo2o_result
=${1} ;;
17763 # func_xform libobj-or-source
17766 func_xform_result
=${1%.*}.lo
17769 # func_arith arithmetic-term...
17772 func_arith_result
=$
(( $
* ))
17776 # STRING may not start with a hyphen.
17779 func_len_result
=${#1}
17784 *) # Bourne compatible functions.
17785 cat << \_LT_EOF
>> "$cfgfile"
17787 # func_dirname file append nondir_replacement
17788 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17789 # otherwise set result to NONDIR_REPLACEMENT.
17792 # Extract subdirectory from the argument.
17793 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17794 if test "X$func_dirname_result" = "X${1}"; then
17795 func_dirname_result
="${3}"
17797 func_dirname_result
="$func_dirname_result${2}"
17801 # func_basename file
17804 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17808 # func_stripname prefix suffix name
17809 # strip PREFIX and SUFFIX off of NAME.
17810 # PREFIX and SUFFIX must not contain globbing or regex special
17811 # characters, hashes, percent signs, but SUFFIX may contain a leading
17812 # dot (in which case that matches only a dot).
17813 # func_strip_suffix prefix name
17817 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17818 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17823 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17824 my_sed_long_arg
='1s/^-[^=]*=//'
17829 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17830 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17836 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17839 # func_xform libobj-or-source
17842 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17845 # func_arith arithmetic-term...
17848 func_arith_result
=`expr "$@"`
17852 # STRING may not start with a hyphen.
17855 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17861 case $lt_shell_append in
17863 cat << \_LT_EOF
>> "$cfgfile"
17865 # func_append var value
17866 # Append VALUE to the end of shell variable VAR.
17874 cat << \_LT_EOF
>> "$cfgfile"
17876 # func_append var value
17877 # Append VALUE to the end of shell variable VAR.
17888 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17889 ||
(rm -f "$cfgfile"; exit 1)
17891 mv -f "$cfgfile" "$ofile" ||
17892 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17896 cat <<_LT_EOF >> "$ofile"
17898 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17900 # The linker used to build libraries.
17903 # How to create reloadable object files.
17904 reload_flag=$lt_reload_flag_CXX
17905 reload_cmds=$lt_reload_cmds_CXX
17907 # Commands used to build an old-style archive.
17908 old_archive_cmds=$lt_old_archive_cmds_CXX
17910 # A language specific compiler.
17911 CC=$lt_compiler_CXX
17913 # Is the compiler the GNU compiler?
17916 # Compiler flag to turn off builtin functions.
17917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17919 # How to pass a linker flag through the compiler.
17920 wl=$lt_lt_prog_compiler_wl_CXX
17922 # Additional compiler flags for building library objects.
17923 pic_flag=$lt_lt_prog_compiler_pic_CXX
17925 # Compiler flag to prevent dynamic linking.
17926 link_static_flag=$lt_lt_prog_compiler_static_CXX
17928 # Does compiler simultaneously support -c and -o options?
17929 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17931 # Whether or not to add -lc for building shared libraries.
17932 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17934 # Whether or not to disallow shared libs when runtime libs are static.
17935 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17937 # Compiler flag to allow reflexive dlopens.
17938 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17940 # Compiler flag to generate shared objects directly from archives.
17941 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17943 # Whether the compiler copes with passing no objects directly.
17944 compiler_needs_object=$lt_compiler_needs_object_CXX
17946 # Create an old-style archive from a shared archive.
17947 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17949 # Create a temporary old-style archive to link instead of a shared archive.
17950 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17952 # Commands used to build a shared archive.
17953 archive_cmds=$lt_archive_cmds_CXX
17954 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17956 # Commands used to build a loadable module if different from building
17957 # a shared archive.
17958 module_cmds=$lt_module_cmds_CXX
17959 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17961 # Whether we are building with GNU ld or not.
17962 with_gnu_ld=$lt_with_gnu_ld_CXX
17964 # Flag that allows shared libraries with undefined symbols to be built.
17965 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17967 # Flag that enforces no undefined symbols.
17968 no_undefined_flag=$lt_no_undefined_flag_CXX
17970 # Flag to hardcode \$libdir into a binary during linking.
17971 # This must work even if \$libdir does not exist
17972 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17974 # If ld is used when linking, flag to hardcode \$libdir into a binary
17975 # during linking. This must work even if \$libdir does not exist.
17976 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17978 # Whether we need a single "-rpath" flag with a separated argument.
17979 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17982 # DIR into the resulting binary.
17983 hardcode_direct=$hardcode_direct_CXX
17985 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17986 # DIR into the resulting binary and the resulting library dependency is
17987 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17988 # library is relocated.
17989 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17991 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17992 # into the resulting binary.
17993 hardcode_minus_L=$hardcode_minus_L_CXX
17995 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17996 # into the resulting binary.
17997 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17999 # Set to "yes" if building a shared library automatically hardcodes DIR
18000 # into the library and all subsequent libraries and executables linked
18002 hardcode_automatic=$hardcode_automatic_CXX
18004 # Set to yes if linker adds runtime paths of dependent libraries
18005 # to runtime path list.
18006 inherit_rpath=$inherit_rpath_CXX
18008 # Whether libtool must link a program against all its dependency libraries.
18009 link_all_deplibs=$link_all_deplibs_CXX
18011 # Fix the shell variable \$srcfile for the compiler.
18012 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18014 # Set to "yes" if exported symbols are required.
18015 always_export_symbols=$always_export_symbols_CXX
18017 # The commands to list exported symbols.
18018 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18020 # Symbols that should not be listed in the preloaded symbols.
18021 exclude_expsyms=$lt_exclude_expsyms_CXX
18023 # Symbols that must always be exported.
18024 include_expsyms=$lt_include_expsyms_CXX
18026 # Commands necessary for linking programs (against libraries) with templates.
18027 prelink_cmds=$lt_prelink_cmds_CXX
18029 # Specify filename containing input files.
18030 file_list_spec=$lt_file_list_spec_CXX
18032 # How to hardcode a shared library path into an executable.
18033 hardcode_action=$hardcode_action_CXX
18035 # The directories searched by this compiler when creating a shared library.
18036 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18038 # Dependencies to place before and after the objects being linked to
18039 # create a shared library.
18040 predep_objects=$lt_predep_objects_CXX
18041 postdep_objects=$lt_postdep_objects_CXX
18042 predeps=$lt_predeps_CXX
18043 postdeps=$lt_postdeps_CXX
18045 # The library search path used internally by the compiler when linking
18046 # a shared library.
18047 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18049 # ### END LIBTOOL TAG CONFIG: CXX
18053 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18054 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18056 sed -f vpsed$$
$ac_file > tmp$$
18059 echo 'MULTISUBDIR =' >> $ac_file
18061 .
${multi_basedir}/config-ml.
in
18062 { ml_norecursion
=; unset ml_norecursion
;}
18071 ac_clean_files
=$ac_clean_files_save
18073 test $ac_write_fail = 0 ||
18074 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18077 # configure is writing to config.log, and then calls config.status.
18078 # config.status does its own redirection, appending to config.log.
18079 # Unfortunately, on DOS this fails, as config.log is still kept open
18080 # by configure, so config.status won't be able to write to it; its
18081 # output is simply discarded. So we exec the FD to /dev/null,
18082 # effectively closing config.log, so it can be properly (re)opened and
18083 # appended to by config.status. When coming back to configure, we
18084 # need to make the FD available again.
18085 if test "$no_create" != yes; then
18087 ac_config_status_args
=
18088 test "$silent" = yes &&
18089 ac_config_status_args
="$ac_config_status_args --quiet"
18091 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18093 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18094 # would make configure fail if this is the last instruction.
18095 $ac_cs_success || as_fn_exit $?
18097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18099 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}