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
[default
=no
]
1411 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1412 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1413 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1415 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1416 --with-gcc-major-version-only
1417 use only GCC major number
in filesystem paths
1419 Some influential environment variables
:
1420 CC C compiler
command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1423 nonstandard directory
<lib dir
>
1424 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1425 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1426 you have headers
in a nonstandard directory
<include dir
>
1428 CXX C
++ compiler
command
1429 CXXFLAGS C
++ compiler flags
1430 CXXCPP C
++ preprocessor
1432 Use these variables to override the choices made by
`configure' or to help
1433 it to find libraries and programs with nonstandard names/locations.
1435 Report bugs to the package provider.
1436 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
1437 General help using GNU software: <http://www.gnu.org/gethelp/>.
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445 test -d "$ac_dir" ||
1446 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1454 # A ".." for each directory in $ac_dir_suffix.
1455 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1456 case $ac_top_builddir_sub in
1457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461 ac_abs_top_builddir=$ac_pwd
1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir=$ac_top_build_prefix
1467 .) # We are building in place.
1469 ac_top_srcdir=$ac_top_builddir_sub
1470 ac_abs_top_srcdir=$ac_pwd ;;
1471 [\\/]* | ?:[\\/]* ) # Absolute name.
1472 ac_srcdir=$srcdir$ac_dir_suffix;
1473 ac_top_srcdir=$srcdir
1474 ac_abs_top_srcdir=$srcdir ;;
1476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477 ac_top_srcdir=$ac_top_build_prefix$srcdir
1478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482 cd "$ac_dir" || { ac_status=$?; continue; }
1483 # Check for guested configure.
1484 if test -f "$ac_srcdir/configure.gnu"; then
1486 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487 elif test -f "$ac_srcdir/configure"; then
1489 $SHELL "$ac_srcdir/configure" --help=recursive
1491 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 cd "$ac_pwd" || { ac_status=$?; break; }
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1500 GNU Vtable Verification Runtime Library configure 1.0
1501 generated by GNU Autoconf 2.64
1503 Copyright (C) 2009 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it.
1510 ## ------------------------ ##
1511 ## Autoconf initialization. ##
1512 ## ------------------------ ##
1514 # ac_fn_c_try_compile LINENO
1515 # --------------------------
1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1517 ac_fn_c_try_compile ()
1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520 rm -f conftest.$ac_objext
1521 if { { ac_try="$ac_compile"
1523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1524 *) ac_try_echo
=$ac_try;;
1526 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_compile") 2>conftest.err
1530 if test -s conftest.err
; then
1531 grep -v '^ *+' conftest.err
>conftest.er1
1532 cat conftest.er1
>&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } && {
1537 test -z "$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1539 } && test -s conftest.
$ac_objext; then :
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.
$ac_ext >&5
1547 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1550 } # ac_fn_c_try_compile
1552 # ac_fn_c_try_cpp LINENO
1553 # ----------------------
1554 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1557 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1558 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } >/dev/null && {
1574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1589 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1590 # -------------------------------------------------------
1591 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1592 # the include files in INCLUDES and setting the cache variable VAR
1594 ac_fn_c_check_header_mongrel ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1599 $as_echo_n "checking for $2... " >&6; }
1600 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1601 $as_echo_n "(cached) " >&6
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 $as_echo "$ac_res" >&6; }
1607 # Is the header compilable?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1609 $as_echo_n "checking $2 usability... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1615 if ac_fn_c_try_compile "$LINENO"; then :
1616 ac_header_compiler=yes
1618 ac_header_compiler=no
1620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1622 $as_echo "$ac_header_compiler" >&6; }
1624 # Is the header present?
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1626 $as_echo_n "checking $2 presence... " >&6; }
1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1631 if ac_fn_c_try_cpp "$LINENO"; then :
1632 ac_header_preproc=yes
1634 ac_header_preproc=no
1636 rm -f conftest.err conftest.$ac_ext
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1638 $as_echo "$ac_header_preproc" >&6; }
1640 # So? What about this header?
1641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1644 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1650 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1652 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1654 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1656 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1658 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1664 $as_echo_n "(cached) " >&6
1666 eval "$3=\$ac_header_compiler"
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 } # ac_fn_c_check_header_mongrel
1676 # ac_fn_c_try_run LINENO
1677 # ----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1679 # that executables *can* be run.
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1694 { { case "(($ac_try" in
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_try") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; }; }; then :
1706 $as_echo "$as_me: program exited with status $ac_status" >&5
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1710 ac_retval=$ac_status
1712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1719 # -------------------------------------------------------
1720 # Tests whether HEADER exists and can be compiled using the include files in
1721 # INCLUDES, setting the cache variable VAR accordingly.
1722 ac_fn_c_check_header_compile ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1728 $as_echo_n "(cached) " >&6
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1735 if ac_fn_c_try_compile "$LINENO"; then :
1740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1744 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 } # ac_fn_c_check_header_compile
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext conftest$ac_exeext
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1759 *) ac_try_echo
=$ac_try;;
1761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>conftest.err
1765 if test -s conftest.err
; then
1766 grep -v '^ *+' conftest.err
>conftest.er1
1767 cat conftest.er1
>&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest
$ac_exeext && {
1775 test "$cross_compiling" = yes ||
1776 $as_test_x conftest
$ac_exeext
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.
$ac_ext >&5
1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787 # interfere with the next link command; also delete a directory that is
1788 # left behind by Apple's compiler. We do this before executing the actions.
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1793 } # ac_fn_c_try_link
1795 # ac_fn_c_check_func LINENO FUNC VAR
1796 # ----------------------------------
1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1798 ac_fn_c_check_func
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1810 #define $2 innocuous_$2
1812 /* System header to define __stub macros and hopefully few prototypes,
1813 which can conflict with char $2 (); below.
1814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815 <limits.h> exists even on freestanding compilers. */
1818 # include <limits.h>
1820 # include <assert.h>
1825 /* Override any GCC internal prototype to avoid an error.
1826 Use char because int might match the return type of a GCC
1827 builtin and then its argument prototype would still apply. */
1832 /* The GNU C library defines this for functions which it implements
1833 to always fail with ENOSYS. Some functions are actually named
1834 something starting with __ and the normal name is an alias. */
1835 #if defined __stub_$2 || defined __stub___$2
1847 if ac_fn_c_try_link
"$LINENO"; then :
1852 rm -f core conftest.err conftest.
$ac_objext \
1853 conftest
$ac_exeext conftest.
$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1860 } # ac_fn_c_check_func
1862 # ac_fn_cxx_try_compile LINENO
1863 # ----------------------------
1864 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1865 ac_fn_cxx_try_compile
()
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 rm -f conftest.
$ac_objext
1869 if { { ac_try
="$ac_compile"
1871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_compile") 2>conftest.err
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } && {
1885 test -z "$ac_cxx_werror_flag" ||
1886 test ! -s conftest.err
1887 } && test -s conftest.$ac_objext; then :
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898 } # ac_fn_cxx_try_compile
1900 # ac_fn_cxx_try_cpp LINENO
1901 # ------------------------
1902 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1903 ac_fn_cxx_try_cpp ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 if { { ac_try="$ac_cpp conftest.$ac_ext"
1908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1909 *) ac_try_echo
=$ac_try;;
1911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1915 if test -s conftest.err
; then
1916 grep -v '^ *+' conftest.err
>conftest.er1
1917 cat conftest.er1
>&5
1918 mv -f conftest.er1 conftest.err
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } >/dev
/null
&& {
1922 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1923 test ! -s conftest.err
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.
$ac_ext >&5
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1935 } # ac_fn_cxx_try_cpp
1937 # ac_fn_cxx_try_link LINENO
1938 # -------------------------
1939 # Try to link conftest.$ac_ext, and return whether this succeeded.
1940 ac_fn_cxx_try_link
()
1942 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1943 rm -f conftest.
$ac_objext conftest
$ac_exeext
1944 if { { ac_try
="$ac_link"
1946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 $as_echo "$ac_try_echo"; } >&5
1951 (eval "$ac_link") 2>conftest.err
1953 if test -s conftest.err; then
1954 grep -v '^ *+' conftest.err >conftest.er1
1955 cat conftest.er1 >&5
1956 mv -f conftest.er1 conftest.err
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && {
1960 test -z "$ac_cxx_werror_flag" ||
1961 test ! -s conftest.err
1962 } && test -s conftest$ac_exeext && {
1963 test "$cross_compiling" = yes ||
1964 $as_test_x conftest$ac_exeext
1968 $as_echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.$ac_ext >&5
1973 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1974 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1975 # interfere with the next link command; also delete a directory that is
1976 # left behind by Apple's compiler. We do this before executing the actions.
1977 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1978 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981 } # ac_fn_cxx_try_link
1982 cat >config.log <<_ACEOF
1983 This file contains any messages produced by compilers while
1984 running configure, to aid debugging if configure makes a mistake.
1986 It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
1987 generated by GNU Autoconf 2.64. Invocation command line was
1999 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2000 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2001 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2002 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2003 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2008 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2011 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2012 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2014 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir=.
2023 $as_echo "PATH: $as_dir"
2039 # Keep a trace of the command line.
2040 # Strip out --no-create and --no-recursion so they do not pile up.
2041 # Strip out --silent because we don't want to record it for future runs.
2042 # Also quote any args containing shell meta-characters.
2043 # Make two passes to allow for proper duplicate-argument suppression.
2047 ac_must_keep_next=false
2053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2055 | -silent | --silent | --silen | --sile | --sil)
2058 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2061 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2063 as_fn_append ac_configure_args1 " '$ac_arg'"
2064 if test $ac_must_keep_next = true; then
2065 ac_must_keep_next=false # Got value, back to normal.
2068 *=* | --config-cache | -C | -disable-* | --disable-* \
2069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2071 | -with-* | --with-* | -without-* | --without-* | --x)
2072 case "$ac_configure_args0 " in
2073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2076 -* ) ac_must_keep_next=true ;;
2079 as_fn_append ac_configure_args " '$ac_arg'"
2084 { ac_configure_args0=; unset ac_configure_args0;}
2085 { ac_configure_args1=; unset ac_configure_args1;}
2087 # When interrupted or exit'd, cleanup temporary files, and complete
2088 # config.log. We remove comments because anyway the quotes in there
2089 # would cause problems or look ugly.
2090 # WARNING: Use '\'' to represent an apostrophe within the trap.
2091 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2092 trap 'exit_status=$?
2093 # Save into config.log some information that might help in debugging.
2098 ## ---------------- ##
2099 ## Cache variables. ##
2100 ## ---------------- ##
2103 # The following way of writing the cache mishandles newlines in values,
2105 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2106 eval ac_val=\$$ac_var
2110 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2111 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2114 _ | IFS | as_nl) ;; #(
2115 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2116 *) { eval $ac_var=; unset $ac_var;} ;;
2121 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2122 *${as_nl}ac_space=\ *)
2124 "s/'\''/'\''\\\\'\'''\''/g;
2125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 ## ----------------- ##
2137 ## Output variables. ##
2138 ## ----------------- ##
2141 for ac_var in $ac_subst_vars
2143 eval ac_val=\$$ac_var
2145 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147 $as_echo "$ac_var='\''$ac_val'\''"
2151 if test -n "$ac_subst_files"; then
2153 ## ------------------- ##
2154 ## File substitutions. ##
2155 ## ------------------- ##
2158 for ac_var in $ac_subst_files
2160 eval ac_val=\$$ac_var
2162 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164 $as_echo "$ac_var='\''$ac_val'\''"
2169 if test -s confdefs.h; then
2179 test "$ac_signal" != 0 &&
2180 $as_echo "$as_me: caught signal $ac_signal"
2181 $as_echo "$as_me: exit $exit_status"
2183 rm -f core *.core core.conftest.* &&
2184 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2187 for ac_signal in 1 2 13 15; do
2188 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2193 rm -f -r conftest* confdefs.h
2195 $as_echo "/* confdefs.h */" > confdefs.h
2197 # Predefined preprocessor variables.
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2203 cat >>confdefs.h <<_ACEOF
2204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_URL "$PACKAGE_URL"
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer an explicitly selected file to automatically selected ones.
2228 if test -n "$CONFIG_SITE"; then
2229 ac_site_file1=$CONFIG_SITE
2230 elif test "x$prefix" != xNONE; then
2231 ac_site_file1=$prefix/share/config.site
2232 ac_site_file2=$prefix/etc/config.site
2234 ac_site_file1=$ac_default_prefix/share/config.site
2235 ac_site_file2=$ac_default_prefix/etc/config.site
2237 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2239 test "x$ac_site_file" = xNONE && continue
2240 if test -r "$ac_site_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2243 sed 's/^/| /' "$ac_site_file" >&5
2248 if test -r "$cache_file"; then
2249 # Some versions of bash will fail to source /dev/null (special
2250 # files actually), so we avoid doing that.
2251 if test -f "$cache_file"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2253 $as_echo "$as_me: loading cache $cache_file" >&6;}
2255 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2256 *) . "./$cache_file";;
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2261 $as_echo "$as_me: creating cache $cache_file" >&6;}
2265 # Check that the precious variables saved in the cache have kept the same
2267 ac_cache_corrupted=false
2268 for ac_var in $ac_precious_vars; do
2269 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2270 eval ac_new_set=\$ac_env_${ac_var}_set
2271 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2272 eval ac_new_val=\$ac_env_${ac_var}_value
2273 case $ac_old_set,$ac_new_set in
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2276 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2277 ac_cache_corrupted=: ;;
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2280 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2281 ac_cache_corrupted=: ;;
2284 if test "x$ac_old_val" != "x$ac_new_val"; then
2285 # differences in whitespace do not lead to failure.
2286 ac_old_val_w=`echo x
$ac_old_val`
2287 ac_new_val_w=`echo x
$ac_new_val`
2288 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2290 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2291 ac_cache_corrupted=:
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2294 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2295 eval $ac_var=\$ac_old_val
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2298 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2300 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2303 # Pass precious variables to config.status.
2304 if test "$ac_new_set" = set; then
2306 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2307 *) ac_arg=$ac_var=$ac_new_val ;;
2309 case " $ac_configure_args " in
2310 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2311 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2315 if $ac_cache_corrupted; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2319 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2320 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2322 ## -------------------- ##
2323 ## Main body of script. ##
2324 ## -------------------- ##
2327 ac_cpp='$CPP $CPPFLAGS'
2328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2336 #AC_INIT(package-unused, version-unused, libvtv)
2339 # Default to --enable-multilib
2340 # Check whether --enable-multilib was given.
2341 if test "${enable_multilib+set}" = set; then :
2342 enableval=$enable_multilib; case "$enableval" in
2343 yes) multilib=yes ;;
2345 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2352 # We may get other options which we leave undocumented:
2353 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2354 # See config-ml.in if you want the gory details.
2356 if test "$srcdir" = "."; then
2357 if test "$with_target_subdir" != "."; then
2358 multi_basedir="$srcdir/$with_multisrctop../.."
2360 multi_basedir="$srcdir/$with_multisrctop.."
2363 multi_basedir="$srcdir/.."
2367 # Even if the default multilib is not a cross compilation,
2368 # it may be that some of the other multilibs are.
2369 if test $cross_compiling = no && test $multilib = yes \
2370 && test "x${with_multisubdir}" != x ; then
2371 cross_compiling=maybe
2374 ac_config_commands="$ac_config_commands default-1"
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2381 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2382 # Check whether --enable-version-specific-runtime-libs was given.
2383 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2384 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2385 yes) version_specific_libs=yes ;;
2386 no) version_specific_libs=no ;;
2387 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2390 version_specific_libs=no
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2394 $as_echo "$version_specific_libs" >&6; }
2396 # Do not delete or change the following two lines. For why, see
2397 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2399 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400 for ac_t in install-sh install.sh shtool; do
2401 if test -f "$ac_dir/$ac_t"; then
2403 ac_install_sh="$ac_aux_dir/$ac_t -c"
2408 if test -z "$ac_aux_dir"; then
2409 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2412 # These three variables are undocumented and unsupported,
2413 # and are intended to be withdrawn in a future Autoconf release.
2414 # They can cause serious problems if a builder's source tree is in a directory
2415 # whose full name contains unusual characters.
2416 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2421 # Make sure we can run config.sub.
2422 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2423 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2426 $as_echo_n "checking build system type... " >&6; }
2427 if test "${ac_cv_build+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2440 $as_echo "$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2443 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2446 ac_save_IFS=$IFS; IFS='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2460 $as_echo_n "checking host system type... " >&6; }
2461 if test "${ac_cv_host+set}" = set; then :
2462 $as_echo_n "(cached) " >&6
2464 if test "x$host_alias" = x; then
2465 ac_cv_host=$ac_cv_build
2467 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2468 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2473 $as_echo "$ac_cv_host" >&6; }
2476 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2479 ac_save_IFS=$IFS; IFS='-'
2485 # Remember, the first character of IFS is used to create $*,
2486 # except with old shells:
2489 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2493 $as_echo_n "checking target system type... " >&6; }
2494 if test "${ac_cv_target+set}" = set; then :
2495 $as_echo_n "(cached) " >&6
2497 if test "x$target_alias" = x; then
2498 ac_cv_target=$ac_cv_host
2500 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2501 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2506 $as_echo "$ac_cv_target" >&6; }
2507 case $ac_cv_target in
2509 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2511 target=$ac_cv_target
2512 ac_save_IFS=$IFS; IFS='-'
2518 # Remember, the first character of IFS is used to create $*,
2519 # except with old shells:
2522 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2525 # The aliases save the names the user supplied, while $host etc.
2526 # will get canonicalized.
2527 test -n "$target_alias" &&
2528 test "$program_prefix$program_suffix$program_transform_name" = \
2530 program_prefix=${target_alias}-
2532 target_alias=${target_alias-$host_alias}
2534 case ${build_alias} in
2535 "") build_noncanonical=${build} ;;
2536 *) build_noncanonical=${build_alias} ;;
2539 case ${host_alias} in
2540 "") host_noncanonical=${build_noncanonical} ;;
2541 *) host_noncanonical=${host_alias} ;;
2544 case ${target_alias} in
2545 "") target_noncanonical=${host_noncanonical} ;;
2546 *) target_noncanonical=${target_alias} ;;
2553 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2554 -I\$(top_builddir)/../libstdc++-v3/include \
2555 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2556 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2557 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2558 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568 if test -n "$ac_tool_prefix"; then
2569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if test "${ac_cv_prog_CC+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 if test -n "$CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2599 $as_echo "$CC" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2607 if test -z "$ac_cv_prog_CC"; then
2609 # Extract the first word of "gcc", so it can be a program name with args.
2610 set dummy gcc; ac_word=$2
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 ac_cv_prog_ac_ct_CC="gcc"
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2637 if test -n "$ac_ct_CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2639 $as_echo "$ac_ct_CC" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2645 if test "x$ac_ct_CC" = x; then
2648 case $cross_compiling:$ac_tool_warned in
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2652 ac_tool_warned=yes ;;
2660 if test -z "$CC"; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}cc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_CC+set}" = set; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_CC="${ac_tool_prefix}cc"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test -n "$CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2692 $as_echo "$CC" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2701 if test -z "$CC"; then
2702 # Extract the first word of "cc", so it can be a program name with args.
2703 set dummy cc; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_CC+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC="$CC" # Let the user override the test.
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2721 ac_prog_rejected=yes
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test $ac_prog_rejected = yes; then
2733 # We found a bogon in the path, so make sure we never use it.
2734 set dummy $ac_cv_prog_CC
2736 if test $# != 0; then
2737 # We chose a different compiler from the bogus one.
2738 # However, it has the same basename, so the bogon will be chosen
2739 # first if we set CC to just the basename; use the full file name.
2741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$CC"; then
2758 if test -n "$ac_tool_prefix"; then
2759 for ac_prog in cl.exe
2761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_CC+set}" = set; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2798 test -n "$CC" && break
2801 if test -z "$CC"; then
2803 for ac_prog in cl.exe
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy $ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$ac_ct_CC"; then
2813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_ac_ct_CC="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2833 if test -n "$ac_ct_CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2835 $as_echo "$ac_ct_CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$ac_ct_CC" && break
2845 if test "x$ac_ct_CC" = x; then
2848 case $cross_compiling:$ac_tool_warned in
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2852 ac_tool_warned=yes ;;
2861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2863 as_fn_error "no acceptable C compiler found
in \
$PATH
2864 See \
`config.log' for more details." "$LINENO" 5; }
2866 # Provide some information about the compiler.
2867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2870 for ac_option in --version -v -V -qversion; do
2871 { { ac_try="$ac_compiler $ac_option >&5"
2873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2874 *) ac_try_echo
=$ac_try;;
2876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2880 if test -s conftest.err
; then
2882 ... rest of stderr output deleted ...
2883 10q' conftest.err
>conftest.er1
2884 cat conftest.er1
>&5
2885 rm -f conftest.er1 conftest.err
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }
2891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2902 ac_clean_files_save
=$ac_clean_files
2903 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2908 $as_echo_n "checking for C compiler default output file name... " >&6; }
2909 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2911 # The possible output files:
2912 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2915 for ac_file
in $ac_files
2918 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2919 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2924 if { { ac_try
="$ac_link_default"
2926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_link_default") 2>&5
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; }; then :
2935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2936 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2938 # so that the user can short-circuit this test for compilers unknown to
2940 for ac_file in $ac_files ''
2942 test -f "$ac_file" || continue
2944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2947 # We found the default executable, but exeext='' is most
2951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2953 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 # We set ac_cv_exeext here because the later test for it is not
2956 # safe: cross compilers may not add the suffix if given an `-o'
2957 # argument, so we may need to know it at that point already.
2958 # Even if this section looks crufty: it has the advantage of
2965 test "$ac_cv_exeext" = no && ac_cv_exeext=
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2971 $as_echo "$ac_file" >&6; }
2972 if test -z "$ac_file"; then :
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's
/^
/|
/' conftest.$ac_ext >&5
2976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2977 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2978 { as_fn_set_status 77
2979 as_fn_error "C compiler cannot create executables
2980 See \`config.log
' for more details." "$LINENO" 5; }; }
2982 ac_exeext=$ac_cv_exeext
2984 # Check that the compiler produces executables we can run. If not, either
2985 # the compiler is broken, or we cross compile.
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2987 $as_echo_n "checking whether the C compiler works... " >&6; }
2988 # If not cross compiling, check that we can run a simple program.
2989 if test "$cross_compiling" != yes; then
2990 if { ac_try='.
/$ac_file'
2991 { { case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_try") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; }; }; then
3003 if test "$cross_compiling" = maybe; then
3006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3007 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3008 as_fn_error "cannot run C compiled programs.
3009 If you meant to cross compile, use \`--host'.
3010 See \`config.log' for more details.
" "$LINENO" 5; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3015 $as_echo "yes" >&6; }
3017 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3018 ac_clean_files=$ac_clean_files_save
3019 # Check that the compiler produces executables we can run. If not, either
3020 # the compiler is broken, or we cross compile.
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3022 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3024 $as_echo "$cross_compiling" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3027 $as_echo_n "checking
for suffix of executables...
" >&6; }
3028 if { { ac_try="$ac_link"
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3033 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3034 $as_echo "$ac_try_echo"; } >&5
3035 (eval "$ac_link") 2>&5
3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3038 test $ac_status = 0; }; then :
3039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3041 # work properly (i.e., refer to `conftest.exe'), while it won't with
3043 for ac_file in conftest.exe conftest conftest.*; do
3044 test -f "$ac_file" || continue
3046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error "cannot compute suffix of executables: cannot compile and link
3056 See \`config.log' for more details.
" "$LINENO" 5; }
3058 rm -f conftest$ac_cv_exeext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3060 $as_echo "$ac_cv_exeext" >&6; }
3062 rm -f conftest.$ac_ext
3063 EXEEXT=$ac_cv_exeext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3066 $as_echo_n "checking
for suffix of object files...
" >&6; }
3067 if test "${ac_cv_objext+set}" = set; then :
3068 $as_echo_n "(cached
) " >&6
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3081 rm -f conftest.o conftest.obj
3082 if { { ac_try="$ac_compile"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088 $as_echo "$ac_try_echo"; } >&5
3089 (eval "$ac_compile") 2>&5
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3092 test $ac_status = 0; }; then :
3093 for ac_file in conftest.o conftest.obj conftest.*; do
3094 test -f "$ac_file" || continue;
3096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3102 $as_echo "$as_me: failed program was
:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error "cannot compute suffix of object files: cannot compile
3108 See \`config.log' for more details.
" "$LINENO" 5; }
3110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3113 $as_echo "$ac_cv_objext" >&6; }
3114 OBJEXT=$ac_cv_objext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3117 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3119 $as_echo_n "(cached
) " >&6
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3135 if ac_fn_c_try_compile "$LINENO"; then :
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3146 if test $ac_compiler_gnu = yes; then
3151 ac_test_CFLAGS=${CFLAGS+set}
3152 ac_save_CFLAGS=$CFLAGS
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3154 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3155 if test "${ac_cv_prog_cc_g+set}" = set; then :
3156 $as_echo_n "(cached
) " >&6
3158 ac_save_c_werror_flag=$ac_c_werror_flag
3159 ac_c_werror_flag=yes
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3173 if ac_fn_c_try_compile "$LINENO"; then :
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 if ac_fn_c_try_compile "$LINENO"; then :
3191 ac_c_werror_flag=$ac_save_c_werror_flag
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 if ac_fn_c_try_compile "$LINENO"; then :
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 ac_c_werror_flag=$ac_save_c_werror_flag
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3215 $as_echo "$ac_cv_prog_cc_g" >&6; }
3216 if test "$ac_test_CFLAGS" = set; then
3217 CFLAGS=$ac_save_CFLAGS
3218 elif test $ac_cv_prog_cc_g = yes; then
3219 if test "$GCC" = yes; then
3225 if test "$GCC" = yes; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3232 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3234 $as_echo_n "(cached
) " >&6
3236 ac_cv_prog_cc_c89=no
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3242 #include <sys/types.h>
3243 #include <sys/stat.h>
3244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3245 struct buf { int x; };
3246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3247 static char *e (p, i)
3253 static char *f (char * (*g) (char **, int), char **p, ...)
3258 s = g (p, va_arg (v,int));
3263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3264 function prototypes and stuff, but not '\xHH' hex character constants.
3265 These don't provoke an error unfortunately, instead are silently treated
3266 as 'x'. The following induces an error, until -std is added to get
3267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3268 array size at least. It's necessary to write '\x00'==0 to get something
3269 that's true only with -std. */
3270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3273 inside strings and character constants. */
3275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3277 int test (int i, double x);
3278 struct s1 {int (*f) (int a);};
3279 struct s2 {int (*f) (double a);};
3280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 ac_cv_prog_cc_c89=$ac_arg
3298 rm -f core conftest.err conftest.$ac_objext
3299 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3301 rm -f conftest.$ac_ext
3306 case "x
$ac_cv_prog_cc_c89" in
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3309 $as_echo "none needed
" >&6; } ;;
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3312 $as_echo "unsupported
" >&6; } ;;
3314 CC="$CC $ac_cv_prog_cc_c89"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3318 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 ac_cpp='$CPP $CPPFLAGS'
3331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3335 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3336 # On Suns, sometimes $CPP names a directory.
3337 if test -n "$CPP" && test -d "$CPP"; then
3340 if test -z "$CPP"; then
3341 if test "${ac_cv_prog_CPP+set}" = set; then :
3342 $as_echo_n "(cached
) " >&6
3344 # Double quotes because CPP needs to be expanded
3345 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3348 for ac_c_preproc_warn_flag in '' yes
3350 # Use a header file that comes with gcc, so configuring glibc
3351 # with a fresh cross-compiler works.
3352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3353 # <limits.h> exists even on freestanding compilers.
3354 # On the NeXT, cc -E runs the code through the compiler's parser,
3355 # not just through cpp. "Syntax error
" is here to catch this case.
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3359 # include <limits.h>
3361 # include <assert.h>
3365 if ac_fn_c_try_cpp "$LINENO"; then :
3368 # Broken: fails on valid input.
3371 rm -f conftest.err conftest.$ac_ext
3373 # OK, works on sane cases. Now check whether nonexistent headers
3374 # can be detected and how.
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3377 #include <ac_nonexistent.h>
3379 if ac_fn_c_try_cpp "$LINENO"; then :
3380 # Broken: success on invalid input.
3383 # Passes both tests.
3387 rm -f conftest.err conftest.$ac_ext
3390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3391 rm -f conftest.err conftest.$ac_ext
3392 if $ac_preproc_ok; then :
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3405 $as_echo "$CPP" >&6; }
3407 for ac_c_preproc_warn_flag in '' yes
3409 # Use a header file that comes with gcc, so configuring glibc
3410 # with a fresh cross-compiler works.
3411 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3412 # <limits.h> exists even on freestanding compilers.
3413 # On the NeXT, cc -E runs the code through the compiler's parser,
3414 # not just through cpp. "Syntax error
" is here to catch this case.
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3418 # include <limits.h>
3420 # include <assert.h>
3424 if ac_fn_c_try_cpp "$LINENO"; then :
3427 # Broken: fails on valid input.
3430 rm -f conftest.err conftest.$ac_ext
3432 # OK, works on sane cases. Now check whether nonexistent headers
3433 # can be detected and how.
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3436 #include <ac_nonexistent.h>
3438 if ac_fn_c_try_cpp "$LINENO"; then :
3439 # Broken: success on invalid input.
3442 # Passes both tests.
3446 rm -f conftest.err conftest.$ac_ext
3449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3450 rm -f conftest.err conftest.$ac_ext
3451 if $ac_preproc_ok; then :
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3457 See \`config.log' for more details.
" "$LINENO" 5; }
3461 ac_cpp='$CPP $CPPFLAGS'
3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3468 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3469 if test "${ac_cv_path_GREP+set}" = set; then :
3470 $as_echo_n "(cached
) " >&6
3472 if test -z "$GREP"; then
3473 ac_path_GREP_found=false
3474 # Loop through the user's path and test for each of PROGNAME-LIST
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3479 test -z "$as_dir" && as_dir=.
3480 for ac_prog in grep ggrep; do
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3483 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3484 # Check for GNU ac_path_GREP and select it if it is found.
3485 # Check for GNU $ac_path_GREP
3486 case `"$ac_path_GREP" --version 2>&1` in
3488 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3491 $as_echo_n 0123456789 >"conftest.
in"
3494 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3495 mv "conftest.tmp
" "conftest.
in"
3496 cp "conftest.
in" "conftest.
nl"
3497 $as_echo 'GREP' >> "conftest.
nl"
3498 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3499 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3500 as_fn_arith $ac_count + 1 && ac_count=$as_val
3501 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3502 # Best one so far, save it but keep looking for a better one
3503 ac_cv_path_GREP="$ac_path_GREP"
3504 ac_path_GREP_max=$ac_count
3506 # 10*(2^10) chars as input seems more than enough
3507 test $ac_count -gt 10 && break
3509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3512 $ac_path_GREP_found && break 3
3517 if test -z "$ac_cv_path_GREP"; then
3518 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3521 ac_cv_path_GREP=$GREP
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3526 $as_echo "$ac_cv_path_GREP" >&6; }
3527 GREP="$ac_cv_path_GREP"
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3531 $as_echo_n "checking
for egrep...
" >&6; }
3532 if test "${ac_cv_path_EGREP+set}" = set; then :
3533 $as_echo_n "(cached
) " >&6
3535 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3536 then ac_cv_path_EGREP="$GREP -E"
3538 if test -z "$EGREP"; then
3539 ac_path_EGREP_found=false
3540 # Loop through the user's path and test for each of PROGNAME-LIST
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3545 test -z "$as_dir" && as_dir=.
3546 for ac_prog in egrep; do
3547 for ac_exec_ext in '' $ac_executable_extensions; do
3548 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3549 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3550 # Check for GNU ac_path_EGREP and select it if it is found.
3551 # Check for GNU $ac_path_EGREP
3552 case `"$ac_path_EGREP" --version 2>&1` in
3554 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3557 $as_echo_n 0123456789 >"conftest.
in"
3560 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3561 mv "conftest.tmp
" "conftest.
in"
3562 cp "conftest.
in" "conftest.
nl"
3563 $as_echo 'EGREP' >> "conftest.
nl"
3564 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3565 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3566 as_fn_arith $ac_count + 1 && ac_count=$as_val
3567 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3568 # Best one so far, save it but keep looking for a better one
3569 ac_cv_path_EGREP="$ac_path_EGREP"
3570 ac_path_EGREP_max=$ac_count
3572 # 10*(2^10) chars as input seems more than enough
3573 test $ac_count -gt 10 && break
3575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3578 $ac_path_EGREP_found && break 3
3583 if test -z "$ac_cv_path_EGREP"; then
3584 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3587 ac_cv_path_EGREP=$EGREP
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3593 $as_echo "$ac_cv_path_EGREP" >&6; }
3594 EGREP="$ac_cv_path_EGREP"
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3598 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3599 if test "${ac_cv_header_stdc+set}" = set; then :
3600 $as_echo_n "(cached
) " >&6
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3617 if ac_fn_c_try_compile "$LINENO"; then :
3618 ac_cv_header_stdc=yes
3620 ac_cv_header_stdc=no
3622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 if test $ac_cv_header_stdc = yes; then
3625 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3631 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3632 $EGREP "memchr
" >/dev/null 2>&1; then :
3635 ac_cv_header_stdc=no
3641 if test $ac_cv_header_stdc = yes; then
3642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3648 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3649 $EGREP "free
" >/dev/null 2>&1; then :
3652 ac_cv_header_stdc=no
3658 if test $ac_cv_header_stdc = yes; then
3659 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3660 if test "$cross_compiling" = yes; then :
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3667 #if ((' ' & 0x0FF) == 0x020)
3668 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3669 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3671 # define ISLOWER(c) \
3672 (('a' <= (c) && (c) <= 'i') \
3673 || ('j' <= (c) && (c) <= 'r') \
3674 || ('s' <= (c) && (c) <= 'z'))
3675 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3678 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3683 for (i = 0; i < 256; i++)
3684 if (XOR (islower (i), ISLOWER (i))
3685 || toupper (i) != TOUPPER (i))
3690 if ac_fn_c_try_run "$LINENO"; then :
3693 ac_cv_header_stdc=no
3695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3696 conftest.$ac_objext conftest.beam conftest.$ac_ext
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3702 $as_echo "$ac_cv_header_stdc" >&6; }
3703 if test $ac_cv_header_stdc = yes; then
3705 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3710 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3711 inttypes.h stdint.h unistd.h
3713 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3714 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3716 eval as_val
=\$
$as_ac_Header
3717 if test "x$as_val" = x
""yes; then :
3718 cat >>confdefs.h
<<_ACEOF
3719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3728 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3729 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3736 if test "$MINIX" = yes; then
3738 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3741 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3744 $as_echo "#define _MINIX 1" >>confdefs.h
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3750 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3751 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3752 $as_echo_n "(cached) " >&6
3754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3757 # define __EXTENSIONS__ 1
3758 $ac_includes_default
3767 if ac_fn_c_try_compile
"$LINENO"; then :
3768 ac_cv_safe_to_define___extensions__
=yes
3770 ac_cv_safe_to_define___extensions__
=no
3772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3775 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3776 test $ac_cv_safe_to_define___extensions__ = yes &&
3777 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3779 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3781 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3783 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3785 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3789 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
3791 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
3792 # Check whether --enable-vtable-verify was given.
3793 if test "${enable_vtable_verify+set}" = set; then :
3794 enableval
=$enable_vtable_verify; case "$enableval" in
3795 yes) enable_vtable_verify
=yes ;;
3796 no
) enable_vtable_verify
=no
;;
3797 *) enable_vtable_verify
=no
;;
3800 enable_vtable_verify
=no
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
3804 $as_echo "$enable_vtable_verify" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
3809 $as_echo_n "checking for host support for vtable verification... " >&6; }
3810 .
${srcdir}/configure.tgt
3813 # libvtv requires init priority support, which depends on the linker
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
3816 $as_echo_n "checking for init priority support... " >&6; }
3817 if test "${libvtv_cv_init_priority+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3827 void ip (void) __attribute__ ((constructor (1)));
3832 if ac_fn_c_try_compile
"$LINENO"; then :
3833 libgcc_cv_init_priority
=yes
3835 libgcc_cv_init_priority
=no
3837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libvtv_cv_init_priority" >&5
3840 $as_echo "$libvtv_cv_init_priority" >&6; }
3841 if test x
$libvtv_cv_init_priority = xno
; then
3844 # FIXME: Maybe check for dl_iterate_phdr, too? Should be covered by
3845 # configure.tgt restricting to libvtv to Solaris 11+.
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
3849 $as_echo "$VTV_SUPPORTED" >&6; }
3851 # Decide if it's usable.
3852 use_vtable_verify
=no
3853 if test "x$VTV_SUPPORTED" = "xyes"; then
3854 if test "x$enable_vtable_verify" = "xyes"; then
3855 use_vtable_verify
=yes
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
3857 $as_echo "$as_me: using vtable verification" >&6;}
3860 if test $use_vtable_verify = yes; then
3861 ENABLE_VTABLE_VERIFY_TRUE
=
3862 ENABLE_VTABLE_VERIFY_FALSE
='#'
3864 ENABLE_VTABLE_VERIFY_TRUE
='#'
3865 ENABLE_VTABLE_VERIFY_FALSE
=
3869 am__api_version
='1.11'
3871 # Find a good install program. We prefer a C program (faster),
3872 # so one script is as good as another. But avoid the broken or
3873 # incompatible versions:
3874 # SysV /etc/install, /usr/sbin/install
3875 # SunOS /usr/etc/install
3876 # IRIX /sbin/install
3878 # AmigaOS /C/install, which installs bootblocks on floppy discs
3879 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3880 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3881 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3882 # OS/2's system install, which has a completely different semantic
3883 # ./install, which can be erroneously created by make from ./install.sh.
3884 # Reject install programs that cannot install multiple files.
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3886 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3887 if test -z "$INSTALL"; then
3888 if test "${ac_cv_path_install+set}" = set; then :
3889 $as_echo_n "(cached) " >&6
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 # Account for people who put trailing slashes in PATH elements.
3897 case $as_dir/ in #((
3898 .
/ | .
// |
/[cC
]/* | \
3899 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3900 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3903 # OSF1 and SCO ODT 3.0 have their own names for install.
3904 # Don't use installbsd from OSF since it installs stuff as root
3906 for ac_prog
in ginstall scoinst
install; do
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3909 if test $ac_prog = install &&
3910 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3911 # AIX install. It has an incompatible calling convention.
3913 elif test $ac_prog = install &&
3914 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3915 # program-specific install script used by HP pwplus--don't use.
3918 rm -rf conftest.one conftest.two conftest.dir
3919 echo one
> conftest.one
3920 echo two
> conftest.two
3922 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3923 test -s conftest.one
&& test -s conftest.two
&&
3924 test -s conftest.dir
/conftest.one
&&
3925 test -s conftest.dir
/conftest.two
3927 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3940 rm -rf conftest.one conftest.two conftest.dir
3943 if test "${ac_cv_path_install+set}" = set; then
3944 INSTALL
=$ac_cv_path_install
3946 # As a last resort, use the slow shell script. Don't cache a
3947 # value for INSTALL within a source directory, because that will
3948 # break other packages using the cache if that directory is
3949 # removed, or if the value is a relative name.
3950 INSTALL
=$ac_install_sh
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3954 $as_echo "$INSTALL" >&6; }
3956 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3957 # It thinks the first close brace ends the variable substitution.
3958 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3960 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3962 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3965 $as_echo_n "checking whether build environment is sane... " >&6; }
3968 echo timestamp
> conftest.
file
3969 # Reject unsafe characters in $srcdir or the absolute working directory
3970 # name. Accept space and tab only in the latter.
3974 *[\\\"\
#\$\&\'\`$am_lf]*)
3975 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3978 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3979 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3982 # Do `set' in a subshell so we don't clobber the current shell's
3983 # arguments. Must try -L first in case configure is actually a
3984 # symlink; some systems play weird games with the mod time of symlinks
3985 # (eg FreeBSD returns the mod time of the symlink's containing
3988 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3989 if test "$*" = "X"; then
3991 set X
`ls -t "$srcdir/configure" conftest.file`
3994 if test "$*" != "X $srcdir/configure conftest.file" \
3995 && test "$*" != "X conftest.file $srcdir/configure"; then
3997 # If neither matched, then we have a broken ls. This can happen
3998 # if, for instance, CONFIG_SHELL is bash and it inherits a
3999 # broken ls alias from the environment. This has actually
4000 # happened. Such a system could not be considered "sane".
4001 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4002 alias in your environment" "$LINENO" 5
4005 test "$2" = conftest.
file
4011 as_fn_error
"newly created file is older than distributed files!
4012 Check your system clock" "$LINENO" 5
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4016 test "$program_prefix" != NONE
&&
4017 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4018 # Use a double $ so make ignores it.
4019 test "$program_suffix" != NONE
&&
4020 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4021 # Double any \ or $.
4022 # By default was `s,x,x', remove it if useless.
4023 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4024 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4026 # expand $ac_aux_dir to an absolute path
4027 am_aux_dir
=`cd $ac_aux_dir && pwd`
4029 if test x
"${MISSING+set}" != xset
; then
4032 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4034 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4037 # Use eval to expand $SHELL
4038 if eval "$MISSING --run true"; then
4039 am_missing_run
="$MISSING --run "
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4043 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4046 if test x
"${install_sh}" != xset
; then
4049 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4051 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4055 # Installed binaries are usually stripped using `strip' when the user
4056 # run `make install-strip'. However `strip' might not be the right
4057 # tool to use in cross-compilation environments, therefore Automake
4058 # will honor the `STRIP' environment variable to overrule this program.
4059 if test "$cross_compiling" != no
; then
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4062 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if test "${ac_cv_prog_STRIP+set}" = set; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$STRIP"; then
4069 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 STRIP
=$ac_cv_prog_STRIP
4089 if test -n "$STRIP"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4091 $as_echo "$STRIP" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4099 if test -z "$ac_cv_prog_STRIP"; then
4101 # Extract the first word of "strip", so it can be a program name with args.
4102 set dummy strip
; ac_word
=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$ac_ct_STRIP"; then
4109 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118 ac_cv_prog_ac_ct_STRIP
="strip"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4129 if test -n "$ac_ct_STRIP"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4131 $as_echo "$ac_ct_STRIP" >&6; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4137 if test "x$ac_ct_STRIP" = x
; then
4140 case $cross_compiling:$ac_tool_warned in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4144 ac_tool_warned
=yes ;;
4149 STRIP
="$ac_cv_prog_STRIP"
4153 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4156 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4157 if test -z "$MKDIR_P"; then
4158 if test "${ac_cv_path_mkdir+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_prog
in mkdir gmkdir
; do
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4169 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4170 'mkdir (GNU coreutils) '* | \
4171 'mkdir (coreutils) '* | \
4172 'mkdir (fileutils) '4.1*)
4173 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4183 if test "${ac_cv_path_mkdir+set}" = set; then
4184 MKDIR_P
="$ac_cv_path_mkdir -p"
4186 # As a last resort, use the slow shell script. Don't cache a
4187 # value for MKDIR_P within a source directory, because that will
4188 # break other packages using the cache if that directory is
4189 # removed, or if the value is a relative name.
4190 test -d .
/--version && rmdir .
/--version
4191 MKDIR_P
="$ac_install_sh -d"
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4195 $as_echo "$MKDIR_P" >&6; }
4199 [\\/$
]* | ?
:[\\/]*) ;;
4200 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4203 for ac_prog
in gawk mawk nawk
awk
4205 # Extract the first word of "$ac_prog", so it can be a program name with args.
4206 set dummy
$ac_prog; ac_word
=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if test "${ac_cv_prog_AWK+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4212 if test -n "$AWK"; then
4213 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4222 ac_cv_prog_AWK
="$ac_prog"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 if test -n "$AWK"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4235 $as_echo "$AWK" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4242 test -n "$AWK" && break
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4246 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4248 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4249 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4250 $as_echo_n "(cached) " >&6
4252 cat >conftest.
make <<\_ACEOF
4255 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4257 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4258 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4260 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4262 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4266 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4268 $as_echo "yes" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4273 SET_MAKE
="MAKE=${MAKE-make}"
4276 rm -rf .tst
2>/dev
/null
4277 mkdir .tst
2>/dev
/null
4278 if test -d .tst
; then
4283 rmdir .tst
2>/dev
/null
4285 DEPDIR
="${am__leading_dot}deps"
4287 ac_config_commands
="$ac_config_commands depfiles"
4290 am_make
=${MAKE-make}
4291 cat > confinc
<< 'END'
4293 @
echo this is the am__doit target
4296 # If we don't find an include directive, just comment out the code.
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4298 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4302 # First try GNU make style include.
4303 echo "include confinc" > confmf
4304 # Ignore all kinds of additional output from `make'.
4305 case `$am_make -s -f confmf 2> /dev/null` in #(
4306 *the\ am__doit\ target
*)
4312 # Now try BSD make style include.
4313 if test "$am__include" = "#"; then
4314 echo '.include "confinc"' > confmf
4315 case `$am_make -s -f confmf 2> /dev/null` in #(
4316 *the\ am__doit\ target
*)
4317 am__include
=.include
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4326 $as_echo "$_am_result" >&6; }
4327 rm -f confinc confmf
4329 # Check whether --enable-dependency-tracking was given.
4330 if test "${enable_dependency_tracking+set}" = set; then :
4331 enableval
=$enable_dependency_tracking;
4334 if test "x$enable_dependency_tracking" != xno
; then
4335 am_depcomp
="$ac_aux_dir/depcomp"
4339 if test "x$enable_dependency_tracking" != xno; then
4348 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4349 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4350 # is not polluted with repeated "-I."
4351 am__isrc
=' -I$(srcdir)'
4352 # test to see if srcdir already configured
4353 if test -f $srcdir/config.status
; then
4354 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4358 # test whether we have cygpath
4359 if test -z "$CYGPATH_W"; then
4360 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4361 CYGPATH_W
='cygpath -w'
4368 # Define the identity of the package.
4373 cat >>confdefs.h
<<_ACEOF
4374 #define PACKAGE "$PACKAGE"
4378 cat >>confdefs.h
<<_ACEOF
4379 #define VERSION "$VERSION"
4382 # Some tools Automake needs.
4384 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4387 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4390 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4393 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4396 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4398 # We need awk for the "check" target. The system "awk" is bad on
4400 # Always define AMTAR for backward compatibility. Yes, it's still used
4401 # in the wild :-( We should find a proper way to deprecate it ...
4404 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4409 depcc
="$CC" am_compiler_list
=
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4412 $as_echo_n "checking dependency style of $depcc... " >&6; }
4413 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4417 # We make a subdir and do the tests there. Otherwise we can end up
4418 # making bogus files that we don't know about and never remove. For
4419 # instance it was reported that on HP-UX the gcc test will end up
4420 # making a dummy file named `D' -- because `-MD' means `put the output
4424 # Copy depcomp to subdir because otherwise we won't find it if we're
4425 # using a relative directory.
4426 cp "$am_depcomp" conftest.dir
4428 # We will build objects and dependencies in a subdirectory because
4429 # it helps to detect inapplicable dependency modes. For instance
4430 # both Tru64's cc and ICC support -MD to output dependencies as a
4431 # side effect of compilation, but ICC will put the dependencies in
4432 # the current directory while Tru64 will put them in the object
4436 am_cv_CC_dependencies_compiler_type
=none
4437 if test "$am_compiler_list" = ""; then
4438 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4441 case " $depcc " in #(
4442 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4445 for depmode
in $am_compiler_list; do
4446 # Setup a source with many dependencies, because some compilers
4447 # like to wrap large dependency lists on column 80 (with \), and
4448 # we should not choose a depcomp mode which is confused by this.
4450 # We need to recreate these files for each test, as the compiler may
4451 # overwrite some of them when testing with obscure command lines.
4452 # This happens at least with the AIX C compiler.
4454 for i
in 1 2 3 4 5 6; do
4455 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4456 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4457 # Solaris 8's {/usr,}/bin/sh.
4458 touch sub
/conftst
$i.h
4460 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4462 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4463 # mode. It turns out that the SunPro C++ compiler does not properly
4464 # handle `-M -o', and we need to detect this. Also, some Intel
4465 # versions had trouble with output in subdirs
4466 am__obj
=sub
/conftest.
${OBJEXT-o}
4467 am__minus_obj
="-o $am__obj"
4470 # This depmode causes a compiler race in universal mode.
4471 test "$am__universal" = false ||
continue
4474 # after this tag, mechanisms are not by side-effect, so they'll
4475 # only be used when explicitly requested
4476 if test "x$enable_dependency_tracking" = xyes
; then
4482 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4483 # This compiler won't grok `-c -o', but also, the minuso test has
4484 # not run yet. These depmodes are late enough in the game, and
4485 # so weak that their functioning should not be impacted.
4486 am__obj
=conftest.
${OBJEXT-o}
4491 if depmode
=$depmode \
4492 source=sub
/conftest.c object
=$am__obj \
4493 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4494 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4495 >/dev
/null
2>conftest.err
&&
4496 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4497 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4498 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4499 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4500 # icc doesn't choke on unknown options, it will just issue warnings
4501 # or remarks (even with -Werror). So we grep stderr for any message
4502 # that says an option was ignored or not supported.
4503 # When given -MP, icc 7.0 and 7.1 complain thusly:
4504 # icc: Command line warning: ignoring option '-M'; no argument required
4505 # The diagnosis changed in icc 8.0:
4506 # icc: Command line remark: option '-MP' not supported
4507 if (grep 'ignoring option' conftest.err ||
4508 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4509 am_cv_CC_dependencies_compiler_type
=$depmode
4518 am_cv_CC_dependencies_compiler_type
=none
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4523 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4524 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4527 test "x$enable_dependency_tracking" != xno \
4528 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4530 am__fastdepCC_FALSE
='#'
4532 am__fastdepCC_TRUE
='#'
4533 am__fastdepCC_FALSE
=
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4540 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4541 # Check whether --enable-maintainer-mode was given.
4542 if test "${enable_maintainer_mode+set}" = set; then :
4543 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4545 USE_MAINTAINER_MODE
=no
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4549 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4550 if test $USE_MAINTAINER_MODE = yes; then
4551 MAINTAINER_MODE_TRUE
=
4552 MAINTAINER_MODE_FALSE
='#'
4554 MAINTAINER_MODE_TRUE
='#'
4555 MAINTAINER_MODE_FALSE
=
4558 MAINT
=$MAINTAINER_MODE_TRUE
4564 # These need to be absolute paths, yet at the same time need to
4565 # canonicalize only relative paths, because then amd will not unmount
4566 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4567 libvtv_builddir
=`${PWDCMD-pwd}`
4569 \\/$
* | ?
:\\/*) libvtv_srcdir
=${srcdir} ;;
4570 *) libvtv_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4572 toplevel_builddir
=${libvtv_builddir}/..
4573 toplevel_srcdir
=${libvtv_srcdir}/..
4580 # Calculate toolexeclibdir
4581 # Also toolexecdir, though it's only used in toolexeclibdir
4582 case ${version_specific_libs} in
4584 # Need the gcc compiler version to know where to install libraries
4585 # and header files if --enable-version-specific-runtime-libs option
4587 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4588 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4591 if test -n "$with_cross_host" &&
4592 test x
"$with_cross_host" != x
"no"; then
4593 # Install a library built with a cross compiler in tooldir, not libdir.
4594 toolexecdir
='$(exec_prefix)/$(target_alias)'
4595 toolexeclibdir
='$(toolexecdir)/lib'
4597 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4598 toolexeclibdir
='$(libdir)'
4600 multi_os_directory
=`$CC -print-multi-os-directory`
4601 case $multi_os_directory in
4602 .
) ;; # Avoid trailing /.
4603 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4611 for ac_func
in __secure_getenv
4613 ac_fn_c_check_func
"$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
4614 if test "x$ac_cv_func___secure_getenv" = x
""yes; then :
4615 cat >>confdefs.h
<<_ACEOF
4616 #define HAVE___SECURE_GETENV 1
4624 for ac_func
in secure_getenv
4626 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
4627 if test "x$ac_cv_func_secure_getenv" = x
""yes; then :
4628 cat >>confdefs.h
<<_ACEOF
4629 #define HAVE_SECURE_GETENV 1
4636 for ac_func
in getexecname __fortify_fail
4638 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4639 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4640 eval as_val
=\$
$as_ac_var
4641 if test "x$as_val" = x
""yes; then :
4642 cat >>confdefs.h
<<_ACEOF
4643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4650 # Check for programs.
4654 ac_cpp
='$CPP $CPPFLAGS'
4655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4660 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if test "${ac_cv_prog_CC+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$CC"; then
4667 ac_cv_prog_CC
="$CC" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 if test -n "$CC"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4689 $as_echo "$CC" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4697 if test -z "$ac_cv_prog_CC"; then
4699 # Extract the first word of "gcc", so it can be a program name with args.
4700 set dummy gcc
; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$ac_ct_CC"; then
4707 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4713 test -z "$as_dir" && as_dir
=.
4714 for ac_exec_ext
in '' $ac_executable_extensions; do
4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4716 ac_cv_prog_ac_ct_CC
="gcc"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4727 if test -n "$ac_ct_CC"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4729 $as_echo "$ac_ct_CC" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4735 if test "x$ac_ct_CC" = x
; then
4738 case $cross_compiling:$ac_tool_warned in
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4742 ac_tool_warned
=yes ;;
4750 if test -z "$CC"; then
4751 if test -n "$ac_tool_prefix"; then
4752 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4753 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if test "${ac_cv_prog_CC+set}" = set; then :
4757 $as_echo_n "(cached) " >&6
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC
="$CC" # Let the user override the test.
4762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir
=.
4767 for ac_exec_ext
in '' $ac_executable_extensions; do
4768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4769 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 if test -n "$CC"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4782 $as_echo "$CC" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4791 if test -z "$CC"; then
4792 # Extract the first word of "cc", so it can be a program name with args.
4793 set dummy cc
; ac_word
=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if test "${ac_cv_prog_CC+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$CC"; then
4800 ac_cv_prog_CC
="$CC" # Let the user override the test.
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir
=.
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4810 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4811 ac_prog_rejected
=yes
4815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 if test $ac_prog_rejected = yes; then
4823 # We found a bogon in the path, so make sure we never use it.
4824 set dummy
$ac_cv_prog_CC
4826 if test $# != 0; then
4827 # We chose a different compiler from the bogus one.
4828 # However, it has the same basename, so the bogon will be chosen
4829 # first if we set CC to just the basename; use the full file name.
4831 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4837 if test -n "$CC"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4839 $as_echo "$CC" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4847 if test -z "$CC"; then
4848 if test -n "$ac_tool_prefix"; then
4849 for ac_prog
in cl.exe
4851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4852 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_CC+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$CC"; then
4859 ac_cv_prog_CC
="$CC" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 if test -n "$CC"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4881 $as_echo "$CC" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$CC" && break
4891 if test -z "$CC"; then
4893 for ac_prog
in cl.exe
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$ac_ct_CC"; then
4903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_ac_ct_CC
="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4923 if test -n "$ac_ct_CC"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4925 $as_echo "$ac_ct_CC" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$ac_ct_CC" && break
4935 if test "x$ac_ct_CC" = x
; then
4938 case $cross_compiling:$ac_tool_warned in
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned
=yes ;;
4951 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4953 as_fn_error
"no acceptable C compiler found in \$PATH
4954 See \`config.log' for more details." "$LINENO" 5; }
4956 # Provide some information about the compiler.
4957 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4960 for ac_option
in --version -v -V -qversion; do
4961 { { ac_try
="$ac_compiler $ac_option >&5"
4963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4967 $as_echo "$ac_try_echo"; } >&5
4968 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4970 if test -s conftest.err; then
4972 ... rest of stderr output deleted ...
4973 10q' conftest.err >conftest.er1
4974 cat conftest.er1 >&5
4975 rm -f conftest.er1 conftest.err
4977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4978 test $ac_status = 0; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4982 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4983 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
5000 if ac_fn_c_try_compile "$LINENO"; then :
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5010 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5011 if test $ac_compiler_gnu = yes; then
5016 ac_test_CFLAGS=${CFLAGS+set}
5017 ac_save_CFLAGS=$CFLAGS
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5019 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5020 if test "${ac_cv_prog_cc_g+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 ac_save_c_werror_flag=$ac_c_werror_flag
5024 ac_c_werror_flag=yes
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5038 if ac_fn_c_try_compile "$LINENO"; then :
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5053 if ac_fn_c_try_compile "$LINENO"; then :
5056 ac_c_werror_flag=$ac_save_c_werror_flag
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5069 if ac_fn_c_try_compile "$LINENO"; then :
5072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 ac_c_werror_flag=$ac_save_c_werror_flag
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5080 $as_echo "$ac_cv_prog_cc_g" >&6; }
5081 if test "$ac_test_CFLAGS" = set; then
5082 CFLAGS=$ac_save_CFLAGS
5083 elif test $ac_cv_prog_cc_g = yes; then
5084 if test "$GCC" = yes; then
5090 if test "$GCC" = yes; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5097 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5098 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5099 $as_echo_n "(cached) " >&6
5101 ac_cv_prog_cc_c89=no
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5107 #include <sys/types.h>
5108 #include <sys/stat.h>
5109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5110 struct buf { int x; };
5111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5112 static char *e (p, i)
5118 static char *f (char * (*g) (char **, int), char **p, ...)
5123 s = g (p, va_arg (v,int));
5128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5129 function prototypes and stuff, but not '\xHH' hex character constants.
5130 These don't provoke an error unfortunately, instead are silently treated
5131 as 'x'. The following induces an error, until -std is added to get
5132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5133 array size at least. It's necessary to write '\x00'==0 to get something
5134 that's true only with -std. */
5135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5138 inside strings and character constants. */
5140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5142 int test (int i, double x);
5143 struct s1 {int (*f) (int a);};
5144 struct s2 {int (*f) (double a);};
5145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5159 CC="$ac_save_CC $ac_arg"
5160 if ac_fn_c_try_compile "$LINENO"; then :
5161 ac_cv_prog_cc_c89=$ac_arg
5163 rm -f core conftest.err conftest.$ac_objext
5164 test "x$ac_cv_prog_cc_c89" != "xno" && break
5166 rm -f conftest.$ac_ext
5171 case "x$ac_cv_prog_cc_c89" in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5174 $as_echo "none needed" >&6; } ;;
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5177 $as_echo "unsupported" >&6; } ;;
5179 CC="$CC $ac_cv_prog_cc_c89"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5183 if test "x$ac_cv_prog_cc_c89" != xno; then :
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 ac_cpp='$CXXCPP $CPPFLAGS'
5195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5198 if test -z "$CXX"; then
5199 if test -n "$CCC"; then
5202 if test -n "$ac_tool_prefix"; then
5203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if test "${ac_cv_prog_CXX+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$CXX"; then
5213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 if test -n "$CXX"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5235 $as_echo "$CXX" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$CXX" && break
5245 if test -z "$CXX"; then
5247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5249 # Extract the first word of "$ac_prog", so it can be a program name with args.
5250 set dummy $ac_prog; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$ac_ct_CXX"; then
5257 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_ac_ct_CXX="$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5277 if test -n "$ac_ct_CXX"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5279 $as_echo "$ac_ct_CXX" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$ac_ct_CXX" && break
5289 if test "x$ac_ct_CXX" = x; then
5292 case $cross_compiling:$ac_tool_warned in
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned=yes ;;
5304 # Provide some information about the compiler.
5305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5308 for ac_option in --version -v -V -qversion; do
5309 { { ac_try="$ac_compiler $ac_option >&5"
5311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5312 *) ac_try_echo
=$ac_try;;
5314 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5315 $as_echo "$ac_try_echo"; } >&5
5316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5318 if test -s conftest.err
; then
5320 ... rest of stderr output deleted ...
5321 10q' conftest.err
>conftest.er1
5322 cat conftest.er1
>&5
5323 rm -f conftest.er1 conftest.err
5325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5326 test $ac_status = 0; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5330 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5331 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5332 $as_echo_n "(cached) " >&6
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5348 if ac_fn_cxx_try_compile
"$LINENO"; then :
5353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5358 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5359 if test $ac_compiler_gnu = yes; then
5364 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5365 ac_save_CXXFLAGS
=$CXXFLAGS
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5367 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5368 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5369 $as_echo_n "(cached) " >&6
5371 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5372 ac_cxx_werror_flag
=yes
5375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5386 if ac_fn_cxx_try_compile
"$LINENO"; then :
5387 ac_cv_prog_cxx_g
=yes
5390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5401 if ac_fn_cxx_try_compile
"$LINENO"; then :
5404 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5417 if ac_fn_cxx_try_compile
"$LINENO"; then :
5418 ac_cv_prog_cxx_g
=yes
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5425 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5428 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5429 if test "$ac_test_CXXFLAGS" = set; then
5430 CXXFLAGS
=$ac_save_CXXFLAGS
5431 elif test $ac_cv_prog_cxx_g = yes; then
5432 if test "$GXX" = yes; then
5438 if test "$GXX" = yes; then
5445 ac_cpp
='$CPP $CPPFLAGS'
5446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5450 depcc
="$CXX" am_compiler_list
=
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5453 $as_echo_n "checking dependency style of $depcc... " >&6; }
5454 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5458 # We make a subdir and do the tests there. Otherwise we can end up
5459 # making bogus files that we don't know about and never remove. For
5460 # instance it was reported that on HP-UX the gcc test will end up
5461 # making a dummy file named `D' -- because `-MD' means `put the output
5465 # Copy depcomp to subdir because otherwise we won't find it if we're
5466 # using a relative directory.
5467 cp "$am_depcomp" conftest.dir
5469 # We will build objects and dependencies in a subdirectory because
5470 # it helps to detect inapplicable dependency modes. For instance
5471 # both Tru64's cc and ICC support -MD to output dependencies as a
5472 # side effect of compilation, but ICC will put the dependencies in
5473 # the current directory while Tru64 will put them in the object
5477 am_cv_CXX_dependencies_compiler_type
=none
5478 if test "$am_compiler_list" = ""; then
5479 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5482 case " $depcc " in #(
5483 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5486 for depmode
in $am_compiler_list; do
5487 # Setup a source with many dependencies, because some compilers
5488 # like to wrap large dependency lists on column 80 (with \), and
5489 # we should not choose a depcomp mode which is confused by this.
5491 # We need to recreate these files for each test, as the compiler may
5492 # overwrite some of them when testing with obscure command lines.
5493 # This happens at least with the AIX C compiler.
5495 for i
in 1 2 3 4 5 6; do
5496 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5497 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5498 # Solaris 8's {/usr,}/bin/sh.
5499 touch sub
/conftst
$i.h
5501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5503 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5504 # mode. It turns out that the SunPro C++ compiler does not properly
5505 # handle `-M -o', and we need to detect this. Also, some Intel
5506 # versions had trouble with output in subdirs
5507 am__obj
=sub
/conftest.
${OBJEXT-o}
5508 am__minus_obj
="-o $am__obj"
5511 # This depmode causes a compiler race in universal mode.
5512 test "$am__universal" = false ||
continue
5515 # after this tag, mechanisms are not by side-effect, so they'll
5516 # only be used when explicitly requested
5517 if test "x$enable_dependency_tracking" = xyes
; then
5523 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5524 # This compiler won't grok `-c -o', but also, the minuso test has
5525 # not run yet. These depmodes are late enough in the game, and
5526 # so weak that their functioning should not be impacted.
5527 am__obj
=conftest.
${OBJEXT-o}
5532 if depmode
=$depmode \
5533 source=sub
/conftest.c object
=$am__obj \
5534 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5535 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5536 >/dev
/null
2>conftest.err
&&
5537 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5538 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5539 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5540 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5541 # icc doesn't choke on unknown options, it will just issue warnings
5542 # or remarks (even with -Werror). So we grep stderr for any message
5543 # that says an option was ignored or not supported.
5544 # When given -MP, icc 7.0 and 7.1 complain thusly:
5545 # icc: Command line warning: ignoring option '-M'; no argument required
5546 # The diagnosis changed in icc 8.0:
5547 # icc: Command line remark: option '-MP' not supported
5548 if (grep 'ignoring option' conftest.err ||
5549 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5550 am_cv_CXX_dependencies_compiler_type
=$depmode
5559 am_cv_CXX_dependencies_compiler_type
=none
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5564 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5565 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5568 test "x$enable_dependency_tracking" != xno \
5569 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5570 am__fastdepCXX_TRUE
=
5571 am__fastdepCXX_FALSE
='#'
5573 am__fastdepCXX_TRUE
='#'
5574 am__fastdepCXX_FALSE
=
5580 if test "x$CC" != xcc
; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5582 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5585 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5587 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5588 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5589 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5590 $as_echo_n "(cached) " >&6
5592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5603 # Make sure it works both with $CC and with simple cc.
5604 # We do the test twice because some compilers refuse to overwrite an
5605 # existing .o file with -o, though they will create one.
5606 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5608 if { { case "(($ac_try" in
5609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5610 *) ac_try_echo=$ac_try;;
5612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5613 $as_echo "$ac_try_echo"; } >&5
5614 (eval "$ac_try") 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; } &&
5618 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5620 *) ac_try_echo
=$ac_try;;
5622 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5623 $as_echo "$ac_try_echo"; } >&5
5624 (eval "$ac_try") 2>&5
5626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5627 test $ac_status = 0; };
5629 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5630 if test "x$CC" != xcc
; then
5631 # Test first that cc exists at all.
5632 if { ac_try
='cc -c conftest.$ac_ext >&5'
5633 { { case "(($ac_try" in
5634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5638 $as_echo "$ac_try_echo"; } >&5
5639 (eval "$ac_try") 2>&5
5641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5642 test $ac_status = 0; }; }; then
5643 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5645 if { { case "(($ac_try" in
5646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5647 *) ac_try_echo
=$ac_try;;
5649 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5650 $as_echo "$ac_try_echo"; } >&5
5651 (eval "$ac_try") 2>&5
5653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5654 test $ac_status = 0; } &&
5655 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5657 *) ac_try_echo=$ac_try;;
5659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5660 $as_echo "$ac_try_echo"; } >&5
5661 (eval "$ac_try") 2>&5
5663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5664 test $ac_status = 0; };
5669 # cc exists but doesn't like -o.
5670 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5675 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5677 rm -f core conftest*
5680 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5682 $as_echo "yes" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5687 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5691 # FIXME: we rely on the cache variable name because
5692 # there is no other way.
5694 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5695 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5696 if test "$am_t" != yes; then
5697 # Losing compiler, so override with the script.
5698 # FIXME: It is wrong to rewrite CC.
5699 # But if we don't then we get into trouble of one sort or another.
5700 # A longer-term fix would be to have automake use am__CC in this case,
5701 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5702 CC="$am_aux_dir/compile $CC"
5710 # Newer automakes demand CCAS and CCASFLAGS.
5712 : ${CCASFLAGS='$(CFLAGS)'}
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}as; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_AS+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -n "$AS"; then
5725 ac_cv_prog_AS="$AS" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_AS="${ac_tool_prefix}as"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 if test -n "$AS"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5747 $as_echo "$AS" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5755 if test -z "$ac_cv_prog_AS"; then
5757 # Extract the first word of "as", so it can be a program name with args.
5758 set dummy as; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$ac_ct_AS"; then
5765 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_AS="as"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5785 if test -n "$ac_ct_AS"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5787 $as_echo "$ac_ct_AS" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5793 if test "x$ac_ct_AS" = x; then
5796 case $cross_compiling:$ac_tool_warned in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5808 if test -n "$ac_tool_prefix"; then
5809 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}ar; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_AR+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$AR"; then
5817 ac_cv_prog_AR="$AR" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_AR="${ac_tool_prefix}ar"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$AR"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5839 $as_echo "$AR" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test -z "$ac_cv_prog_AR"; then
5849 # Extract the first word of "ar", so it can be a program name with args.
5850 set dummy ar; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5856 if test -n "$ac_ct_AR"; then
5857 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_ac_ct_AR="ar"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5877 if test -n "$ac_ct_AR"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5879 $as_echo "$ac_ct_AR" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5885 if test "x$ac_ct_AR" = x; then
5888 case $cross_compiling:$ac_tool_warned in
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned=yes ;;
5900 if test -n "$ac_tool_prefix"; then
5901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5906 $as_echo_n "(cached) " >&6
5908 if test -n "$RANLIB"; then
5909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 RANLIB=$ac_cv_prog_RANLIB
5929 if test -n "$RANLIB"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5931 $as_echo "$RANLIB" >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5939 if test -z "$ac_cv_prog_RANLIB"; then
5940 ac_ct_RANLIB=$RANLIB
5941 # Extract the first word of "ranlib", so it can be a program name with args.
5942 set dummy ranlib; ac_word=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5946 $as_echo_n "(cached) " >&6
5948 if test -n "$ac_ct_RANLIB"; then
5949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir=.
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958 ac_cv_prog_ac_ct_RANLIB="ranlib"
5959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5969 if test -n "$ac_ct_RANLIB"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5971 $as_echo "$ac_ct_RANLIB" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974 $as_echo "no" >&6; }
5977 if test "x$ac_ct_RANLIB" = x; then
5980 case $cross_compiling:$ac_tool_warned in
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5984 ac_tool_warned=yes ;;
5986 RANLIB=$ac_ct_RANLIB
5989 RANLIB="$ac_cv_prog_RANLIB"
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6001 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6006 macro_version='2.2.7a'
6007 macro_revision='1.3134'
6021 ltmain="$ac_aux_dir/ltmain.sh"
6023 # Backslashify metacharacters that are still active within
6024 # double-quoted strings.
6025 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6027 # Same as above, but do not quote variable references.
6028 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6030 # Sed substitution to delay expansion of an escaped shell variable in a
6031 # double_quote_subst'ed string.
6032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6034 # Sed substitution to delay expansion of an escaped single quote.
6035 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6037 # Sed substitution to avoid accidental globbing in evaled expressions
6038 no_glob_subst='s/\*/\\\*/g'
6040 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6041 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6045 $as_echo_n "checking how to print
strings...
" >&6; }
6046 # Test print first, because it will be a builtin if present.
6047 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6048 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6050 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6053 # Use this function as a fallback that always works.
6054 func_fallback_echo ()
6056 eval 'cat <<_LTECHO_EOF
6060 ECHO='func_fallback_echo'
6063 # func_echo_all arg...
6064 # Invoke $ECHO with all args, space-separated.
6071 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6072 $as_echo "printf" >&6; } ;;
6073 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6074 $as_echo "print
-r" >&6; } ;;
6075 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6076 $as_echo "cat" >&6; } ;;
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6093 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6094 if test "${ac_cv_path_SED+set}" = set; then :
6095 $as_echo_n "(cached
) " >&6
6097 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6098 for ac_i in 1 2 3 4 5 6 7; do
6099 ac_script="$ac_script$as_nl$ac_script"
6101 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6102 { ac_script=; unset ac_script;}
6103 if test -z "$SED"; then
6104 ac_path_SED_found=false
6105 # Loop through the user's path and test for each of PROGNAME-LIST
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir=.
6111 for ac_prog in sed gsed; do
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6114 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6115 # Check for GNU ac_path_SED and select it if it is found.
6116 # Check for GNU $ac_path_SED
6117 case `"$ac_path_SED" --version 2>&1` in
6119 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6122 $as_echo_n 0123456789 >"conftest.
in"
6125 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6126 mv "conftest.tmp
" "conftest.
in"
6127 cp "conftest.
in" "conftest.
nl"
6128 $as_echo '' >> "conftest.
nl"
6129 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6130 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6131 as_fn_arith $ac_count + 1 && ac_count=$as_val
6132 if test $ac_count -gt ${ac_path_SED_max-0}; then
6133 # Best one so far, save it but keep looking for a better one
6134 ac_cv_path_SED="$ac_path_SED"
6135 ac_path_SED_max=$ac_count
6137 # 10*(2^10) chars as input seems more than enough
6138 test $ac_count -gt 10 && break
6140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6143 $ac_path_SED_found && break 3
6148 if test -z "$ac_cv_path_SED"; then
6149 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6157 $as_echo "$ac_cv_path_SED" >&6; }
6158 SED="$ac_cv_path_SED"
6161 test -z "$SED" && SED=sed
6162 Xsed="$SED -e 1s
/^X
//"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6175 $as_echo_n "checking
for fgrep...
" >&6; }
6176 if test "${ac_cv_path_FGREP+set}" = set; then :
6177 $as_echo_n "(cached
) " >&6
6179 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6180 then ac_cv_path_FGREP="$GREP -F"
6182 if test -z "$FGREP"; then
6183 ac_path_FGREP_found=false
6184 # Loop through the user's path and test for each of PROGNAME-LIST
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6189 test -z "$as_dir" && as_dir=.
6190 for ac_prog in fgrep; do
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6193 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6194 # Check for GNU ac_path_FGREP and select it if it is found.
6195 # Check for GNU $ac_path_FGREP
6196 case `"$ac_path_FGREP" --version 2>&1` in
6198 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6201 $as_echo_n 0123456789 >"conftest.
in"
6204 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6205 mv "conftest.tmp
" "conftest.
in"
6206 cp "conftest.
in" "conftest.
nl"
6207 $as_echo 'FGREP' >> "conftest.
nl"
6208 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6209 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6210 as_fn_arith $ac_count + 1 && ac_count=$as_val
6211 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6212 # Best one so far, save it but keep looking for a better one
6213 ac_cv_path_FGREP="$ac_path_FGREP"
6214 ac_path_FGREP_max=$ac_count
6216 # 10*(2^10) chars as input seems more than enough
6217 test $ac_count -gt 10 && break
6219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6222 $ac_path_FGREP_found && break 3
6227 if test -z "$ac_cv_path_FGREP"; then
6228 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6231 ac_cv_path_FGREP=$FGREP
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6237 $as_echo "$ac_cv_path_FGREP" >&6; }
6238 FGREP="$ac_cv_path_FGREP"
6241 test -z "$GREP" && GREP=grep
6261 # Check whether --with-gnu-ld was given.
6262 if test "${with_gnu_ld+set}" = set; then :
6263 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6269 if test "$GCC" = yes; then
6270 # Check if gcc -print-prog-name=ld gives a path.
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6272 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6275 # gcc leaves a trailing carriage return which upsets mingw
6276 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6278 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6281 # Accept absolute paths.
6283 re_direlt='/[^/][^/]*/\.\./'
6284 # Canonicalize the pathname of ld
6285 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6286 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6287 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6289 test -z "$LD" && LD="$ac_prog"
6292 # If it fails, then pretend we aren't using GCC.
6296 # If it is relative, then search for the first ld in PATH.
6300 elif test "$with_gnu_ld" = yes; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6302 $as_echo_n "checking
for GNU ld...
" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6305 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6307 if test "${lt_cv_path_LD+set}" = set; then :
6308 $as_echo_n "(cached
) " >&6
6310 if test -z "$LD"; then
6311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6312 for ac_dir in $PATH; do
6314 test -z "$ac_dir" && ac_dir=.
6315 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6316 lt_cv_path_LD="$ac_dir/$ac_prog"
6317 # Check to see if the program is GNU ld. I'd rather use --version,
6318 # but apparently some variants of GNU ld only accept -v.
6319 # Break only if it was the GNU/non-GNU ld that we prefer.
6320 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6321 *GNU* | *'with BFD'*)
6322 test "$with_gnu_ld" != no && break
6325 test "$with_gnu_ld" != yes && break
6332 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6337 if test -n "$LD"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6339 $as_echo "$LD" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6342 $as_echo "no
" >&6; }
6344 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6346 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6347 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6348 $as_echo_n "(cached
) " >&6
6350 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6351 case `$LD -v 2>&1 </dev/null` in
6352 *GNU* | *'with BFD'*)
6353 lt_cv_prog_gnu_ld=yes
6356 lt_cv_prog_gnu_ld=no
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6361 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6362 with_gnu_ld=$lt_cv_prog_gnu_ld
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6373 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6374 if test "${lt_cv_path_NM+set}" = set; then :
6375 $as_echo_n "(cached
) " >&6
6377 if test -n "$NM"; then
6378 # Let the user override the test.
6381 lt_nm_to_check="${ac_tool_prefix}nm
"
6382 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6383 lt_nm_to_check="$lt_nm_to_check nm
"
6385 for lt_tmp_nm in $lt_nm_to_check; do
6386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6387 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6389 test -z "$ac_dir" && ac_dir=.
6390 tmp_nm="$ac_dir/$lt_tmp_nm"
6391 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6392 # Check to see if the nm accepts a BSD-compat flag.
6393 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6394 # nm: unknown option "B
" ignored
6395 # Tru64's nm complains that /dev/null is an invalid object file
6396 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6397 */dev/null* | *'Invalid file or object type'*)
6398 lt_cv_path_NM="$tmp_nm -B"
6402 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6404 lt_cv_path_NM="$tmp_nm -p"
6408 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6409 continue # so that we can try to find one that supports BSD flags
6418 : ${lt_cv_path_NM=no}
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6422 $as_echo "$lt_cv_path_NM" >&6; }
6423 if test "$lt_cv_path_NM" != "no
"; then
6426 # Didn't find any BSD compatible name lister, look for dumpbin.
6427 if test -n "$DUMPBIN"; then :
6428 # Let the user override the test.
6430 if test -n "$ac_tool_prefix"; then
6431 for ac_prog in dumpbin "link
-dump"
6433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6436 $as_echo_n "checking
for $ac_word...
" >&6; }
6437 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6438 $as_echo_n "(cached
) " >&6
6440 if test -n "$DUMPBIN"; then
6441 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6460 DUMPBIN=$ac_cv_prog_DUMPBIN
6461 if test -n "$DUMPBIN"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6463 $as_echo "$DUMPBIN" >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6466 $as_echo "no
" >&6; }
6470 test -n "$DUMPBIN" && break
6473 if test -z "$DUMPBIN"; then
6474 ac_ct_DUMPBIN=$DUMPBIN
6475 for ac_prog in dumpbin "link
-dump"
6477 # Extract the first word of "$ac_prog", so it can be a program name with args.
6478 set dummy $ac_prog; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6480 $as_echo_n "checking
for $ac_word...
" >&6; }
6481 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6482 $as_echo_n "(cached
) " >&6
6484 if test -n "$ac_ct_DUMPBIN"; then
6485 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6505 if test -n "$ac_ct_DUMPBIN"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6507 $as_echo "$ac_ct_DUMPBIN" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6510 $as_echo "no
" >&6; }
6514 test -n "$ac_ct_DUMPBIN" && break
6517 if test "x
$ac_ct_DUMPBIN" = x; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6523 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6524 ac_tool_warned=yes ;;
6526 DUMPBIN=$ac_ct_DUMPBIN
6530 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6532 DUMPBIN="$DUMPBIN -symbols"
6540 if test "$DUMPBIN" != ":"; then
6544 test -z "$NM" && NM=nm
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6552 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6553 if test "${lt_cv_nm_interface+set}" = set; then :
6554 $as_echo_n "(cached
) " >&6
6556 lt_cv_nm_interface="BSD nm
"
6557 echo "int some_variable
= 0;" > conftest.$ac_ext
6558 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6559 (eval "$ac_compile" 2>conftest.err)
6560 cat conftest.err >&5
6561 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6562 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6563 cat conftest.err >&5
6564 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6565 cat conftest.out >&5
6566 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6567 lt_cv_nm_interface="MS dumpbin
"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6572 $as_echo "$lt_cv_nm_interface" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6575 $as_echo_n "checking whether
ln -s works...
" >&6; }
6577 if test "$LN_S" = "ln -s"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6579 $as_echo "yes" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6582 $as_echo "no
, using
$LN_S" >&6; }
6585 # find the maximum length of command line arguments
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6587 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6588 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6589 $as_echo_n "(cached
) " >&6
6596 # On DJGPP, this test can blow up pretty badly due to problems in libc
6597 # (any single argument exceeding 2000 bytes causes a buffer overrun
6598 # during glob expansion). Even if it were fixed, the result of this
6599 # check would be larger than it should be.
6600 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6604 # Under GNU Hurd, this test is not required because there is
6605 # no limit to the length of command line arguments.
6606 # Libtool will interpret -1 as no limit whatsoever
6607 lt_cv_sys_max_cmd_len=-1;
6610 cygwin* | mingw* | cegcc*)
6611 # On Win9x/ME, this test blows up -- it succeeds, but takes
6612 # about 5 minutes as the teststring grows exponentially.
6613 # Worse, since 9x/ME are not pre-emptively multitasking,
6614 # you end up with a "frozen
" computer, even though with patience
6615 # the test eventually succeeds (with a max line length of 256k).
6616 # Instead, let's just punt: use the minimum linelength reported by
6617 # all of the supported platforms: 8192 (on NT/2K/XP).
6618 lt_cv_sys_max_cmd_len=8192;
6622 # On MiNT this can take a long time and run out of memory.
6623 lt_cv_sys_max_cmd_len=8192;
6627 # On AmigaOS with pdksh, this test takes hours, literally.
6628 # So we just punt and use a minimum line length of 8192.
6629 lt_cv_sys_max_cmd_len=8192;
6632 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6633 # This has been around since 386BSD, at least. Likely further.
6634 if test -x /sbin/sysctl; then
6635 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6636 elif test -x /usr/sbin/sysctl; then
6637 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6639 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6641 # And add a safety zone
6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6647 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6648 lt_cv_sys_max_cmd_len=196608
6652 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6653 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6654 # nice to cause kernel panics so lets avoid the loop below.
6655 # First set a reasonable default.
6656 lt_cv_sys_max_cmd_len=16384
6658 if test -x /sbin/sysconfig; then
6659 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6660 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6665 lt_cv_sys_max_cmd_len=102400
6667 sysv5* | sco5v6* | sysv4.2uw2*)
6668 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6669 if test -n "$kargmax"; then
6670 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6672 lt_cv_sys_max_cmd_len=32768
6676 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6677 if test -n "$lt_cv_sys_max_cmd_len"; then
6678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6681 # Make teststring a little bigger before we do anything with it.
6682 # a 1K string should be a reasonable start.
6683 for i in 1 2 3 4 5 6 7 8 ; do
6684 teststring=$teststring$teststring
6686 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6687 # If test is not a shell built-in, we'll probably end up computing a
6688 # maximum length that is only half of the actual maximum length, but
6690 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6691 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6692 test $i != 17 # 1/2 MB should be enough
6695 teststring=$teststring$teststring
6697 # Only check the string length outside the loop.
6698 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6700 # Add a significant safety factor because C++ compilers can tack on
6701 # massive amounts of additional arguments before passing them to the
6702 # linker. It appears as though 1/2 is a usable value.
6703 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6710 if test -n $lt_cv_sys_max_cmd_len ; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6712 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6715 $as_echo "none
" >&6; }
6717 max_cmd_len=$lt_cv_sys_max_cmd_len
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6729 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6730 # Try some XSI features
6733 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6735 && eval 'test $(( 1 + 1 )) -eq 2 \
6736 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6739 $as_echo "$xsi_shell" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6743 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6745 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6747 && lt_shell_append
=yes
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6749 $as_echo "$lt_shell_append" >&6; }
6752 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6762 # test EBCDIC or ASCII
6763 case `echo X|tr X '\101'` in
6764 A
) # ASCII based system
6765 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6766 lt_SP2NL
='tr \040 \012'
6767 lt_NL2SP
='tr \015\012 \040\040'
6769 *) # EBCDIC based system
6770 lt_SP2NL
='tr \100 \n'
6771 lt_NL2SP
='tr \r\n \100\100'
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6784 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6785 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6788 lt_cv_ld_reload_flag
='-r'
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6791 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6792 reload_flag
=$lt_cv_ld_reload_flag
6793 case $reload_flag in
6795 *) reload_flag
=" $reload_flag" ;;
6797 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6800 if test "$GCC" = yes; then
6801 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6803 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6818 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$OBJDUMP"; then
6825 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir
=.
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6834 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 OBJDUMP
=$ac_cv_prog_OBJDUMP
6845 if test -n "$OBJDUMP"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6847 $as_echo "$OBJDUMP" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6855 if test -z "$ac_cv_prog_OBJDUMP"; then
6856 ac_ct_OBJDUMP
=$OBJDUMP
6857 # Extract the first word of "objdump", so it can be a program name with args.
6858 set dummy objdump
; ac_word
=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6862 $as_echo_n "(cached) " >&6
6864 if test -n "$ac_ct_OBJDUMP"; then
6865 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir
=.
6872 for ac_exec_ext
in '' $ac_executable_extensions; do
6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6885 if test -n "$ac_ct_OBJDUMP"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6887 $as_echo "$ac_ct_OBJDUMP" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6893 if test "x$ac_ct_OBJDUMP" = x
; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6900 ac_tool_warned
=yes ;;
6902 OBJDUMP
=$ac_ct_OBJDUMP
6905 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6908 test -z "$OBJDUMP" && OBJDUMP
=objdump
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6919 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6920 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6921 $as_echo_n "(cached) " >&6
6923 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6924 lt_cv_file_magic_test_file
=
6925 lt_cv_deplibs_check_method
='unknown'
6926 # Need to set the preceding variable on all platforms that support
6927 # interlibrary dependencies.
6928 # 'none' -- dependencies not supported.
6929 # `unknown' -- same as none, but documents that we really don't know.
6930 # 'pass_all' -- all dependencies passed with no checks.
6931 # 'test_compile' -- check by making test program.
6932 # 'file_magic [[regex]]' -- check by looking for files in library path
6933 # which responds to the $file_magic_cmd with a given extended regex.
6934 # If you have `file' or equivalent on your system and you're not sure
6935 # whether `pass_all' will *always* work, you probably want this one.
6939 lt_cv_deplibs_check_method
=pass_all
6943 lt_cv_deplibs_check_method
=pass_all
6947 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6948 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6949 lt_cv_file_magic_test_file
=/shlib
/libc.so
6953 # func_win32_libid is a shell function defined in ltmain.sh
6954 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6955 lt_cv_file_magic_cmd
='func_win32_libid'
6959 # Base MSYS/MinGW do not provide the 'file' command needed by
6960 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6961 # unless we find 'file', for example because we are cross-compiling.
6962 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6963 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6964 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6965 lt_cv_file_magic_cmd
='func_win32_libid'
6967 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6968 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6973 # use the weaker test based on 'objdump'. See mingw*.
6974 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6975 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6978 darwin
* | rhapsody
*)
6979 lt_cv_deplibs_check_method
=pass_all
6982 freebsd
* | dragonfly
*)
6983 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6986 # Not sure whether the presence of OpenBSD here was a mistake.
6987 # Let's accept both of them until this is cleared up.
6988 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6989 lt_cv_file_magic_cmd
=/usr
/bin
/file
6990 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6994 lt_cv_deplibs_check_method
=pass_all
6999 lt_cv_deplibs_check_method
=pass_all
7003 lt_cv_deplibs_check_method
=pass_all
7006 hpux10.20
* | hpux11
*)
7007 lt_cv_file_magic_cmd
=/usr
/bin
/file
7010 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7011 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7014 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]'
7015 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7018 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7019 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7025 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7026 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7029 irix5
* | irix6
* | nonstopux
*)
7031 *-32|
*"-32 ") libmagic
=32-bit;;
7032 *-n32|
*"-n32 ") libmagic
=N32
;;
7033 *-64|
*"-64 ") libmagic
=64-bit;;
7034 *) libmagic
=never-match
;;
7036 lt_cv_deplibs_check_method
=pass_all
7039 # This must be Linux ELF.
7040 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7041 lt_cv_deplibs_check_method
=pass_all
7045 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7046 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7048 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7053 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7054 lt_cv_file_magic_cmd
=/usr
/bin
/file
7055 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7059 lt_cv_deplibs_check_method
=pass_all
7063 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7064 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7066 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7070 osf3
* | osf4
* | osf5
*)
7071 lt_cv_deplibs_check_method
=pass_all
7075 lt_cv_deplibs_check_method
=pass_all
7079 lt_cv_deplibs_check_method
=pass_all
7082 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7083 lt_cv_deplibs_check_method
=pass_all
7087 case $host_vendor in
7089 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]'
7090 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7093 lt_cv_deplibs_check_method
=pass_all
7096 lt_cv_file_magic_cmd
='/bin/file'
7097 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7100 lt_cv_file_magic_cmd
='/bin/file'
7101 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7102 lt_cv_file_magic_test_file
=/lib
/libc.so
7105 lt_cv_deplibs_check_method
=pass_all
7108 lt_cv_deplibs_check_method
=pass_all
7114 lt_cv_deplibs_check_method
=pass_all
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7120 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7121 file_magic_cmd
=$lt_cv_file_magic_cmd
7122 deplibs_check_method
=$lt_cv_deplibs_check_method
7123 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7138 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if test "${ac_cv_prog_AR+set}" = set; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$AR"; then
7145 ac_cv_prog_AR
="$AR" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir
=.
7152 for ac_exec_ext
in '' $ac_executable_extensions; do
7153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 if test -n "$AR"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7167 $as_echo "$AR" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7175 if test -z "$ac_cv_prog_AR"; then
7177 # Extract the first word of "ar", so it can be a program name with args.
7178 set dummy
ar; ac_word
=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$ac_ct_AR"; then
7185 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir
=.
7192 for ac_exec_ext
in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_ac_ct_AR
="ar"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7205 if test -n "$ac_ct_AR"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7207 $as_echo "$ac_ct_AR" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7213 if test "x$ac_ct_AR" = x
; then
7216 case $cross_compiling:$ac_tool_warned in
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220 ac_tool_warned
=yes ;;
7228 test -z "$AR" && AR
=ar
7229 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7241 if test -n "$ac_tool_prefix"; then
7242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7243 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if test "${ac_cv_prog_STRIP+set}" = set; then :
7247 $as_echo_n "(cached) " >&6
7249 if test -n "$STRIP"; then
7250 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir
=.
7257 for ac_exec_ext
in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 STRIP
=$ac_cv_prog_STRIP
7270 if test -n "$STRIP"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7272 $as_echo "$STRIP" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7280 if test -z "$ac_cv_prog_STRIP"; then
7282 # Extract the first word of "strip", so it can be a program name with args.
7283 set dummy strip
; ac_word
=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7287 $as_echo_n "(cached) " >&6
7289 if test -n "$ac_ct_STRIP"; then
7290 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir
=.
7297 for ac_exec_ext
in '' $ac_executable_extensions; do
7298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299 ac_cv_prog_ac_ct_STRIP
="strip"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7310 if test -n "$ac_ct_STRIP"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7312 $as_echo "$ac_ct_STRIP" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7318 if test "x$ac_ct_STRIP" = x
; then
7321 case $cross_compiling:$ac_tool_warned in
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7325 ac_tool_warned
=yes ;;
7330 STRIP
="$ac_cv_prog_STRIP"
7333 test -z "$STRIP" && STRIP
=:
7340 if test -n "$ac_tool_prefix"; then
7341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7342 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7346 $as_echo_n "(cached) " >&6
7348 if test -n "$RANLIB"; then
7349 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir
=.
7356 for ac_exec_ext
in '' $ac_executable_extensions; do
7357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7358 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 RANLIB
=$ac_cv_prog_RANLIB
7369 if test -n "$RANLIB"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7371 $as_echo "$RANLIB" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7379 if test -z "$ac_cv_prog_RANLIB"; then
7380 ac_ct_RANLIB
=$RANLIB
7381 # Extract the first word of "ranlib", so it can be a program name with args.
7382 set dummy ranlib
; ac_word
=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7386 $as_echo_n "(cached) " >&6
7388 if test -n "$ac_ct_RANLIB"; then
7389 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir
=.
7396 for ac_exec_ext
in '' $ac_executable_extensions; do
7397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7398 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7409 if test -n "$ac_ct_RANLIB"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7411 $as_echo "$ac_ct_RANLIB" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7417 if test "x$ac_ct_RANLIB" = x
; then
7420 case $cross_compiling:$ac_tool_warned in
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7424 ac_tool_warned
=yes ;;
7426 RANLIB
=$ac_ct_RANLIB
7429 RANLIB
="$ac_cv_prog_RANLIB"
7432 test -z "$RANLIB" && RANLIB
=:
7439 # Determine commands to create old-style static archives.
7440 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7441 old_postinstall_cmds
='chmod 644 $oldlib'
7442 old_postuninstall_cmds
=
7444 if test -n "$RANLIB"; then
7447 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7450 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7453 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7458 lock_old_archive_extraction
=yes ;;
7460 lock_old_archive_extraction
=no
;;
7501 # If no C compiler was specified, use CC.
7504 # If no C compiler flags were specified, use CFLAGS.
7505 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7507 # Allow CC to be a program name with arguments.
7511 # Check for command to grab the raw symbol name followed by C symbol from nm.
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7513 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7514 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7515 $as_echo_n "(cached) " >&6
7518 # These are sane defaults that work on at least a few old systems.
7519 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7521 # Character class describing NM global symbol codes.
7522 symcode
='[BCDEGRST]'
7524 # Regexp to match symbols that can be accessed directly from C.
7525 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7527 # Define system-specific variables.
7532 cygwin
* | mingw
* | pw32
* | cegcc
*)
7533 symcode
='[ABCDGISTW]'
7536 if test "$host_cpu" = ia64
; then
7537 symcode
='[ABCDEGRST]'
7541 symcode
='[BCDEGRST]'
7544 symcode
='[BCDEGQRST]'
7555 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7563 # If we're using GNU nm, then use its standard symbol codes.
7564 case `$NM -V 2>&1` in
7565 *GNU
* |
*'with BFD'*)
7566 symcode
='[ABCDGIRSTW]' ;;
7569 # Transform an extracted symbol line into a proper C declaration.
7570 # Some systems (esp. on ia64) link data and code symbols differently,
7571 # so use this general approach.
7572 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7574 # Transform an extracted symbol line into symbol name and symbol address
7575 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7576 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'"
7578 # Handle CRLF in mingw tool chain
7582 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7586 # Try without a prefix underscore, then with it.
7587 for ac_symprfx
in "" "_"; do
7589 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7590 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7592 # Write the raw and C identifiers.
7593 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7594 # Fake it for dumpbin and say T for any non-static function
7595 # and D for any global variable.
7596 # Also find C++ and __fastcall symbols from MSVC++,
7597 # which start with @ or ?.
7598 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7599 " {last_section=section; section=\$ 3};"\
7600 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7601 " \$ 0!~/External *\|/{next};"\
7602 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7603 " {if(hide[section]) next};"\
7604 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7605 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7606 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7607 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7608 " ' prfx=^$ac_symprfx"
7610 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7613 # Check to see that the pipe works correctly.
7617 cat > conftest.
$ac_ext <<_LT_EOF
7622 void nm_test_func(void);
7623 void nm_test_func(void){}
7627 int main(){nm_test_var='a';nm_test_func();return(0);}
7630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7631 (eval $ac_compile) 2>&5
7633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7634 test $ac_status = 0; }; then
7635 # Now try to grab the symbols.
7637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7638 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7641 test $ac_status = 0; } && test -s "$nlist"; then
7642 # Try sorting and uniquifying the output.
7643 if sort "$nlist" |
uniq > "$nlist"T
; then
7644 mv -f "$nlist"T
"$nlist"
7649 # Make sure that we snagged all the symbols we need.
7650 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7651 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7652 cat <<_LT_EOF > conftest.$ac_ext
7658 # Now generate the symbol file.
7659 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7661 cat <<_LT_EOF >> conftest.$ac_ext
7663 /* The mapping between symbol names and symbols. */
7668 lt__PROGRAM__LTX_preloaded_symbols[] =
7670 { "@PROGRAM@", (void *) 0 },
7672 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7673 cat <<\_LT_EOF
>> conftest.
$ac_ext
7677 /* This works around a problem
in FreeBSD linker
*/
7678 #ifdef FREEBSD_WORKAROUND
7679 static const void
*lt_preloaded_setup
() {
7680 return lt__PROGRAM__LTX_preloaded_symbols
;
7688 # Now try linking the two files.
7689 mv conftest.
$ac_objext conftstm.
$ac_objext
7690 lt_save_LIBS
="$LIBS"
7691 lt_save_CFLAGS
="$CFLAGS"
7692 LIBS
="conftstm.$ac_objext"
7693 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7695 (eval $ac_link) 2>&5
7697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7698 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7701 LIBS
="$lt_save_LIBS"
7702 CFLAGS
="$lt_save_CFLAGS"
7704 echo "cannot find nm_test_func in $nlist" >&5
7707 echo "cannot find nm_test_var in $nlist" >&5
7710 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7713 echo "$progname: failed program was:" >&5
7714 cat conftest.
$ac_ext >&5
7716 rm -rf conftest
* conftst
*
7718 # Do not use the global_symbol_pipe unless it works.
7719 if test "$pipe_works" = yes; then
7722 lt_cv_sys_global_symbol_pipe
=
7728 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7729 lt_cv_sys_global_symbol_to_cdecl
=
7731 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7733 $as_echo "failed" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7736 $as_echo "ok" >&6; }
7760 # Check whether --enable-libtool-lock was given.
7761 if test "${enable_libtool_lock+set}" = set; then :
7762 enableval
=$enable_libtool_lock;
7765 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7767 # Some flags need to be propagated to the compiler or linker for good
7771 # Find out which ABI we are using.
7772 echo 'int i;' > conftest.
$ac_ext
7773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7774 (eval $ac_compile) 2>&5
7776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7777 test $ac_status = 0; }; then
7778 case `/usr/bin/file conftest.$ac_objext` in
7790 # Find out which ABI we are using.
7791 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7793 (eval $ac_compile) 2>&5
7795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796 test $ac_status = 0; }; then
7797 if test "$lt_cv_prog_gnu_ld" = yes; then
7798 case `/usr/bin/file conftest.$ac_objext` in
7800 LD
="${LD-ld} -melf32bsmip"
7803 LD
="${LD-ld} -melf32bmipn32"
7806 LD
="${LD-ld} -melf64bmip"
7810 case `/usr/bin/file conftest.$ac_objext` in
7826 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7827 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7828 # Find out which ABI we are using.
7829 echo 'int i;' > conftest.
$ac_ext
7830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7831 (eval $ac_compile) 2>&5
7833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7834 test $ac_status = 0; }; then
7835 case `/usr/bin/file conftest.o` in
7838 x86_64-
*kfreebsd
*-gnu)
7839 LD
="${LD-ld} -m elf_i386_fbsd"
7842 case `/usr/bin/file conftest.o` in
7844 LD
="${LD-ld} -m elf32_x86_64"
7847 LD
="${LD-ld} -m elf_i386"
7851 powerpc64le-
*linux
*)
7852 LD
="${LD-ld} -m elf32lppclinux"
7855 LD
="${LD-ld} -m elf32ppclinux"
7858 LD
="${LD-ld} -m elf_s390"
7861 LD
="${LD-ld} -m elf32_sparc"
7867 x86_64-
*kfreebsd
*-gnu)
7868 LD
="${LD-ld} -m elf_x86_64_fbsd"
7871 LD
="${LD-ld} -m elf_x86_64"
7874 LD
="${LD-ld} -m elf64lppc"
7877 LD
="${LD-ld} -m elf64ppc"
7879 s390
*-*linux
*|s390
*-*tpf
*)
7880 LD
="${LD-ld} -m elf64_s390"
7883 LD
="${LD-ld} -m elf64_sparc"
7893 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7894 SAVE_CFLAGS
="$CFLAGS"
7895 CFLAGS
="$CFLAGS -belf"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7897 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7898 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7899 $as_echo_n "(cached) " >&6
7902 ac_cpp
='$CPP $CPPFLAGS'
7903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7918 if ac_fn_c_try_link
"$LINENO"; then :
7919 lt_cv_cc_needs_belf
=yes
7921 lt_cv_cc_needs_belf
=no
7923 rm -f core conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7926 ac_cpp
='$CPP $CPPFLAGS'
7927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7933 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7934 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7935 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7936 CFLAGS
="$SAVE_CFLAGS"
7940 # Find out which ABI we are using.
7941 echo 'int i;' > conftest.
$ac_ext
7942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7943 (eval $ac_compile) 2>&5
7945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7946 test $ac_status = 0; }; then
7947 case `/usr/bin/file conftest.o` in
7949 case $lt_cv_prog_gnu_ld in
7950 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7952 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7964 need_locks
="$enable_libtool_lock"
7968 rhapsody
* | darwin
*)
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7971 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7975 $as_echo_n "(cached) " >&6
7977 if test -n "$DSYMUTIL"; then
7978 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7984 test -z "$as_dir" && as_dir
=.
7985 for ac_exec_ext
in '' $ac_executable_extensions; do
7986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7987 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7998 if test -n "$DSYMUTIL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8000 $as_echo "$DSYMUTIL" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8008 if test -z "$ac_cv_prog_DSYMUTIL"; then
8009 ac_ct_DSYMUTIL
=$DSYMUTIL
8010 # Extract the first word of "dsymutil", so it can be a program name with args.
8011 set dummy dsymutil
; ac_word
=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8015 $as_echo_n "(cached) " >&6
8017 if test -n "$ac_ct_DSYMUTIL"; then
8018 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8024 test -z "$as_dir" && as_dir
=.
8025 for ac_exec_ext
in '' $ac_executable_extensions; do
8026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8038 if test -n "$ac_ct_DSYMUTIL"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8040 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8046 if test "x$ac_ct_DSYMUTIL" = x
; then
8049 case $cross_compiling:$ac_tool_warned in
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053 ac_tool_warned
=yes ;;
8055 DSYMUTIL
=$ac_ct_DSYMUTIL
8058 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8061 if test -n "$ac_tool_prefix"; then
8062 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8063 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8067 $as_echo_n "(cached) " >&6
8069 if test -n "$NMEDIT"; then
8070 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir
=.
8077 for ac_exec_ext
in '' $ac_executable_extensions; do
8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 NMEDIT
=$ac_cv_prog_NMEDIT
8090 if test -n "$NMEDIT"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8092 $as_echo "$NMEDIT" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8100 if test -z "$ac_cv_prog_NMEDIT"; then
8101 ac_ct_NMEDIT
=$NMEDIT
8102 # Extract the first word of "nmedit", so it can be a program name with args.
8103 set dummy nmedit
; ac_word
=$2
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105 $as_echo_n "checking for $ac_word... " >&6; }
8106 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8107 $as_echo_n "(cached) " >&6
8109 if test -n "$ac_ct_NMEDIT"; then
8110 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8116 test -z "$as_dir" && as_dir
=.
8117 for ac_exec_ext
in '' $ac_executable_extensions; do
8118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8119 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8130 if test -n "$ac_ct_NMEDIT"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8132 $as_echo "$ac_ct_NMEDIT" >&6; }
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8138 if test "x$ac_ct_NMEDIT" = x
; then
8141 case $cross_compiling:$ac_tool_warned in
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8145 ac_tool_warned
=yes ;;
8147 NMEDIT
=$ac_ct_NMEDIT
8150 NMEDIT
="$ac_cv_prog_NMEDIT"
8153 if test -n "$ac_tool_prefix"; then
8154 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8155 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if test "${ac_cv_prog_LIPO+set}" = set; then :
8159 $as_echo_n "(cached) " >&6
8161 if test -n "$LIPO"; then
8162 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir
=.
8169 for ac_exec_ext
in '' $ac_executable_extensions; do
8170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 LIPO
=$ac_cv_prog_LIPO
8182 if test -n "$LIPO"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8184 $as_echo "$LIPO" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8192 if test -z "$ac_cv_prog_LIPO"; then
8194 # Extract the first word of "lipo", so it can be a program name with args.
8195 set dummy lipo
; ac_word
=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8197 $as_echo_n "checking for $ac_word... " >&6; }
8198 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8199 $as_echo_n "(cached) " >&6
8201 if test -n "$ac_ct_LIPO"; then
8202 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8208 test -z "$as_dir" && as_dir
=.
8209 for ac_exec_ext
in '' $ac_executable_extensions; do
8210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8211 ac_cv_prog_ac_ct_LIPO
="lipo"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8222 if test -n "$ac_ct_LIPO"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8224 $as_echo "$ac_ct_LIPO" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8230 if test "x$ac_ct_LIPO" = x
; then
8233 case $cross_compiling:$ac_tool_warned in
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8237 ac_tool_warned
=yes ;;
8242 LIPO
="$ac_cv_prog_LIPO"
8245 if test -n "$ac_tool_prefix"; then
8246 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8247 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8251 $as_echo_n "(cached) " >&6
8253 if test -n "$OTOOL"; then
8254 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir
=.
8261 for ac_exec_ext
in '' $ac_executable_extensions; do
8262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8273 OTOOL
=$ac_cv_prog_OTOOL
8274 if test -n "$OTOOL"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8276 $as_echo "$OTOOL" >&6; }
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8284 if test -z "$ac_cv_prog_OTOOL"; then
8286 # Extract the first word of "otool", so it can be a program name with args.
8287 set dummy otool
; ac_word
=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 $as_echo_n "checking for $ac_word... " >&6; }
8290 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8291 $as_echo_n "(cached) " >&6
8293 if test -n "$ac_ct_OTOOL"; then
8294 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir
=.
8301 for ac_exec_ext
in '' $ac_executable_extensions; do
8302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8303 ac_cv_prog_ac_ct_OTOOL
="otool"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8314 if test -n "$ac_ct_OTOOL"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8316 $as_echo "$ac_ct_OTOOL" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8322 if test "x$ac_ct_OTOOL" = x
; then
8325 case $cross_compiling:$ac_tool_warned in
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8329 ac_tool_warned
=yes ;;
8334 OTOOL
="$ac_cv_prog_OTOOL"
8337 if test -n "$ac_tool_prefix"; then
8338 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8339 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8341 $as_echo_n "checking for $ac_word... " >&6; }
8342 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8343 $as_echo_n "(cached) " >&6
8345 if test -n "$OTOOL64"; then
8346 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8352 test -z "$as_dir" && as_dir
=.
8353 for ac_exec_ext
in '' $ac_executable_extensions; do
8354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 OTOOL64
=$ac_cv_prog_OTOOL64
8366 if test -n "$OTOOL64"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8368 $as_echo "$OTOOL64" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8376 if test -z "$ac_cv_prog_OTOOL64"; then
8377 ac_ct_OTOOL64
=$OTOOL64
8378 # Extract the first word of "otool64", so it can be a program name with args.
8379 set dummy otool64
; ac_word
=$2
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 $as_echo_n "checking for $ac_word... " >&6; }
8382 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8383 $as_echo_n "(cached) " >&6
8385 if test -n "$ac_ct_OTOOL64"; then
8386 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8392 test -z "$as_dir" && as_dir
=.
8393 for ac_exec_ext
in '' $ac_executable_extensions; do
8394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8395 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8405 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8406 if test -n "$ac_ct_OTOOL64"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8408 $as_echo "$ac_ct_OTOOL64" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8414 if test "x$ac_ct_OTOOL64" = x
; then
8417 case $cross_compiling:$ac_tool_warned in
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8421 ac_tool_warned
=yes ;;
8423 OTOOL64
=$ac_ct_OTOOL64
8426 OTOOL64
="$ac_cv_prog_OTOOL64"
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8456 $as_echo_n "checking for -single_module linker flag... " >&6; }
8457 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8458 $as_echo_n "(cached) " >&6
8460 lt_cv_apple_cc_single_mod
=no
8461 if test -z "${LT_MULTI_MODULE}"; then
8462 # By default we will add the -single_module flag. You can override
8463 # by either setting the environment variable LT_MULTI_MODULE
8464 # non-empty at configure time, or by adding -multi_module to the
8466 rm -rf libconftest.dylib
*
8467 echo "int foo(void){return 1;}" > conftest.c
8468 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8469 -dynamiclib -Wl,-single_module conftest.c" >&5
8470 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8471 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8473 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8474 lt_cv_apple_cc_single_mod
=yes
8476 cat conftest.err
>&5
8478 rm -rf libconftest.dylib
*
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8483 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8485 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8486 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8487 $as_echo_n "(cached) " >&6
8489 lt_cv_ld_exported_symbols_list
=no
8490 save_LDFLAGS
=$LDFLAGS
8491 echo "_main" > conftest.sym
8492 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8504 if ac_fn_c_try_link
"$LINENO"; then :
8505 lt_cv_ld_exported_symbols_list
=yes
8507 lt_cv_ld_exported_symbols_list
=no
8509 rm -f core conftest.err conftest.
$ac_objext \
8510 conftest
$ac_exeext conftest.
$ac_ext
8511 LDFLAGS
="$save_LDFLAGS"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8515 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8517 $as_echo_n "checking for -force_load linker flag... " >&6; }
8518 if test "${lt_cv_ld_force_load+set}" = set; then :
8519 $as_echo_n "(cached) " >&6
8521 lt_cv_ld_force_load
=no
8522 cat > conftest.c
<< _LT_EOF
8523 int forced_loaded() { return 2;}
8525 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8526 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8527 echo "$AR cru libconftest.a conftest.o" >&5
8528 $AR cru libconftest.a conftest.o
2>&5
8529 cat > conftest.c
<< _LT_EOF
8530 int main() { return 0;}
8532 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8533 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8535 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8536 lt_cv_ld_force_load
=yes
8538 cat conftest.err
>&5
8540 rm -f conftest.err libconftest.a conftest conftest.c
8541 rm -rf conftest.dSYM
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8545 $as_echo "$lt_cv_ld_force_load" >&6; }
8547 rhapsody
* | darwin1.
[012])
8548 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8550 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8551 darwin
*) # darwin 5.x on
8552 # if running on 10.5 or later, the deployment target defaults
8553 # to the OS version, if on x86, and 10.4, the deployment
8554 # target defaults to 10.4. Don't you love it?
8555 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8556 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8557 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8559 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8561 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8565 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8566 _lt_dar_single_mod
='$single_module'
8568 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8569 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8571 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8573 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8574 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8581 for ac_header
in dlfcn.h
8583 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8585 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8586 cat >>confdefs.h
<<_ACEOF
8587 #define HAVE_DLFCN_H 1
8607 # Check whether --enable-shared was given.
8608 if test "${enable_shared+set}" = set; then :
8609 enableval
=$enable_shared; p
=${PACKAGE-default}
8611 yes) enable_shared
=yes ;;
8612 no
) enable_shared
=no
;;
8615 # Look at the argument we got. We use all the common list separators.
8616 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8617 for pkg
in $enableval; do
8619 if test "X$pkg" = "X$p"; then
8638 # Check whether --enable-static was given.
8639 if test "${enable_static+set}" = set; then :
8640 enableval
=$enable_static; p
=${PACKAGE-default}
8642 yes) enable_static
=yes ;;
8643 no
) enable_static
=no
;;
8646 # Look at the argument we got. We use all the common list separators.
8647 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8648 for pkg
in $enableval; do
8650 if test "X$pkg" = "X$p"; then
8670 # Check whether --with-pic was given.
8671 if test "${with_pic+set}" = set; then :
8672 withval
=$with_pic; pic_mode
="$withval"
8678 test -z "$pic_mode" && pic_mode
=default
8686 # Check whether --enable-fast-install was given.
8687 if test "${enable_fast_install+set}" = set; then :
8688 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8690 yes) enable_fast_install
=yes ;;
8691 no
) enable_fast_install
=no
;;
8693 enable_fast_install
=no
8694 # Look at the argument we got. We use all the common list separators.
8695 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8696 for pkg
in $enableval; do
8698 if test "X$pkg" = "X$p"; then
8699 enable_fast_install
=yes
8706 enable_fast_install
=yes
8719 # This can be used to rebuild libtool when needed
8720 LIBTOOL_DEPS
="$ltmain"
8722 # Always use our own libtool.
8723 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8750 test -z "$LN_S" && LN_S
="ln -s"
8765 if test -n "${ZSH_VERSION+set}" ; then
8766 setopt NO_GLOB_SUBST
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8770 $as_echo_n "checking for objdir... " >&6; }
8771 if test "${lt_cv_objdir+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8774 rm -f .libs
2>/dev
/null
8775 mkdir .libs
2>/dev
/null
8776 if test -d .libs
; then
8779 # MS-DOS does not allow filenames that begin with a dot.
8782 rmdir .libs
2>/dev
/null
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8785 $as_echo "$lt_cv_objdir" >&6; }
8786 objdir
=$lt_cv_objdir
8792 cat >>confdefs.h
<<_ACEOF
8793 #define LT_OBJDIR "$lt_cv_objdir/"
8801 # AIX sometimes has problems with the GCC collect2 program. For some
8802 # reason, if we set the COLLECT_NAMES environment variable, the problems
8803 # vanish in a puff of smoke.
8804 if test "X${COLLECT_NAMES+set}" != Xset
; then
8806 export COLLECT_NAMES
8813 can_build_shared
=yes
8815 # All known linkers require a `.a' archive for static linking (except MSVC,
8816 # which needs '.lib').
8819 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8822 old_CFLAGS
="$CFLAGS"
8824 # Set sane defaults for various variables
8825 test -z "$CC" && CC
=cc
8826 test -z "$LTCC" && LTCC
=$CC
8827 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8828 test -z "$LD" && LD
=ld
8829 test -z "$ac_objext" && ac_objext
=o
8831 for cc_temp
in $compiler""; do
8833 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8834 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8839 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8842 # Only perform the check for file, if the check method requires it
8843 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8844 case $deplibs_check_method in
8846 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8848 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8849 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8850 $as_echo_n "(cached) " >&6
8854 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8857 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8858 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8859 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8860 for ac_dir
in $ac_dummy; do
8862 test -z "$ac_dir" && ac_dir
=.
8863 if test -f $ac_dir/${ac_tool_prefix}file; then
8864 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8865 if test -n "$file_magic_test_file"; then
8866 case $deplibs_check_method in
8868 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8869 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8870 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8871 $EGREP "$file_magic_regex" > /dev
/null
; then
8876 *** Warning: the command libtool uses to detect shared libraries,
8877 *** $file_magic_cmd, produces output that libtool cannot recognize.
8878 *** The result is that libtool may fail to recognize shared libraries
8879 *** as such. This will affect the creation of libtool libraries that
8880 *** depend on shared libraries, but programs linked with such libtool
8881 *** libraries will work regardless of this problem. Nevertheless, you
8882 *** may want to report the problem to your system manager and/or to
8883 *** bug-libtool@gnu.org
8893 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8898 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8899 if test -n "$MAGIC_CMD"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8901 $as_echo "$MAGIC_CMD" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8904 $as_echo "no" >&6; }
8911 if test -z "$lt_cv_path_MAGIC_CMD"; then
8912 if test -n "$ac_tool_prefix"; then
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8914 $as_echo_n "checking for file... " >&6; }
8915 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8916 $as_echo_n "(cached) " >&6
8920 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8923 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8924 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8925 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8926 for ac_dir
in $ac_dummy; do
8928 test -z "$ac_dir" && ac_dir
=.
8929 if test -f $ac_dir/file; then
8930 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8931 if test -n "$file_magic_test_file"; then
8932 case $deplibs_check_method in
8934 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8935 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8936 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8937 $EGREP "$file_magic_regex" > /dev
/null
; then
8942 *** Warning: the command libtool uses to detect shared libraries,
8943 *** $file_magic_cmd, produces output that libtool cannot recognize.
8944 *** The result is that libtool may fail to recognize shared libraries
8945 *** as such. This will affect the creation of libtool libraries that
8946 *** depend on shared libraries, but programs linked with such libtool
8947 *** libraries will work regardless of this problem. Nevertheless, you
8948 *** may want to report the problem to your system manager and/or to
8949 *** bug-libtool@gnu.org
8959 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8965 if test -n "$MAGIC_CMD"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8967 $as_echo "$MAGIC_CMD" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8983 # Use C for the default configuration in the libtool script
8987 ac_cpp
='$CPP $CPPFLAGS'
8988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8993 # Source file extension for C test sources.
8996 # Object file extension for compiled C test sources.
9000 # Code to be used in simple compile tests
9001 lt_simple_compile_test_code
="int some_variable = 0;"
9003 # Code to be used in simple link tests
9004 lt_simple_link_test_code
='int main(){return(0);}'
9012 # If no C compiler was specified, use CC.
9015 # If no C compiler flags were specified, use CFLAGS.
9016 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9018 # Allow CC to be a program name with arguments.
9021 # Save the default compiler, since it gets overwritten when the other
9022 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9023 compiler_DEFAULT
=$CC
9025 # save warnings/boilerplate of simple test code
9026 ac_outfile
=conftest.
$ac_objext
9027 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9028 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9029 _lt_compiler_boilerplate
=`cat conftest.err`
9032 ac_outfile
=conftest.
$ac_objext
9033 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9034 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9035 _lt_linker_boilerplate
=`cat conftest.err`
9040 ## There is no encapsulation within the following macros, do not change
9041 ## the running order or otherwise move them around unless you know exactly
9042 ## what you are doing...
9043 if test -n "$compiler"; then
9045 lt_prog_compiler_no_builtin_flag
=
9047 if test "$GCC" = yes; then
9048 case $cc_basename in
9050 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9052 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9056 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9057 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9058 $as_echo_n "(cached) " >&6
9060 lt_cv_prog_compiler_rtti_exceptions
=no
9061 ac_outfile
=conftest.
$ac_objext
9062 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9063 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9064 # Insert the option either (1) after the last *FLAGS variable, or
9065 # (2) before a word containing "conftest.", or (3) at the end.
9066 # Note that $ac_compile itself does not contain backslashes and begins
9067 # with a dollar sign (not a hyphen), so the echo should work correctly.
9068 # The option is referenced via a variable to avoid confusing sed.
9069 lt_compile
=`echo "$ac_compile" | $SED \
9070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9072 -e 's:$: $lt_compiler_flag:'`
9073 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9074 (eval "$lt_compile" 2>conftest.err
)
9076 cat conftest.err
>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 if (exit $ac_status) && test -s "$ac_outfile"; then
9079 # The compiler can only warn and ignore the option if not recognized
9080 # So say no if there are warnings other than the usual output.
9081 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9083 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9084 lt_cv_prog_compiler_rtti_exceptions
=yes
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9091 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9093 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9094 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9106 lt_prog_compiler_wl
=
9107 lt_prog_compiler_pic
=
9108 lt_prog_compiler_static
=
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9111 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9113 if test "$GCC" = yes; then
9114 lt_prog_compiler_wl
='-Wl,'
9115 lt_prog_compiler_static
='-static'
9119 # All AIX code is PIC.
9120 if test "$host_cpu" = ia64
; then
9121 # AIX 5 now supports IA64 processor
9122 lt_prog_compiler_static
='-Bstatic'
9124 lt_prog_compiler_pic
='-fPIC'
9130 # see comment about AmigaOS4 .so support
9131 lt_prog_compiler_pic
='-fPIC'
9134 # FIXME: we need at least 68020 code to build shared libraries, but
9135 # adding the `-m68020' flag to GCC prevents building anything better,
9137 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9142 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9143 # PIC is the default for these OSes.
9146 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9147 # This hack is so that the source file can tell whether it is being
9148 # built for inclusion in a dll (and should export symbols for example).
9149 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9150 # (--disable-auto-import) libraries
9151 lt_prog_compiler_pic
='-DDLL_EXPORT'
9154 darwin
* | rhapsody
*)
9155 # PIC is the default on this platform
9156 # Common symbols not allowed in MH_DYLIB files
9157 lt_prog_compiler_pic
='-fno-common'
9161 # PIC is the default for Haiku.
9162 # The "-static" flag exists, but is broken.
9163 lt_prog_compiler_static
=
9167 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9168 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9169 # sets the default TLS model and affects inlining.
9175 lt_prog_compiler_pic
='-fPIC'
9181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9182 # Instead, we relocate shared libraries at runtime.
9186 # Just because we use GCC doesn't mean we suddenly get shared libraries
9187 # on systems that don't support them.
9188 lt_prog_compiler_can_build_shared
=no
9193 # QNX uses GNU C++, but need to define -shared option too, otherwise
9195 lt_prog_compiler_pic
='-fPIC -shared'
9199 if test -d /usr
/nec
; then
9200 lt_prog_compiler_pic
=-Kconform_pic
9205 lt_prog_compiler_pic
='-fPIC'
9209 case $cc_basename in
9210 nvcc
*) # Cuda Compiler Driver 2.2
9211 lt_prog_compiler_wl
='-Xlinker '
9212 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9216 # PORTME Check for flag to pass linker flags through the system compiler.
9219 lt_prog_compiler_wl
='-Wl,'
9220 if test "$host_cpu" = ia64
; then
9221 # AIX 5 now supports IA64 processor
9222 lt_prog_compiler_static
='-Bstatic'
9224 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9228 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9229 # This hack is so that the source file can tell whether it is being
9230 # built for inclusion in a dll (and should export symbols for example).
9231 lt_prog_compiler_pic
='-DDLL_EXPORT'
9234 hpux9
* | hpux10
* | hpux11
*)
9235 lt_prog_compiler_wl
='-Wl,'
9236 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9243 lt_prog_compiler_pic
='+Z'
9246 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9247 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9250 irix5
* | irix6
* | nonstopux
*)
9251 lt_prog_compiler_wl
='-Wl,'
9252 # PIC (with -KPIC) is the default.
9253 lt_prog_compiler_static
='-non_shared'
9256 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9257 case $cc_basename in
9258 # old Intel for x86_64 which still supported -KPIC.
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_pic
='-KPIC'
9262 lt_prog_compiler_static
='-static'
9264 # icc used to be incompatible with GCC.
9265 # ICC 10 doesn't accept -KPIC any more.
9267 lt_prog_compiler_wl
='-Wl,'
9268 lt_prog_compiler_pic
='-fPIC'
9269 lt_prog_compiler_static
='-static'
9271 # Lahey Fortran 8.1.
9273 lt_prog_compiler_wl
='-Wl,'
9274 lt_prog_compiler_pic
='--shared'
9275 lt_prog_compiler_static
='--static'
9277 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9278 # Portland Group compilers (*not* the Pentium gcc compiler,
9279 # which looks to be a dead project)
9280 lt_prog_compiler_wl
='-Wl,'
9281 lt_prog_compiler_pic
='-fpic'
9282 lt_prog_compiler_static
='-Bstatic'
9285 lt_prog_compiler_wl
='-Wl,'
9286 # All Alpha code is PIC.
9287 lt_prog_compiler_static
='-non_shared'
9289 xl
* | bgxl
* | bgf
* | mpixl
*)
9290 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9291 lt_prog_compiler_wl
='-Wl,'
9292 lt_prog_compiler_pic
='-qpic'
9293 lt_prog_compiler_static
='-qstaticlink'
9296 case `$CC -V 2>&1 | sed 5q` in
9297 *Sun\ F
* |
*Sun
*Fortran
*)
9298 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9299 lt_prog_compiler_pic
='-KPIC'
9300 lt_prog_compiler_static
='-Bstatic'
9301 lt_prog_compiler_wl
=''
9305 lt_prog_compiler_pic
='-KPIC'
9306 lt_prog_compiler_static
='-Bstatic'
9307 lt_prog_compiler_wl
='-Wl,'
9315 lt_prog_compiler_pic
='-KPIC'
9316 lt_prog_compiler_static
='-Bstatic'
9320 # QNX uses GNU C++, but need to define -shared option too, otherwise
9322 lt_prog_compiler_pic
='-fPIC -shared'
9325 osf3
* | osf4
* | osf5
*)
9326 lt_prog_compiler_wl
='-Wl,'
9327 # All OSF/1 code is PIC.
9328 lt_prog_compiler_static
='-non_shared'
9332 lt_prog_compiler_static
='-non_shared'
9336 lt_prog_compiler_pic
='-KPIC'
9337 lt_prog_compiler_static
='-Bstatic'
9338 case $cc_basename in
9340 lt_prog_compiler_wl
='-Qoption ld ';;
9342 lt_prog_compiler_wl
='-Wl,';;
9347 lt_prog_compiler_wl
='-Qoption ld '
9348 lt_prog_compiler_pic
='-PIC'
9349 lt_prog_compiler_static
='-Bstatic'
9352 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9353 lt_prog_compiler_wl
='-Wl,'
9354 lt_prog_compiler_pic
='-KPIC'
9355 lt_prog_compiler_static
='-Bstatic'
9359 if test -d /usr
/nec
;then
9360 lt_prog_compiler_pic
='-Kconform_pic'
9361 lt_prog_compiler_static
='-Bstatic'
9365 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9366 lt_prog_compiler_wl
='-Wl,'
9367 lt_prog_compiler_pic
='-KPIC'
9368 lt_prog_compiler_static
='-Bstatic'
9372 lt_prog_compiler_wl
='-Wl,'
9373 lt_prog_compiler_can_build_shared
=no
9377 lt_prog_compiler_pic
='-pic'
9378 lt_prog_compiler_static
='-Bstatic'
9382 lt_prog_compiler_can_build_shared
=no
9388 # For platforms which do not support PIC, -DPIC is meaningless:
9390 lt_prog_compiler_pic
=
9393 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9397 $as_echo "$lt_prog_compiler_pic" >&6; }
9405 # Check to make sure the PIC flag actually works.
9407 if test -n "$lt_prog_compiler_pic"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9409 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9410 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9411 $as_echo_n "(cached) " >&6
9413 lt_cv_prog_compiler_pic_works
=no
9414 ac_outfile
=conftest.
$ac_objext
9415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9416 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9417 # Insert the option either (1) after the last *FLAGS variable, or
9418 # (2) before a word containing "conftest.", or (3) at the end.
9419 # Note that $ac_compile itself does not contain backslashes and begins
9420 # with a dollar sign (not a hyphen), so the echo should work correctly.
9421 # The option is referenced via a variable to avoid confusing sed.
9422 lt_compile
=`echo "$ac_compile" | $SED \
9423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9425 -e 's:$: $lt_compiler_flag:'`
9426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9427 (eval "$lt_compile" 2>conftest.err
)
9429 cat conftest.err
>&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 if (exit $ac_status) && test -s "$ac_outfile"; then
9432 # The compiler can only warn and ignore the option if not recognized
9433 # So say no if there are warnings other than the usual output.
9434 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9435 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9436 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9437 lt_cv_prog_compiler_pic_works
=yes
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9444 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9446 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9447 case $lt_prog_compiler_pic in
9449 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9452 lt_prog_compiler_pic
=
9453 lt_prog_compiler_can_build_shared
=no
9464 # Check to make sure the static flag actually works.
9466 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9468 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9469 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9470 $as_echo_n "(cached) " >&6
9472 lt_cv_prog_compiler_static_works
=no
9473 save_LDFLAGS
="$LDFLAGS"
9474 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9475 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9476 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9477 # The linker can only warn and ignore the option if not recognized
9478 # So say no if there are warnings
9479 if test -s conftest.err
; then
9480 # Append any errors to the config.log.
9481 cat conftest.err
1>&5
9482 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9483 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9484 if diff conftest.exp conftest.er2
>/dev
/null
; then
9485 lt_cv_prog_compiler_static_works
=yes
9488 lt_cv_prog_compiler_static_works
=yes
9492 LDFLAGS
="$save_LDFLAGS"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9496 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9498 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9501 lt_prog_compiler_static
=
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9511 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9512 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9513 $as_echo_n "(cached) " >&6
9515 lt_cv_prog_compiler_c_o
=no
9516 $RM -r conftest
2>/dev
/null
9520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9522 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9523 # Insert the option either (1) after the last *FLAGS variable, or
9524 # (2) before a word containing "conftest.", or (3) at the end.
9525 # Note that $ac_compile itself does not contain backslashes and begins
9526 # with a dollar sign (not a hyphen), so the echo should work correctly.
9527 lt_compile
=`echo "$ac_compile" | $SED \
9528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9530 -e 's:$: $lt_compiler_flag:'`
9531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9532 (eval "$lt_compile" 2>out
/conftest.err
)
9534 cat out
/conftest.err
>&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9538 # The compiler can only warn and ignore the option if not recognized
9539 # So say no if there are warnings
9540 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9541 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9542 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9543 lt_cv_prog_compiler_c_o
=yes
9548 # SGI C++ compiler will create directory out/ii_files/ for
9549 # template instantiation
9550 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9551 $RM out
/* && rmdir out
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9558 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9567 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_c_o
=no
9571 $RM -r conftest
2>/dev
/null
9575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9578 # Insert the option either (1) after the last *FLAGS variable, or
9579 # (2) before a word containing "conftest.", or (3) at the end.
9580 # Note that $ac_compile itself does not contain backslashes and begins
9581 # with a dollar sign (not a hyphen), so the echo should work correctly.
9582 lt_compile
=`echo "$ac_compile" | $SED \
9583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9585 -e 's:$: $lt_compiler_flag:'`
9586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9587 (eval "$lt_compile" 2>out
/conftest.err
)
9589 cat out
/conftest.err
>&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9593 # The compiler can only warn and ignore the option if not recognized
9594 # So say no if there are warnings
9595 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9596 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9597 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9598 lt_cv_prog_compiler_c_o
=yes
9603 # SGI C++ compiler will create directory out/ii_files/ for
9604 # template instantiation
9605 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9606 $RM out
/* && rmdir out
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9613 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618 hard_links
="nottested"
9619 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9620 # do not overwrite the value of need_locks provided by the user
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9622 $as_echo_n "checking if we can lock with hard links... " >&6; }
9625 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9627 ln conftest.a conftest.b
2>&5 || hard_links
=no
9628 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9630 $as_echo "$hard_links" >&6; }
9631 if test "$hard_links" = no
; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9649 allow_undefined_flag
=
9650 always_export_symbols
=no
9652 archive_expsym_cmds
=
9653 compiler_needs_object
=no
9654 enable_shared_with_static_runtimes
=no
9655 export_dynamic_flag_spec
=
9656 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9657 hardcode_automatic
=no
9659 hardcode_direct_absolute
=no
9660 hardcode_libdir_flag_spec
=
9661 hardcode_libdir_flag_spec_ld
=
9662 hardcode_libdir_separator
=
9664 hardcode_shlibpath_var
=unsupported
9666 link_all_deplibs
=unknown
9669 old_archive_from_new_cmds
=
9670 old_archive_from_expsyms_cmds
=
9671 thread_safe_flag_spec
=
9672 whole_archive_flag_spec
=
9673 # include_expsyms should be a list of space-separated symbols to be *always*
9674 # included in the symbol list
9676 # exclude_expsyms can be an extended regexp of symbols to exclude
9677 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9678 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9679 # as well as any symbol that contains `d'.
9680 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9681 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9682 # platforms (ab)use it in PIC code, but their linkers get confused if
9683 # the symbol is explicitly referenced. Since portable code cannot
9684 # rely on this symbol name, it's probably fine to never include it in
9685 # preloaded symbol tables.
9686 # Exclude shared library initialization/finalization symbols.
9687 extract_expsyms_cmds
=
9690 cygwin
* | mingw
* | pw32
* | cegcc
*)
9691 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9692 # When not using gcc, we currently assume that we are using
9693 # Microsoft Visual C++.
9694 if test "$GCC" != yes; then
9699 # we just hope/assume this is gcc and not c89 (= MSVC++)
9709 # On some targets, GNU ld is compatible enough with the native linker
9710 # that we're better off using the native interface for both.
9711 lt_use_gnu_ld_interface
=no
9712 if test "$with_gnu_ld" = yes; then
9715 # The AIX port of GNU ld has always aspired to compatibility
9716 # with the native linker. However, as the warning in the GNU ld
9717 # block says, versions before 2.19.5* couldn't really create working
9718 # shared libraries, regardless of the interface used.
9719 case `$LD -v 2>&1` in
9720 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9721 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9722 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9724 lt_use_gnu_ld_interface
=yes
9729 lt_use_gnu_ld_interface
=yes
9734 if test "$lt_use_gnu_ld_interface" = yes; then
9735 # If archive_cmds runs LD, not CC, wlarc should be empty
9738 # Set some defaults for GNU ld with shared library support. These
9739 # are reset later if shared libraries are not supported. Putting them
9740 # here allows them to be overridden if necessary.
9741 runpath_var
=LD_RUN_PATH
9742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9743 export_dynamic_flag_spec
='${wl}--export-dynamic'
9744 # ancient GNU ld didn't support --whole-archive et. al.
9745 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9746 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9748 whole_archive_flag_spec
=
9750 supports_anon_versioning
=no
9751 case `$LD -v 2>&1` in
9752 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9753 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9754 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9755 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9756 *\
2.11.
*) ;; # other 2.11 versions
9757 *) supports_anon_versioning
=yes ;;
9760 # See if GNU ld supports shared libraries.
9763 # On AIX/PPC, the GNU linker is very broken
9764 if test "$host_cpu" != ia64
; then
9768 *** Warning: the GNU linker, at least up to release 2.19, is reported
9769 *** to be unable to reliably create shared libraries on AIX.
9770 *** Therefore, libtool is disabling shared libraries support. If you
9771 *** really care for shared libraries, you may want to install binutils
9772 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9773 *** You will then need to restart the configuration process.
9782 # see comment about AmigaOS4 .so support
9783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9784 archive_expsym_cmds
=''
9787 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)'
9788 hardcode_libdir_flag_spec
='-L$libdir'
9789 hardcode_minus_L
=yes
9795 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9796 allow_undefined_flag
=unsupported
9797 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9798 # support --undefined. This deserves some investigation. FIXME
9799 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805 cygwin
* | mingw
* | pw32
* | cegcc
*)
9806 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9807 # as there is no search path for DLLs.
9808 hardcode_libdir_flag_spec
='-L$libdir'
9809 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9810 allow_undefined_flag
=unsupported
9811 always_export_symbols
=no
9812 enable_shared_with_static_runtimes
=yes
9813 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9815 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9817 # If the export-symbols file already is a .def file (1st line
9818 # is EXPORTS), use it as is; otherwise, prepend...
9819 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9820 cp $export_symbols $output_objdir/$soname.def;
9822 echo EXPORTS > $output_objdir/$soname.def;
9823 cat $export_symbols >> $output_objdir/$soname.def;
9825 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9832 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9833 link_all_deplibs
=yes
9838 hardcode_shlibpath_var
=no
9839 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9840 export_dynamic_flag_spec
='${wl}-E'
9841 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9842 # Instead, shared libraries are loaded at an image base (0x10000000 by
9843 # default) and relocated if they conflict, which is a slow very memory
9844 # consuming and fragmenting process. To avoid this, we pick a random,
9845 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9846 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9847 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9848 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'
9851 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9853 if test "$host_os" = linux-dietlibc
; then
9854 case $cc_basename in
9855 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9858 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9859 && test "$tmp_diet" = no
9861 tmp_addflag
=' $pic_flag'
9862 tmp_sharedflag
='-shared'
9863 case $cc_basename,$host_cpu in
9864 pgcc
*) # Portland Group C compiler
9865 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'
9866 tmp_addflag
=' $pic_flag'
9868 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9869 # Portland Group f77 and f90 compilers
9870 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'
9871 tmp_addflag
=' $pic_flag -Mnomain' ;;
9872 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9873 tmp_addflag
=' -i_dynamic' ;;
9874 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9875 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9876 ifc
* | ifort
*) # Intel Fortran compiler
9877 tmp_addflag
=' -nofor_main' ;;
9878 lf95
*) # Lahey Fortran 8.1
9879 whole_archive_flag_spec
=
9880 tmp_sharedflag
='--shared' ;;
9881 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9882 tmp_sharedflag
='-qmkshrobj'
9884 nvcc
*) # Cuda Compiler Driver 2.2
9885 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'
9886 compiler_needs_object
=yes
9889 case `$CC -V 2>&1 | sed 5q` in
9890 *Sun\ C
*) # Sun C 5.9
9891 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'
9892 compiler_needs_object
=yes
9893 tmp_sharedflag
='-G' ;;
9894 *Sun\ F
*) # Sun Fortran 8.3
9895 tmp_sharedflag
='-G' ;;
9897 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9899 if test "x$supports_anon_versioning" = xyes
; then
9900 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9901 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9902 echo "local: *; };" >> $output_objdir/$libname.ver~
9903 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9906 case $cc_basename in
9907 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9908 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9909 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9910 hardcode_libdir_flag_spec
=
9911 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9912 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9913 if test "x$supports_anon_versioning" = xyes
; then
9914 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9915 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9916 echo "local: *; };" >> $output_objdir/$libname.ver~
9917 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9927 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9928 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9931 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9937 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9941 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9942 *** create shared libraries on Solaris systems. Therefore, libtool
9943 *** is disabling shared libraries support. We urge you to upgrade GNU
9944 *** binutils to release 2.9.1 or newer. Another option is to modify
9945 *** your PATH or compiler configuration so that the native linker is
9946 *** used, and then restart.
9949 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9950 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9957 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9958 case `$LD -v 2>&1` in
9959 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9963 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9964 *** reliably create shared libraries on SCO systems. Therefore, libtool
9965 *** is disabling shared libraries support. We urge you to upgrade GNU
9966 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9967 *** your PATH or compiler configuration so that the native linker is
9968 *** used, and then restart.
9973 # For security reasons, it is highly recommended that you always
9974 # use absolute paths for naming shared libraries, and exclude the
9975 # DT_RUNPATH tag from executables and libraries. But doing so
9976 # requires that you compile everything twice, which is a pain.
9977 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9978 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9979 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9989 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9992 hardcode_shlibpath_var
=no
9996 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005 if test "$ld_shlibs" = no
; then
10007 hardcode_libdir_flag_spec
=
10008 export_dynamic_flag_spec
=
10009 whole_archive_flag_spec
=
10012 # PORTME fill in a description of your system's linker (not GNU ld)
10015 allow_undefined_flag
=unsupported
10016 always_export_symbols
=yes
10017 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'
10018 # Note: this linker hardcodes the directories in LIBPATH if there
10019 # are no directories specified by -L.
10020 hardcode_minus_L
=yes
10021 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10022 # Neither direct hardcoding nor static linking is supported with a
10024 hardcode_direct
=unsupported
10029 if test "$host_cpu" = ia64
; then
10030 # On IA64, the linker does run time linking by default, so we don't
10031 # have to do anything special.
10032 aix_use_runtimelinking
=no
10033 exp_sym_flag
='-Bexport'
10036 # If we're using GNU nm, then we don't want the "-C" option.
10037 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10038 # Also, AIX nm treats weak defined symbols like other global
10039 # defined symbols, whereas GNU nm marks them as "W".
10040 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10041 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'
10043 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'
10045 aix_use_runtimelinking
=no
10047 # Test if we are trying to use run time linking or normal
10048 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10049 # need to do runtime linking.
10050 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10051 for ld_flag
in $LDFLAGS; do
10052 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10053 aix_use_runtimelinking
=yes
10060 exp_sym_flag
='-bexport'
10061 no_entry_flag
='-bnoentry'
10064 # When large executables or shared objects are built, AIX ld can
10065 # have problems creating the table of contents. If linking a library
10066 # or program results in "error TOC overflow" add -mminimal-toc to
10067 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10068 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10071 hardcode_direct
=yes
10072 hardcode_direct_absolute
=yes
10073 hardcode_libdir_separator
=':'
10074 link_all_deplibs
=yes
10075 file_list_spec
='${wl}-f,'
10077 if test "$GCC" = yes; then
10078 case $host_os in aix4.
[012]|aix4.
[012].
*)
10079 # We only want to do this on AIX 4.2 and lower, the check
10080 # below for broken collect2 doesn't work under 4.3+
10081 collect2name
=`${CC} -print-prog-name=collect2`
10082 if test -f "$collect2name" &&
10083 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10085 # We have reworked collect2
10088 # We have old collect2
10089 hardcode_direct
=unsupported
10090 # It fails to find uninstalled libraries when the uninstalled
10091 # path is not listed in the libpath. Setting hardcode_minus_L
10092 # to unsupported forces relinking
10093 hardcode_minus_L
=yes
10094 hardcode_libdir_flag_spec
='-L$libdir'
10095 hardcode_libdir_separator
=
10099 shared_flag
='-shared'
10100 if test "$aix_use_runtimelinking" = yes; then
10101 shared_flag
="$shared_flag "'${wl}-G'
10105 if test "$host_cpu" = ia64
; then
10106 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10107 # chokes on -Wl,-G. The following line is correct:
10110 if test "$aix_use_runtimelinking" = yes; then
10111 shared_flag
='${wl}-G'
10113 shared_flag
='${wl}-bM:SRE'
10118 export_dynamic_flag_spec
='${wl}-bexpall'
10119 # It seems that -bexpall does not export symbols beginning with
10120 # underscore (_), so it is better to generate a list of symbols to export.
10121 always_export_symbols
=yes
10122 if test "$aix_use_runtimelinking" = yes; then
10123 # Warning - without using the other runtime loading flags (-brtl),
10124 # -berok will link without error, but may produce a broken library.
10125 allow_undefined_flag
='-berok'
10126 # Determine the default libpath from the value encoded in an
10127 # empty executable.
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10139 if ac_fn_c_try_link
"$LINENO"; then :
10141 lt_aix_libpath_sed
='
10142 /Import File Strings/,/^$/ {
10148 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10149 # Check for a 64-bit object if we didn't find anything.
10150 if test -z "$aix_libpath"; then
10151 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10158 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10159 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"
10161 if test "$host_cpu" = ia64
; then
10162 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10163 allow_undefined_flag
="-z nodefs"
10164 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"
10166 # Determine the default libpath from the value encoded in an
10167 # empty executable.
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10179 if ac_fn_c_try_link
"$LINENO"; then :
10181 lt_aix_libpath_sed
='
10182 /Import File Strings/,/^$/ {
10188 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10189 # Check for a 64-bit object if we didn't find anything.
10190 if test -z "$aix_libpath"; then
10191 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10194 rm -f core conftest.err conftest.
$ac_objext \
10195 conftest
$ac_exeext conftest.
$ac_ext
10196 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10198 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10199 # Warning - without using the other run time loading flags,
10200 # -berok will link without error, but may produce a broken library.
10201 no_undefined_flag
=' ${wl}-bernotok'
10202 allow_undefined_flag
=' ${wl}-berok'
10203 if test "$with_gnu_ld" = yes; then
10204 # We only use this code for GNU lds that support --whole-archive.
10205 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10207 # Exported symbols can be pulled into shared objects from archives
10208 whole_archive_flag_spec
='$convenience'
10210 archive_cmds_need_lc
=yes
10211 # This is similar to how AIX traditionally builds its shared libraries.
10212 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'
10220 # see comment about AmigaOS4 .so support
10221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10222 archive_expsym_cmds
=''
10225 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)'
10226 hardcode_libdir_flag_spec
='-L$libdir'
10227 hardcode_minus_L
=yes
10233 export_dynamic_flag_spec
=-rdynamic
10236 cygwin
* | mingw
* | pw32
* | cegcc
*)
10237 # When not using gcc, we currently assume that we are using
10238 # Microsoft Visual C++.
10239 # hardcode_libdir_flag_spec is actually meaningless, as there is
10240 # no search path for DLLs.
10241 hardcode_libdir_flag_spec
=' '
10242 allow_undefined_flag
=unsupported
10243 # Tell ltmain to make .lib files, not .a files.
10245 # Tell ltmain to make .dll files, not .so files.
10247 # FIXME: Setting linknames here is a bad hack.
10248 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10249 # The linker will automatically build a .lib file if we build a DLL.
10250 old_archive_from_new_cmds
='true'
10251 # FIXME: Should let the user specify the lib program.
10252 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10253 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10254 enable_shared_with_static_runtimes
=yes
10257 darwin
* | rhapsody
*)
10260 archive_cmds_need_lc
=no
10262 hardcode_automatic
=yes
10263 hardcode_shlibpath_var
=unsupported
10264 if test "$lt_cv_ld_force_load" = "yes"; then
10265 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\"`'
10267 whole_archive_flag_spec
=''
10269 link_all_deplibs
=yes
10270 allow_undefined_flag
="$_lt_dar_allow_undefined"
10271 case $cc_basename in
10272 ifort
*) _lt_dar_can_shared
=yes ;;
10273 *) _lt_dar_can_shared
=$GCC ;;
10275 if test "$_lt_dar_can_shared" = "yes"; then
10276 output_verbose_link_cmd
=func_echo_all
10277 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10278 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10279 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}"
10280 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}"
10289 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290 hardcode_libdir_flag_spec
='-L$libdir'
10291 hardcode_shlibpath_var
=no
10294 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10295 # support. Future versions do this automatically, but an explicit c++rt0.o
10296 # does not break anything, and helps significantly (at the cost of a little
10299 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10300 hardcode_libdir_flag_spec
='-R$libdir'
10301 hardcode_direct
=yes
10302 hardcode_shlibpath_var
=no
10305 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10308 hardcode_direct
=yes
10309 hardcode_minus_L
=yes
10310 hardcode_shlibpath_var
=no
10313 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10314 freebsd
* | dragonfly
*)
10315 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10316 hardcode_libdir_flag_spec
='-R$libdir'
10317 hardcode_direct
=yes
10318 hardcode_shlibpath_var
=no
10322 if test "$GCC" = yes; then
10323 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'
10325 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'
10327 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10328 hardcode_libdir_separator
=:
10329 hardcode_direct
=yes
10331 # hardcode_minus_L: Not really in the search PATH,
10332 # but as the default location of the library.
10333 hardcode_minus_L
=yes
10334 export_dynamic_flag_spec
='${wl}-E'
10338 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10339 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10343 if test "$with_gnu_ld" = no
; then
10344 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10345 hardcode_libdir_flag_spec_ld
='+b $libdir'
10346 hardcode_libdir_separator
=:
10347 hardcode_direct
=yes
10348 hardcode_direct_absolute
=yes
10349 export_dynamic_flag_spec
='${wl}-E'
10350 # hardcode_minus_L: Not really in the search PATH,
10351 # but as the default location of the library.
10352 hardcode_minus_L
=yes
10357 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10360 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10379 # Older versions of the 11.00 compiler do not understand -b yet
10380 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10382 $as_echo_n "checking if $CC understands -b... " >&6; }
10383 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10384 $as_echo_n "(cached) " >&6
10386 lt_cv_prog_compiler__b
=no
10387 save_LDFLAGS
="$LDFLAGS"
10388 LDFLAGS
="$LDFLAGS -b"
10389 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10390 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10391 # The linker can only warn and ignore the option if not recognized
10392 # So say no if there are warnings
10393 if test -s conftest.err
; then
10394 # Append any errors to the config.log.
10395 cat conftest.err
1>&5
10396 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10397 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10398 if diff conftest.exp conftest.er2
>/dev
/null
; then
10399 lt_cv_prog_compiler__b
=yes
10402 lt_cv_prog_compiler__b
=yes
10406 LDFLAGS
="$save_LDFLAGS"
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10410 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10412 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10413 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10421 if test "$with_gnu_ld" = no
; then
10422 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10423 hardcode_libdir_separator
=:
10428 hardcode_shlibpath_var
=no
10431 hardcode_direct
=yes
10432 hardcode_direct_absolute
=yes
10433 export_dynamic_flag_spec
='${wl}-E'
10435 # hardcode_minus_L: Not really in the search PATH,
10436 # but as the default location of the library.
10437 hardcode_minus_L
=yes
10443 irix5
* | irix6
* | nonstopux
*)
10444 if test "$GCC" = yes; then
10445 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'
10446 # Try to use the -exported_symbol ld option, if it does not
10447 # work, assume that -exports_file does not work either and
10448 # implicitly export all symbols.
10449 save_LDFLAGS
="$LDFLAGS"
10450 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10455 if ac_fn_c_try_link
"$LINENO"; then :
10456 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'
10459 rm -f core conftest.err conftest.
$ac_objext \
10460 conftest
$ac_exeext conftest.
$ac_ext
10461 LDFLAGS
="$save_LDFLAGS"
10463 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'
10464 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'
10466 archive_cmds_need_lc
='no'
10467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10468 hardcode_libdir_separator
=:
10470 link_all_deplibs
=yes
10474 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10475 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10477 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10479 hardcode_libdir_flag_spec
='-R$libdir'
10480 hardcode_direct
=yes
10481 hardcode_shlibpath_var
=no
10485 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10486 hardcode_direct
=yes
10487 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10488 hardcode_libdir_separator
=:
10489 hardcode_shlibpath_var
=no
10496 if test -f /usr
/libexec
/ld.so
; then
10497 hardcode_direct
=yes
10498 hardcode_shlibpath_var
=no
10499 hardcode_direct_absolute
=yes
10500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10501 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10503 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10504 export_dynamic_flag_spec
='${wl}-E'
10507 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10508 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10509 hardcode_libdir_flag_spec
='-R$libdir'
10512 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10513 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10523 hardcode_libdir_flag_spec
='-L$libdir'
10524 hardcode_minus_L
=yes
10525 allow_undefined_flag
=unsupported
10526 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'
10527 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10531 if test "$GCC" = yes; then
10532 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10533 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'
10535 allow_undefined_flag
=' -expect_unresolved \*'
10536 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'
10538 archive_cmds_need_lc
='no'
10539 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10540 hardcode_libdir_separator
=:
10543 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10544 if test "$GCC" = yes; then
10545 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10546 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'
10547 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10549 allow_undefined_flag
=' -expect_unresolved \*'
10550 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'
10551 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~
10552 $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'
10554 # Both c and cxx compiler support -rpath directly
10555 hardcode_libdir_flag_spec
='-rpath $libdir'
10557 archive_cmds_need_lc
='no'
10558 hardcode_libdir_separator
=:
10562 no_undefined_flag
=' -z defs'
10563 if test "$GCC" = yes; then
10565 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10567 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10569 case `$CC -V 2>&1` in
10572 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10574 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10578 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10579 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10580 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10584 hardcode_libdir_flag_spec
='-R$libdir'
10585 hardcode_shlibpath_var
=no
10587 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10589 # The compiler driver will combine and reorder linker options,
10590 # but understands `-z linker_flag'. GCC discards it without `$wl',
10591 # but is careful enough not to reorder.
10592 # Supported since Solaris 2.6 (maybe 2.5.1?)
10593 if test "$GCC" = yes; then
10594 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10596 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10600 link_all_deplibs
=yes
10604 if test "x$host_vendor" = xsequent
; then
10605 # Use $CC to link under sequent, because it throws in some extra .o
10606 # files that make .init and .fini sections work.
10607 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10611 hardcode_libdir_flag_spec
='-L$libdir'
10612 hardcode_direct
=yes
10613 hardcode_minus_L
=yes
10614 hardcode_shlibpath_var
=no
10618 case $host_vendor in
10620 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_direct
=yes # is this really true???
10624 ## LD is ld it makes a PLAMLIB
10625 ## CC just makes a GrossModule.
10626 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10627 reload_cmds
='$CC -r -o $output$reload_objs'
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10635 runpath_var
='LD_RUN_PATH'
10636 hardcode_shlibpath_var
=no
10640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10641 hardcode_shlibpath_var
=no
10642 export_dynamic_flag_spec
='-Bexport'
10646 if test -d /usr
/nec
; then
10647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10648 hardcode_shlibpath_var
=no
10649 runpath_var
=LD_RUN_PATH
10650 hardcode_runpath_var
=yes
10655 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10656 no_undefined_flag
='${wl}-z,text'
10657 archive_cmds_need_lc
=no
10658 hardcode_shlibpath_var
=no
10659 runpath_var
='LD_RUN_PATH'
10661 if test "$GCC" = yes; then
10662 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10665 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10670 sysv5
* | sco3.2v5
* | sco5v6
*)
10671 # Note: We can NOT use -z defs as we might desire, because we do not
10672 # link with -lc, and that would cause any symbols used from libc to
10673 # always be unresolved, which means just about no library would
10674 # ever link correctly. If we're not using GNU ld we use -z text
10675 # though, which does catch some bad symbols but isn't as heavy-handed
10677 no_undefined_flag
='${wl}-z,text'
10678 allow_undefined_flag
='${wl}-z,nodefs'
10679 archive_cmds_need_lc
=no
10680 hardcode_shlibpath_var
=no
10681 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10682 hardcode_libdir_separator
=':'
10683 link_all_deplibs
=yes
10684 export_dynamic_flag_spec
='${wl}-Bexport'
10685 runpath_var
='LD_RUN_PATH'
10687 if test "$GCC" = yes; then
10688 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10691 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec
='-L$libdir'
10699 hardcode_shlibpath_var
=no
10707 if test x
$host_vendor = xsni
; then
10709 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10710 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10717 $as_echo "$ld_shlibs" >&6; }
10718 test "$ld_shlibs" = no
&& can_build_shared
=no
10720 with_gnu_ld
=$with_gnu_ld
10737 # Do we need to explicitly link libc?
10739 case "x$archive_cmds_need_lc" in
10741 # Assume -lc should be added
10742 archive_cmds_need_lc
=yes
10744 if test "$enable_shared" = yes && test "$GCC" = yes; then
10745 case $archive_cmds in
10747 # FIXME: we may have to deal with multi-command sequences.
10750 # Test whether the compiler implicitly links with -lc since on some
10751 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10752 # to ld, don't add -lc before -lgcc.
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10754 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10755 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10756 $as_echo_n "(cached) " >&6
10759 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10762 (eval $ac_compile) 2>&5
10764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10765 test $ac_status = 0; } 2>conftest.err
; then
10768 libobjs
=conftest.
$ac_objext
10770 wl
=$lt_prog_compiler_wl
10771 pic_flag
=$lt_prog_compiler_pic
10777 lt_save_allow_undefined_flag
=$allow_undefined_flag
10778 allow_undefined_flag
=
10779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10780 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10783 test $ac_status = 0; }
10785 lt_cv_archive_cmds_need_lc
=no
10787 lt_cv_archive_cmds_need_lc
=yes
10789 allow_undefined_flag
=$lt_save_allow_undefined_flag
10791 cat conftest.err
1>&5
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10797 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10798 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10962 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10964 if test "$GCC" = yes; then
10966 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10967 *) lt_awk_arg
="/^libraries:/" ;;
10970 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10971 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10973 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10974 case $lt_search_path_spec in
10976 # if the path contains ";" then we assume it to be the separator
10977 # otherwise default to the standard path separator (i.e. ":") - it is
10978 # assumed that no part of a normal pathname contains ";" but that should
10979 # okay in the real world where ";" in dirpaths is itself problematic.
10980 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10983 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10986 # Ok, now we have the path, separated by spaces, we can step through it
10987 # and add multilib dir if necessary.
10988 lt_tmp_lt_search_path_spec
=
10989 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10990 for lt_sys_path
in $lt_search_path_spec; do
10991 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10992 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10994 test -d "$lt_sys_path" && \
10995 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10998 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10999 BEGIN {RS=" "; FS="/|\n";} {
11002 for (lt_i = NF; lt_i > 0; lt_i--) {
11003 if ($lt_i != "" && $lt_i != ".") {
11004 if ($lt_i == "..") {
11007 if (lt_count == 0) {
11008 lt_foo="/" $lt_i lt_foo;
11015 if (lt_foo != "") { lt_freq[lt_foo]++; }
11016 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11018 # AWK program above erroneously prepends '/' to C:/dos/paths
11021 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11022 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11024 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11026 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11028 library_names_spec
=
11029 libname_spec
='lib$name'
11033 postuninstall_cmds
=
11037 shlibpath_overrides_runpath
=unknown
11039 dynamic_linker
="$host_os ld.so"
11040 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11041 need_lib_prefix
=unknown
11042 hardcode_into_libs
=no
11044 # when you set need_version to no, make sure it does not cause -set_version
11045 # flags to be left without arguments
11046 need_version
=unknown
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11052 shlibpath_var
=LIBPATH
11054 # AIX 3 has no versioning support, so we append a major version to the name.
11055 soname_spec
='${libname}${release}${shared_ext}$major'
11062 hardcode_into_libs
=yes
11063 if test "$host_cpu" = ia64
; then
11064 # AIX 5 supports IA64
11065 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11066 shlibpath_var
=LD_LIBRARY_PATH
11068 # With GCC up to 2.95.x, collect2 would create an import file
11069 # for dependence libraries. The import file would start with
11070 # the line `#! .'. This would cause the generated library to
11071 # depend on `.', always an invalid library. This was fixed in
11072 # development snapshots of GCC prior to 3.0.
11074 aix4 | aix4.
[01] | aix4.
[01].
*)
11075 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11077 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11080 can_build_shared
=no
11084 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11085 # soname into executable. Probably we can add versioning support to
11086 # collect2, so additional links can be useful in future.
11087 if test "$aix_use_runtimelinking" = yes; then
11088 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11089 # instead of lib<name>.a to let people know that these are not
11090 # typical AIX shared libraries.
11091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11093 # We preserve .a as extension for shared libraries through AIX4.2
11094 # and later when we are not doing run time linking.
11095 library_names_spec
='${libname}${release}.a $libname.a'
11096 soname_spec
='${libname}${release}${shared_ext}$major'
11098 shlibpath_var
=LIBPATH
11105 # Since July 2007 AmigaOS4 officially supports .so libraries.
11106 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 library_names_spec
='$libname.ixlibrary $libname.a'
11111 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11112 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'
11118 library_names_spec
='${libname}${shared_ext}'
11119 dynamic_linker
="$host_os ld.so"
11120 shlibpath_var
=LIBRARY_PATH
11126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 soname_spec
='${libname}${release}${shared_ext}$major'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11131 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11132 # the default ld.so.conf also contains /usr/contrib/lib and
11133 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11134 # libtool to hard-code these into programs
11137 cygwin
* | mingw
* | pw32
* | cegcc
*)
11138 version_type
=windows
11143 case $GCC,$host_os in
11144 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11145 library_names_spec
='$libname.dll.a'
11146 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11147 postinstall_cmds
='base_file=`basename \${file}`~
11148 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11149 dldir=$destdir/`dirname \$dlpath`~
11150 test -d \$dldir || mkdir -p \$dldir~
11151 $install_prog $dir/$dlname \$dldir/$dlname~
11152 chmod a+x \$dldir/$dlname~
11153 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11154 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11156 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11157 dlpath=$dir/\$dldll~
11159 shlibpath_overrides_runpath
=yes
11163 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11164 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11166 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11169 # MinGW DLLs use traditional 'lib' prefix
11170 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11173 # pw32 DLLs use 'pw' prefix rather than 'lib'
11174 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11180 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11183 dynamic_linker
='Win32 ld.exe'
11184 # FIXME: first we should search . and the directory the executable is in
11188 darwin
* | rhapsody
*)
11189 dynamic_linker
="$host_os dyld"
11190 version_type
=darwin
11193 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11194 soname_spec
='${libname}${release}${major}$shared_ext'
11195 shlibpath_overrides_runpath
=yes
11196 shlibpath_var
=DYLD_LIBRARY_PATH
11197 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11199 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11200 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11208 soname_spec
='${libname}${release}${shared_ext}$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11212 freebsd
* | dragonfly
*)
11213 # DragonFly does not have aout. When/if they implement a new
11214 # versioning mechanism, adjust this.
11215 if test -x /usr
/bin
/objformat
; then
11216 objformat
=`/usr/bin/objformat`
11219 freebsd
[23].
*) objformat
=aout
;;
11220 *) objformat
=elf
;;
11223 version_type
=freebsd-
$objformat
11224 case $version_type in
11226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11235 shlibpath_var
=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath
=yes
11240 freebsd3.
[01]* | freebsdelf3.
[01]*)
11241 shlibpath_overrides_runpath
=yes
11242 hardcode_into_libs
=yes
11244 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11245 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11246 shlibpath_overrides_runpath
=no
11247 hardcode_into_libs
=yes
11249 *) # from 4.6 on, and DragonFly
11250 shlibpath_overrides_runpath
=yes
11251 hardcode_into_libs
=yes
11260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11261 soname_spec
='${libname}${release}${shared_ext}$major'
11262 shlibpath_var
=LD_LIBRARY_PATH
11263 hardcode_into_libs
=yes
11270 dynamic_linker
="$host_os runtime_loader"
11271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11272 soname_spec
='${libname}${release}${shared_ext}$major'
11273 shlibpath_var
=LIBRARY_PATH
11274 shlibpath_overrides_runpath
=yes
11275 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11276 hardcode_into_libs
=yes
11279 hpux9
* | hpux10
* | hpux11
*)
11280 # Give a soname corresponding to the major version so that dld.sl refuses to
11281 # link against other versions.
11288 hardcode_into_libs
=yes
11289 dynamic_linker
="$host_os dld.so"
11290 shlibpath_var
=LD_LIBRARY_PATH
11291 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11293 soname_spec
='${libname}${release}${shared_ext}$major'
11294 if test "X$HPUX_IA64_MODE" = X32
; then
11295 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11297 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11299 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11303 hardcode_into_libs
=yes
11304 dynamic_linker
="$host_os dld.sl"
11305 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11306 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11309 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11310 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11314 dynamic_linker
="$host_os dld.sl"
11315 shlibpath_var
=SHLIB_PATH
11316 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 soname_spec
='${libname}${release}${shared_ext}$major'
11321 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11322 postinstall_cmds
='chmod 555 $lib'
11323 # or fails outright, so override atomically:
11324 install_override_mode
=555
11331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11332 soname_spec
='${libname}${release}${shared_ext}$major'
11333 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11334 shlibpath_var
=LD_LIBRARY_PATH
11335 shlibpath_overrides_runpath
=no
11336 hardcode_into_libs
=yes
11339 irix5
* | irix6
* | nonstopux
*)
11341 nonstopux
*) version_type
=nonstopux
;;
11343 if test "$lt_cv_prog_gnu_ld" = yes; then
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11354 irix5
* | nonstopux
*)
11355 libsuff
= shlibsuff
=
11358 case $LD in # libtool.m4 will add one of these switches to LD
11359 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11360 libsuff
= shlibsuff
= libmagic
=32-bit;;
11361 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11362 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11363 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11364 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11365 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11369 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11370 shlibpath_overrides_runpath
=no
11371 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11372 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11373 hardcode_into_libs
=yes
11376 # No shared lib support for Linux oldld, aout, or coff.
11377 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11381 # This must be Linux ELF.
11382 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec
='${libname}${release}${shared_ext}$major'
11388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11389 shlibpath_var
=LD_LIBRARY_PATH
11390 shlibpath_overrides_runpath
=no
11392 # Some binutils ld are patched to set DT_RUNPATH
11393 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11396 lt_cv_shlibpath_overrides_runpath
=no
11397 save_LDFLAGS
=$LDFLAGS
11398 save_libdir
=$libdir
11399 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11400 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11412 if ac_fn_c_try_link
"$LINENO"; then :
11413 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11414 lt_cv_shlibpath_overrides_runpath
=yes
11417 rm -f core conftest.err conftest.
$ac_objext \
11418 conftest
$ac_exeext conftest.
$ac_ext
11419 LDFLAGS
=$save_LDFLAGS
11420 libdir
=$save_libdir
11424 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11426 # This implies no fast_install, which is unacceptable.
11427 # Some rework will be needed to allow for fast_install
11428 # before this can be enabled.
11429 hardcode_into_libs
=yes
11431 # Append ld.so.conf contents to the search path
11432 if test -f /etc
/ld.so.conf
; then
11433 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' ' '`
11434 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11437 # We used to test for /lib/ld.so.1 and disable shared libraries on
11438 # powerpc, because MkLinux only supported shared libraries with the
11439 # GNU dynamic linker. Since this was broken with cross compilers,
11440 # most powerpc-linux boxes support dynamic linking these days and
11441 # people can always --disable-shared, the test was removed, and we
11442 # assume the GNU/Linux dynamic linker is in use.
11443 dynamic_linker
='GNU/Linux ld.so'
11450 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11453 dynamic_linker
='NetBSD (a.out) ld.so'
11455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11456 soname_spec
='${libname}${release}${shared_ext}$major'
11457 dynamic_linker
='NetBSD ld.elf_so'
11459 shlibpath_var
=LD_LIBRARY_PATH
11460 shlibpath_overrides_runpath
=yes
11461 hardcode_into_libs
=yes
11466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467 shlibpath_var
=LD_LIBRARY_PATH
11468 shlibpath_overrides_runpath
=yes
11475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 soname_spec
='${libname}${release}${shared_ext}$major'
11477 shlibpath_var
=LD_LIBRARY_PATH
11478 shlibpath_overrides_runpath
=no
11479 hardcode_into_libs
=yes
11480 dynamic_linker
='ldqnx.so'
11485 sys_lib_dlsearch_path_spec
="/usr/lib"
11487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11489 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11490 *) need_version
=no
;;
11492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11494 shlibpath_var
=LD_LIBRARY_PATH
11495 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11497 openbsd2.
[89] | openbsd2.
[89].
*)
11498 shlibpath_overrides_runpath
=no
11501 shlibpath_overrides_runpath
=yes
11505 shlibpath_overrides_runpath
=yes
11510 libname_spec
='$name'
11513 library_names_spec
='$libname${shared_ext} $libname.a'
11514 dynamic_linker
='OS/2 ld.exe'
11515 shlibpath_var
=LIBPATH
11518 osf3
* | osf4
* | osf5
*)
11522 soname_spec
='${libname}${release}${shared_ext}$major'
11523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 shlibpath_var
=LD_LIBRARY_PATH
11525 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11526 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11538 soname_spec
='${libname}${release}${shared_ext}$major'
11539 shlibpath_var
=LD_LIBRARY_PATH
11540 shlibpath_overrides_runpath
=yes
11541 hardcode_into_libs
=yes
11542 # ldd complains unless libraries are executable
11543 postinstall_cmds
='chmod +x $lib'
11548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11549 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11550 shlibpath_var
=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath
=yes
11552 if test "$with_gnu_ld" = yes; then
11560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec
='${libname}${release}${shared_ext}$major'
11562 shlibpath_var
=LD_LIBRARY_PATH
11563 case $host_vendor in
11565 shlibpath_overrides_runpath
=no
11567 runpath_var
=LD_RUN_PATH
11575 shlibpath_overrides_runpath
=no
11576 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11582 if test -d /usr
/nec
;then
11584 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11585 soname_spec
='$libname${shared_ext}.$major'
11586 shlibpath_var
=LD_LIBRARY_PATH
11590 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11591 version_type
=freebsd-elf
11594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11595 soname_spec
='${libname}${release}${shared_ext}$major'
11596 shlibpath_var
=LD_LIBRARY_PATH
11597 shlibpath_overrides_runpath
=yes
11598 hardcode_into_libs
=yes
11599 if test "$with_gnu_ld" = yes; then
11600 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11602 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11609 sys_lib_dlsearch_path_spec
='/usr/lib'
11613 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11618 shlibpath_var
=LD_LIBRARY_PATH
11619 shlibpath_overrides_runpath
=no
11620 hardcode_into_libs
=yes
11625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11626 soname_spec
='${libname}${release}${shared_ext}$major'
11627 shlibpath_var
=LD_LIBRARY_PATH
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11635 $as_echo "$dynamic_linker" >&6; }
11636 test "$dynamic_linker" = no
&& can_build_shared
=no
11638 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11639 if test "$GCC" = yes; then
11640 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11643 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11644 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11646 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11647 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11742 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11744 if test -n "$hardcode_libdir_flag_spec" ||
11745 test -n "$runpath_var" ||
11746 test "X$hardcode_automatic" = "Xyes" ; then
11748 # We can hardcode non-existent directories.
11749 if test "$hardcode_direct" != no
&&
11750 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11751 # have to relink, otherwise we might link with an installed library
11752 # when we should be linking with a yet-to-be-installed one
11753 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11754 test "$hardcode_minus_L" != no
; then
11755 # Linking always hardcodes the temporary library directory.
11756 hardcode_action
=relink
11758 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11759 hardcode_action
=immediate
11762 # We cannot hardcode anything, or else we can only hardcode existing
11764 hardcode_action
=unsupported
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11767 $as_echo "$hardcode_action" >&6; }
11769 if test "$hardcode_action" = relink ||
11770 test "$inherit_rpath" = yes; then
11771 # Fast installation is not supported
11772 enable_fast_install
=no
11773 elif test "$shlibpath_overrides_runpath" = yes ||
11774 test "$enable_shared" = no
; then
11775 # Fast installation is not necessary
11776 enable_fast_install
=needless
11784 if test "x$enable_dlopen" != xyes
; then
11785 enable_dlopen
=unknown
11786 enable_dlopen_self
=unknown
11787 enable_dlopen_self_static
=unknown
11794 lt_cv_dlopen
="load_add_on"
11796 lt_cv_dlopen_self
=yes
11799 mingw
* | pw32
* | cegcc
*)
11800 lt_cv_dlopen
="LoadLibrary"
11805 lt_cv_dlopen
="dlopen"
11810 # if libdl is installed we need to link against it
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11812 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11813 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11814 $as_echo_n "(cached) " >&6
11816 ac_check_lib_save_LIBS
=$LIBS
11818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11836 if ac_fn_c_try_link
"$LINENO"; then :
11837 ac_cv_lib_dl_dlopen
=yes
11839 ac_cv_lib_dl_dlopen
=no
11841 rm -f core conftest.err conftest.
$ac_objext \
11842 conftest
$ac_exeext conftest.
$ac_ext
11843 LIBS
=$ac_check_lib_save_LIBS
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11846 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11847 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11848 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11851 lt_cv_dlopen
="dyld"
11853 lt_cv_dlopen_self
=yes
11860 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11861 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11862 lt_cv_dlopen
="shl_load"
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11865 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11866 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11867 $as_echo_n "(cached) " >&6
11869 ac_check_lib_save_LIBS
=$LIBS
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11884 return shl_load ();
11889 if ac_fn_c_try_link
"$LINENO"; then :
11890 ac_cv_lib_dld_shl_load
=yes
11892 ac_cv_lib_dld_shl_load
=no
11894 rm -f core conftest.err conftest.
$ac_objext \
11895 conftest
$ac_exeext conftest.
$ac_ext
11896 LIBS
=$ac_check_lib_save_LIBS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11899 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11900 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11901 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11903 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11904 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11905 lt_cv_dlopen
="dlopen"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11908 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11909 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11910 $as_echo_n "(cached) " >&6
11912 ac_check_lib_save_LIBS
=$LIBS
11914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11932 if ac_fn_c_try_link
"$LINENO"; then :
11933 ac_cv_lib_dl_dlopen
=yes
11935 ac_cv_lib_dl_dlopen
=no
11937 rm -f core conftest.err conftest.
$ac_objext \
11938 conftest
$ac_exeext conftest.
$ac_ext
11939 LIBS
=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11943 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11944 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11947 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11948 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11949 $as_echo_n "(cached) " >&6
11951 ac_check_lib_save_LIBS
=$LIBS
11952 LIBS
="-lsvld $LIBS"
11953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11971 if ac_fn_c_try_link
"$LINENO"; then :
11972 ac_cv_lib_svld_dlopen
=yes
11974 ac_cv_lib_svld_dlopen
=no
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 LIBS
=$ac_check_lib_save_LIBS
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11981 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11982 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11983 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11986 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11987 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_lib_save_LIBS
=$LIBS
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12005 return dld_link ();
12010 if ac_fn_c_try_link
"$LINENO"; then :
12011 ac_cv_lib_dld_dld_link
=yes
12013 ac_cv_lib_dld_dld_link
=no
12015 rm -f core conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12020 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12021 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12022 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12043 if test "x$lt_cv_dlopen" != xno
; then
12049 case $lt_cv_dlopen in
12051 save_CPPFLAGS
="$CPPFLAGS"
12052 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12054 save_LDFLAGS
="$LDFLAGS"
12055 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12058 LIBS
="$lt_cv_dlopen_libs $LIBS"
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12061 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12062 if test "${lt_cv_dlopen_self+set}" = set; then :
12063 $as_echo_n "(cached) " >&6
12065 if test "$cross_compiling" = yes; then :
12066 lt_cv_dlopen_self
=cross
12068 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12069 lt_status
=$lt_dlunknown
12070 cat > conftest.
$ac_ext <<_LT_EOF
12071 #line 12071 "configure"
12072 #include "confdefs.h"
12081 # define LT_DLGLOBAL RTLD_GLOBAL
12084 # define LT_DLGLOBAL DL_GLOBAL
12086 # define LT_DLGLOBAL 0
12090 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12091 find out it does not work in some platform. */
12092 #ifndef LT_DLLAZY_OR_NOW
12094 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12097 # define LT_DLLAZY_OR_NOW DL_LAZY
12100 # define LT_DLLAZY_OR_NOW RTLD_NOW
12103 # define LT_DLLAZY_OR_NOW DL_NOW
12105 # define LT_DLLAZY_OR_NOW 0
12112 /* When -fvisbility=hidden is used, assume the code has been annotated
12113 correspondingly for the symbols needed. */
12114 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12115 void fnord () __attribute__((visibility("default")));
12118 void fnord () { int i=42; }
12121 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12122 int status = $lt_dlunknown;
12126 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12129 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12130 else puts (dlerror ());
12132 /* dlclose (self); */
12140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12141 (eval $ac_link) 2>&5
12143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12144 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12145 (.
/conftest
; exit; ) >&5 2>/dev
/null
12147 case x
$lt_status in
12148 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12149 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12150 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12153 # compilation failed
12154 lt_cv_dlopen_self
=no
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12162 $as_echo "$lt_cv_dlopen_self" >&6; }
12164 if test "x$lt_cv_dlopen_self" = xyes
; then
12165 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12167 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12168 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12169 $as_echo_n "(cached) " >&6
12171 if test "$cross_compiling" = yes; then :
12172 lt_cv_dlopen_self_static
=cross
12174 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12175 lt_status
=$lt_dlunknown
12176 cat > conftest.
$ac_ext <<_LT_EOF
12177 #line 12177 "configure"
12178 #include "confdefs.h"
12187 # define LT_DLGLOBAL RTLD_GLOBAL
12190 # define LT_DLGLOBAL DL_GLOBAL
12192 # define LT_DLGLOBAL 0
12196 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12197 find out it does not work in some platform. */
12198 #ifndef LT_DLLAZY_OR_NOW
12200 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12203 # define LT_DLLAZY_OR_NOW DL_LAZY
12206 # define LT_DLLAZY_OR_NOW RTLD_NOW
12209 # define LT_DLLAZY_OR_NOW DL_NOW
12211 # define LT_DLLAZY_OR_NOW 0
12218 /* When -fvisbility=hidden is used, assume the code has been annotated
12219 correspondingly for the symbols needed. */
12220 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12221 void fnord () __attribute__((visibility("default")));
12224 void fnord () { int i=42; }
12227 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12228 int status = $lt_dlunknown;
12232 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12235 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12236 else puts (dlerror ());
12238 /* dlclose (self); */
12246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12247 (eval $ac_link) 2>&5
12249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12250 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12251 (.
/conftest
; exit; ) >&5 2>/dev
/null
12253 case x
$lt_status in
12254 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12255 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12256 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12259 # compilation failed
12260 lt_cv_dlopen_self_static
=no
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12268 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12271 CPPFLAGS
="$save_CPPFLAGS"
12272 LDFLAGS
="$save_LDFLAGS"
12277 case $lt_cv_dlopen_self in
12278 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12279 *) enable_dlopen_self
=unknown
;;
12282 case $lt_cv_dlopen_self_static in
12283 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12284 *) enable_dlopen_self_static
=unknown
;;
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12307 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12308 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12309 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12310 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12312 $as_echo "yes" >&6; }
12314 # FIXME - insert some real tests, host_os isn't really good enough
12317 if test -n "$STRIP" ; then
12318 striplib
="$STRIP -x"
12319 old_striplib
="$STRIP -S"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12321 $as_echo "yes" >&6; }
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12329 $as_echo "no" >&6; }
12345 # Report which library types will actually be built
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12347 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12349 $as_echo "$can_build_shared" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12352 $as_echo_n "checking whether to build shared libraries... " >&6; }
12353 test "$can_build_shared" = "no" && enable_shared
=no
12355 # On AIX, shared libraries and static libraries use the same namespace, and
12356 # are all built from PIC.
12359 test "$enable_shared" = yes && enable_static
=no
12360 if test -n "$RANLIB"; then
12361 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12362 postinstall_cmds
='$RANLIB $lib'
12367 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12368 test "$enable_shared" = yes && enable_static
=no
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12373 $as_echo "$enable_shared" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12376 $as_echo_n "checking whether to build static libraries... " >&6; }
12377 # Make sure either enable_shared or enable_static is yes.
12378 test "$enable_shared" = yes || enable_static
=yes
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12380 $as_echo "$enable_static" >&6; }
12387 ac_cpp
='$CPP $CPPFLAGS'
12388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12394 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12395 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12396 (test "X$CXX" != "Xg++"))) ; then
12398 ac_cpp
='$CXXCPP $CPPFLAGS'
12399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12403 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12404 if test -z "$CXXCPP"; then
12405 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12406 $as_echo_n "(cached) " >&6
12408 # Double quotes because CXXCPP needs to be expanded
12409 for CXXCPP
in "$CXX -E" "/lib/cpp"
12411 ac_preproc_ok
=false
12412 for ac_cxx_preproc_warn_flag
in '' yes
12414 # Use a header file that comes with gcc, so configuring glibc
12415 # with a fresh cross-compiler works.
12416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12417 # <limits.h> exists even on freestanding compilers.
12418 # On the NeXT, cc -E runs the code through the compiler's parser,
12419 # not just through cpp. "Syntax error" is here to catch this case.
12420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 # include <limits.h>
12425 # include <assert.h>
12429 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12432 # Broken: fails on valid input.
12435 rm -f conftest.err conftest.
$ac_ext
12437 # OK, works on sane cases. Now check whether nonexistent headers
12438 # can be detected and how.
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441 #include <ac_nonexistent.h>
12443 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12444 # Broken: success on invalid input.
12447 # Passes both tests.
12451 rm -f conftest.err conftest.
$ac_ext
12454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12455 rm -f conftest.err conftest.
$ac_ext
12456 if $ac_preproc_ok; then :
12461 ac_cv_prog_CXXCPP
=$CXXCPP
12464 CXXCPP
=$ac_cv_prog_CXXCPP
12466 ac_cv_prog_CXXCPP
=$CXXCPP
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12469 $as_echo "$CXXCPP" >&6; }
12470 ac_preproc_ok
=false
12471 for ac_cxx_preproc_warn_flag
in '' yes
12473 # Use a header file that comes with gcc, so configuring glibc
12474 # with a fresh cross-compiler works.
12475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12476 # <limits.h> exists even on freestanding compilers.
12477 # On the NeXT, cc -E runs the code through the compiler's parser,
12478 # not just through cpp. "Syntax error" is here to catch this case.
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 # include <limits.h>
12484 # include <assert.h>
12488 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12491 # Broken: fails on valid input.
12494 rm -f conftest.err conftest.
$ac_ext
12496 # OK, works on sane cases. Now check whether nonexistent headers
12497 # can be detected and how.
12498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 #include <ac_nonexistent.h>
12502 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12503 # Broken: success on invalid input.
12506 # Passes both tests.
12510 rm -f conftest.err conftest.
$ac_ext
12513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12514 rm -f conftest.err conftest.
$ac_ext
12515 if $ac_preproc_ok; then :
12518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12520 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12521 See \`config.log' for more details." "$LINENO" 5; }
12525 ac_cpp
='$CPP $CPPFLAGS'
12526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12531 _lt_caught_CXX_error
=yes
12535 ac_cpp
='$CXXCPP $CPPFLAGS'
12536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12540 archive_cmds_need_lc_CXX
=no
12541 allow_undefined_flag_CXX
=
12542 always_export_symbols_CXX
=no
12543 archive_expsym_cmds_CXX
=
12544 compiler_needs_object_CXX
=no
12545 export_dynamic_flag_spec_CXX
=
12546 hardcode_direct_CXX
=no
12547 hardcode_direct_absolute_CXX
=no
12548 hardcode_libdir_flag_spec_CXX
=
12549 hardcode_libdir_flag_spec_ld_CXX
=
12550 hardcode_libdir_separator_CXX
=
12551 hardcode_minus_L_CXX
=no
12552 hardcode_shlibpath_var_CXX
=unsupported
12553 hardcode_automatic_CXX
=no
12554 inherit_rpath_CXX
=no
12556 module_expsym_cmds_CXX
=
12557 link_all_deplibs_CXX
=unknown
12558 old_archive_cmds_CXX
=$old_archive_cmds
12559 reload_flag_CXX
=$reload_flag
12560 reload_cmds_CXX
=$reload_cmds
12561 no_undefined_flag_CXX
=
12562 whole_archive_flag_spec_CXX
=
12563 enable_shared_with_static_runtimes_CXX
=no
12565 # Source file extension for C++ test sources.
12568 # Object file extension for compiled C++ test sources.
12572 # No sense in running all these tests if we already determined that
12573 # the CXX compiler isn't working. Some variables (like enable_shared)
12574 # are currently assumed to apply to all compilers on this platform,
12575 # and will be corrupted by setting them based on a non-working compiler.
12576 if test "$_lt_caught_CXX_error" != yes; then
12577 # Code to be used in simple compile tests
12578 lt_simple_compile_test_code
="int some_variable = 0;"
12580 # Code to be used in simple link tests
12581 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12583 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12590 # If no C compiler was specified, use CC.
12593 # If no C compiler flags were specified, use CFLAGS.
12594 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12596 # Allow CC to be a program name with arguments.
12600 # save warnings/boilerplate of simple test code
12601 ac_outfile
=conftest.
$ac_objext
12602 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12603 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12604 _lt_compiler_boilerplate
=`cat conftest.err`
12607 ac_outfile
=conftest.
$ac_objext
12608 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12609 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12610 _lt_linker_boilerplate
=`cat conftest.err`
12614 # Allow CC to be a program name with arguments.
12619 lt_save_with_gnu_ld
=$with_gnu_ld
12620 lt_save_path_LD
=$lt_cv_path_LD
12621 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12622 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12624 $as_unset lt_cv_prog_gnu_ld
12626 if test -n "${lt_cv_path_LDCXX+set}"; then
12627 lt_cv_path_LD
=$lt_cv_path_LDCXX
12629 $as_unset lt_cv_path_LD
12631 test -z "${LDCXX+set}" || LD
=$LDCXX
12635 for cc_temp
in $compiler""; do
12637 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12638 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12643 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12646 if test -n "$compiler"; then
12647 # We don't want -fno-exception when compiling C++ code, so set the
12648 # no_builtin_flag separately
12649 if test "$GXX" = yes; then
12650 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12652 lt_prog_compiler_no_builtin_flag_CXX
=
12655 if test "$GXX" = yes; then
12656 # Set up default GNU C++ configuration
12660 # Check whether --with-gnu-ld was given.
12661 if test "${with_gnu_ld+set}" = set; then :
12662 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12668 if test "$GCC" = yes; then
12669 # Check if gcc -print-prog-name=ld gives a path.
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12671 $as_echo_n "checking for ld used by $CC... " >&6; }
12674 # gcc leaves a trailing carriage return which upsets mingw
12675 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12677 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12680 # Accept absolute paths.
12682 re_direlt
='/[^/][^/]*/\.\./'
12683 # Canonicalize the pathname of ld
12684 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12685 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12686 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12688 test -z "$LD" && LD
="$ac_prog"
12691 # If it fails, then pretend we aren't using GCC.
12695 # If it is relative, then search for the first ld in PATH.
12696 with_gnu_ld
=unknown
12699 elif test "$with_gnu_ld" = yes; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12701 $as_echo_n "checking for GNU ld... " >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12704 $as_echo_n "checking for non-GNU ld... " >&6; }
12706 if test "${lt_cv_path_LD+set}" = set; then :
12707 $as_echo_n "(cached) " >&6
12709 if test -z "$LD"; then
12710 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12711 for ac_dir
in $PATH; do
12713 test -z "$ac_dir" && ac_dir
=.
12714 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12715 lt_cv_path_LD
="$ac_dir/$ac_prog"
12716 # Check to see if the program is GNU ld. I'd rather use --version,
12717 # but apparently some variants of GNU ld only accept -v.
12718 # Break only if it was the GNU/non-GNU ld that we prefer.
12719 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12720 *GNU
* |
*'with BFD'*)
12721 test "$with_gnu_ld" != no
&& break
12724 test "$with_gnu_ld" != yes && break
12731 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12735 LD
="$lt_cv_path_LD"
12736 if test -n "$LD"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12738 $as_echo "$LD" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12743 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12745 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12746 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12747 $as_echo_n "(cached) " >&6
12749 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12750 case `$LD -v 2>&1 </dev/null` in
12751 *GNU
* |
*'with BFD'*)
12752 lt_cv_prog_gnu_ld
=yes
12755 lt_cv_prog_gnu_ld
=no
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12760 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12761 with_gnu_ld
=$lt_cv_prog_gnu_ld
12769 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12770 # archiving commands below assume that GNU ld is being used.
12771 if test "$with_gnu_ld" = yes; then
12772 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12773 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'
12775 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12776 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12778 # If archive_cmds runs LD, not CC, wlarc should be empty
12779 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12780 # investigate it a little bit more. (MM)
12783 # ancient GNU ld didn't support --whole-archive et. al.
12784 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12785 $GREP 'no-whole-archive' > /dev
/null
; then
12786 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12788 whole_archive_flag_spec_CXX
=
12794 # A generic and very simple default shared library creation
12795 # command for GNU C++ for the case where it uses the native
12796 # linker, instead of GNU ld. If possible, this setting should
12797 # overridden to take advantage of the native linker features on
12798 # the platform it is being used on.
12799 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12805 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12813 # PORTME: fill in a description of your system's C++ link characteristics
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12815 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12819 # FIXME: insert proper C++ library support
12823 if test "$host_cpu" = ia64
; then
12824 # On IA64, the linker does run time linking by default, so we don't
12825 # have to do anything special.
12826 aix_use_runtimelinking
=no
12827 exp_sym_flag
='-Bexport'
12830 aix_use_runtimelinking
=no
12832 # Test if we are trying to use run time linking or normal
12833 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12834 # need to do runtime linking.
12835 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12836 for ld_flag
in $LDFLAGS; do
12839 aix_use_runtimelinking
=yes
12847 exp_sym_flag
='-bexport'
12848 no_entry_flag
='-bnoentry'
12851 # When large executables or shared objects are built, AIX ld can
12852 # have problems creating the table of contents. If linking a library
12853 # or program results in "error TOC overflow" add -mminimal-toc to
12854 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12855 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12857 archive_cmds_CXX
=''
12858 hardcode_direct_CXX
=yes
12859 hardcode_direct_absolute_CXX
=yes
12860 hardcode_libdir_separator_CXX
=':'
12861 link_all_deplibs_CXX
=yes
12862 file_list_spec_CXX
='${wl}-f,'
12864 if test "$GXX" = yes; then
12865 case $host_os in aix4.
[012]|aix4.
[012].
*)
12866 # We only want to do this on AIX 4.2 and lower, the check
12867 # below for broken collect2 doesn't work under 4.3+
12868 collect2name
=`${CC} -print-prog-name=collect2`
12869 if test -f "$collect2name" &&
12870 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12872 # We have reworked collect2
12875 # We have old collect2
12876 hardcode_direct_CXX
=unsupported
12877 # It fails to find uninstalled libraries when the uninstalled
12878 # path is not listed in the libpath. Setting hardcode_minus_L
12879 # to unsupported forces relinking
12880 hardcode_minus_L_CXX
=yes
12881 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12882 hardcode_libdir_separator_CXX
=
12885 shared_flag
='-shared'
12886 if test "$aix_use_runtimelinking" = yes; then
12887 shared_flag
="$shared_flag "'${wl}-G'
12891 if test "$host_cpu" = ia64
; then
12892 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12893 # chokes on -Wl,-G. The following line is correct:
12896 if test "$aix_use_runtimelinking" = yes; then
12897 shared_flag
='${wl}-G'
12899 shared_flag
='${wl}-bM:SRE'
12904 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12905 # It seems that -bexpall does not export symbols beginning with
12906 # underscore (_), so it is better to generate a list of symbols to
12908 always_export_symbols_CXX
=yes
12909 if test "$aix_use_runtimelinking" = yes; then
12910 # Warning - without using the other runtime loading flags (-brtl),
12911 # -berok will link without error, but may produce a broken library.
12912 allow_undefined_flag_CXX
='-berok'
12913 # Determine the default libpath from the value encoded in an empty
12915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12926 if ac_fn_cxx_try_link
"$LINENO"; then :
12928 lt_aix_libpath_sed
='
12929 /Import File Strings/,/^$/ {
12935 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12936 # Check for a 64-bit object if we didn't find anything.
12937 if test -z "$aix_libpath"; then
12938 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12941 rm -f core conftest.err conftest.
$ac_objext \
12942 conftest
$ac_exeext conftest.
$ac_ext
12943 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12945 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12947 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"
12949 if test "$host_cpu" = ia64
; then
12950 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12951 allow_undefined_flag_CXX
="-z nodefs"
12952 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"
12954 # Determine the default libpath from the value encoded in an
12955 # empty executable.
12956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12967 if ac_fn_cxx_try_link
"$LINENO"; then :
12969 lt_aix_libpath_sed
='
12970 /Import File Strings/,/^$/ {
12976 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12977 # Check for a 64-bit object if we didn't find anything.
12978 if test -z "$aix_libpath"; then
12979 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12982 rm -f core conftest.err conftest.
$ac_objext \
12983 conftest
$ac_exeext conftest.
$ac_ext
12984 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12986 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12987 # Warning - without using the other run time loading flags,
12988 # -berok will link without error, but may produce a broken library.
12989 no_undefined_flag_CXX
=' ${wl}-bernotok'
12990 allow_undefined_flag_CXX
=' ${wl}-berok'
12991 if test "$with_gnu_ld" = yes; then
12992 # We only use this code for GNU lds that support --whole-archive.
12993 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12995 # Exported symbols can be pulled into shared objects from archives
12996 whole_archive_flag_spec_CXX
='$convenience'
12998 archive_cmds_need_lc_CXX
=yes
12999 # This is similar to how AIX traditionally builds its shared
13001 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'
13007 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13008 allow_undefined_flag_CXX
=unsupported
13009 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13010 # support --undefined. This deserves some investigation. FIXME
13011 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13018 case $cc_basename in
13020 # FIXME: insert proper C++ library support
13026 cygwin
* | mingw
* | pw32
* | cegcc
*)
13027 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13028 # as there is no search path for DLLs.
13029 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13030 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13031 allow_undefined_flag_CXX
=unsupported
13032 always_export_symbols_CXX
=no
13033 enable_shared_with_static_runtimes_CXX
=yes
13035 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13036 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'
13037 # If the export-symbols file already is a .def file (1st line
13038 # is EXPORTS), use it as is; otherwise, prepend...
13039 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13040 cp $export_symbols $output_objdir/$soname.def;
13042 echo EXPORTS > $output_objdir/$soname.def;
13043 cat $export_symbols >> $output_objdir/$soname.def;
13045 $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'
13050 darwin
* | rhapsody
*)
13053 archive_cmds_need_lc_CXX
=no
13054 hardcode_direct_CXX
=no
13055 hardcode_automatic_CXX
=yes
13056 hardcode_shlibpath_var_CXX
=unsupported
13057 if test "$lt_cv_ld_force_load" = "yes"; then
13058 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\"`'
13060 whole_archive_flag_spec_CXX
=''
13062 link_all_deplibs_CXX
=yes
13063 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13064 case $cc_basename in
13065 ifort
*) _lt_dar_can_shared
=yes ;;
13066 *) _lt_dar_can_shared
=$GCC ;;
13068 if test "$_lt_dar_can_shared" = "yes"; then
13069 output_verbose_link_cmd
=func_echo_all
13070 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}"
13071 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13072 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}"
13073 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}"
13074 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13075 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}"
13076 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}"
13086 case $cc_basename in
13088 # FIXME: insert proper C++ library support
13092 # Green Hills C++ Compiler
13093 # FIXME: insert proper C++ library support
13097 # FIXME: insert proper C++ library support
13104 # C++ shared libraries reported to be fairly broken before
13110 archive_cmds_need_lc_CXX
=no
13113 freebsd
* | dragonfly
*)
13114 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13123 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13124 link_all_deplibs_CXX
=yes
13128 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13129 hardcode_libdir_separator_CXX
=:
13130 export_dynamic_flag_spec_CXX
='${wl}-E'
13131 hardcode_direct_CXX
=yes
13132 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13133 # but as the default
13134 # location of the library.
13136 case $cc_basename in
13138 # FIXME: insert proper C++ library support
13142 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'
13143 # Commands to make compiler produce verbose output that lists
13144 # what "hidden" libraries, object files and flags are used when
13145 # linking a shared library.
13147 # There doesn't appear to be a way to prevent this compiler from
13148 # explicitly linking system object files so we need to strip them
13149 # from the output so that they don't get included in the library
13151 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"'
13154 if test "$GXX" = yes; then
13155 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'
13157 # FIXME: insert proper C++ library support
13165 if test $with_gnu_ld = no
; then
13166 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13167 hardcode_libdir_separator_CXX
=:
13173 export_dynamic_flag_spec_CXX
='${wl}-E'
13179 hardcode_direct_CXX
=no
13180 hardcode_shlibpath_var_CXX
=no
13183 hardcode_direct_CXX
=yes
13184 hardcode_direct_absolute_CXX
=yes
13185 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13186 # but as the default
13187 # location of the library.
13191 case $cc_basename in
13193 # FIXME: insert proper C++ library support
13199 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13202 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13205 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13208 # Commands to make compiler produce verbose output that lists
13209 # what "hidden" libraries, object files and flags are used when
13210 # linking a shared library.
13212 # There doesn't appear to be a way to prevent this compiler from
13213 # explicitly linking system object files so we need to strip them
13214 # from the output so that they don't get included in the library
13216 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"'
13219 if test "$GXX" = yes; then
13220 if test $with_gnu_ld = no
; then
13223 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13226 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13229 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'
13234 # FIXME: insert proper C++ library support
13242 hardcode_direct_CXX
=no
13243 hardcode_shlibpath_var_CXX
=no
13244 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13245 export_dynamic_flag_spec_CXX
='${wl}-E'
13246 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13247 # Instead, shared libraries are loaded at an image base (0x10000000 by
13248 # default) and relocated if they conflict, which is a slow very memory
13249 # consuming and fragmenting process. To avoid this, we pick a random,
13250 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13251 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13252 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'
13253 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'
13256 case $cc_basename in
13259 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'
13261 # Archives containing C++ object files must be created using
13262 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13263 # necessary to make sure instantiated templates are included
13265 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13268 if test "$GXX" = yes; then
13269 if test "$with_gnu_ld" = no
; then
13270 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'
13272 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'
13275 link_all_deplibs_CXX
=yes
13278 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13279 hardcode_libdir_separator_CXX
=:
13280 inherit_rpath_CXX
=yes
13283 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13284 case $cc_basename in
13286 # Kuck and Associates, Inc. (KAI) C++ Compiler
13288 # KCC will only create a shared library if the output file
13289 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13290 # to its proper name (with version) after linking.
13291 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'
13292 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'
13293 # Commands to make compiler produce verbose output that lists
13294 # what "hidden" libraries, object files and flags are used when
13295 # linking a shared library.
13297 # There doesn't appear to be a way to prevent this compiler from
13298 # explicitly linking system object files so we need to strip them
13299 # from the output so that they don't get included in the library
13301 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"'
13303 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13304 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13306 # Archives containing C++ object files must be created using
13307 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13308 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13313 # version 8.0 and above of icpc choke on multiply defined symbols
13314 # if we add $predep_objects and $postdep_objects, however 7.1 and
13315 # earlier do not add the objects themselves.
13316 case `$CC -V 2>&1` in
13318 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319 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'
13321 *) # Version 8.0 or newer
13324 ia64
*) tmp_idyn
=' -i_dynamic';;
13326 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13327 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'
13330 archive_cmds_need_lc_CXX
=no
13331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13332 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13333 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13336 # Portland Group C++ compiler
13338 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13339 prelink_cmds_CXX
='tpldir=Template.dir~
13341 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13342 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13343 old_archive_cmds_CXX
='tpldir=Template.dir~
13345 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13346 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13348 archive_cmds_CXX
='tpldir=Template.dir~
13350 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13351 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13352 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13354 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13355 $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'
13357 *) # Version 6 and above use weak symbols
13358 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13359 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'
13363 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13364 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13365 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'
13369 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13370 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'
13372 runpath_var
=LD_RUN_PATH
13373 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13374 hardcode_libdir_separator_CXX
=:
13376 # Commands to make compiler produce verbose output that lists
13377 # what "hidden" libraries, object files and flags are used when
13378 # linking a shared library.
13380 # There doesn't appear to be a way to prevent this compiler from
13381 # explicitly linking system object files so we need to strip them
13382 # from the output so that they don't get included in the library
13384 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'
13386 xl
* | mpixl
* | bgxl
*)
13387 # IBM XL 8.0 on PPC, with GNU ld
13388 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13389 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13390 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13391 if test "x$supports_anon_versioning" = xyes
; then
13392 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13393 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13394 echo "local: *; };" >> $output_objdir/$libname.ver~
13395 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13399 case `$CC -V 2>&1 | sed 5q` in
13402 no_undefined_flag_CXX
=' -zdefs'
13403 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13404 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'
13405 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13406 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'
13407 compiler_needs_object_CXX
=yes
13409 # Not sure whether something based on
13410 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13412 output_verbose_link_cmd
='func_echo_all'
13414 # Archives containing C++ object files must be created using
13415 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13416 # necessary to make sure instantiated templates are included
13418 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13426 # FIXME: insert proper C++ library support
13431 # FIXME: insert proper C++ library support
13436 case $cc_basename in
13438 # FIXME: insert proper C++ library support
13442 # FIXME: insert proper C++ library support
13449 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13450 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13452 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13453 hardcode_direct_CXX
=yes
13454 hardcode_shlibpath_var_CXX
=no
13456 # Workaround some broken pre-1.5 toolchains
13457 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13465 # C++ shared libraries are fairly broken
13470 if test -f /usr
/libexec
/ld.so
; then
13471 hardcode_direct_CXX
=yes
13472 hardcode_shlibpath_var_CXX
=no
13473 hardcode_direct_absolute_CXX
=yes
13474 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13475 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13476 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13477 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13478 export_dynamic_flag_spec_CXX
='${wl}-E'
13479 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13481 output_verbose_link_cmd
=func_echo_all
13487 osf3
* | osf4
* | osf5
*)
13488 case $cc_basename in
13490 # Kuck and Associates, Inc. (KAI) C++ Compiler
13492 # KCC will only create a shared library if the output file
13493 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13494 # to its proper name (with version) after linking.
13495 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'
13497 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13498 hardcode_libdir_separator_CXX
=:
13500 # Archives containing C++ object files must be created using
13501 # the KAI C++ compiler.
13503 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13504 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13508 # Rational C++ 2.4.1
13509 # FIXME: insert proper C++ library support
13515 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13516 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'
13517 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13520 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13521 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'
13522 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13523 echo "-hidden">> $lib.exp~
13524 $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~
13526 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13530 hardcode_libdir_separator_CXX
=:
13532 # Commands to make compiler produce verbose output that lists
13533 # what "hidden" libraries, object files and flags are used when
13534 # linking a shared library.
13536 # There doesn't appear to be a way to prevent this compiler from
13537 # explicitly linking system object files so we need to strip them
13538 # from the output so that they don't get included in the library
13540 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"'
13543 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13544 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13547 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'
13550 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'
13554 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13555 hardcode_libdir_separator_CXX
=:
13557 # Commands to make compiler produce verbose output that lists
13558 # what "hidden" libraries, object files and flags are used when
13559 # linking a shared library.
13560 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13563 # FIXME: insert proper C++ library support
13571 # FIXME: insert proper C++ library support
13576 case $cc_basename in
13579 # FIXME: insert proper C++ library support
13584 # FIXME: insert proper C++ library support
13588 # FIXME: insert proper C++ library support
13595 case $cc_basename in
13597 # Sun C++ 4.2, 5.x and Centerline C++
13598 archive_cmds_need_lc_CXX
=yes
13599 no_undefined_flag_CXX
=' -zdefs'
13600 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13601 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13602 $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'
13604 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13605 hardcode_shlibpath_var_CXX
=no
13607 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13609 # The compiler driver will combine and reorder linker options,
13610 # but understands `-z linker_flag'.
13611 # Supported since Solaris 2.6 (maybe 2.5.1?)
13612 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13615 link_all_deplibs_CXX
=yes
13617 output_verbose_link_cmd
='func_echo_all'
13619 # Archives containing C++ object files must be created using
13620 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13621 # necessary to make sure instantiated templates are included
13623 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13626 # Green Hills C++ Compiler
13627 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13629 # The C++ compiler must be used to create the archive.
13630 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13633 # GNU C++ compiler with Solaris linker
13634 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13635 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13636 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13637 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13638 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13639 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13641 # Commands to make compiler produce verbose output that lists
13642 # what "hidden" libraries, object files and flags are used when
13643 # linking a shared library.
13644 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13646 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13648 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13649 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13650 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13652 # Commands to make compiler produce verbose output that lists
13653 # what "hidden" libraries, object files and flags are used when
13654 # linking a shared library.
13655 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13658 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13660 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13662 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13670 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13671 no_undefined_flag_CXX
='${wl}-z,text'
13672 archive_cmds_need_lc_CXX
=no
13673 hardcode_shlibpath_var_CXX
=no
13674 runpath_var
='LD_RUN_PATH'
13676 case $cc_basename in
13678 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13679 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13683 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13688 sysv5
* | sco3.2v5
* | sco5v6
*)
13689 # Note: We can NOT use -z defs as we might desire, because we do not
13690 # link with -lc, and that would cause any symbols used from libc to
13691 # always be unresolved, which means just about no library would
13692 # ever link correctly. If we're not using GNU ld we use -z text
13693 # though, which does catch some bad symbols but isn't as heavy-handed
13695 no_undefined_flag_CXX
='${wl}-z,text'
13696 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13697 archive_cmds_need_lc_CXX
=no
13698 hardcode_shlibpath_var_CXX
=no
13699 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13700 hardcode_libdir_separator_CXX
=':'
13701 link_all_deplibs_CXX
=yes
13702 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13703 runpath_var
='LD_RUN_PATH'
13705 case $cc_basename in
13707 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13708 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13710 '"$old_archive_cmds_CXX"
13711 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13712 '"$reload_cmds_CXX"
13715 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13722 case $cc_basename in
13724 # NonStop-UX NCC 3.20
13725 # FIXME: insert proper C++ library support
13729 # FIXME: insert proper C++ library support
13736 # FIXME: insert proper C++ library support
13741 # FIXME: insert proper C++ library support
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13747 $as_echo "$ld_shlibs_CXX" >&6; }
13748 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13754 ## There is no encapsulation within the following macros, do not change
13755 ## the running order or otherwise move them around unless you know exactly
13756 ## what you are doing...
13757 # Dependencies to place before and after the object being linked:
13758 predep_objects_CXX
=
13759 postdep_objects_CXX
=
13762 compiler_lib_search_path_CXX
=
13764 cat > conftest.
$ac_ext <<_LT_EOF
13768 Foo (void) { a = 0; }
13774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13775 (eval $ac_compile) 2>&5
13777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13778 test $ac_status = 0; }; then
13779 # Parse the compiler output and extract the necessary
13780 # objects, libraries and library flags.
13782 # Sentinel used to keep track of whether or not we are before
13783 # the conftest object file.
13784 pre_test_object_deps_done
=no
13786 for p
in `eval "$output_verbose_link_cmd"`; do
13790 # Some compilers place space between "-{L,R}" and the path.
13791 # Remove the space.
13792 if test $p = "-L" ||
13793 test $p = "-R"; then
13800 if test "$pre_test_object_deps_done" = no
; then
13803 # Internal compiler library paths should come after those
13804 # provided the user. The postdeps already come after the
13805 # user supplied libs so there is no need to process them.
13806 if test -z "$compiler_lib_search_path_CXX"; then
13807 compiler_lib_search_path_CXX
="${prev}${p}"
13809 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13812 # The "-l" case would never come before the object being
13813 # linked, so don't bother handling this case.
13816 if test -z "$postdeps_CXX"; then
13817 postdeps_CXX
="${prev}${p}"
13819 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13825 # This assumes that the test object file only shows up
13826 # once in the compiler output.
13827 if test "$p" = "conftest.$objext"; then
13828 pre_test_object_deps_done
=yes
13832 if test "$pre_test_object_deps_done" = no
; then
13833 if test -z "$predep_objects_CXX"; then
13834 predep_objects_CXX
="$p"
13836 predep_objects_CXX
="$predep_objects_CXX $p"
13839 if test -z "$postdep_objects_CXX"; then
13840 postdep_objects_CXX
="$p"
13842 postdep_objects_CXX
="$postdep_objects_CXX $p"
13847 *) ;; # Ignore the rest.
13855 echo "libtool.m4: error: problem compiling CXX test program"
13858 $RM -f confest.
$objext
13860 # PORTME: override above test on systems where it is broken
13863 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13864 # hack all around it, let's just trust "g++" to DTRT.
13865 predep_objects_CXX
=
13866 postdep_objects_CXX
=
13871 case `$CC -V 2>&1 | sed 5q` in
13875 # The more standards-conforming stlport4 library is
13876 # incompatible with the Cstd library. Avoid specifying
13877 # it if it's in CXXFLAGS. Ignore libCrun as
13878 # -library=stlport4 depends on it.
13879 case " $CXX $CXXFLAGS " in
13880 *" -library=stlport4 "*)
13881 solaris_use_stlport4
=yes
13885 if test "$solaris_use_stlport4" != yes; then
13886 postdeps_CXX
='-library=Cstd -library=Crun'
13893 case $cc_basename in
13895 # The more standards-conforming stlport4 library is
13896 # incompatible with the Cstd library. Avoid specifying
13897 # it if it's in CXXFLAGS. Ignore libCrun as
13898 # -library=stlport4 depends on it.
13899 case " $CXX $CXXFLAGS " in
13900 *" -library=stlport4 "*)
13901 solaris_use_stlport4
=yes
13905 # Adding this requires a known-good setup of shared libraries for
13906 # Sun compiler versions before 5.6, else PIC objects from an old
13907 # archive will be linked into the output, leading to subtle bugs.
13908 if test "$solaris_use_stlport4" != yes; then
13909 postdeps_CXX
='-library=Cstd -library=Crun'
13917 case " $postdeps_CXX " in
13918 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13920 compiler_lib_search_dirs_CXX
=
13921 if test -n "${compiler_lib_search_path_CXX}"; then
13922 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13955 lt_prog_compiler_wl_CXX
=
13956 lt_prog_compiler_pic_CXX
=
13957 lt_prog_compiler_static_CXX
=
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13960 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13962 # C++ specific cases for pic, static, wl, etc.
13963 if test "$GXX" = yes; then
13964 lt_prog_compiler_wl_CXX
='-Wl,'
13965 lt_prog_compiler_static_CXX
='-static'
13969 # All AIX code is PIC.
13970 if test "$host_cpu" = ia64
; then
13971 # AIX 5 now supports IA64 processor
13972 lt_prog_compiler_static_CXX
='-Bstatic'
13974 lt_prog_compiler_pic_CXX
='-fPIC'
13980 # see comment about AmigaOS4 .so support
13981 lt_prog_compiler_pic_CXX
='-fPIC'
13984 # FIXME: we need at least 68020 code to build shared libraries, but
13985 # adding the `-m68020' flag to GCC prevents building anything better,
13987 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13992 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13993 # PIC is the default for these OSes.
13995 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13996 # This hack is so that the source file can tell whether it is being
13997 # built for inclusion in a dll (and should export symbols for example).
13998 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13999 # (--disable-auto-import) libraries
14000 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14002 darwin
* | rhapsody
*)
14003 # PIC is the default on this platform
14004 # Common symbols not allowed in MH_DYLIB files
14005 lt_prog_compiler_pic_CXX
='-fno-common'
14008 # DJGPP does not support shared libraries at all
14009 lt_prog_compiler_pic_CXX
=
14012 # PIC is the default for Haiku.
14013 # The "-static" flag exists, but is broken.
14014 lt_prog_compiler_static_CXX
=
14017 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14018 # Instead, we relocate shared libraries at runtime.
14021 if test -d /usr
/nec
; then
14022 lt_prog_compiler_pic_CXX
=-Kconform_pic
14026 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14027 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14028 # sets the default TLS model and affects inlining.
14033 lt_prog_compiler_pic_CXX
='-fPIC'
14038 # QNX uses GNU C++, but need to define -shared option too, otherwise
14039 # it will coredump.
14040 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14043 lt_prog_compiler_pic_CXX
='-fPIC'
14049 # All AIX code is PIC.
14050 if test "$host_cpu" = ia64
; then
14051 # AIX 5 now supports IA64 processor
14052 lt_prog_compiler_static_CXX
='-Bstatic'
14054 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14058 case $cc_basename in
14060 # Green Hills C++ Compiler
14061 # _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"
14066 case $cc_basename in
14068 lt_prog_compiler_pic_CXX
='-KPIC'
14071 # Green Hills C++ Compiler
14072 lt_prog_compiler_pic_CXX
='-pic'
14078 freebsd
* | dragonfly
*)
14079 # FreeBSD uses GNU C++
14081 hpux9
* | hpux10
* | hpux11
*)
14082 case $cc_basename in
14084 lt_prog_compiler_wl_CXX
='-Wl,'
14085 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14086 if test "$host_cpu" != ia64
; then
14087 lt_prog_compiler_pic_CXX
='+Z'
14091 lt_prog_compiler_wl_CXX
='-Wl,'
14092 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14098 lt_prog_compiler_pic_CXX
='+Z'
14107 # This is c89, which is MS Visual C++ (no shared libs)
14108 # Anyone wants to do a port?
14110 irix5
* | irix6
* | nonstopux
*)
14111 case $cc_basename in
14113 lt_prog_compiler_wl_CXX
='-Wl,'
14114 lt_prog_compiler_static_CXX
='-non_shared'
14115 # CC pic flag -KPIC is the default.
14121 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14122 case $cc_basename in
14125 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14126 lt_prog_compiler_pic_CXX
='-fPIC'
14129 # old Intel C++ for x86_64 which still supported -KPIC.
14130 lt_prog_compiler_wl_CXX
='-Wl,'
14131 lt_prog_compiler_pic_CXX
='-KPIC'
14132 lt_prog_compiler_static_CXX
='-static'
14135 # Intel C++, used to be incompatible with GCC.
14136 # ICC 10 doesn't accept -KPIC any more.
14137 lt_prog_compiler_wl_CXX
='-Wl,'
14138 lt_prog_compiler_pic_CXX
='-fPIC'
14139 lt_prog_compiler_static_CXX
='-static'
14142 # Portland Group C++ compiler
14143 lt_prog_compiler_wl_CXX
='-Wl,'
14144 lt_prog_compiler_pic_CXX
='-fpic'
14145 lt_prog_compiler_static_CXX
='-Bstatic'
14149 # Make sure the PIC flag is empty. It appears that all Alpha
14150 # Linux and Compaq Tru64 Unix objects are PIC.
14151 lt_prog_compiler_pic_CXX
=
14152 lt_prog_compiler_static_CXX
='-non_shared'
14154 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14155 # IBM XL 8.0, 9.0 on PPC and BlueGene
14156 lt_prog_compiler_wl_CXX
='-Wl,'
14157 lt_prog_compiler_pic_CXX
='-qpic'
14158 lt_prog_compiler_static_CXX
='-qstaticlink'
14161 case `$CC -V 2>&1 | sed 5q` in
14164 lt_prog_compiler_pic_CXX
='-KPIC'
14165 lt_prog_compiler_static_CXX
='-Bstatic'
14166 lt_prog_compiler_wl_CXX
='-Qoption ld '
14177 case $cc_basename in
14179 lt_prog_compiler_pic_CXX
='-W c,exportall'
14188 # QNX uses GNU C++, but need to define -shared option too, otherwise
14189 # it will coredump.
14190 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14192 osf3
* | osf4
* | osf5
*)
14193 case $cc_basename in
14195 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14198 # Rational C++ 2.4.1
14199 lt_prog_compiler_pic_CXX
='-pic'
14202 # Digital/Compaq C++
14203 lt_prog_compiler_wl_CXX
='-Wl,'
14204 # Make sure the PIC flag is empty. It appears that all Alpha
14205 # Linux and Compaq Tru64 Unix objects are PIC.
14206 lt_prog_compiler_pic_CXX
=
14207 lt_prog_compiler_static_CXX
='-non_shared'
14216 case $cc_basename in
14218 # Sun C++ 4.2, 5.x and Centerline C++
14219 lt_prog_compiler_pic_CXX
='-KPIC'
14220 lt_prog_compiler_static_CXX
='-Bstatic'
14221 lt_prog_compiler_wl_CXX
='-Qoption ld '
14224 # Green Hills C++ Compiler
14225 lt_prog_compiler_pic_CXX
='-PIC'
14232 case $cc_basename in
14235 lt_prog_compiler_pic_CXX
='-pic'
14236 lt_prog_compiler_static_CXX
='-Bstatic'
14240 lt_prog_compiler_pic_CXX
='-pic'
14246 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14247 case $cc_basename in
14249 lt_prog_compiler_wl_CXX
='-Wl,'
14250 lt_prog_compiler_pic_CXX
='-KPIC'
14251 lt_prog_compiler_static_CXX
='-Bstatic'
14256 case $cc_basename in
14258 # NonStop-UX NCC 3.20
14259 lt_prog_compiler_pic_CXX
='-KPIC'
14268 lt_prog_compiler_can_build_shared_CXX
=no
14274 # For platforms which do not support PIC, -DPIC is meaningless:
14276 lt_prog_compiler_pic_CXX
=
14279 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14283 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14288 # Check to make sure the PIC flag actually works.
14290 if test -n "$lt_prog_compiler_pic_CXX"; then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14292 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14293 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14294 $as_echo_n "(cached) " >&6
14296 lt_cv_prog_compiler_pic_works_CXX
=no
14297 ac_outfile
=conftest.
$ac_objext
14298 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14299 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14300 # Insert the option either (1) after the last *FLAGS variable, or
14301 # (2) before a word containing "conftest.", or (3) at the end.
14302 # Note that $ac_compile itself does not contain backslashes and begins
14303 # with a dollar sign (not a hyphen), so the echo should work correctly.
14304 # The option is referenced via a variable to avoid confusing sed.
14305 lt_compile
=`echo "$ac_compile" | $SED \
14306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14308 -e 's:$: $lt_compiler_flag:'`
14309 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14310 (eval "$lt_compile" 2>conftest.err
)
14312 cat conftest.err
>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 if (exit $ac_status) && test -s "$ac_outfile"; then
14315 # The compiler can only warn and ignore the option if not recognized
14316 # So say no if there are warnings other than the usual output.
14317 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14318 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14319 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14320 lt_cv_prog_compiler_pic_works_CXX
=yes
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14327 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14329 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14330 case $lt_prog_compiler_pic_CXX in
14332 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14335 lt_prog_compiler_pic_CXX
=
14336 lt_prog_compiler_can_build_shared_CXX
=no
14344 # Check to make sure the static flag actually works.
14346 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14348 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14349 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14350 $as_echo_n "(cached) " >&6
14352 lt_cv_prog_compiler_static_works_CXX
=no
14353 save_LDFLAGS
="$LDFLAGS"
14354 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14355 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14356 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14357 # The linker can only warn and ignore the option if not recognized
14358 # So say no if there are warnings
14359 if test -s conftest.err
; then
14360 # Append any errors to the config.log.
14361 cat conftest.err
1>&5
14362 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14363 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14364 if diff conftest.exp conftest.er2
>/dev
/null
; then
14365 lt_cv_prog_compiler_static_works_CXX
=yes
14368 lt_cv_prog_compiler_static_works_CXX
=yes
14372 LDFLAGS
="$save_LDFLAGS"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14376 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14378 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14381 lt_prog_compiler_static_CXX
=
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14388 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14389 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14390 $as_echo_n "(cached) " >&6
14392 lt_cv_prog_compiler_c_o_CXX
=no
14393 $RM -r conftest
2>/dev
/null
14397 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14399 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14400 # Insert the option either (1) after the last *FLAGS variable, or
14401 # (2) before a word containing "conftest.", or (3) at the end.
14402 # Note that $ac_compile itself does not contain backslashes and begins
14403 # with a dollar sign (not a hyphen), so the echo should work correctly.
14404 lt_compile
=`echo "$ac_compile" | $SED \
14405 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14407 -e 's:$: $lt_compiler_flag:'`
14408 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14409 (eval "$lt_compile" 2>out
/conftest.err
)
14411 cat out
/conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14415 # The compiler can only warn and ignore the option if not recognized
14416 # So say no if there are warnings
14417 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14418 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14419 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14420 lt_cv_prog_compiler_c_o_CXX
=yes
14425 # SGI C++ compiler will create directory out/ii_files/ for
14426 # template instantiation
14427 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14428 $RM out
/* && rmdir out
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14435 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14440 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14441 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14442 $as_echo_n "(cached) " >&6
14444 lt_cv_prog_compiler_c_o_CXX
=no
14445 $RM -r conftest
2>/dev
/null
14449 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14451 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14452 # Insert the option either (1) after the last *FLAGS variable, or
14453 # (2) before a word containing "conftest.", or (3) at the end.
14454 # Note that $ac_compile itself does not contain backslashes and begins
14455 # with a dollar sign (not a hyphen), so the echo should work correctly.
14456 lt_compile
=`echo "$ac_compile" | $SED \
14457 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14458 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14459 -e 's:$: $lt_compiler_flag:'`
14460 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14461 (eval "$lt_compile" 2>out
/conftest.err
)
14463 cat out
/conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14467 # The compiler can only warn and ignore the option if not recognized
14468 # So say no if there are warnings
14469 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14470 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14471 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14472 lt_cv_prog_compiler_c_o_CXX
=yes
14477 # SGI C++ compiler will create directory out/ii_files/ for
14478 # template instantiation
14479 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14480 $RM out
/* && rmdir out
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14487 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14492 hard_links
="nottested"
14493 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14494 # do not overwrite the value of need_locks provided by the user
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14496 $as_echo_n "checking if we can lock with hard links... " >&6; }
14499 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14501 ln conftest.a conftest.b
2>&5 || hard_links
=no
14502 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14504 $as_echo "$hard_links" >&6; }
14505 if test "$hard_links" = no
; then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14507 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14517 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14519 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14522 # If we're using GNU nm, then we don't want the "-C" option.
14523 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14524 # Also, AIX nm treats weak defined symbols like other global defined
14525 # symbols, whereas GNU nm marks them as "W".
14526 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14527 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'
14529 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'
14533 export_symbols_cmds_CXX
="$ltdll_cmds"
14535 cygwin
* | mingw
* | cegcc
*)
14536 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'
14539 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14542 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14545 $as_echo "$ld_shlibs_CXX" >&6; }
14546 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14548 with_gnu_ld_CXX
=$with_gnu_ld
14556 # Do we need to explicitly link libc?
14558 case "x$archive_cmds_need_lc_CXX" in
14560 # Assume -lc should be added
14561 archive_cmds_need_lc_CXX
=yes
14563 if test "$enable_shared" = yes && test "$GCC" = yes; then
14564 case $archive_cmds_CXX in
14566 # FIXME: we may have to deal with multi-command sequences.
14569 # Test whether the compiler implicitly links with -lc since on some
14570 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14571 # to ld, don't add -lc before -lgcc.
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14573 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14574 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14575 $as_echo_n "(cached) " >&6
14578 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14581 (eval $ac_compile) 2>&5
14583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14584 test $ac_status = 0; } 2>conftest.err
; then
14587 libobjs
=conftest.
$ac_objext
14589 wl
=$lt_prog_compiler_wl_CXX
14590 pic_flag
=$lt_prog_compiler_pic_CXX
14596 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14597 allow_undefined_flag_CXX
=
14598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14599 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14602 test $ac_status = 0; }
14604 lt_cv_archive_cmds_need_lc_CXX
=no
14606 lt_cv_archive_cmds_need_lc_CXX
=yes
14608 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14610 cat conftest.err
1>&5
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14616 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14617 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14688 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14690 library_names_spec
=
14691 libname_spec
='lib$name'
14695 postuninstall_cmds
=
14699 shlibpath_overrides_runpath
=unknown
14701 dynamic_linker
="$host_os ld.so"
14702 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14703 need_lib_prefix
=unknown
14704 hardcode_into_libs
=no
14706 # when you set need_version to no, make sure it does not cause -set_version
14707 # flags to be left without arguments
14708 need_version
=unknown
14713 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14714 shlibpath_var
=LIBPATH
14716 # AIX 3 has no versioning support, so we append a major version to the name.
14717 soname_spec
='${libname}${release}${shared_ext}$major'
14724 hardcode_into_libs
=yes
14725 if test "$host_cpu" = ia64
; then
14726 # AIX 5 supports IA64
14727 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14728 shlibpath_var
=LD_LIBRARY_PATH
14730 # With GCC up to 2.95.x, collect2 would create an import file
14731 # for dependence libraries. The import file would start with
14732 # the line `#! .'. This would cause the generated library to
14733 # depend on `.', always an invalid library. This was fixed in
14734 # development snapshots of GCC prior to 3.0.
14736 aix4 | aix4.
[01] | aix4.
[01].
*)
14737 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14739 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14742 can_build_shared
=no
14746 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14747 # soname into executable. Probably we can add versioning support to
14748 # collect2, so additional links can be useful in future.
14749 if test "$aix_use_runtimelinking" = yes; then
14750 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14751 # instead of lib<name>.a to let people know that these are not
14752 # typical AIX shared libraries.
14753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14755 # We preserve .a as extension for shared libraries through AIX4.2
14756 # and later when we are not doing run time linking.
14757 library_names_spec
='${libname}${release}.a $libname.a'
14758 soname_spec
='${libname}${release}${shared_ext}$major'
14760 shlibpath_var
=LIBPATH
14767 # Since July 2007 AmigaOS4 officially supports .so libraries.
14768 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772 library_names_spec
='$libname.ixlibrary $libname.a'
14773 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14774 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'
14780 library_names_spec
='${libname}${shared_ext}'
14781 dynamic_linker
="$host_os ld.so"
14782 shlibpath_var
=LIBRARY_PATH
14788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14789 soname_spec
='${libname}${release}${shared_ext}$major'
14790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14791 shlibpath_var
=LD_LIBRARY_PATH
14792 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14793 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14794 # the default ld.so.conf also contains /usr/contrib/lib and
14795 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14796 # libtool to hard-code these into programs
14799 cygwin
* | mingw
* | pw32
* | cegcc
*)
14800 version_type
=windows
14805 case $GCC,$host_os in
14806 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14807 library_names_spec
='$libname.dll.a'
14808 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14809 postinstall_cmds
='base_file=`basename \${file}`~
14810 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14811 dldir=$destdir/`dirname \$dlpath`~
14812 test -d \$dldir || mkdir -p \$dldir~
14813 $install_prog $dir/$dlname \$dldir/$dlname~
14814 chmod a+x \$dldir/$dlname~
14815 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14816 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14818 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14819 dlpath=$dir/\$dldll~
14821 shlibpath_overrides_runpath
=yes
14825 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14826 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14830 # MinGW DLLs use traditional 'lib' prefix
14831 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14834 # pw32 DLLs use 'pw' prefix rather than 'lib'
14835 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14841 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14844 dynamic_linker
='Win32 ld.exe'
14845 # FIXME: first we should search . and the directory the executable is in
14849 darwin
* | rhapsody
*)
14850 dynamic_linker
="$host_os dyld"
14851 version_type
=darwin
14854 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14855 soname_spec
='${libname}${release}${major}$shared_ext'
14856 shlibpath_overrides_runpath
=yes
14857 shlibpath_var
=DYLD_LIBRARY_PATH
14858 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14860 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14868 soname_spec
='${libname}${release}${shared_ext}$major'
14869 shlibpath_var
=LD_LIBRARY_PATH
14872 freebsd
* | dragonfly
*)
14873 # DragonFly does not have aout. When/if they implement a new
14874 # versioning mechanism, adjust this.
14875 if test -x /usr
/bin
/objformat
; then
14876 objformat
=`/usr/bin/objformat`
14879 freebsd
[23].
*) objformat
=aout
;;
14880 *) objformat
=elf
;;
14883 version_type
=freebsd-
$objformat
14884 case $version_type in
14886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14891 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14895 shlibpath_var
=LD_LIBRARY_PATH
14898 shlibpath_overrides_runpath
=yes
14900 freebsd3.
[01]* | freebsdelf3.
[01]*)
14901 shlibpath_overrides_runpath
=yes
14902 hardcode_into_libs
=yes
14904 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14905 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14906 shlibpath_overrides_runpath
=no
14907 hardcode_into_libs
=yes
14909 *) # from 4.6 on, and DragonFly
14910 shlibpath_overrides_runpath
=yes
14911 hardcode_into_libs
=yes
14920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14921 soname_spec
='${libname}${release}${shared_ext}$major'
14922 shlibpath_var
=LD_LIBRARY_PATH
14923 hardcode_into_libs
=yes
14930 dynamic_linker
="$host_os runtime_loader"
14931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14932 soname_spec
='${libname}${release}${shared_ext}$major'
14933 shlibpath_var
=LIBRARY_PATH
14934 shlibpath_overrides_runpath
=yes
14935 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14936 hardcode_into_libs
=yes
14939 hpux9
* | hpux10
* | hpux11
*)
14940 # Give a soname corresponding to the major version so that dld.sl refuses to
14941 # link against other versions.
14948 hardcode_into_libs
=yes
14949 dynamic_linker
="$host_os dld.so"
14950 shlibpath_var
=LD_LIBRARY_PATH
14951 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14953 soname_spec
='${libname}${release}${shared_ext}$major'
14954 if test "X$HPUX_IA64_MODE" = X32
; then
14955 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14963 hardcode_into_libs
=yes
14964 dynamic_linker
="$host_os dld.sl"
14965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14968 soname_spec
='${libname}${release}${shared_ext}$major'
14969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14974 dynamic_linker
="$host_os dld.sl"
14975 shlibpath_var
=SHLIB_PATH
14976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14978 soname_spec
='${libname}${release}${shared_ext}$major'
14981 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14982 postinstall_cmds
='chmod 555 $lib'
14983 # or fails outright, so override atomically:
14984 install_override_mode
=555
14991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14992 soname_spec
='${libname}${release}${shared_ext}$major'
14993 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14994 shlibpath_var
=LD_LIBRARY_PATH
14995 shlibpath_overrides_runpath
=no
14996 hardcode_into_libs
=yes
14999 irix5
* | irix6
* | nonstopux
*)
15001 nonstopux
*) version_type
=nonstopux
;;
15003 if test "$lt_cv_prog_gnu_ld" = yes; then
15011 soname_spec
='${libname}${release}${shared_ext}$major'
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15014 irix5
* | nonstopux
*)
15015 libsuff
= shlibsuff
=
15018 case $LD in # libtool.m4 will add one of these switches to LD
15019 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15020 libsuff
= shlibsuff
= libmagic
=32-bit;;
15021 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15022 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15023 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15024 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15025 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15029 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15030 shlibpath_overrides_runpath
=no
15031 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15032 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15033 hardcode_into_libs
=yes
15036 # No shared lib support for Linux oldld, aout, or coff.
15037 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15041 # This must be Linux ELF.
15042 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15049 shlibpath_var
=LD_LIBRARY_PATH
15050 shlibpath_overrides_runpath
=no
15052 # Some binutils ld are patched to set DT_RUNPATH
15053 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15054 $as_echo_n "(cached) " >&6
15056 lt_cv_shlibpath_overrides_runpath
=no
15057 save_LDFLAGS
=$LDFLAGS
15058 save_libdir
=$libdir
15059 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15060 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15072 if ac_fn_cxx_try_link
"$LINENO"; then :
15073 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15074 lt_cv_shlibpath_overrides_runpath
=yes
15077 rm -f core conftest.err conftest.
$ac_objext \
15078 conftest
$ac_exeext conftest.
$ac_ext
15079 LDFLAGS
=$save_LDFLAGS
15080 libdir
=$save_libdir
15084 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15086 # This implies no fast_install, which is unacceptable.
15087 # Some rework will be needed to allow for fast_install
15088 # before this can be enabled.
15089 hardcode_into_libs
=yes
15091 # Append ld.so.conf contents to the search path
15092 if test -f /etc
/ld.so.conf
; then
15093 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' ' '`
15094 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15097 # We used to test for /lib/ld.so.1 and disable shared libraries on
15098 # powerpc, because MkLinux only supported shared libraries with the
15099 # GNU dynamic linker. Since this was broken with cross compilers,
15100 # most powerpc-linux boxes support dynamic linking these days and
15101 # people can always --disable-shared, the test was removed, and we
15102 # assume the GNU/Linux dynamic linker is in use.
15103 dynamic_linker
='GNU/Linux ld.so'
15110 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15112 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15113 dynamic_linker
='NetBSD (a.out) ld.so'
15115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15116 soname_spec
='${libname}${release}${shared_ext}$major'
15117 dynamic_linker
='NetBSD ld.elf_so'
15119 shlibpath_var
=LD_LIBRARY_PATH
15120 shlibpath_overrides_runpath
=yes
15121 hardcode_into_libs
=yes
15126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15127 shlibpath_var
=LD_LIBRARY_PATH
15128 shlibpath_overrides_runpath
=yes
15135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15136 soname_spec
='${libname}${release}${shared_ext}$major'
15137 shlibpath_var
=LD_LIBRARY_PATH
15138 shlibpath_overrides_runpath
=no
15139 hardcode_into_libs
=yes
15140 dynamic_linker
='ldqnx.so'
15145 sys_lib_dlsearch_path_spec
="/usr/lib"
15147 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15149 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15150 *) need_version
=no
;;
15152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15153 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15154 shlibpath_var
=LD_LIBRARY_PATH
15155 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15157 openbsd2.
[89] | openbsd2.
[89].
*)
15158 shlibpath_overrides_runpath
=no
15161 shlibpath_overrides_runpath
=yes
15165 shlibpath_overrides_runpath
=yes
15170 libname_spec
='$name'
15173 library_names_spec
='$libname${shared_ext} $libname.a'
15174 dynamic_linker
='OS/2 ld.exe'
15175 shlibpath_var
=LIBPATH
15178 osf3
* | osf4
* | osf5
*)
15182 soname_spec
='${libname}${release}${shared_ext}$major'
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15184 shlibpath_var
=LD_LIBRARY_PATH
15185 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15186 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15198 soname_spec
='${libname}${release}${shared_ext}$major'
15199 shlibpath_var
=LD_LIBRARY_PATH
15200 shlibpath_overrides_runpath
=yes
15201 hardcode_into_libs
=yes
15202 # ldd complains unless libraries are executable
15203 postinstall_cmds
='chmod +x $lib'
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15209 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15210 shlibpath_var
=LD_LIBRARY_PATH
15211 shlibpath_overrides_runpath
=yes
15212 if test "$with_gnu_ld" = yes; then
15220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15221 soname_spec
='${libname}${release}${shared_ext}$major'
15222 shlibpath_var
=LD_LIBRARY_PATH
15223 case $host_vendor in
15225 shlibpath_overrides_runpath
=no
15227 runpath_var
=LD_RUN_PATH
15235 shlibpath_overrides_runpath
=no
15236 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15242 if test -d /usr
/nec
;then
15244 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15245 soname_spec
='$libname${shared_ext}.$major'
15246 shlibpath_var
=LD_LIBRARY_PATH
15250 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15251 version_type
=freebsd-elf
15254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15255 soname_spec
='${libname}${release}${shared_ext}$major'
15256 shlibpath_var
=LD_LIBRARY_PATH
15257 shlibpath_overrides_runpath
=yes
15258 hardcode_into_libs
=yes
15259 if test "$with_gnu_ld" = yes; then
15260 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15262 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15265 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15269 sys_lib_dlsearch_path_spec
='/usr/lib'
15273 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15278 shlibpath_var
=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath
=no
15280 hardcode_into_libs
=yes
15285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15286 soname_spec
='${libname}${release}${shared_ext}$major'
15287 shlibpath_var
=LD_LIBRARY_PATH
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15295 $as_echo "$dynamic_linker" >&6; }
15296 test "$dynamic_linker" = no
&& can_build_shared
=no
15298 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15299 if test "$GCC" = yes; then
15300 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15303 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15304 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15306 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15307 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15348 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15349 hardcode_action_CXX
=
15350 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15351 test -n "$runpath_var_CXX" ||
15352 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15354 # We can hardcode non-existent directories.
15355 if test "$hardcode_direct_CXX" != no
&&
15356 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15357 # have to relink, otherwise we might link with an installed library
15358 # when we should be linking with a yet-to-be-installed one
15359 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15360 test "$hardcode_minus_L_CXX" != no
; then
15361 # Linking always hardcodes the temporary library directory.
15362 hardcode_action_CXX
=relink
15364 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15365 hardcode_action_CXX
=immediate
15368 # We cannot hardcode anything, or else we can only hardcode existing
15370 hardcode_action_CXX
=unsupported
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15373 $as_echo "$hardcode_action_CXX" >&6; }
15375 if test "$hardcode_action_CXX" = relink ||
15376 test "$inherit_rpath_CXX" = yes; then
15377 # Fast installation is not supported
15378 enable_fast_install
=no
15379 elif test "$shlibpath_overrides_runpath" = yes ||
15380 test "$enable_shared" = no
; then
15381 # Fast installation is not necessary
15382 enable_fast_install
=needless
15391 fi # test -n "$compiler"
15397 with_gnu_ld
=$lt_save_with_gnu_ld
15398 lt_cv_path_LDCXX
=$lt_cv_path_LD
15399 lt_cv_path_LD
=$lt_save_path_LD
15400 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15401 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15402 fi # test "$_lt_caught_CXX_error" != yes
15405 ac_cpp
='$CPP $CPPFLAGS'
15406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15422 ac_config_commands
="$ac_config_commands libtool"
15427 # Only expand once:
15434 *-cygwin* |
*-mingw*)
15435 # 'host' will be top-level target in the case of a target lib,
15436 # we must compare to with_cross_host to decide if this is a native
15437 # or cross-compiler and select where to install dlls appropriately.
15438 if test -n "$with_cross_host" &&
15439 test x
"$with_cross_host" != x
"no"; then
15440 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15442 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15455 # For libtool versioning info, format is CURRENT:REVISION:AGE
15456 libtool_VERSION
=1:0:0
15459 XCFLAGS
="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
15461 # Add CET specific flags if Intel CET is enabled.
15462 # Check whether --enable-cet was given.
15463 if test "${enable_cet+set}" = set; then :
15464 enableval
=$enable_cet;
15465 case "$enableval" in
15467 *) as_fn_error
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
15476 $as_echo_n "checking for CET support... " >&6; }
15479 i
[34567]86-*-linux* | x86_64-
*-linux*)
15480 case "$enable_cet" in
15482 # Check if target supports multi-byte NOPs
15483 # and if assembler supports CET insn.
15484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15491 #if !defined(__SSE2__)
15492 #error target does not support multi-byte NOPs
15501 if ac_fn_c_try_compile
"$LINENO"; then :
15506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15509 # Check if assembler supports CET.
15510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15521 if ac_fn_c_try_compile
"$LINENO"; then :
15524 as_fn_error
"assembler with CET support is required for --enable-cet" "$LINENO" 5
15526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15534 if test x
$enable_cet = xyes
; then
15535 CET_FLAGS
="-fcf-protection -mshstk"
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15537 $as_echo "yes" >&6; }
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15540 $as_echo "no" >&6; }
15543 XCFLAGS
="$XCFLAGS $CET_FLAGS"
15547 if test "${multilib}" = "yes"; then
15548 multilib_arg
="--enable-multilib"
15553 ac_config_files
="$ac_config_files Makefile"
15556 if test "x$VTV_SUPPORTED" = "xyes"; then
15557 ac_config_files
="$ac_config_files testsuite/Makefile"
15561 case "$target_os" in
15570 if test $vtv_cygmin = yes; then
15572 VTV_CYGMIN_FALSE
='#'
15574 VTV_CYGMIN_TRUE
='#'
15579 for ac_func
in _obstack_begin
15581 ac_fn_c_check_func
"$LINENO" "_obstack_begin" "ac_cv_func__obstack_begin"
15582 if test "x$ac_cv_func__obstack_begin" = x
""yes; then :
15583 cat >>confdefs.h
<<_ACEOF
15584 #define HAVE__OBSTACK_BEGIN 1
15590 if test $ac_cv_func__obstack_begin = no
; then
15591 VTV_NO_OBSTACK_TRUE
=
15592 VTV_NO_OBSTACK_FALSE
='#'
15594 VTV_NO_OBSTACK_TRUE
='#'
15595 VTV_NO_OBSTACK_FALSE
=
15599 # Determine what GCC version number to use in filesystem paths.
15601 get_gcc_base_ver
="cat"
15603 # Check whether --with-gcc-major-version-only was given.
15604 if test "${with_gcc_major_version_only+set}" = set; then :
15605 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
15606 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
15614 cat >confcache
<<\_ACEOF
15615 # This file is a shell script that caches the results of configure
15616 # tests run on this system so they can be shared between configure
15617 # scripts and configure runs, see configure's option --config-cache.
15618 # It is not useful on other systems. If it contains results you don't
15619 # want to keep, you may remove or edit it.
15621 # config.status only pays attention to the cache file if you give it
15622 # the --recheck option to rerun configure.
15624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15626 # following values.
15630 # The following way of writing the cache mishandles newlines in values,
15631 # but we know of no workaround that is simple, portable, and efficient.
15632 # So, we kill variables containing newlines.
15633 # Ultrix sh set writes to stderr and can't be redirected directly,
15634 # and sets the high bit in the cache file unless we assign to the vars.
15636 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15637 eval ac_val
=\$
$ac_var
15641 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15645 _ | IFS | as_nl
) ;; #(
15646 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15647 *) { eval $ac_var=; unset $ac_var;} ;;
15653 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15654 *${as_nl}ac_space
=\
*)
15655 # `set' does not quote correctly, so add quotes: double-quote
15656 # substitution turns \\\\ into \\, and sed turns \\ into \.
15659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15662 # `set' quotes correctly as required by POSIX, so do not add quotes.
15663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15674 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15676 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15677 if test -w "$cache_file"; then
15678 test "x$cache_file" != "x/dev/null" &&
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15680 $as_echo "$as_me: updating cache $cache_file" >&6;}
15681 cat confcache
>$cache_file
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15684 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15689 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15690 # Let make expand exec_prefix.
15691 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15693 # Transform confdefs.h into DEFS.
15694 # Protect against shell expansion while executing Makefile rules.
15695 # Protect against Makefile macro expansion.
15697 # If the first sed substitution is executed (which looks for macros that
15698 # take arguments), then branch to the quote section. Otherwise,
15699 # look for a macro that doesn't take arguments.
15709 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15711 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15715 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15728 DEFS
=`sed -n "$ac_script" confdefs.h`
15733 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15734 # 1. Remove the extension, and $U if already installed.
15735 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15736 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15737 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15738 # will be set to the directory where LIBOBJS objects are built.
15739 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15740 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15742 LIBOBJS
=$ac_libobjs
15744 LTLIBOBJS
=$ac_ltlibobjs
15747 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
15748 as_fn_error
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
15749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15751 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15752 as_fn_error
"conditional \"AMDEP\" was never defined.
15753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15755 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15756 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15759 if test -n "$EXEEXT"; then
15761 am__EXEEXT_FALSE
='#'
15763 am__EXEEXT_TRUE
='#'
15767 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15768 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15771 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15772 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15775 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
15776 as_fn_error
"conditional \"VTV_CYGMIN\" was never defined.
15777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15779 if test -z "${VTV_NO_OBSTACK_TRUE}" && test -z "${VTV_NO_OBSTACK_FALSE}"; then
15780 as_fn_error
"conditional \"VTV_NO_OBSTACK\" was never defined.
15781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15784 : ${CONFIG_STATUS=./config.status}
15786 ac_clean_files_save
=$ac_clean_files
15787 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15789 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15791 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15793 # Generated by $as_me.
15794 # Run this file to recreate the current configuration.
15795 # Compiler output produced by configure, useful for debugging
15796 # configure, is in config.log if it exists.
15799 ac_cs_recheck=false
15802 SHELL=\${CONFIG_SHELL-$SHELL}
15805 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15806 ## -------------------- ##
15807 ## M4sh Initialization. ##
15808 ## -------------------- ##
15810 # Be more Bourne compatible
15811 DUALCASE
=1; export DUALCASE
# for MKS sh
15812 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15815 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15816 # is contrary to our usage. Disable this feature.
15817 alias -g '${1+"$@"}'='"$@"'
15818 setopt NO_GLOB_SUBST
15820 case `(set -o) 2>/dev/null` in #(
15832 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15833 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15834 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15835 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15836 # Prefer a ksh shell builtin over an external printf program on Solaris,
15837 # but without wasting forks for bash or zsh.
15838 if test -z "$BASH_VERSION$ZSH_VERSION" \
15839 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15840 as_echo='print
-r --'
15841 as_echo_n='print
-rn --'
15842 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15843 as_echo='printf %s
\n'
15844 as_echo_n='printf %s
'
15846 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15847 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15848 as_echo_n='/usr
/ucb
/echo -n'
15850 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15851 as_echo_n_body='eval
15855 expr "X$arg" : "X\\(.*\\)$as_nl";
15856 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15858 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15860 export as_echo_n_body
15861 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15863 export as_echo_body
15864 as_echo='sh
-c $as_echo_body as_echo
'
15867 # The user is always right.
15868 if test "${PATH_SEPARATOR+set}" != set; then
15870 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15871 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15878 # We need space, tab and new line, in precisely that order. Quoting is
15879 # there to prevent editors from complaining about space-tab.
15880 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15881 # splitting by setting IFS to empty value.)
15884 # Find who we are. Look in the path if we contain no directory separator.
15886 *[\\/]* ) as_myself=$0 ;;
15887 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15891 test -z "$as_dir" && as_dir=.
15892 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15898 # We did not find ourselves, most probably we were run as `sh COMMAND'
15899 # in which case we are not to be found in the path.
15900 if test "x$as_myself" = x
; then
15903 if test ! -f "$as_myself"; then
15904 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15908 # Unset variables that we do not need and which cause bugs (e.g. in
15909 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15910 # suppresses any "Segmentation fault" message there. '((' could
15911 # trigger a bug in pdksh 5.2.14.
15912 for as_var
in BASH_ENV ENV MAIL MAILPATH
15913 do eval test x\
${$as_var+set} = xset \
15914 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15927 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15930 # as_fn_error ERROR [LINENO LOG_FD]
15931 # ---------------------------------
15932 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15933 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15934 # script with status $?, using 1 if that was 0.
15937 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15939 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15940 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15942 $as_echo "$as_me: error: $1" >&2
15943 as_fn_exit
$as_status
15947 # as_fn_set_status STATUS
15948 # -----------------------
15949 # Set $? to STATUS, without forking.
15950 as_fn_set_status
()
15953 } # as_fn_set_status
15955 # as_fn_exit STATUS
15956 # -----------------
15957 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15961 as_fn_set_status
$1
15967 # Portably unset VAR.
15970 { eval $1=; unset $1;}
15972 as_unset
=as_fn_unset
15973 # as_fn_append VAR VALUE
15974 # ----------------------
15975 # Append the text in VALUE to the end of the definition contained in VAR. Take
15976 # advantage of any shell optimizations that allow amortized linear growth over
15977 # repeated appends, instead of the typical quadratic growth present in naive
15979 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15980 eval 'as_fn_append ()
15991 # as_fn_arith ARG...
15992 # ------------------
15993 # Perform arithmetic evaluation on the ARGs, and store the result in the
15994 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15995 # must be portable across $(()) and expr.
15996 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15997 eval 'as_fn_arith ()
16004 as_val
=`expr "$@" || test $? -eq 1`
16009 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16010 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16016 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16017 as_basename
=basename
16022 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16028 as_me
=`$as_basename -- "$0" ||
16029 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16030 X"$0" : 'X\(//\)$' \| \
16031 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16033 sed '/^.*\/\([^/][^/]*\)\/*$/{
16047 # Avoid depending upon Character Ranges.
16048 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16049 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16050 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16051 as_cr_digits
='0123456789'
16052 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16054 ECHO_C
= ECHO_N
= ECHO_T
=
16055 case `echo -n x` in #(((((
16057 case `echo 'xy\c'` in
16058 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16060 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16067 rm -f conf$$ conf$$.exe conf$$.
file
16068 if test -d conf$$.dir
; then
16069 rm -f conf$$.dir
/conf$$.
file
16072 mkdir conf$$.dir
2>/dev
/null
16074 if (echo >conf$$.
file) 2>/dev
/null
; then
16075 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16077 # ... but there are two gotchas:
16078 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16079 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16080 # In both cases, we have to default to `cp -p'.
16081 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16083 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16091 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16092 rmdir conf$$.dir
2>/dev
/null
16097 # Create "$as_dir" as a directory, including parents if necessary.
16102 -*) as_dir
=.
/$as_dir;;
16104 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16108 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16109 *) as_qdir
=$as_dir;;
16111 as_dirs
="'$as_qdir' $as_dirs"
16112 as_dir
=`$as_dirname -- "$as_dir" ||
16113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16114 X"$as_dir" : 'X\(//\)[^/]' \| \
16115 X"$as_dir" : 'X\(//\)$' \| \
16116 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16117 $as_echo X"$as_dir" |
16118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16122 /^X\(\/\/\)[^/].*/{
16135 test -d "$as_dir" && break
16137 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16138 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16142 if mkdir
-p .
2>/dev
/null
; then
16143 as_mkdir_p
='mkdir -p "$as_dir"'
16145 test -d .
/-p && rmdir .
/-p
16149 if test -x / >/dev
/null
2>&1; then
16150 as_test_x
='test -x'
16152 if ls -dL / >/dev
/null
2>&1; then
16159 if test -d "$1"; then
16165 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16166 ???[sx]*):;;*)false;;esac;fi
16170 as_executable_p
=$as_test_x
16172 # Sed expression to map a string onto a valid CPP name.
16173 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16175 # Sed expression to map a string onto a valid variable name.
16176 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16180 ## ----------------------------------- ##
16181 ## Main body of $CONFIG_STATUS script. ##
16182 ## ----------------------------------- ##
16184 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16187 # Save the log message, to keep $0 and so on meaningful, and to
16188 # report actual input values of CONFIG_FILES etc. instead of their
16189 # values after options handling.
16191 This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
16192 generated by GNU Autoconf 2.64. Invocation command line was
16194 CONFIG_FILES = $CONFIG_FILES
16195 CONFIG_HEADERS = $CONFIG_HEADERS
16196 CONFIG_LINKS = $CONFIG_LINKS
16197 CONFIG_COMMANDS = $CONFIG_COMMANDS
16200 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16205 case $ac_config_files in *"
16206 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16212 # Files that config.status was made for.
16213 config_files="$ac_config_files"
16214 config_commands="$ac_config_commands"
16218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16220 \`$as_me' instantiates files and other configuration actions
16221 from templates according to the current configuration. Unless the files
16222 and actions are specified as TAGs, all are instantiated by default.
16224 Usage: $0 [OPTION]... [TAG]...
16226 -h, --help print this help, then exit
16227 -V, --version print version number and configuration settings, then exit
16228 -q, --quiet, --silent
16229 do not print progress messages
16230 -d, --debug don't remove temporary files
16231 --recheck update $as_me by reconfiguring in the same conditions
16232 --file=FILE[:TEMPLATE]
16233 instantiate the configuration file FILE
16235 Configuration files:
16238 Configuration commands:
16241 Report bugs to the package provider.
16242 GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
16243 General help using GNU software: <http://www.gnu.org/gethelp/>."
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16248 GNU Vtable Verification Runtime Library config.status 1.0
16249 configured by $0, generated by GNU Autoconf 2.64,
16250 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16252 Copyright (C) 2009 Free Software Foundation, Inc.
16253 This config.status script is free software; the Free Software Foundation
16254 gives unlimited permission to copy, distribute and modify it."
16261 test -n "\$AWK" || AWK=awk
16264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16265 # The default lists apply if the user does not specify any file.
16271 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16272 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16283 # Handling of the options.
16284 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16286 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16287 $as_echo "$ac_cs_version"; exit ;;
16288 --debug |
--debu |
--deb |
--de |
--d |
-d )
16290 --file |
--fil |
--fi |
--f )
16293 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16295 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16296 ac_need_defaults
=false
;;
16297 --he |
--h |
--help |
--hel |
-h )
16298 $as_echo "$ac_cs_usage"; exit ;;
16299 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16300 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16303 # This is an error.
16304 -*) as_fn_error
"unrecognized option: \`$1'
16305 Try \`$0 --help' for more information." ;;
16307 *) as_fn_append ac_config_targets
" $1"
16308 ac_need_defaults
=false
;;
16314 ac_configure_extra_args
=
16316 if $ac_cs_silent; then
16318 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16323 if \$ac_cs_recheck; then
16324 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16326 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16327 CONFIG_SHELL='$SHELL'
16328 export CONFIG_SHELL
16333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16337 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16338 ## Running $as_me. ##
16344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16352 with_multisubdir="$with_multisubdir"
16353 with_multisrctop="$with_multisrctop"
16354 with_target_subdir="$with_target_subdir"
16355 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16356 multi_basedir="$multi_basedir"
16357 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16360 GFORTRAN="$GFORTRAN"
16361 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16364 # The HP-UX ksh and POSIX shell print the target directory to stdout
16365 # if CDPATH is set.
16366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16368 sed_quote_subst='$sed_quote_subst'
16369 double_quote_subst='$double_quote_subst'
16370 delay_variable_subst='$delay_variable_subst'
16371 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16372 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16373 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16374 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16375 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16376 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16377 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16378 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16379 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16380 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16381 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16382 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16383 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16384 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16385 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16386 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16387 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16388 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16389 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16390 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16391 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16392 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16393 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16394 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16395 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16396 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16397 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16398 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16399 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16400 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16401 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16402 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16403 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16404 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16405 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16406 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16407 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16408 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16409 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16410 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16411 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16412 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16413 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16414 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16415 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16416 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16417 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16418 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16419 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"`'
16420 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16421 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16422 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16423 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16424 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16425 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16426 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16427 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16428 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16429 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16430 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16431 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16432 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16433 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16434 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16435 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16436 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16437 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16438 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16439 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16440 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16441 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16442 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16443 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16444 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16445 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16446 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16447 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16448 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16449 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16450 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16451 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16452 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16453 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16454 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16455 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16456 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16457 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16458 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16459 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16460 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16461 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16462 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16463 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16464 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16465 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16466 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16467 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16468 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16469 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16470 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16471 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16472 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16473 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16474 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16475 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16476 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16477 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16478 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16479 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16480 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16481 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16482 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16483 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16484 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16485 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16486 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16487 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16488 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16489 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16490 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16491 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16492 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16493 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16494 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16495 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16496 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16497 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16498 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16499 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16500 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16501 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16502 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16503 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16504 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16505 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16506 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16507 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16508 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16509 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16510 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16511 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16512 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16513 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16514 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16515 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16516 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16517 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16518 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16519 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16520 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16521 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16522 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16523 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16524 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16525 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16526 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16527 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16528 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16529 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16530 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16531 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16532 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16533 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16534 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16535 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16536 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16537 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16538 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16539 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16540 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16541 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16542 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16543 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16544 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16545 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16548 LTCFLAGS='$LTCFLAGS'
16549 compiler='$compiler_DEFAULT'
16551 # A function that is used when there is no print builtin or printf.
16552 func_fallback_echo ()
16554 eval 'cat <<_LTECHO_EOF
16559 # Quote evaled strings.
16573 deplibs_check_method \
16582 lt_cv_sys_global_symbol_pipe \
16583 lt_cv_sys_global_symbol_to_cdecl \
16584 lt_cv_sys_global_symbol_to_c_name_address \
16585 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16586 lt_prog_compiler_no_builtin_flag \
16587 lt_prog_compiler_wl \
16588 lt_prog_compiler_pic \
16589 lt_prog_compiler_static \
16590 lt_cv_prog_compiler_c_o \
16598 export_dynamic_flag_spec \
16599 whole_archive_flag_spec \
16600 compiler_needs_object \
16602 allow_undefined_flag \
16603 no_undefined_flag \
16604 hardcode_libdir_flag_spec \
16605 hardcode_libdir_flag_spec_ld \
16606 hardcode_libdir_separator \
16611 variables_saved_for_relink \
16613 library_names_spec \
16615 install_override_mode \
16619 compiler_lib_search_dirs \
16624 compiler_lib_search_path \
16628 lt_prog_compiler_no_builtin_flag_CXX \
16629 lt_prog_compiler_wl_CXX \
16630 lt_prog_compiler_pic_CXX \
16631 lt_prog_compiler_static_CXX \
16632 lt_cv_prog_compiler_c_o_CXX \
16633 export_dynamic_flag_spec_CXX \
16634 whole_archive_flag_spec_CXX \
16635 compiler_needs_object_CXX \
16637 allow_undefined_flag_CXX \
16638 no_undefined_flag_CXX \
16639 hardcode_libdir_flag_spec_CXX \
16640 hardcode_libdir_flag_spec_ld_CXX \
16641 hardcode_libdir_separator_CXX \
16642 fix_srcfile_path_CXX \
16643 exclude_expsyms_CXX \
16644 include_expsyms_CXX \
16645 file_list_spec_CXX \
16646 compiler_lib_search_dirs_CXX \
16647 predep_objects_CXX \
16648 postdep_objects_CXX \
16651 compiler_lib_search_path_CXX; do
16652 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16653 *[\\\\\\\`\\"\\\$]*)
16654 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16657 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16662 # Double-quote double-evaled strings.
16663 for var in reload_cmds \
16664 old_postinstall_cmds \
16665 old_postuninstall_cmds \
16667 extract_expsyms_cmds \
16668 old_archive_from_new_cmds \
16669 old_archive_from_expsyms_cmds \
16671 archive_expsym_cmds \
16673 module_expsym_cmds \
16674 export_symbols_cmds \
16677 postuninstall_cmds \
16679 sys_lib_search_path_spec \
16680 sys_lib_dlsearch_path_spec \
16682 old_archive_cmds_CXX \
16683 old_archive_from_new_cmds_CXX \
16684 old_archive_from_expsyms_cmds_CXX \
16686 archive_expsym_cmds_CXX \
16688 module_expsym_cmds_CXX \
16689 export_symbols_cmds_CXX \
16690 prelink_cmds_CXX; do
16691 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16692 *[\\\\\\\`\\"\\\$]*)
16693 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16696 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16701 ac_aux_dir='$ac_aux_dir'
16702 xsi_shell='$xsi_shell'
16703 lt_shell_append='$lt_shell_append'
16705 # See if we are running on zsh, and set the options which allow our
16706 # commands through without removal of \ escapes INIT.
16707 if test -n "\${ZSH_VERSION+set}" ; then
16708 setopt NO_GLOB_SUBST
16714 TIMESTAMP='$TIMESTAMP'
16725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16727 # Handling of arguments.
16728 for ac_config_target
in $ac_config_targets
16730 case $ac_config_target in
16731 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16732 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16733 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16734 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16735 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16737 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16742 # If the user did not use the arguments to specify the items to instantiate,
16743 # then the envvar interface is used. Set only those that are not.
16744 # We use the long form for the default assignment because of an extremely
16745 # bizarre bug on SunOS 4.1.3.
16746 if $ac_need_defaults; then
16747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16751 # Have a temporary directory for convenience. Make it in the build tree
16752 # simply because there is no reason against having it here, and in addition,
16753 # creating and moving files from /tmp can sometimes cause problems.
16754 # Hook for its removal unless debugging.
16755 # Note that there is a small window in which the directory will not be cleaned:
16756 # after its creation but before its name has been assigned to `$tmp'.
16760 trap 'exit_status=$?
16761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16763 trap 'as_fn_exit 1' 1 2 13 15
16765 # Create a (secure) tmp directory for tmp files.
16768 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16769 test -n "$tmp" && test -d "$tmp"
16772 tmp
=.
/conf$$
-$RANDOM
16773 (umask 077 && mkdir
"$tmp")
16774 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16776 # Set up the scripts for CONFIG_FILES section.
16777 # No need to generate them if there are no CONFIG_FILES.
16778 # This happens for instance with `./config.status config.h'.
16779 if test -n "$CONFIG_FILES"; then
16782 ac_cr
=`echo X | tr X '\015'`
16783 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16784 # But we know of no other shell where ac_cr would be empty at this
16785 # point, so we can use a bashism as a fallback.
16786 if test "x$ac_cr" = x
; then
16787 eval ac_cr
=\$
\'\\r
\'
16789 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16790 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16793 ac_cs_awk_cr
=$ac_cr
16796 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16801 echo "cat >conf$$subs.awk <<_ACEOF" &&
16802 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16804 } >conf$$subs.sh ||
16805 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16806 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16808 for ac_last_try in false false false false false :; do
16809 . ./conf$$subs.sh ||
16810 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16812 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16813 if test $ac_delim_n = $ac_delim_num; then
16815 elif $ac_last_try; then
16816 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16818 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16821 rm -f conf$$subs.sh
16823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16824 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16828 s/^/S["/; s
/!.
*/"]=/
16838 s/\(.\{148\}\).*/\1/
16840 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16845 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16852 s/\(.\{148\}\).*/\1/
16854 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16858 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16863 ' <conf$$subs.awk | sed '
16868 ' >>$CONFIG_STATUS || ac_write_fail=1
16869 rm -f conf$$subs.awk
16870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16872 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16873 for (key in S) S_is_set[key] = 1
16879 nfields = split(line, field, "@
")
16881 len = length(field[1])
16882 for (i = 2; i < nfields; i++) {
16884 keylen = length(key)
16885 if (S_is_set[key]) {
16887 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16888 len += length(value) + length(field[++i])
16899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16900 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16901 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16904 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16905 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16910 # trailing colons and then remove the whole line if VPATH becomes empty
16911 # (actually we leave an empty line to preserve line numbers).
16912 if test "x
$srcdir" = x.; then
16913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16914 s/:*\$(srcdir):*/:/
16915 s/:*\${srcdir}:*/:/
16917 s/^\([^=]*=[ ]*\):*/\1/
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16924 fi # test -n "$CONFIG_FILES"
16927 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16932 :[FHLC]) ac_mode=$ac_tag; continue;;
16934 case $ac_mode$ac_tag in
16936 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16937 :[FH]-) ac_tag=-:-;;
16938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16955 -) ac_f="$tmp/stdin";;
16956 *) # Look for the file first in the build tree, then in the source tree
16957 # (if the path is not absolute). The absolute path cannot be DOS-style,
16958 # because $ac_f cannot contain `:'.
16962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16964 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16966 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16967 as_fn_append ac_file_inputs " '$ac_f'"
16970 # Let's still pretend it is `configure' which instantiates (i.e., don't
16971 # use $as_me), people would be surprised to read:
16972 # /* config.h. Generated by config.status. */
16973 configure_input='Generated from '`
16974 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16976 if test x"$ac_file" != x-; then
16977 configure_input="$ac_file.
$configure_input"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16979 $as_echo "$as_me: creating
$ac_file" >&6;}
16981 # Neutralize special characters interpreted by sed in replacement strings.
16982 case $configure_input in #(
16983 *\&* | *\|* | *\\* )
16984 ac_sed_conf_input=`$as_echo "$configure_input" |
16985 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16986 *) ac_sed_conf_input=$configure_input;;
16990 *:-:* | *:-) cat >"$tmp/stdin
" \
16991 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16996 ac_dir=`$as_dirname -- "$ac_file" ||
16997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16998 X"$ac_file" : 'X\(//\)[^/]' \| \
16999 X"$ac_file" : 'X\(//\)$' \| \
17000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17001 $as_echo X"$ac_file" |
17002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17006 /^X\(\/\/\)[^/].*/{
17019 as_dir="$ac_dir"; as_fn_mkdir_p
17023 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17025 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17026 # A "..
" for each directory in $ac_dir_suffix.
17027 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17028 case $ac_top_builddir_sub in
17029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17033 ac_abs_top_builddir=$ac_pwd
17034 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17035 # for backward compatibility:
17036 ac_top_builddir=$ac_top_build_prefix
17039 .) # We are building in place.
17041 ac_top_srcdir=$ac_top_builddir_sub
17042 ac_abs_top_srcdir=$ac_pwd ;;
17043 [\\/]* | ?:[\\/]* ) # Absolute name.
17044 ac_srcdir=$srcdir$ac_dir_suffix;
17045 ac_top_srcdir=$srcdir
17046 ac_abs_top_srcdir=$srcdir ;;
17047 *) # Relative name.
17048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17049 ac_top_srcdir=$ac_top_build_prefix$srcdir
17050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17052 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17063 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17065 ac_MKDIR_P=$MKDIR_P
17067 [\\/$]* | ?:[\\/]* ) ;;
17068 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17073 # If the template does not know about datarootdir, expand it.
17074 # FIXME: This hack should be removed a few years after 2.60.
17075 ac_datarootdir_hack=; ac_datarootdir_seen=
17086 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17087 *datarootdir*) ac_datarootdir_seen=yes;;
17088 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17090 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17093 ac_datarootdir_hack='
17094 s&@datadir@&$datadir&g
17095 s&@docdir@&$docdir&g
17096 s&@infodir@&$infodir&g
17097 s&@localedir@&$localedir&g
17098 s&@mandir@&$mandir&g
17099 s&\\\${datarootdir}&$datarootdir&g' ;;
17103 # Neutralize VPATH when `$srcdir' = `.'.
17104 # Shell code in configure.ac might set extrasub.
17105 # FIXME: do we really want to maintain this feature?
17106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17107 ac_sed_extra="$ac_vpsub
17110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17112 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17113 s|@configure_input@|
$ac_sed_conf_input|
;t t
17114 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17115 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17116 s
&@srcdir@
&$ac_srcdir&;t t
17117 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17118 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17119 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17120 s
&@builddir@
&$ac_builddir&;t t
17121 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17122 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17123 s
&@INSTALL@
&$ac_INSTALL&;t t
17124 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17125 $ac_datarootdir_hack
17127 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17128 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17130 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17131 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17132 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17134 which seems to be undefined. Please make sure it is defined." >&5
17135 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17136 which seems to be undefined. Please make sure it is defined." >&2;}
17140 -) cat "$tmp/out" && rm -f "$tmp/out";;
17141 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17143 || as_fn_error "could not create $ac_file" "$LINENO" 5
17147 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17148 $as_echo "$as_me: executing $ac_file commands" >&6;}
17153 case $ac_file$ac_mode in
17155 # Only add multilib support code if we just rebuilt the top-level
17157 case " $CONFIG_FILES " in
17159 ac_file=Makefile . ${multi_basedir}/config-ml.in
17162 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17163 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17164 # are listed without --file. Let's play safe and only
enable the
eval
17165 # if we detect the quoting.
17166 case $CONFIG_FILES in
17167 *\'*) eval set x
"$CONFIG_FILES" ;;
17168 *) set x
$CONFIG_FILES ;;
17173 # Strip MF so we end up with the name of the file.
17174 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17175 # Check whether this is an Automake generated Makefile or not.
17176 # We used to match only the files named `Makefile.in', but
17177 # some people rename them; so instead we look at the file content.
17178 # Grep'ing the first line is not enough: some people post-process
17179 # each Makefile.in and add a new line on top of each file to say so.
17180 # Grep'ing the whole file is not good either: AIX grep has a line
17181 # limit of 2048, but all sed's we know have understand at least 4000.
17182 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17183 dirpart
=`$as_dirname -- "$mf" ||
17184 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17185 X"$mf" : 'X\(//\)[^/]' \| \
17186 X"$mf" : 'X\(//\)$' \| \
17187 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17193 /^X\(\/\/\)[^/].*/{
17209 # Extract the definition of DEPDIR, am__include, and am__quote
17210 # from the Makefile without running `make'.
17211 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17212 test -z "$DEPDIR" && continue
17213 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17214 test -z "am__include" && continue
17215 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17216 # When using ansi2knr, U may be empty or an underscore; expand it
17217 U
=`sed -n 's/^U = //p' < "$mf"`
17218 # Find all dependency output files, they are included files with
17219 # $(DEPDIR) in their names. We invoke sed twice because it is the
17220 # simplest approach to changing $(DEPDIR) to its actual value in the
17222 for file in `sed -n "
17223 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17224 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17225 # Make sure the directory exists.
17226 test -f "$dirpart/$file" && continue
17227 fdir
=`$as_dirname -- "$file" ||
17228 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17229 X"$file" : 'X\(//\)[^/]' \| \
17230 X"$file" : 'X\(//\)$' \| \
17231 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17232 $as_echo X"$file" |
17233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17237 /^X\(\/\/\)[^/].*/{
17250 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17251 # echo "creating $dirpart/$file"
17252 echo '# dummy' > "$dirpart/$file"
17259 # See if we are running on zsh, and set the options which allow our
17260 # commands through without removal of \ escapes.
17261 if test -n "${ZSH_VERSION+set}" ; then
17262 setopt NO_GLOB_SUBST
17265 cfgfile
="${ofile}T"
17266 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17269 cat <<_LT_EOF >> "$cfgfile"
17272 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17273 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17274 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17275 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17277 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17278 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17279 # Written by Gordon Matzigkeit, 1996
17281 # This file is part of GNU Libtool.
17283 # GNU Libtool is free software; you can redistribute it and/or
17284 # modify it under the terms of the GNU General Public License as
17285 # published by the Free Software Foundation; either version 2 of
17286 # the License, or (at your option) any later version.
17288 # As a special exception to the GNU General Public License,
17289 # if you distribute this file as part of a program or library that
17290 # is built using GNU Libtool, you may include this file under the
17291 # same distribution terms that you use for the rest of that program.
17293 # GNU Libtool is distributed in the hope that it will be useful,
17294 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17295 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17296 # GNU General Public License for more details.
17298 # You should have received a copy of the GNU General Public License
17299 # along with GNU Libtool; see the file COPYING. If not, a copy
17300 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17301 # obtained by writing to the Free Software Foundation, Inc.,
17302 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17305 # The names of the tagged configurations supported by this script.
17306 available_tags="CXX "
17308 # ### BEGIN LIBTOOL CONFIG
17310 # Which release of libtool.m4 was used?
17311 macro_version=$macro_version
17312 macro_revision=$macro_revision
17314 # Whether or not to build shared libraries.
17315 build_libtool_libs=$enable_shared
17317 # Whether or not to build static libraries.
17318 build_old_libs=$enable_static
17320 # What type of objects to build.
17323 # Whether or not to optimize for fast installation.
17324 fast_install=$enable_fast_install
17326 # Shell to use when invoking shell scripts.
17329 # An echo program that protects backslashes.
17333 host_alias=$host_alias
17337 # The build system.
17338 build_alias=$build_alias
17342 # A sed program that does not truncate output.
17345 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17346 Xsed="\$SED -e 1s/^X//"
17348 # A grep program that handles long lines.
17354 # A literal string matcher.
17357 # A BSD- or MS-compatible name lister.
17360 # Whether we need soft or hard links.
17363 # What is the maximum length of a command?
17364 max_cmd_len=$max_cmd_len
17366 # Object file suffix (normally "o").
17369 # Executable file suffix (normally "").
17372 # whether the shell understands "unset".
17375 # turn spaces into newlines.
17378 # turn newlines into spaces.
17381 # An object symbol dumper.
17382 OBJDUMP=$lt_OBJDUMP
17384 # Method to check whether dependent libraries are shared objects.
17385 deplibs_check_method=$lt_deplibs_check_method
17387 # Command to use when deplibs_check_method == "file_magic".
17388 file_magic_cmd=$lt_file_magic_cmd
17392 AR_FLAGS=$lt_AR_FLAGS
17394 # A symbol stripping program.
17397 # Commands used to install an old-style archive.
17399 old_postinstall_cmds=$lt_old_postinstall_cmds
17400 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17402 # Whether to use a lock for old archive extraction.
17403 lock_old_archive_extraction=$lock_old_archive_extraction
17408 # LTCC compiler flags.
17409 LTCFLAGS=$lt_CFLAGS
17411 # Take the output of nm and produce a listing of raw symbols and C names.
17412 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17414 # Transform the output of nm in a proper C declaration.
17415 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17417 # Transform the output of nm in a C name address pair.
17418 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17420 # Transform the output of nm in a C name address pair when lib prefix is needed.
17421 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17423 # The name of the directory that contains temporary libtool files.
17426 # Used to examine libraries when file_magic_cmd begins with "file".
17427 MAGIC_CMD=$MAGIC_CMD
17429 # Must we lock files when doing compilation?
17430 need_locks=$lt_need_locks
17432 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17433 DSYMUTIL=$lt_DSYMUTIL
17435 # Tool to change global to local symbols on Mac OS X.
17438 # Tool to manipulate fat objects and archives on Mac OS X.
17441 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17444 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17445 OTOOL64=$lt_OTOOL64
17447 # Old archive suffix (normally "a").
17450 # Shared library suffix (normally ".so").
17451 shrext_cmds=$lt_shrext_cmds
17453 # The commands to extract the exported symbol list from a shared archive.
17454 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17456 # Variables whose values should be saved in libtool wrapper scripts and
17457 # restored at link time.
17458 variables_saved_for_relink=$lt_variables_saved_for_relink
17460 # Do we need the "lib" prefix for modules?
17461 need_lib_prefix=$need_lib_prefix
17463 # Do we need a version for libraries?
17464 need_version=$need_version
17466 # Library versioning type.
17467 version_type=$version_type
17469 # Shared library runtime path variable.
17470 runpath_var=$runpath_var
17472 # Shared library path variable.
17473 shlibpath_var=$shlibpath_var
17475 # Is shlibpath searched before the hard-coded library search path?
17476 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17478 # Format of library name prefix.
17479 libname_spec=$lt_libname_spec
17481 # List of archive names. First name is the real one, the rest are links.
17482 # The last name is the one that the linker finds with -lNAME
17483 library_names_spec=$lt_library_names_spec
17485 # The coded name of the library, if different from the real name.
17486 soname_spec=$lt_soname_spec
17488 # Permission mode override for installation of shared libraries.
17489 install_override_mode=$lt_install_override_mode
17491 # Command to use after installation of a shared archive.
17492 postinstall_cmds=$lt_postinstall_cmds
17494 # Command to use after uninstallation of a shared archive.
17495 postuninstall_cmds=$lt_postuninstall_cmds
17497 # Commands used to finish a libtool library installation in a directory.
17498 finish_cmds=$lt_finish_cmds
17500 # As "finish_cmds", except a single script fragment to be evaled but
17502 finish_eval=$lt_finish_eval
17504 # Whether we should hardcode library paths into libraries.
17505 hardcode_into_libs=$hardcode_into_libs
17507 # Compile-time system search path for libraries.
17508 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17510 # Run-time system search path for libraries.
17511 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17513 # Whether dlopen is supported.
17514 dlopen_support=$enable_dlopen
17516 # Whether dlopen of programs is supported.
17517 dlopen_self=$enable_dlopen_self
17519 # Whether dlopen of statically linked programs is supported.
17520 dlopen_self_static=$enable_dlopen_self_static
17522 # Commands to strip libraries.
17523 old_striplib=$lt_old_striplib
17524 striplib=$lt_striplib
17527 # The linker used to build libraries.
17530 # How to create reloadable object files.
17531 reload_flag=$lt_reload_flag
17532 reload_cmds=$lt_reload_cmds
17534 # Commands used to build an old-style archive.
17535 old_archive_cmds=$lt_old_archive_cmds
17537 # A language specific compiler.
17540 # Is the compiler the GNU compiler?
17543 # Compiler flag to turn off builtin functions.
17544 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17546 # How to pass a linker flag through the compiler.
17547 wl=$lt_lt_prog_compiler_wl
17549 # Additional compiler flags for building library objects.
17550 pic_flag=$lt_lt_prog_compiler_pic
17552 # Compiler flag to prevent dynamic linking.
17553 link_static_flag=$lt_lt_prog_compiler_static
17555 # Does compiler simultaneously support -c and -o options?
17556 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17558 # Whether or not to add -lc for building shared libraries.
17559 build_libtool_need_lc=$archive_cmds_need_lc
17561 # Whether or not to disallow shared libs when runtime libs are static.
17562 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17564 # Compiler flag to allow reflexive dlopens.
17565 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17567 # Compiler flag to generate shared objects directly from archives.
17568 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17570 # Whether the compiler copes with passing no objects directly.
17571 compiler_needs_object=$lt_compiler_needs_object
17573 # Create an old-style archive from a shared archive.
17574 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17576 # Create a temporary old-style archive to link instead of a shared archive.
17577 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17579 # Commands used to build a shared archive.
17580 archive_cmds=$lt_archive_cmds
17581 archive_expsym_cmds=$lt_archive_expsym_cmds
17583 # Commands used to build a loadable module if different from building
17584 # a shared archive.
17585 module_cmds=$lt_module_cmds
17586 module_expsym_cmds=$lt_module_expsym_cmds
17588 # Whether we are building with GNU ld or not.
17589 with_gnu_ld=$lt_with_gnu_ld
17591 # Flag that allows shared libraries with undefined symbols to be built.
17592 allow_undefined_flag=$lt_allow_undefined_flag
17594 # Flag that enforces no undefined symbols.
17595 no_undefined_flag=$lt_no_undefined_flag
17597 # Flag to hardcode \$libdir into a binary during linking.
17598 # This must work even if \$libdir does not exist
17599 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17601 # If ld is used when linking, flag to hardcode \$libdir into a binary
17602 # during linking. This must work even if \$libdir does not exist.
17603 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17605 # Whether we need a single "-rpath" flag with a separated argument.
17606 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17609 # DIR into the resulting binary.
17610 hardcode_direct=$hardcode_direct
17612 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17613 # DIR into the resulting binary and the resulting library dependency is
17614 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17615 # library is relocated.
17616 hardcode_direct_absolute=$hardcode_direct_absolute
17618 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17619 # into the resulting binary.
17620 hardcode_minus_L=$hardcode_minus_L
17622 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17623 # into the resulting binary.
17624 hardcode_shlibpath_var=$hardcode_shlibpath_var
17626 # Set to "yes" if building a shared library automatically hardcodes DIR
17627 # into the library and all subsequent libraries and executables linked
17629 hardcode_automatic=$hardcode_automatic
17631 # Set to yes if linker adds runtime paths of dependent libraries
17632 # to runtime path list.
17633 inherit_rpath=$inherit_rpath
17635 # Whether libtool must link a program against all its dependency libraries.
17636 link_all_deplibs=$link_all_deplibs
17638 # Fix the shell variable \$srcfile for the compiler.
17639 fix_srcfile_path=$lt_fix_srcfile_path
17641 # Set to "yes" if exported symbols are required.
17642 always_export_symbols=$always_export_symbols
17644 # The commands to list exported symbols.
17645 export_symbols_cmds=$lt_export_symbols_cmds
17647 # Symbols that should not be listed in the preloaded symbols.
17648 exclude_expsyms=$lt_exclude_expsyms
17650 # Symbols that must always be exported.
17651 include_expsyms=$lt_include_expsyms
17653 # Commands necessary for linking programs (against libraries) with templates.
17654 prelink_cmds=$lt_prelink_cmds
17656 # Specify filename containing input files.
17657 file_list_spec=$lt_file_list_spec
17659 # How to hardcode a shared library path into an executable.
17660 hardcode_action=$hardcode_action
17662 # The directories searched by this compiler when creating a shared library.
17663 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17665 # Dependencies to place before and after the objects being linked to
17666 # create a shared library.
17667 predep_objects=$lt_predep_objects
17668 postdep_objects=$lt_postdep_objects
17669 predeps=$lt_predeps
17670 postdeps=$lt_postdeps
17672 # The library search path used internally by the compiler when linking
17673 # a shared library.
17674 compiler_lib_search_path=$lt_compiler_lib_search_path
17676 # ### END LIBTOOL CONFIG
17682 cat <<\_LT_EOF
>> "$cfgfile"
17683 # AIX sometimes has problems with the GCC collect2 program. For some
17684 # reason, if we set the COLLECT_NAMES environment variable, the problems
17685 # vanish in a puff of smoke.
17686 if test "X${COLLECT_NAMES+set}" != Xset
; then
17688 export COLLECT_NAMES
17695 ltmain
="$ac_aux_dir/ltmain.sh"
17698 # We use sed instead of cat because bash on DJGPP gets confused if
17699 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17700 # text mode, it properly converts lines to CR/LF. This bash problem
17701 # is reportedly fixed, but why not run on old versions too?
17702 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17703 ||
(rm -f "$cfgfile"; exit 1)
17707 cat << \_LT_EOF
>> "$cfgfile"
17709 # func_dirname file append nondir_replacement
17710 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17711 # otherwise set result to NONDIR_REPLACEMENT.
17715 */*) func_dirname_result
="${1%/*}${2}" ;;
17716 * ) func_dirname_result
="${3}" ;;
17720 # func_basename file
17723 func_basename_result
="${1##*/}"
17726 # func_dirname_and_basename file append nondir_replacement
17727 # perform func_basename and func_dirname in a single function
17729 # dirname: Compute the dirname of FILE. If nonempty,
17730 # add APPEND to the result, otherwise set result
17731 # to NONDIR_REPLACEMENT.
17732 # value returned in "$func_dirname_result"
17733 # basename: Compute filename of FILE.
17734 # value retuned in "$func_basename_result"
17735 # Implementation must be kept synchronized with func_dirname
17736 # and func_basename. For efficiency, we do not delegate to
17737 # those functions but instead duplicate the functionality here.
17738 func_dirname_and_basename
()
17741 */*) func_dirname_result
="${1%/*}${2}" ;;
17742 * ) func_dirname_result
="${3}" ;;
17744 func_basename_result
="${1##*/}"
17747 # func_stripname prefix suffix name
17748 # strip PREFIX and SUFFIX off of NAME.
17749 # PREFIX and SUFFIX must not contain globbing or regex special
17750 # characters, hashes, percent signs, but SUFFIX may contain a leading
17751 # dot (in which case that matches only a dot).
17754 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17755 # positional parameters, so assign one to ordinary parameter first.
17756 func_stripname_result
=${3}
17757 func_stripname_result
=${func_stripname_result#"${1}"}
17758 func_stripname_result
=${func_stripname_result%"${2}"}
17764 func_opt_split_opt
=${1%%=*}
17765 func_opt_split_arg
=${1#*=}
17772 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17773 *) func_lo2o_result
=${1} ;;
17777 # func_xform libobj-or-source
17780 func_xform_result
=${1%.*}.lo
17783 # func_arith arithmetic-term...
17786 func_arith_result
=$
(( $
* ))
17790 # STRING may not start with a hyphen.
17793 func_len_result
=${#1}
17798 *) # Bourne compatible functions.
17799 cat << \_LT_EOF
>> "$cfgfile"
17801 # func_dirname file append nondir_replacement
17802 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17803 # otherwise set result to NONDIR_REPLACEMENT.
17806 # Extract subdirectory from the argument.
17807 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17808 if test "X$func_dirname_result" = "X${1}"; then
17809 func_dirname_result
="${3}"
17811 func_dirname_result
="$func_dirname_result${2}"
17815 # func_basename file
17818 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17822 # func_stripname prefix suffix name
17823 # strip PREFIX and SUFFIX off of NAME.
17824 # PREFIX and SUFFIX must not contain globbing or regex special
17825 # characters, hashes, percent signs, but SUFFIX may contain a leading
17826 # dot (in which case that matches only a dot).
17827 # func_strip_suffix prefix name
17831 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17832 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17837 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17838 my_sed_long_arg
='1s/^-[^=]*=//'
17843 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17844 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17850 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17853 # func_xform libobj-or-source
17856 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17859 # func_arith arithmetic-term...
17862 func_arith_result
=`expr "$@"`
17866 # STRING may not start with a hyphen.
17869 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17875 case $lt_shell_append in
17877 cat << \_LT_EOF
>> "$cfgfile"
17879 # func_append var value
17880 # Append VALUE to the end of shell variable VAR.
17888 cat << \_LT_EOF
>> "$cfgfile"
17890 # func_append var value
17891 # Append VALUE to the end of shell variable VAR.
17902 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17903 ||
(rm -f "$cfgfile"; exit 1)
17905 mv -f "$cfgfile" "$ofile" ||
17906 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17910 cat <<_LT_EOF >> "$ofile"
17912 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17914 # The linker used to build libraries.
17917 # How to create reloadable object files.
17918 reload_flag=$lt_reload_flag_CXX
17919 reload_cmds=$lt_reload_cmds_CXX
17921 # Commands used to build an old-style archive.
17922 old_archive_cmds=$lt_old_archive_cmds_CXX
17924 # A language specific compiler.
17925 CC=$lt_compiler_CXX
17927 # Is the compiler the GNU compiler?
17930 # Compiler flag to turn off builtin functions.
17931 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17933 # How to pass a linker flag through the compiler.
17934 wl=$lt_lt_prog_compiler_wl_CXX
17936 # Additional compiler flags for building library objects.
17937 pic_flag=$lt_lt_prog_compiler_pic_CXX
17939 # Compiler flag to prevent dynamic linking.
17940 link_static_flag=$lt_lt_prog_compiler_static_CXX
17942 # Does compiler simultaneously support -c and -o options?
17943 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17945 # Whether or not to add -lc for building shared libraries.
17946 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17948 # Whether or not to disallow shared libs when runtime libs are static.
17949 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17951 # Compiler flag to allow reflexive dlopens.
17952 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17954 # Compiler flag to generate shared objects directly from archives.
17955 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17957 # Whether the compiler copes with passing no objects directly.
17958 compiler_needs_object=$lt_compiler_needs_object_CXX
17960 # Create an old-style archive from a shared archive.
17961 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17963 # Create a temporary old-style archive to link instead of a shared archive.
17964 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17966 # Commands used to build a shared archive.
17967 archive_cmds=$lt_archive_cmds_CXX
17968 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17970 # Commands used to build a loadable module if different from building
17971 # a shared archive.
17972 module_cmds=$lt_module_cmds_CXX
17973 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17975 # Whether we are building with GNU ld or not.
17976 with_gnu_ld=$lt_with_gnu_ld_CXX
17978 # Flag that allows shared libraries with undefined symbols to be built.
17979 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17981 # Flag that enforces no undefined symbols.
17982 no_undefined_flag=$lt_no_undefined_flag_CXX
17984 # Flag to hardcode \$libdir into a binary during linking.
17985 # This must work even if \$libdir does not exist
17986 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17988 # If ld is used when linking, flag to hardcode \$libdir into a binary
17989 # during linking. This must work even if \$libdir does not exist.
17990 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17992 # Whether we need a single "-rpath" flag with a separated argument.
17993 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17995 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17996 # DIR into the resulting binary.
17997 hardcode_direct=$hardcode_direct_CXX
17999 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18000 # DIR into the resulting binary and the resulting library dependency is
18001 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18002 # library is relocated.
18003 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18005 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18006 # into the resulting binary.
18007 hardcode_minus_L=$hardcode_minus_L_CXX
18009 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18010 # into the resulting binary.
18011 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18013 # Set to "yes" if building a shared library automatically hardcodes DIR
18014 # into the library and all subsequent libraries and executables linked
18016 hardcode_automatic=$hardcode_automatic_CXX
18018 # Set to yes if linker adds runtime paths of dependent libraries
18019 # to runtime path list.
18020 inherit_rpath=$inherit_rpath_CXX
18022 # Whether libtool must link a program against all its dependency libraries.
18023 link_all_deplibs=$link_all_deplibs_CXX
18025 # Fix the shell variable \$srcfile for the compiler.
18026 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18028 # Set to "yes" if exported symbols are required.
18029 always_export_symbols=$always_export_symbols_CXX
18031 # The commands to list exported symbols.
18032 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18034 # Symbols that should not be listed in the preloaded symbols.
18035 exclude_expsyms=$lt_exclude_expsyms_CXX
18037 # Symbols that must always be exported.
18038 include_expsyms=$lt_include_expsyms_CXX
18040 # Commands necessary for linking programs (against libraries) with templates.
18041 prelink_cmds=$lt_prelink_cmds_CXX
18043 # Specify filename containing input files.
18044 file_list_spec=$lt_file_list_spec_CXX
18046 # How to hardcode a shared library path into an executable.
18047 hardcode_action=$hardcode_action_CXX
18049 # The directories searched by this compiler when creating a shared library.
18050 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18052 # Dependencies to place before and after the objects being linked to
18053 # create a shared library.
18054 predep_objects=$lt_predep_objects_CXX
18055 postdep_objects=$lt_postdep_objects_CXX
18056 predeps=$lt_predeps_CXX
18057 postdeps=$lt_postdeps_CXX
18059 # The library search path used internally by the compiler when linking
18060 # a shared library.
18061 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18063 # ### END LIBTOOL TAG CONFIG: CXX
18067 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18068 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18070 sed -f vpsed$$
$ac_file > tmp$$
18073 echo 'MULTISUBDIR =' >> $ac_file
18075 .
${multi_basedir}/config-ml.
in
18076 { ml_norecursion
=; unset ml_norecursion
;}
18085 ac_clean_files
=$ac_clean_files_save
18087 test $ac_write_fail = 0 ||
18088 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18091 # configure is writing to config.log, and then calls config.status.
18092 # config.status does its own redirection, appending to config.log.
18093 # Unfortunately, on DOS this fails, as config.log is still kept open
18094 # by configure, so config.status won't be able to write to it; its
18095 # output is simply discarded. So we exec the FD to /dev/null,
18096 # effectively closing config.log, so it can be properly (re)opened and
18097 # appended to by config.status. When coming back to configure, we
18098 # need to make the FD available again.
18099 if test "$no_create" != yes; then
18101 ac_config_status_args
=
18102 test "$silent" = yes &&
18103 ac_config_status_args
="$ac_config_status_args --quiet"
18105 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18107 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18108 # would make configure fail if this is the last instruction.
18109 $ac_cs_success || as_fn_exit $?
18111 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18113 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}