2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
176 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 PATH=/empty FPATH=/empty; export PATH FPATH
180 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
181 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
182 test \$(( 1 + 1 )) = 2 || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
559 # Identity of this package.
567 ac_unique_file
="src/main.cc"
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
581 # ifdef HAVE_STDLIB_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
666 INSTALL_STRIP_PROGRAM
708 program_transform_name
721 enable_option_checking
722 enable_dependency_tracking
730 ac_precious_vars
='build_alias
745 # Initialize some variables set by options.
747 ac_init_version
=false
748 ac_unrecognized_opts
=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name
=s
,x
,x
,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir
='${exec_prefix}/bin'
774 sbindir
='${exec_prefix}/sbin'
775 libexecdir
='${exec_prefix}/libexec'
776 datarootdir
='${prefix}/share'
777 datadir
='${datarootdir}'
778 sysconfdir
='${prefix}/etc'
779 sharedstatedir
='${prefix}/com'
780 localstatedir
='${prefix}/var'
781 includedir
='${prefix}/include'
782 oldincludedir
='/usr/include'
783 docdir
='${datarootdir}/doc/${PACKAGE}'
784 infodir
='${datarootdir}/info'
789 libdir
='${exec_prefix}/lib'
790 localedir
='${datarootdir}/locale'
791 mandir
='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\
$ac_option
805 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
818 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
821 -build |
--build |
--buil |
--bui |
--bu)
822 ac_prev
=build_alias
;;
823 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
824 build_alias
=$ac_optarg ;;
826 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
827 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
828 ac_prev
=cache_file
;;
829 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
830 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
831 cache_file
=$ac_optarg ;;
834 cache_file
=config.cache
;;
836 -datadir |
--datadir |
--datadi |
--datad)
838 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
839 datadir
=$ac_optarg ;;
841 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
842 |
--dataroo |
--dataro |
--datar)
843 ac_prev
=datarootdir
;;
844 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
845 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
846 datarootdir
=$ac_optarg ;;
848 -disable-* |
--disable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=\
$ac_optarg ;;
890 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
891 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
892 |
--exec |
--exe |
--ex)
893 ac_prev
=exec_prefix
;;
894 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
895 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
896 |
--exec=* |
--exe=* |
--ex=*)
897 exec_prefix
=$ac_optarg ;;
899 -gas |
--gas |
--ga |
--g)
900 # Obsolete; use --with-gas.
903 -help |
--help |
--hel |
--he |
-h)
905 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
906 ac_init_help
=recursive
;;
907 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
908 ac_init_help
=short
;;
910 -host |
--host |
--hos |
--ho)
911 ac_prev
=host_alias
;;
912 -host=* |
--host=* |
--hos=* |
--ho=*)
913 host_alias
=$ac_optarg ;;
915 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
917 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
919 htmldir
=$ac_optarg ;;
921 -includedir |
--includedir |
--includedi |
--included |
--include \
922 |
--includ |
--inclu |
--incl |
--inc)
923 ac_prev
=includedir
;;
924 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
925 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
926 includedir
=$ac_optarg ;;
928 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
930 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
931 infodir
=$ac_optarg ;;
933 -libdir |
--libdir |
--libdi |
--libd)
935 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
938 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
939 |
--libexe |
--libex |
--libe)
940 ac_prev
=libexecdir
;;
941 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
942 |
--libexe=* |
--libex=* |
--libe=*)
943 libexecdir
=$ac_optarg ;;
945 -localedir |
--localedir |
--localedi |
--localed |
--locale)
947 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
948 localedir
=$ac_optarg ;;
950 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
951 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
952 ac_prev
=localstatedir
;;
953 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
954 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
955 localstatedir
=$ac_optarg ;;
957 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
959 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
963 # Obsolete; use --without-fp.
966 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
967 |
--no-cr |
--no-c |
-n)
970 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
971 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
974 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
975 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
976 |
--oldin |
--oldi |
--old |
--ol |
--o)
977 ac_prev
=oldincludedir
;;
978 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
979 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
980 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
981 oldincludedir
=$ac_optarg ;;
983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
988 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
989 |
--program-pre |
--program-pr |
--program-p)
990 ac_prev
=program_prefix
;;
991 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
992 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
993 program_prefix
=$ac_optarg ;;
995 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
996 |
--program-suf |
--program-su |
--program-s)
997 ac_prev
=program_suffix
;;
998 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
999 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1000 program_suffix
=$ac_optarg ;;
1002 -program-transform-name |
--program-transform-name \
1003 |
--program-transform-nam |
--program-transform-na \
1004 |
--program-transform-n |
--program-transform- \
1005 |
--program-transform |
--program-transfor \
1006 |
--program-transfo |
--program-transf \
1007 |
--program-trans |
--program-tran \
1008 |
--progr-tra |
--program-tr |
--program-t)
1009 ac_prev
=program_transform_name
;;
1010 -program-transform-name=* |
--program-transform-name=* \
1011 |
--program-transform-nam=* |
--program-transform-na=* \
1012 |
--program-transform-n=* |
--program-transform-=* \
1013 |
--program-transform=* |
--program-transfor=* \
1014 |
--program-transfo=* |
--program-transf=* \
1015 |
--program-trans=* |
--program-tran=* \
1016 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1017 program_transform_name
=$ac_optarg ;;
1019 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1021 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1022 pdfdir
=$ac_optarg ;;
1024 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1026 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1030 |
-silent |
--silent |
--silen |
--sile |
--sil)
1033 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1035 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1037 sbindir
=$ac_optarg ;;
1039 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1040 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1041 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1043 ac_prev
=sharedstatedir
;;
1044 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1045 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1046 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1048 sharedstatedir
=$ac_optarg ;;
1050 -site |
--site |
--sit)
1052 -site=* |
--site=* |
--sit=*)
1055 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1057 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1058 srcdir
=$ac_optarg ;;
1060 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1061 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1062 ac_prev
=sysconfdir
;;
1063 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1064 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1065 sysconfdir
=$ac_optarg ;;
1067 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1068 ac_prev
=target_alias
;;
1069 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1070 target_alias
=$ac_optarg ;;
1072 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1075 -version |
--version |
--versio |
--versi |
--vers |
-V)
1076 ac_init_version
=: ;;
1079 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error $?
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=no
;;
1111 # Obsolete; use --with-x.
1114 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1115 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1116 ac_prev
=x_includes
;;
1117 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1118 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1119 x_includes
=$ac_optarg ;;
1121 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1122 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1123 ac_prev
=x_libraries
;;
1124 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1125 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1126 x_libraries
=$ac_optarg ;;
1128 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1133 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1137 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\
$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1153 if test -n "$ac_prev"; then
1154 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $?
"missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1173 # Remove trailing slashes.
1176 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\
$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$
]* | ?
:[\\/]* ) continue;;
1182 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1184 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target
=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x
; then
1196 if test "x$build_alias" = x
; then
1197 cross_compiling
=maybe
1198 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1199 If a cross compiler is detected then cross compile mode will be used" >&2
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1208 test "$silent" = yes && exec 6>/dev
/null
1211 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di
=`ls -di .` &&
1213 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $?
"working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $?
"pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures this package to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1348 --build=BUILD configure
for building on BUILD
[guessed
]
1349 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1353 if test -n "$ac_init_help"; then
1358 --disable-option-checking ignore unrecognized
--enable/--with options
1359 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1360 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1361 --disable-dependency-tracking speeds up one-time build
1362 --enable-dependency-tracking do not reject slow dependency extractors
1363 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1364 --enable-static[=PKGS
] build static libraries
[default
=yes]
1365 --enable-fast-install[=PKGS
]
1366 optimize
for fast installation
[default
=yes]
1367 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1370 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1371 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1372 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1374 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1376 Some influential environment variables
:
1377 CC C compiler
command
1378 CFLAGS C compiler flags
1379 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1380 nonstandard directory
<lib dir
>
1381 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1382 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1383 you have headers
in a nonstandard directory
<include dir
>
1384 CXX C
++ compiler
command
1385 CXXFLAGS C
++ compiler flags
1387 CXXCPP C
++ preprocessor
1389 Use these variables to override the choices made by
`configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to the package provider.
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1456 generated by GNU Autoconf 2.67
1458 Copyright (C) 2010 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_c_try_compile LINENO
1470 # --------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_c_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1479 *) ac_try_echo
=$ac_try;;
1481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err
; then
1486 grep -v '^ *+' conftest.err
>conftest.er1
1487 cat conftest.er1
>&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.
$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1503 as_fn_set_status
$ac_retval
1505 } # ac_fn_c_try_compile
1507 # ac_fn_cxx_try_compile LINENO
1508 # ----------------------------
1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_cxx_try_compile
()
1512 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1513 rm -f conftest.
$ac_objext
1514 if { { ac_try
="$ac_compile"
1516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1517 *) ac_try_echo=$ac_try;;
1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_compile") 2>conftest.err
1523 if test -s conftest.err; then
1524 grep -v '^ *+' conftest.err >conftest.er1
1525 cat conftest.er1 >&5
1526 mv -f conftest.er1 conftest.err
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } && {
1530 test -z "$ac_cxx_werror_flag" ||
1531 test ! -s conftest.err
1532 } && test -s conftest.$ac_objext; then :
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_cxx_try_compile
1545 # ac_fn_c_try_link LINENO
1546 # -----------------------
1547 # Try to link conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 rm -f conftest.$ac_objext conftest$ac_exeext
1552 if { { ac_try="$ac_link"
1554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1555 *) ac_try_echo
=$ac_try;;
1557 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_link") 2>conftest.err
1561 if test -s conftest.err
; then
1562 grep -v '^ *+' conftest.err
>conftest.er1
1563 cat conftest.er1
>&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && {
1568 test -z "$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 } && test -s conftest
$ac_exeext && {
1571 test "$cross_compiling" = yes ||
1572 $as_test_x conftest
$ac_exeext
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.
$ac_ext >&5
1581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1583 # interfere with the next link command; also delete a directory that is
1584 # left behind by Apple's compiler. We do this before executing the actions.
1585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1586 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1587 as_fn_set_status
$ac_retval
1589 } # ac_fn_c_try_link
1591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1592 # -------------------------------------------------------
1593 # Tests whether HEADER exists and can be compiled using the include files in
1594 # INCLUDES, setting the cache variable VAR accordingly.
1595 ac_fn_c_check_header_compile
()
1597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1599 $as_echo_n "checking for $2... " >&6; }
1600 if eval "test \"\${$3+set}\"" = set; then :
1601 $as_echo_n "(cached) " >&6
1603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1608 if ac_fn_c_try_compile
"$LINENO"; then :
1613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1620 } # ac_fn_c_check_header_compile
1622 # ac_fn_c_try_cpp LINENO
1623 # ----------------------
1624 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1628 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1637 if test -s conftest.err; then
1638 grep -v '^ *+' conftest.err >conftest.er1
1639 cat conftest.er1 >&5
1640 mv -f conftest.er1 conftest.err
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; } > conftest.i && {
1644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645 test ! -s conftest.err
1649 $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655 as_fn_set_status $ac_retval
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if { { ac_try="$ac_link"
1668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1669 *) ac_try_echo
=$ac_try;;
1671 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_link") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1677 { { case "(($ac_try" in
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_try") 2>&5
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; }; }; then :
1689 $as_echo "$as_me: program exited with status $ac_status" >&5
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1693 ac_retval=$ac_status
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 as_fn_set_status $ac_retval
1701 # ac_fn_c_check_func LINENO FUNC VAR
1702 # ----------------------------------
1703 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1704 ac_fn_c_check_func ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval "test \"\${$3+set}\"" = set; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1716 #define $2 innocuous_$2
1718 /* System header to define __stub macros and hopefully few prototypes,
1719 which can conflict with char $2 (); below.
1720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1721 <limits.h> exists even on freestanding compilers. */
1724 # include <limits.h>
1726 # include <assert.h>
1731 /* Override any GCC internal prototype to avoid an error.
1732 Use char because int might match the return type of a GCC
1733 builtin and then its argument prototype would still apply. */
1738 /* The GNU C library defines this for functions which it implements
1739 to always fail with ENOSYS. Some functions are actually named
1740 something starting with __ and the normal name is an alias. */
1741 #if defined __stub_$2 || defined __stub___$2
1753 if ac_fn_c_try_link "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext \
1759 conftest$ac_exeext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766 } # ac_fn_c_check_func
1768 # ac_fn_cxx_try_cpp LINENO
1769 # ------------------------
1770 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_cxx_try_cpp ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_cpp conftest.$ac_ext"
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1783 if test -s conftest.err
; then
1784 grep -v '^ *+' conftest.err
>conftest.er1
1785 cat conftest.er1
>&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } > conftest.i
&& {
1790 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1791 test ! -s conftest.err
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1801 as_fn_set_status
$ac_retval
1803 } # ac_fn_cxx_try_cpp
1805 # ac_fn_cxx_try_link LINENO
1806 # -------------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded.
1808 ac_fn_cxx_try_link
()
1810 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1811 rm -f conftest.
$ac_objext conftest
$ac_exeext
1812 if { { ac_try
="$ac_link"
1814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } && {
1828 test -z "$ac_cxx_werror_flag" ||
1829 test ! -s conftest.err
1830 } && test -s conftest$ac_exeext && {
1831 test "$cross_compiling" = yes ||
1832 $as_test_x conftest$ac_exeext
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1841 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1842 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1843 # interfere with the next link command; also delete a directory that is
1844 # left behind by Apple's compiler. We do this before executing the actions.
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847 as_fn_set_status $ac_retval
1849 } # ac_fn_cxx_try_link
1850 cat >config.log <<_ACEOF
1851 This file contains any messages produced by compilers while
1852 running configure, to aid debugging if configure makes a mistake.
1854 It was created by $as_me, which was
1855 generated by GNU Autoconf 2.67. Invocation command line was
1867 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1868 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1869 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1870 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1871 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1873 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1874 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1876 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1877 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1878 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1879 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1880 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1881 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1882 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 $as_echo "PATH: $as_dir"
1907 # Keep a trace of the command line.
1908 # Strip out --no-create and --no-recursion so they do not pile up.
1909 # Strip out --silent because we don't want to record it for future runs.
1910 # Also quote any args containing shell meta-characters.
1911 # Make two passes to allow for proper duplicate-argument suppression.
1915 ac_must_keep_next=false
1921 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1923 | -silent | --silent | --silen | --sile | --sil)
1926 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1929 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1931 as_fn_append ac_configure_args1 " '$ac_arg'"
1932 if test $ac_must_keep_next = true; then
1933 ac_must_keep_next=false # Got value, back to normal.
1936 *=* | --config-cache | -C | -disable-* | --disable-* \
1937 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1938 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1939 | -with-* | --with-* | -without-* | --without-* | --x)
1940 case "$ac_configure_args0 " in
1941 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1944 -* ) ac_must_keep_next=true ;;
1947 as_fn_append ac_configure_args " '$ac_arg'"
1952 { ac_configure_args0=; unset ac_configure_args0;}
1953 { ac_configure_args1=; unset ac_configure_args1;}
1955 # When interrupted or exit'd, cleanup temporary files, and complete
1956 # config.log. We remove comments because anyway the quotes in there
1957 # would cause problems or look ugly.
1958 # WARNING: Use '\'' to represent an apostrophe within the trap.
1959 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1960 trap 'exit_status=$?
1961 # Save into config.log some information that might help in debugging.
1965 $as_echo "## ---------------- ##
1966 ## Cache variables. ##
1967 ## ---------------- ##"
1969 # The following way of writing the cache mishandles newlines in values,
1971 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1972 eval ac_val=\$$ac_var
1976 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1980 _ | IFS | as_nl) ;; #(
1981 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1982 *) { eval $ac_var=; unset $ac_var;} ;;
1987 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1988 *${as_nl}ac_space=\ *)
1990 "s/'\''/'\''\\\\'\'''\''/g;
1991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001 $as_echo "## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##"
2005 for ac_var in $ac_subst_vars
2007 eval ac_val=\$$ac_var
2009 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011 $as_echo "$ac_var='\''$ac_val'\''"
2015 if test -n "$ac_subst_files"; then
2016 $as_echo "## ------------------- ##
2017 ## File substitutions. ##
2018 ## ------------------- ##"
2020 for ac_var in $ac_subst_files
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -s confdefs.h; then
2032 $as_echo "## ----------- ##
2039 test "$ac_signal" != 0 &&
2040 $as_echo "$as_me: caught signal $ac_signal"
2041 $as_echo "$as_me: exit $exit_status"
2043 rm -f core *.core core.conftest.* &&
2044 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2047 for ac_signal in 1 2 13 15; do
2048 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2052 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2053 rm -f -r conftest* confdefs.h
2055 $as_echo "/* confdefs.h */" > confdefs.h
2057 # Predefined preprocessor variables.
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_NAME "$PACKAGE_NAME"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_STRING "$PACKAGE_STRING"
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_URL "$PACKAGE_URL"
2084 # Let the site file select an alternate cache file if it wants to.
2085 # Prefer an explicitly selected file to automatically selected ones.
2088 if test -n "$CONFIG_SITE"; then
2089 # We do not want a PATH search for config.site.
2090 case $CONFIG_SITE in #((
2091 -*) ac_site_file1=./$CONFIG_SITE;;
2092 */*) ac_site_file1=$CONFIG_SITE;;
2093 *) ac_site_file1=./$CONFIG_SITE;;
2095 elif test "x$prefix" != xNONE; then
2096 ac_site_file1=$prefix/share/config.site
2097 ac_site_file2=$prefix/etc/config.site
2099 ac_site_file1=$ac_default_prefix/share/config.site
2100 ac_site_file2=$ac_default_prefix/etc/config.site
2102 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2104 test "x$ac_site_file" = xNONE && continue
2105 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108 sed 's/^/| /' "$ac_site_file" >&5
2110 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112 as_fn_error $? "failed to load site
script $ac_site_file
2113 See \
`config.log' for more details" "$LINENO" 5; }
2117 if test -r "$cache_file"; then
2118 # Some versions of bash will fail to source /dev/null (special files
2119 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2120 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2122 $as_echo "$as_me: loading cache $cache_file" >&6;}
2124 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2125 *) . "./$cache_file";;
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2130 $as_echo "$as_me: creating cache $cache_file" >&6;}
2134 # Check that the precious variables saved in the cache have kept the same
2136 ac_cache_corrupted=false
2137 for ac_var in $ac_precious_vars; do
2138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2139 eval ac_new_set=\$ac_env_${ac_var}_set
2140 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2141 eval ac_new_val=\$ac_env_${ac_var}_value
2142 case $ac_old_set,$ac_new_set in
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2145 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2146 ac_cache_corrupted=: ;;
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2149 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2150 ac_cache_corrupted=: ;;
2153 if test "x$ac_old_val" != "x$ac_new_val"; then
2154 # differences in whitespace do not lead to failure.
2155 ac_old_val_w=`echo x
$ac_old_val`
2156 ac_new_val_w=`echo x
$ac_new_val`
2157 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2159 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2160 ac_cache_corrupted=:
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2163 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2164 eval $ac_var=\$ac_old_val
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2167 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2169 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2172 # Pass precious variables to config.status.
2173 if test "$ac_new_set" = set; then
2175 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2176 *) ac_arg=$ac_var=$ac_new_val ;;
2178 case " $ac_configure_args " in
2179 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2180 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2184 if $ac_cache_corrupted; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2188 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2189 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2191 ## -------------------- ##
2192 ## Main body of script. ##
2193 ## -------------------- ##
2196 ac_cpp='$CPP $CPPFLAGS'
2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2202 am__api_version='1.11'
2205 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2206 if test -f "$ac_dir/install-sh"; then
2208 ac_install_sh="$ac_aux_dir/install-sh -c"
2210 elif test -f "$ac_dir/install.sh"; then
2212 ac_install_sh="$ac_aux_dir/install.sh -c"
2214 elif test -f "$ac_dir/shtool"; then
2216 ac_install_sh="$ac_aux_dir/shtool install -c"
2220 if test -z "$ac_aux_dir"; then
2221 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2224 # These three variables are undocumented and unsupported,
2225 # and are intended to be withdrawn in a future Autoconf release.
2226 # They can cause serious problems if a builder's source tree is in a directory
2227 # whose full name contains unusual characters.
2228 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2229 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2230 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 # Reject install programs that cannot install multiple files.
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2249 if test -z "$INSTALL"; then
2250 if test "${ac_cv_path_install+set}" = set; then :
2251 $as_echo_n "(cached) " >&6
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 # Account for people who put trailing slashes in PATH elements.
2259 case $as_dir/ in #((
2260 ./ | .// | /[cC]/* | \
2261 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2262 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2265 # OSF1 and SCO ODT 3.0 have their own names for install.
2266 # Don't use installbsd from OSF since it installs stuff as root
2268 for ac_prog in ginstall scoinst install; do
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2271 if test $ac_prog = install &&
2272 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2273 # AIX install. It has an incompatible calling convention.
2275 elif test $ac_prog = install &&
2276 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2277 # program-specific install script used by HP pwplus--don't use.
2280 rm -rf conftest.one conftest.two conftest.dir
2281 echo one > conftest.one
2282 echo two > conftest.two
2284 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2285 test -s conftest.one && test -s conftest.two &&
2286 test -s conftest.dir/conftest.one &&
2287 test -s conftest.dir/conftest.two
2289 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2302 rm -rf conftest.one conftest.two conftest.dir
2305 if test "${ac_cv_path_install+set}" = set; then
2306 INSTALL=$ac_cv_path_install
2308 # As a last resort, use the slow shell script. Don't cache a
2309 # value for INSTALL within a source directory, because that will
2310 # break other packages using the cache if that directory is
2311 # removed, or if the value is a relative name.
2312 INSTALL=$ac_install_sh
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2316 $as_echo "$INSTALL" >&6; }
2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319 # It thinks the first close brace ends the variable substitution.
2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2327 $as_echo_n "checking whether build environment is sane... " >&6; }
2330 echo timestamp > conftest.file
2331 # Reject unsafe characters in $srcdir or the absolute working directory
2332 # name. Accept space and tab only in the latter.
2336 *[\\\"\#\$\&\'\`$am_lf]*)
2337 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2340 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2341 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2344 # Do `set' in a subshell so we don't clobber the current shell's
2345 # arguments. Must try -L first in case configure is actually a
2346 # symlink; some systems play weird games with the mod time of symlinks
2347 # (eg FreeBSD returns the mod time of the symlink's containing
2350 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2351 if test "$*" = "X"; then
2353 set X
`ls -t "$srcdir/configure" conftest.file`
2356 if test "$*" != "X $srcdir/configure conftest.file" \
2357 && test "$*" != "X conftest.file $srcdir/configure"; then
2359 # If neither matched, then we have a broken ls. This can happen
2360 # if, for instance, CONFIG_SHELL is bash and it inherits a
2361 # broken ls alias from the environment. This has actually
2362 # happened. Such a system could not be considered "sane".
2363 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2364 alias in your environment" "$LINENO" 5
2367 test "$2" = conftest.
file
2373 as_fn_error $?
"newly created file is older than distributed files!
2374 Check your system clock" "$LINENO" 5
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2377 $as_echo "yes" >&6; }
2378 test "$program_prefix" != NONE
&&
2379 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2380 # Use a double $ so make ignores it.
2381 test "$program_suffix" != NONE
&&
2382 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2383 # Double any \ or $.
2384 # By default was `s,x,x', remove it if useless.
2385 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2386 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2388 # expand $ac_aux_dir to an absolute path
2389 am_aux_dir
=`cd $ac_aux_dir && pwd`
2391 if test x
"${MISSING+set}" != xset
; then
2394 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2396 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2399 # Use eval to expand $SHELL
2400 if eval "$MISSING --run true"; then
2401 am_missing_run
="$MISSING --run "
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2405 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2408 if test x
"${install_sh}" != xset
; then
2411 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2413 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2417 # Installed binaries are usually stripped using `strip' when the user
2418 # run `make install-strip'. However `strip' might not be the right
2419 # tool to use in cross-compilation environments, therefore Automake
2420 # will honor the `STRIP' environment variable to overrule this program.
2421 if test "$cross_compiling" != no
; then
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_prog_STRIP+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$STRIP"; then
2431 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 STRIP
=$ac_cv_prog_STRIP
2451 if test -n "$STRIP"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2453 $as_echo "$STRIP" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2461 if test -z "$ac_cv_prog_STRIP"; then
2463 # Extract the first word of "strip", so it can be a program name with args.
2464 set dummy strip
; ac_word
=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2468 $as_echo_n "(cached) " >&6
2470 if test -n "$ac_ct_STRIP"; then
2471 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_STRIP
="strip"
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2491 if test -n "$ac_ct_STRIP"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2493 $as_echo "$ac_ct_STRIP" >&6; }
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2499 if test "x$ac_ct_STRIP" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2506 ac_tool_warned
=yes ;;
2511 STRIP
="$ac_cv_prog_STRIP"
2515 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2518 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2519 if test -z "$MKDIR_P"; then
2520 if test "${ac_cv_path_mkdir+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_prog
in mkdir gmkdir
; do
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2531 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2532 'mkdir (GNU coreutils) '* | \
2533 'mkdir (coreutils) '* | \
2534 'mkdir (fileutils) '4.1*)
2535 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2545 test -d .
/--version && rmdir .
/--version
2546 if test "${ac_cv_path_mkdir+set}" = set; then
2547 MKDIR_P
="$ac_cv_path_mkdir -p"
2549 # As a last resort, use the slow shell script. Don't cache a
2550 # value for MKDIR_P within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the value is a relative name.
2553 MKDIR_P
="$ac_install_sh -d"
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2557 $as_echo "$MKDIR_P" >&6; }
2561 [\\/$
]* | ?
:[\\/]*) ;;
2562 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2565 for ac_prog
in gawk mawk nawk
awk
2567 # Extract the first word of "$ac_prog", so it can be a program name with args.
2568 set dummy
$ac_prog; ac_word
=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if test "${ac_cv_prog_AWK+set}" = set; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$AWK"; then
2575 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584 ac_cv_prog_AWK
="$ac_prog"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 if test -n "$AWK"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2597 $as_echo "$AWK" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2604 test -n "$AWK" && break
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2608 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2610 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2611 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2612 $as_echo_n "(cached) " >&6
2614 cat >conftest.
make <<\_ACEOF
2617 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2622 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2624 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2628 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2630 $as_echo "yes" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2635 SET_MAKE
="MAKE=${MAKE-make}"
2638 rm -rf .tst
2>/dev
/null
2639 mkdir .tst
2>/dev
/null
2640 if test -d .tst
; then
2645 rmdir .tst
2>/dev
/null
2647 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2648 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2649 # is not polluted with repeated "-I."
2650 am__isrc
=' -I$(srcdir)'
2651 # test to see if srcdir already configured
2652 if test -f $srcdir/config.status
; then
2653 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2657 # test whether we have cygpath
2658 if test -z "$CYGPATH_W"; then
2659 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2660 CYGPATH_W
='cygpath -w'
2667 # Define the identity of the package.
2672 cat >>confdefs.h
<<_ACEOF
2673 #define PACKAGE "$PACKAGE"
2677 cat >>confdefs.h
<<_ACEOF
2678 #define VERSION "$VERSION"
2681 # Some tools Automake needs.
2683 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2686 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2689 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2692 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2695 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2697 # We need awk for the "check" target. The system "awk" is bad on
2699 # Always define AMTAR for backward compatibility.
2701 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2703 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2709 ac_config_headers
="$ac_config_headers config.h"
2712 ac_cpp
='$CPP $CPPFLAGS'
2713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2718 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if test "${ac_cv_prog_CC+set}" = set; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC
="$CC" # Let the user override the test.
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2755 if test -z "$ac_cv_prog_CC"; then
2757 # Extract the first word of "gcc", so it can be a program name with args.
2758 set dummy gcc
; ac_word
=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$ac_ct_CC"; then
2765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_ac_ct_CC
="gcc"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2785 if test -n "$ac_ct_CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2787 $as_echo "$ac_ct_CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2793 if test "x$ac_ct_CC" = x
; then
2796 case $cross_compiling:$ac_tool_warned in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800 ac_tool_warned
=yes ;;
2808 if test -z "$CC"; then
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2811 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if test "${ac_cv_prog_CC+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC
="$CC" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test -n "$CC"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2840 $as_echo "$CC" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2849 if test -z "$CC"; then
2850 # Extract the first word of "cc", so it can be a program name with args.
2851 set dummy cc
; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_CC+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$CC"; then
2858 ac_cv_prog_CC
="$CC" # Let the user override the test.
2861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir
=.
2866 for ac_exec_ext
in '' $ac_executable_extensions; do
2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2869 ac_prog_rejected
=yes
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test $ac_prog_rejected = yes; then
2881 # We found a bogon in the path, so make sure we never use it.
2882 set dummy
$ac_cv_prog_CC
2884 if test $# != 0; then
2885 # We chose a different compiler from the bogus one.
2886 # However, it has the same basename, so the bogon will be chosen
2887 # first if we set CC to just the basename; use the full file name.
2889 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2905 if test -z "$CC"; then
2906 if test -n "$ac_tool_prefix"; then
2907 for ac_prog
in cl.exe
2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_CC+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC
="$CC" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$CC" && break
2949 if test -z "$CC"; then
2951 for ac_prog
in cl.exe
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy
$ac_prog; ac_word
=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_ac_ct_CC
="$ac_prog"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2990 test -n "$ac_ct_CC" && break
2993 if test "x$ac_ct_CC" = x
; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned
=yes ;;
3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011 as_fn_error $?
"no acceptable C compiler found in \$PATH
3012 See \`config.log' for more details" "$LINENO" 5; }
3014 # Provide some information about the compiler.
3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3018 for ac_option
in --version -v -V -qversion; do
3019 { { ac_try
="$ac_compiler $ac_option >&5"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3028 if test -s conftest.err; then
3030 ... rest of stderr output deleted ...
3031 10q' conftest.err >conftest.er1
3032 cat conftest.er1 >&5
3034 rm -f conftest.er1 conftest.err
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3036 test $ac_status = 0; }
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3050 ac_clean_files_save=$ac_clean_files
3051 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3052 # Try to create an executable without -o first, disregard a.out.
3053 # It will help us diagnose broken compilers, and finding out an intuition
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3056 $as_echo_n "checking whether the C compiler works... " >&6; }
3057 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3059 # The possible output files:
3060 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3063 for ac_file in $ac_files
3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3067 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3072 if { { ac_try="$ac_link_default"
3074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3075 *) ac_try_echo
=$ac_try;;
3077 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_link_default") 2>&5
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; then :
3083 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3084 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3085 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3086 # so that the user can short-circuit this test for compilers unknown to
3088 for ac_file
in $ac_files ''
3090 test -f "$ac_file" ||
continue
3092 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3095 # We found the default executable, but exeext='' is most
3099 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3101 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103 # We set ac_cv_exeext here because the later test for it is not
3104 # safe: cross compilers may not add the suffix if given an `-o'
3105 # argument, so we may need to know it at that point already.
3106 # Even if this section looks crufty: it has the advantage of
3113 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3118 if test -z "$ac_file"; then :
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.
$ac_ext >&5
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error
77 "C compiler cannot create executables
3127 See \`config.log' for more details" "$LINENO" 5; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3130 $as_echo "yes" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3133 $as_echo_n "checking for C compiler default output file name... " >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3135 $as_echo "$ac_file" >&6; }
3136 ac_exeext
=$ac_cv_exeext
3138 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3139 ac_clean_files
=$ac_clean_files_save
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3141 $as_echo_n "checking for suffix of executables... " >&6; }
3142 if { { ac_try
="$ac_link"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3154 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3155 # work properly (i.e., refer to `conftest.exe'), while it won't with
3157 for ac_file
in conftest.exe conftest conftest.
*; do
3158 test -f "$ac_file" ||
continue
3160 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3161 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3170 See \`config.log' for more details" "$LINENO" 5; }
3172 rm -f conftest conftest
$ac_cv_exeext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3174 $as_echo "$ac_cv_exeext" >&6; }
3176 rm -f conftest.
$ac_ext
3177 EXEEXT
=$ac_cv_exeext
3179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3185 FILE *f = fopen ("conftest.out", "w");
3186 return ferror (f) || fclose (f) != 0;
3192 ac_clean_files
="$ac_clean_files conftest.out"
3193 # Check that the compiler produces executables we can run. If not, either
3194 # the compiler is broken, or we cross compile.
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3196 $as_echo_n "checking whether we are cross compiling... " >&6; }
3197 if test "$cross_compiling" != yes; then
3198 { { ac_try
="$ac_link"
3200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_link") 2>&5
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; }
3209 if { ac_try='./conftest$ac_cv_exeext'
3210 { { case "(($ac_try" in
3211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3212 *) ac_try_echo
=$ac_try;;
3214 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_try") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; }; then
3222 if test "$cross_compiling" = maybe
; then
3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error $?
"cannot run C compiled programs.
3228 If you meant to cross compile, use \`--host'.
3229 See \`config.log' for more details" "$LINENO" 5; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3234 $as_echo "$cross_compiling" >&6; }
3236 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3237 ac_clean_files
=$ac_clean_files_save
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3239 $as_echo_n "checking for suffix of object files... " >&6; }
3240 if test "${ac_cv_objext+set}" = set; then :
3241 $as_echo_n "(cached) " >&6
3243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 rm -f conftest.o conftest.obj
3255 if { { ac_try
="$ac_compile"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compile") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; then :
3266 for ac_file in conftest.o conftest.obj conftest.*; do
3267 test -f "$ac_file" || continue;
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3275 $as_echo "$as_me: failed program was:" >&5
3276 sed 's/^/| /' conftest.$ac_ext >&5
3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3281 See \
`config.log' for more details" "$LINENO" 5; }
3283 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3286 $as_echo "$ac_cv_objext" >&6; }
3287 OBJEXT=$ac_cv_objext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3290 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3291 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3292 $as_echo_n "(cached) " >&6
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3308 if ac_fn_c_try_compile "$LINENO"; then :
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3318 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3319 if test $ac_compiler_gnu = yes; then
3324 ac_test_CFLAGS=${CFLAGS+set}
3325 ac_save_CFLAGS=$CFLAGS
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3327 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3328 if test "${ac_cv_prog_cc_g+set}" = set; then :
3329 $as_echo_n "(cached) " >&6
3331 ac_save_c_werror_flag=$ac_c_werror_flag
3332 ac_c_werror_flag=yes
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3364 ac_c_werror_flag=$ac_save_c_werror_flag
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_c_werror_flag=$ac_save_c_werror_flag
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3388 $as_echo "$ac_cv_prog_cc_g" >&6; }
3389 if test "$ac_test_CFLAGS" = set; then
3390 CFLAGS=$ac_save_CFLAGS
3391 elif test $ac_cv_prog_cc_g = yes; then
3392 if test "$GCC" = yes; then
3398 if test "$GCC" = yes; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3405 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3406 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3409 ac_cv_prog_cc_c89=no
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3415 #include <sys/types.h>
3416 #include <sys/stat.h>
3417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3418 struct buf { int x; };
3419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3420 static char *e (p, i)
3426 static char *f (char * (*g) (char **, int), char **p, ...)
3431 s = g (p, va_arg (v,int));
3436 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3437 function prototypes and stuff, but not '\xHH' hex character constants.
3438 These don't provoke an error unfortunately, instead are silently treated
3439 as 'x'. The following induces an error, until -std is added to get
3440 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3441 array size at least. It's necessary to write '\x00'==0 to get something
3442 that's true only with -std. */
3443 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3445 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3446 inside strings and character constants. */
3448 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3450 int test (int i, double x);
3451 struct s1 {int (*f) (int a);};
3452 struct s2 {int (*f) (double a);};
3453 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3459 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3464 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3465 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3467 CC="$ac_save_CC $ac_arg"
3468 if ac_fn_c_try_compile "$LINENO"; then :
3469 ac_cv_prog_cc_c89=$ac_arg
3471 rm -f core conftest.err conftest.$ac_objext
3472 test "x$ac_cv_prog_cc_c89" != "xno" && break
3474 rm -f conftest.$ac_ext
3479 case "x$ac_cv_prog_cc_c89" in
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3482 $as_echo "none needed" >&6; } ;;
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3485 $as_echo "unsupported" >&6; } ;;
3487 CC="$CC $ac_cv_prog_cc_c89"
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3489 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3491 if test "x$ac_cv_prog_cc_c89" != xno; then :
3496 ac_cpp='$CPP $CPPFLAGS'
3497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3500 DEPDIR="${am__leading_dot}deps"
3502 ac_config_commands="$ac_config_commands depfiles"
3505 am_make=${MAKE-make}
3506 cat > confinc << 'END'
3508 @echo this is the am__doit target
3511 # If we don't find an include directive, just comment out the code.
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3513 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3517 # First try GNU make style include.
3518 echo "include confinc" > confmf
3519 # Ignore all kinds of additional output from `make'.
3520 case `$am_make -s -f confmf 2> /dev/null` in #(
3521 *the\ am__doit\ target*)
3527 # Now try BSD make style include.
3528 if test "$am__include" = "#"; then
3529 echo '.include
"confinc"' > confmf
3530 case `$am_make -s -f confmf 2> /dev/null` in #(
3531 *the\ am__doit\ target*)
3532 am__include=.include
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3541 $as_echo "$_am_result" >&6; }
3542 rm -f confinc confmf
3544 # Check whether --enable-dependency-tracking was given.
3545 if test "${enable_dependency_tracking+set}" = set; then :
3546 enableval=$enable_dependency_tracking;
3549 if test "x$enable_dependency_tracking" != xno; then
3550 am_depcomp="$ac_aux_dir/depcomp"
3553 if test "x$enable_dependency_tracking" != xno
; then
3563 depcc
="$CC" am_compiler_list
=
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3566 $as_echo_n "checking dependency style of $depcc... " >&6; }
3567 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3571 # We make a subdir and do the tests there. Otherwise we can end up
3572 # making bogus files that we don't know about and never remove. For
3573 # instance it was reported that on HP-UX the gcc test will end up
3574 # making a dummy file named `D' -- because `-MD' means `put the output
3577 # Copy depcomp to subdir because otherwise we won't find it if we're
3578 # using a relative directory.
3579 cp "$am_depcomp" conftest.dir
3581 # We will build objects and dependencies in a subdirectory because
3582 # it helps to detect inapplicable dependency modes. For instance
3583 # both Tru64's cc and ICC support -MD to output dependencies as a
3584 # side effect of compilation, but ICC will put the dependencies in
3585 # the current directory while Tru64 will put them in the object
3589 am_cv_CC_dependencies_compiler_type
=none
3590 if test "$am_compiler_list" = ""; then
3591 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3594 case " $depcc " in #(
3595 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3598 for depmode
in $am_compiler_list; do
3599 # Setup a source with many dependencies, because some compilers
3600 # like to wrap large dependency lists on column 80 (with \), and
3601 # we should not choose a depcomp mode which is confused by this.
3603 # We need to recreate these files for each test, as the compiler may
3604 # overwrite some of them when testing with obscure command lines.
3605 # This happens at least with the AIX C compiler.
3607 for i
in 1 2 3 4 5 6; do
3608 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3609 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3610 # Solaris 8's {/usr,}/bin/sh.
3611 touch sub
/conftst
$i.h
3613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3615 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3616 # mode. It turns out that the SunPro C++ compiler does not properly
3617 # handle `-M -o', and we need to detect this. Also, some Intel
3618 # versions had trouble with output in subdirs
3619 am__obj
=sub
/conftest.
${OBJEXT-o}
3620 am__minus_obj
="-o $am__obj"
3623 # This depmode causes a compiler race in universal mode.
3624 test "$am__universal" = false ||
continue
3627 # after this tag, mechanisms are not by side-effect, so they'll
3628 # only be used when explicitly requested
3629 if test "x$enable_dependency_tracking" = xyes
; then
3635 msvisualcpp | msvcmsys
)
3636 # This compiler won't grok `-c -o', but also, the minuso test has
3637 # not run yet. These depmodes are late enough in the game, and
3638 # so weak that their functioning should not be impacted.
3639 am__obj
=conftest.
${OBJEXT-o}
3644 if depmode
=$depmode \
3645 source=sub
/conftest.c object
=$am__obj \
3646 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3647 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3648 >/dev
/null
2>conftest.err
&&
3649 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3650 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3651 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3652 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3653 # icc doesn't choke on unknown options, it will just issue warnings
3654 # or remarks (even with -Werror). So we grep stderr for any message
3655 # that says an option was ignored or not supported.
3656 # When given -MP, icc 7.0 and 7.1 complain thusly:
3657 # icc: Command line warning: ignoring option '-M'; no argument required
3658 # The diagnosis changed in icc 8.0:
3659 # icc: Command line remark: option '-MP' not supported
3660 if (grep 'ignoring option' conftest.err ||
3661 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3662 am_cv_CC_dependencies_compiler_type
=$depmode
3671 am_cv_CC_dependencies_compiler_type
=none
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3676 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3677 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3680 test "x$enable_dependency_tracking" != xno \
3681 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3683 am__fastdepCC_FALSE
='#'
3685 am__fastdepCC_TRUE
='#'
3686 am__fastdepCC_FALSE
=
3691 ac_cpp
='$CXXCPP $CPPFLAGS'
3692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3695 if test -z "$CXX"; then
3696 if test -n "$CCC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3703 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CXX+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3709 if test -n "$CXX"; then
3710 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test -n "$CXX"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3732 $as_echo "$CXX" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3739 test -n "$CXX" && break
3742 if test -z "$CXX"; then
3744 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy
$ac_prog; ac_word
=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$ac_ct_CXX"; then
3754 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3774 if test -n "$ac_ct_CXX"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3776 $as_echo "$ac_ct_CXX" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$ac_ct_CXX" && break
3786 if test "x$ac_ct_CXX" = x
; then
3789 case $cross_compiling:$ac_tool_warned in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3793 ac_tool_warned
=yes ;;
3801 # Provide some information about the compiler.
3802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3805 for ac_option
in --version -v -V -qversion; do
3806 { { ac_try
="$ac_compiler $ac_option >&5"
3808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 $as_echo "$ac_try_echo"; } >&5
3813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3815 if test -s conftest.err; then
3817 ... rest of stderr output deleted ...
3818 10q' conftest.err >conftest.er1
3819 cat conftest.er1 >&5
3821 rm -f conftest.er1 conftest.err
3822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823 test $ac_status = 0; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3827 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3828 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3845 if ac_fn_cxx_try_compile "$LINENO"; then :
3850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3855 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3856 if test $ac_compiler_gnu = yes; then
3861 ac_test_CXXFLAGS=${CXXFLAGS+set}
3862 ac_save_CXXFLAGS=$CXXFLAGS
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3864 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3865 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3868 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3869 ac_cxx_werror_flag=yes
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3883 if ac_fn_cxx_try_compile "$LINENO"; then :
3884 ac_cv_prog_cxx_g=yes
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3898 if ac_fn_cxx_try_compile "$LINENO"; then :
3901 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 if ac_fn_cxx_try_compile "$LINENO"; then :
3915 ac_cv_prog_cxx_g=yes
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3922 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3925 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3926 if test "$ac_test_CXXFLAGS" = set; then
3927 CXXFLAGS=$ac_save_CXXFLAGS
3928 elif test $ac_cv_prog_cxx_g = yes; then
3929 if test "$GXX" = yes; then
3935 if test "$GXX" = yes; then
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 depcc="$CXX" am_compiler_list=
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3950 $as_echo_n "checking dependency style of $depcc... " >&6; }
3951 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3952 $as_echo_n "(cached) " >&6
3954 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3955 # We make a subdir and do the tests there. Otherwise we can end up
3956 # making bogus files that we don't know about and never remove. For
3957 # instance it was reported that on HP-UX the gcc test will end up
3958 # making a dummy file named `D
' -- because `-MD' means
`put the output
3961 # Copy depcomp to subdir because otherwise we won't find it if we're
3962 # using a relative directory.
3963 cp "$am_depcomp" conftest.dir
3965 # We will build objects and dependencies in a subdirectory because
3966 # it helps to detect inapplicable dependency modes. For instance
3967 # both Tru64's cc and ICC support -MD to output dependencies as a
3968 # side effect of compilation, but ICC will put the dependencies in
3969 # the current directory while Tru64 will put them in the object
3973 am_cv_CXX_dependencies_compiler_type=none
3974 if test "$am_compiler_list" = ""; then
3975 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3978 case " $depcc " in #(
3979 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3982 for depmode in $am_compiler_list; do
3983 # Setup a source with many dependencies, because some compilers
3984 # like to wrap large dependency lists on column 80 (with \), and
3985 # we should not choose a depcomp mode which is confused by this.
3987 # We need to recreate these files for each test, as the compiler may
3988 # overwrite some of them when testing with obscure command lines.
3989 # This happens at least with the AIX C compiler.
3991 for i in 1 2 3 4 5 6; do
3992 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3993 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3994 # Solaris 8's
{/usr
,}/bin
/sh.
3995 touch sub
/conftst
$i.h
3997 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3999 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4000 # mode. It turns out that the SunPro C++ compiler does not properly
4001 # handle `-M -o', and we need to detect this. Also, some Intel
4002 # versions had trouble with output in subdirs
4003 am__obj
=sub
/conftest.
${OBJEXT-o}
4004 am__minus_obj
="-o $am__obj"
4007 # This depmode causes a compiler race in universal mode.
4008 test "$am__universal" = false ||
continue
4011 # after this tag, mechanisms are not by side-effect, so they'll
4012 # only be used when explicitly requested
4013 if test "x$enable_dependency_tracking" = xyes
; then
4019 msvisualcpp | msvcmsys
)
4020 # This compiler won't grok `-c -o', but also, the minuso test has
4021 # not run yet. These depmodes are late enough in the game, and
4022 # so weak that their functioning should not be impacted.
4023 am__obj
=conftest.
${OBJEXT-o}
4028 if depmode
=$depmode \
4029 source=sub
/conftest.c object
=$am__obj \
4030 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4031 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4032 >/dev
/null
2>conftest.err
&&
4033 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4035 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4037 # icc doesn't choke on unknown options, it will just issue warnings
4038 # or remarks (even with -Werror). So we grep stderr for any message
4039 # that says an option was ignored or not supported.
4040 # When given -MP, icc 7.0 and 7.1 complain thusly:
4041 # icc: Command line warning: ignoring option '-M'; no argument required
4042 # The diagnosis changed in icc 8.0:
4043 # icc: Command line remark: option '-MP' not supported
4044 if (grep 'ignoring option' conftest.err ||
4045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4046 am_cv_CXX_dependencies_compiler_type
=$depmode
4055 am_cv_CXX_dependencies_compiler_type
=none
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4060 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4061 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4064 test "x$enable_dependency_tracking" != xno \
4065 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4066 am__fastdepCXX_TRUE
=
4067 am__fastdepCXX_FALSE
='#'
4069 am__fastdepCXX_TRUE
='#'
4070 am__fastdepCXX_FALSE
=
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4078 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4083 macro_version
='2.2.10'
4084 macro_revision
='1.3175'
4098 ltmain
="$ac_aux_dir/ltmain.sh"
4100 # Make sure we can run config.sub.
4101 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4102 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4105 $as_echo_n "checking build system type... " >&6; }
4106 if test "${ac_cv_build+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4109 ac_build_alias
=$build_alias
4110 test "x$ac_build_alias" = x
&&
4111 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4112 test "x$ac_build_alias" = x
&&
4113 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4114 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4115 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4119 $as_echo "$ac_cv_build" >&6; }
4120 case $ac_cv_build in
4122 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4125 ac_save_IFS
=$IFS; IFS
='-'
4131 # Remember, the first character of IFS is used to create $*,
4132 # except with old shells:
4135 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4139 $as_echo_n "checking host system type... " >&6; }
4140 if test "${ac_cv_host+set}" = set; then :
4141 $as_echo_n "(cached) " >&6
4143 if test "x$host_alias" = x
; then
4144 ac_cv_host
=$ac_cv_build
4146 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4147 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4152 $as_echo "$ac_cv_host" >&6; }
4155 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4158 ac_save_IFS
=$IFS; IFS
='-'
4164 # Remember, the first character of IFS is used to create $*,
4165 # except with old shells:
4168 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4171 # Backslashify metacharacters that are still active within
4172 # double-quoted strings.
4173 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4175 # Same as above, but do not quote variable references.
4176 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4178 # Sed substitution to delay expansion of an escaped shell variable in a
4179 # double_quote_subst'ed string.
4180 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4182 # Sed substitution to delay expansion of an escaped single quote.
4183 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4185 # Sed substitution to avoid accidental globbing in evaled expressions
4186 no_glob_subst
='s/\*/\\\*/g'
4188 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4189 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4190 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4193 $as_echo_n "checking how to print strings... " >&6; }
4194 # Test print first, because it will be a builtin if present.
4195 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4196 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4198 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4201 # Use this function as a fallback that always works.
4202 func_fallback_echo ()
4204 eval 'cat <<_LTECHO_EOF
4208 ECHO='func_fallback_echo
'
4211 # func_echo_all arg...
4212 # Invoke $ECHO with all args, space-separated.
4219 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4220 $as_echo "printf" >&6; } ;;
4221 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4222 $as_echo "print -r" >&6; } ;;
4223 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4224 $as_echo "cat" >&6; } ;;
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4241 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4242 if test "${ac_cv_path_SED+set}" = set; then :
4243 $as_echo_n "(cached) " >&6
4245 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4246 for ac_i in 1 2 3 4 5 6 7; do
4247 ac_script="$ac_script$as_nl$ac_script"
4249 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4250 { ac_script=; unset ac_script;}
4251 if test -z "$SED"; then
4252 ac_path_SED_found=false
4253 # Loop through the user's path and
test for each of PROGNAME-LIST
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 for ac_prog
in sed gsed
; do
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4262 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4263 # Check for GNU ac_path_SED and select it if it is found.
4264 # Check for GNU $ac_path_SED
4265 case `"$ac_path_SED" --version 2>&1` in
4267 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4270 $as_echo_n 0123456789 >"conftest.in"
4273 cat "conftest.in" "conftest.in" >"conftest.tmp"
4274 mv "conftest.tmp" "conftest.in"
4275 cp "conftest.in" "conftest.nl"
4276 $as_echo '' >> "conftest.nl"
4277 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4278 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4279 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4280 if test $ac_count -gt ${ac_path_SED_max-0}; then
4281 # Best one so far, save it but keep looking for a better one
4282 ac_cv_path_SED
="$ac_path_SED"
4283 ac_path_SED_max
=$ac_count
4285 # 10*(2^10) chars as input seems more than enough
4286 test $ac_count -gt 10 && break
4288 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4291 $ac_path_SED_found && break 3
4296 if test -z "$ac_cv_path_SED"; then
4297 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4305 $as_echo "$ac_cv_path_SED" >&6; }
4306 SED
="$ac_cv_path_SED"
4309 test -z "$SED" && SED
=sed
4310 Xsed
="$SED -e 1s/^X//"
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4323 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4324 if test "${ac_cv_path_GREP+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -z "$GREP"; then
4328 ac_path_GREP_found
=false
4329 # Loop through the user's path and test for each of PROGNAME-LIST
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4331 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_prog
in grep ggrep
; do
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4338 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4339 # Check for GNU ac_path_GREP and select it if it is found.
4340 # Check for GNU $ac_path_GREP
4341 case `"$ac_path_GREP" --version 2>&1` in
4343 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4346 $as_echo_n 0123456789 >"conftest.in"
4349 cat "conftest.in" "conftest.in" >"conftest.tmp"
4350 mv "conftest.tmp" "conftest.in"
4351 cp "conftest.in" "conftest.nl"
4352 $as_echo 'GREP' >> "conftest.nl"
4353 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4354 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4355 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4356 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4357 # Best one so far, save it but keep looking for a better one
4358 ac_cv_path_GREP
="$ac_path_GREP"
4359 ac_path_GREP_max
=$ac_count
4361 # 10*(2^10) chars as input seems more than enough
4362 test $ac_count -gt 10 && break
4364 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4367 $ac_path_GREP_found && break 3
4372 if test -z "$ac_cv_path_GREP"; then
4373 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4376 ac_cv_path_GREP
=$GREP
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4381 $as_echo "$ac_cv_path_GREP" >&6; }
4382 GREP
="$ac_cv_path_GREP"
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4386 $as_echo_n "checking for egrep... " >&6; }
4387 if test "${ac_cv_path_EGREP+set}" = set; then :
4388 $as_echo_n "(cached) " >&6
4390 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4391 then ac_cv_path_EGREP
="$GREP -E"
4393 if test -z "$EGREP"; then
4394 ac_path_EGREP_found
=false
4395 # Loop through the user's path and test for each of PROGNAME-LIST
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4397 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_prog
in egrep; do
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4404 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4405 # Check for GNU ac_path_EGREP and select it if it is found.
4406 # Check for GNU $ac_path_EGREP
4407 case `"$ac_path_EGREP" --version 2>&1` in
4409 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4412 $as_echo_n 0123456789 >"conftest.in"
4415 cat "conftest.in" "conftest.in" >"conftest.tmp"
4416 mv "conftest.tmp" "conftest.in"
4417 cp "conftest.in" "conftest.nl"
4418 $as_echo 'EGREP' >> "conftest.nl"
4419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4420 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4421 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4423 # Best one so far, save it but keep looking for a better one
4424 ac_cv_path_EGREP
="$ac_path_EGREP"
4425 ac_path_EGREP_max
=$ac_count
4427 # 10*(2^10) chars as input seems more than enough
4428 test $ac_count -gt 10 && break
4430 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4433 $ac_path_EGREP_found && break 3
4438 if test -z "$ac_cv_path_EGREP"; then
4439 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4442 ac_cv_path_EGREP
=$EGREP
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4448 $as_echo "$ac_cv_path_EGREP" >&6; }
4449 EGREP
="$ac_cv_path_EGREP"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4453 $as_echo_n "checking for fgrep... " >&6; }
4454 if test "${ac_cv_path_FGREP+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4457 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4458 then ac_cv_path_FGREP
="$GREP -F"
4460 if test -z "$FGREP"; then
4461 ac_path_FGREP_found
=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4467 test -z "$as_dir" && as_dir
=.
4468 for ac_prog
in fgrep
; do
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4471 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4472 # Check for GNU ac_path_FGREP and select it if it is found.
4473 # Check for GNU $ac_path_FGREP
4474 case `"$ac_path_FGREP" --version 2>&1` in
4476 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4479 $as_echo_n 0123456789 >"conftest.in"
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'FGREP' >> "conftest.nl"
4486 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4488 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4489 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_FGREP
="$ac_path_FGREP"
4492 ac_path_FGREP_max
=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4500 $ac_path_FGREP_found && break 3
4505 if test -z "$ac_cv_path_FGREP"; then
4506 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509 ac_cv_path_FGREP
=$FGREP
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4515 $as_echo "$ac_cv_path_FGREP" >&6; }
4516 FGREP
="$ac_cv_path_FGREP"
4519 test -z "$GREP" && GREP
=grep
4539 # Check whether --with-gnu-ld was given.
4540 if test "${with_gnu_ld+set}" = set; then :
4541 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4547 if test "$GCC" = yes; then
4548 # Check if gcc -print-prog-name=ld gives a path.
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4550 $as_echo_n "checking for ld used by $CC... " >&6; }
4553 # gcc leaves a trailing carriage return which upsets mingw
4554 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4556 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4559 # Accept absolute paths.
4561 re_direlt
='/[^/][^/]*/\.\./'
4562 # Canonicalize the pathname of ld
4563 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4564 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4565 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4567 test -z "$LD" && LD
="$ac_prog"
4570 # If it fails, then pretend we aren't using GCC.
4574 # If it is relative, then search for the first ld in PATH.
4578 elif test "$with_gnu_ld" = yes; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4580 $as_echo_n "checking for GNU ld... " >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4583 $as_echo_n "checking for non-GNU ld... " >&6; }
4585 if test "${lt_cv_path_LD+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 if test -z "$LD"; then
4589 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4590 for ac_dir
in $PATH; do
4592 test -z "$ac_dir" && ac_dir
=.
4593 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4594 lt_cv_path_LD
="$ac_dir/$ac_prog"
4595 # Check to see if the program is GNU ld. I'd rather use --version,
4596 # but apparently some variants of GNU ld only accept -v.
4597 # Break only if it was the GNU/non-GNU ld that we prefer.
4598 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4599 *GNU
* |
*'with BFD'*)
4600 test "$with_gnu_ld" != no
&& break
4603 test "$with_gnu_ld" != yes && break
4610 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4615 if test -n "$LD"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4617 $as_echo "$LD" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4622 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4624 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4625 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4628 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4629 case `$LD -v 2>&1 </dev/null` in
4630 *GNU
* |
*'with BFD'*)
4631 lt_cv_prog_gnu_ld
=yes
4634 lt_cv_prog_gnu_ld
=no
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4639 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4640 with_gnu_ld
=$lt_cv_prog_gnu_ld
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4651 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4652 if test "${lt_cv_path_NM+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$NM"; then
4656 # Let the user override the test.
4659 lt_nm_to_check
="${ac_tool_prefix}nm"
4660 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4661 lt_nm_to_check
="$lt_nm_to_check nm"
4663 for lt_tmp_nm
in $lt_nm_to_check; do
4664 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4665 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4667 test -z "$ac_dir" && ac_dir
=.
4668 tmp_nm
="$ac_dir/$lt_tmp_nm"
4669 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4670 # Check to see if the nm accepts a BSD-compat flag.
4671 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4672 # nm: unknown option "B" ignored
4673 # Tru64's nm complains that /dev/null is an invalid object file
4674 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4675 */dev
/null
* |
*'Invalid file or object type'*)
4676 lt_cv_path_NM
="$tmp_nm -B"
4680 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4682 lt_cv_path_NM
="$tmp_nm -p"
4686 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4687 continue # so that we can try to find one that supports BSD flags
4696 : ${lt_cv_path_NM=no}
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4700 $as_echo "$lt_cv_path_NM" >&6; }
4701 if test "$lt_cv_path_NM" != "no"; then
4704 # Didn't find any BSD compatible name lister, look for dumpbin.
4705 if test -n "$DUMPBIN"; then :
4706 # Let the user override the test.
4708 if test -n "$ac_tool_prefix"; then
4709 for ac_prog
in dumpbin
"link -dump"
4711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4712 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -n "$DUMPBIN"; then
4719 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4728 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 DUMPBIN
=$ac_cv_prog_DUMPBIN
4739 if test -n "$DUMPBIN"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4741 $as_echo "$DUMPBIN" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4748 test -n "$DUMPBIN" && break
4751 if test -z "$DUMPBIN"; then
4752 ac_ct_DUMPBIN
=$DUMPBIN
4753 for ac_prog
in dumpbin
"link -dump"
4755 # Extract the first word of "$ac_prog", so it can be a program name with args.
4756 set dummy
$ac_prog; ac_word
=$2
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 $as_echo_n "checking for $ac_word... " >&6; }
4759 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4762 if test -n "$ac_ct_DUMPBIN"; then
4763 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir
=.
4770 for ac_exec_ext
in '' $ac_executable_extensions; do
4771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4783 if test -n "$ac_ct_DUMPBIN"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4785 $as_echo "$ac_ct_DUMPBIN" >&6; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4792 test -n "$ac_ct_DUMPBIN" && break
4795 if test "x$ac_ct_DUMPBIN" = x
; then
4798 case $cross_compiling:$ac_tool_warned in
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned
=yes ;;
4804 DUMPBIN
=$ac_ct_DUMPBIN
4808 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4810 DUMPBIN
="$DUMPBIN -symbols"
4818 if test "$DUMPBIN" != ":"; then
4822 test -z "$NM" && NM
=nm
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4830 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4831 if test "${lt_cv_nm_interface+set}" = set; then :
4832 $as_echo_n "(cached) " >&6
4834 lt_cv_nm_interface
="BSD nm"
4835 echo "int some_variable = 0;" > conftest.
$ac_ext
4836 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4837 (eval "$ac_compile" 2>conftest.err
)
4838 cat conftest.err
>&5
4839 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4840 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4841 cat conftest.err
>&5
4842 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4843 cat conftest.out
>&5
4844 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4845 lt_cv_nm_interface
="MS dumpbin"
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4850 $as_echo "$lt_cv_nm_interface" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4853 $as_echo_n "checking whether ln -s works... " >&6; }
4855 if test "$LN_S" = "ln -s"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4857 $as_echo "yes" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4860 $as_echo "no, using $LN_S" >&6; }
4863 # find the maximum length of command line arguments
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4865 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4866 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4874 # On DJGPP, this test can blow up pretty badly due to problems in libc
4875 # (any single argument exceeding 2000 bytes causes a buffer overrun
4876 # during glob expansion). Even if it were fixed, the result of this
4877 # check would be larger than it should be.
4878 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4882 # Under GNU Hurd, this test is not required because there is
4883 # no limit to the length of command line arguments.
4884 # Libtool will interpret -1 as no limit whatsoever
4885 lt_cv_sys_max_cmd_len
=-1;
4888 cygwin
* | mingw
* | cegcc
*)
4889 # On Win9x/ME, this test blows up -- it succeeds, but takes
4890 # about 5 minutes as the teststring grows exponentially.
4891 # Worse, since 9x/ME are not pre-emptively multitasking,
4892 # you end up with a "frozen" computer, even though with patience
4893 # the test eventually succeeds (with a max line length of 256k).
4894 # Instead, let's just punt: use the minimum linelength reported by
4895 # all of the supported platforms: 8192 (on NT/2K/XP).
4896 lt_cv_sys_max_cmd_len
=8192;
4900 # On MiNT this can take a long time and run out of memory.
4901 lt_cv_sys_max_cmd_len
=8192;
4905 # On AmigaOS with pdksh, this test takes hours, literally.
4906 # So we just punt and use a minimum line length of 8192.
4907 lt_cv_sys_max_cmd_len
=8192;
4910 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4911 # This has been around since 386BSD, at least. Likely further.
4912 if test -x /sbin
/sysctl
; then
4913 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4914 elif test -x /usr
/sbin
/sysctl
; then
4915 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4917 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4919 # And add a safety zone
4920 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4921 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4925 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4926 lt_cv_sys_max_cmd_len
=196608
4930 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4931 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4932 # nice to cause kernel panics so lets avoid the loop below.
4933 # First set a reasonable default.
4934 lt_cv_sys_max_cmd_len
=16384
4936 if test -x /sbin
/sysconfig
; then
4937 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4938 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4943 lt_cv_sys_max_cmd_len
=102400
4945 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4946 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4947 if test -n "$kargmax"; then
4948 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4950 lt_cv_sys_max_cmd_len
=32768
4954 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4955 if test -n "$lt_cv_sys_max_cmd_len"; then
4956 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4957 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4959 # Make teststring a little bigger before we do anything with it.
4960 # a 1K string should be a reasonable start.
4961 for i
in 1 2 3 4 5 6 7 8 ; do
4962 teststring
=$teststring$teststring
4964 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4965 # If test is not a shell built-in, we'll probably end up computing a
4966 # maximum length that is only half of the actual maximum length, but
4968 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4969 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4970 test $i != 17 # 1/2 MB should be enough
4973 teststring
=$teststring$teststring
4975 # Only check the string length outside the loop.
4976 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4978 # Add a significant safety factor because C++ compilers can tack on
4979 # massive amounts of additional arguments before passing them to the
4980 # linker. It appears as though 1/2 is a usable value.
4981 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4988 if test -n $lt_cv_sys_max_cmd_len ; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4990 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4993 $as_echo "none" >&6; }
4995 max_cmd_len
=$lt_cv_sys_max_cmd_len
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5007 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5008 # Try some XSI features
5011 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5013 && eval 'test $(( 1 + 1 )) -eq 2 \
5014 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5017 $as_echo "$xsi_shell" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5021 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5023 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5025 && lt_shell_append=yes
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5027 $as_echo "$lt_shell_append" >&6; }
5030 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5040 # test EBCDIC or ASCII
5041 case `echo X|tr X '\101'` in
5042 A) # ASCII based system
5043 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5044 lt_SP2NL='tr \040 \012'
5045 lt_NL2SP='tr \015\012 \040\040'
5047 *) # EBCDIC based system
5048 lt_SP2NL='tr \100 \n'
5049 lt_NL2SP='tr \r\n \100\100'
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5062 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5063 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5064 $as_echo_n "(cached
) " >&6
5066 lt_cv_ld_reload_flag='-r'
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5069 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5070 reload_flag=$lt_cv_ld_reload_flag
5071 case $reload_flag in
5073 *) reload_flag=" $reload_flag" ;;
5075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5078 if test "$GCC" = yes; then
5079 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5081 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5096 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5098 $as_echo_n "checking
for $ac_word...
" >&6; }
5099 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5100 $as_echo_n "(cached
) " >&6
5102 if test -n "$OBJDUMP"; then
5103 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5122 OBJDUMP=$ac_cv_prog_OBJDUMP
5123 if test -n "$OBJDUMP"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5125 $as_echo "$OBJDUMP" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5128 $as_echo "no
" >&6; }
5133 if test -z "$ac_cv_prog_OBJDUMP"; then
5134 ac_ct_OBJDUMP=$OBJDUMP
5135 # Extract the first word of "objdump
", so it can be a program name with args.
5136 set dummy objdump; ac_word=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5138 $as_echo_n "checking
for $ac_word...
" >&6; }
5139 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5140 $as_echo_n "(cached
) " >&6
5142 if test -n "$ac_ct_OBJDUMP"; then
5143 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5162 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5163 if test -n "$ac_ct_OBJDUMP"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5165 $as_echo "$ac_ct_OBJDUMP" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5168 $as_echo "no
" >&6; }
5171 if test "x
$ac_ct_OBJDUMP" = x; then
5174 case $cross_compiling:$ac_tool_warned in
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5177 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5178 ac_tool_warned=yes ;;
5180 OBJDUMP=$ac_ct_OBJDUMP
5183 OBJDUMP="$ac_cv_prog_OBJDUMP"
5186 test -z "$OBJDUMP" && OBJDUMP=objdump
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5197 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5198 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5199 $as_echo_n "(cached
) " >&6
5201 lt_cv_file_magic_cmd='$MAGIC_CMD'
5202 lt_cv_file_magic_test_file=
5203 lt_cv_deplibs_check_method='unknown'
5204 # Need to set the preceding variable on all platforms that support
5205 # interlibrary dependencies.
5206 # 'none' -- dependencies not supported.
5207 # `unknown' -- same as none, but documents that we really don't know.
5208 # 'pass_all' -- all dependencies passed with no checks.
5209 # 'test_compile' -- check by making test program.
5210 # 'file_magic [[regex]]' -- check by looking for files in library path
5211 # which responds to the $file_magic_cmd with a given extended regex.
5212 # If you have `file' or equivalent on your system and you're not sure
5213 # whether `pass_all' will *always* work, you probably want this one.
5217 lt_cv_deplibs_check_method=pass_all
5221 lt_cv_deplibs_check_method=pass_all
5225 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5226 lt_cv_file_magic_cmd='/usr/bin/file -L'
5227 lt_cv_file_magic_test_file=/shlib/libc.so
5231 # func_win32_libid is a shell function defined in ltmain.sh
5232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5233 lt_cv_file_magic_cmd='func_win32_libid'
5237 # Base MSYS/MinGW do not provide the 'file' command needed by
5238 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5239 # unless we find 'file', for example because we are cross-compiling.
5240 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5241 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5243 lt_cv_file_magic_cmd='func_win32_libid'
5245 # Keep this pattern in sync with the one in func_win32_libid.
5246 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5247 lt_cv_file_magic_cmd='$OBJDUMP -f'
5252 # use the weaker test based on 'objdump'. See mingw*.
5253 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5254 lt_cv_file_magic_cmd='$OBJDUMP -f'
5257 darwin* | rhapsody*)
5258 lt_cv_deplibs_check_method=pass_all
5261 freebsd* | dragonfly*)
5262 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5265 # Not sure whether the presence of OpenBSD here was a mistake.
5266 # Let's accept both of them until this is cleared up.
5267 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5268 lt_cv_file_magic_cmd=/usr/bin/file
5269 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5273 lt_cv_deplibs_check_method=pass_all
5278 lt_cv_deplibs_check_method=pass_all
5282 lt_cv_deplibs_check_method=pass_all
5285 hpux10.20* | hpux11*)
5286 lt_cv_file_magic_cmd=/usr/bin/file
5289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5290 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5293 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]'
5294 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5298 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5304 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5305 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5308 irix5* | irix6* | nonstopux*)
5310 *-32|*"-32 ") libmagic=32-bit;;
5311 *-n32|*"-n32 ") libmagic=N32;;
5312 *-64|*"-64 ") libmagic=64-bit;;
5313 *) libmagic=never-match;;
5315 lt_cv_deplibs_check_method=pass_all
5318 # This must be Linux ELF.
5319 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5320 lt_cv_deplibs_check_method=pass_all
5324 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5325 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5327 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5333 lt_cv_file_magic_cmd=/usr/bin/file
5334 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5338 lt_cv_deplibs_check_method=pass_all
5342 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5349 osf3* | osf4* | osf5*)
5350 lt_cv_deplibs_check_method=pass_all
5354 lt_cv_deplibs_check_method=pass_all
5358 lt_cv_deplibs_check_method=pass_all
5361 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5362 lt_cv_deplibs_check_method=pass_all
5366 case $host_vendor in
5368 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]'
5369 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5372 lt_cv_deplibs_check_method=pass_all
5375 lt_cv_file_magic_cmd='/bin/file'
5376 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5379 lt_cv_file_magic_cmd='/bin/file'
5380 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5381 lt_cv_file_magic_test_file=/lib/libc.so
5384 lt_cv_deplibs_check_method=pass_all
5387 lt_cv_deplibs_check_method=pass_all
5393 lt_cv_deplibs_check_method=pass_all
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5399 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5400 file_magic_cmd=$lt_cv_file_magic_cmd
5401 deplibs_check_method=$lt_cv_deplibs_check_method
5402 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5415 if test -n "$ac_tool_prefix"; then
5416 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5417 set dummy ${ac_tool_prefix}ar; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5419 $as_echo_n "checking
for $ac_word...
" >&6; }
5420 if test "${ac_cv_prog_AR+set}" = set; then :
5421 $as_echo_n "(cached
) " >&6
5423 if test -n "$AR"; then
5424 ac_cv_prog_AR="$AR" # Let the user override the test.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5433 ac_cv_prog_AR="${ac_tool_prefix}ar"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5444 if test -n "$AR"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5446 $as_echo "$AR" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5449 $as_echo "no
" >&6; }
5454 if test -z "$ac_cv_prog_AR"; then
5456 # Extract the first word of "ar", so it can be a program name with args.
5457 set dummy ar; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5459 $as_echo_n "checking
for $ac_word...
" >&6; }
5460 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5461 $as_echo_n "(cached
) " >&6
5463 if test -n "$ac_ct_AR"; then
5464 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5473 ac_cv_prog_ac_ct_AR="ar"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5483 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5484 if test -n "$ac_ct_AR"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5486 $as_echo "$ac_ct_AR" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5489 $as_echo "no
" >&6; }
5492 if test "x
$ac_ct_AR" = x; then
5495 case $cross_compiling:$ac_tool_warned in
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5498 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5499 ac_tool_warned=yes ;;
5507 test -z "$AR" && AR=ar
5508 test -z "$AR_FLAGS" && AR_FLAGS=cru
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}strip; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5524 $as_echo_n "checking
for $ac_word...
" >&6; }
5525 if test "${ac_cv_prog_STRIP+set}" = set; then :
5526 $as_echo_n "(cached
) " >&6
5528 if test -n "$STRIP"; then
5529 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5548 STRIP=$ac_cv_prog_STRIP
5549 if test -n "$STRIP"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5551 $as_echo "$STRIP" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5554 $as_echo "no
" >&6; }
5559 if test -z "$ac_cv_prog_STRIP"; then
5561 # Extract the first word of "strip
", so it can be a program name with args.
5562 set dummy strip; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5564 $as_echo_n "checking
for $ac_word...
" >&6; }
5565 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5566 $as_echo_n "(cached
) " >&6
5568 if test -n "$ac_ct_STRIP"; then
5569 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_ac_ct_STRIP="strip
"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5589 if test -n "$ac_ct_STRIP"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5591 $as_echo "$ac_ct_STRIP" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5594 $as_echo "no
" >&6; }
5597 if test "x
$ac_ct_STRIP" = x; then
5600 case $cross_compiling:$ac_tool_warned in
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5603 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5604 ac_tool_warned=yes ;;
5609 STRIP="$ac_cv_prog_STRIP"
5612 test -z "$STRIP" && STRIP=:
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5623 $as_echo_n "checking
for $ac_word...
" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5625 $as_echo_n "(cached
) " >&6
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5650 $as_echo "$RANLIB" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5653 $as_echo "no
" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib
", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5663 $as_echo_n "checking
for $ac_word...
" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5665 $as_echo_n "(cached
) " >&6
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5690 $as_echo "$ac_ct_RANLIB" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5693 $as_echo "no
" >&6; }
5696 if test "x
$ac_ct_RANLIB" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5702 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5703 ac_tool_warned=yes ;;
5705 RANLIB=$ac_ct_RANLIB
5708 RANLIB="$ac_cv_prog_RANLIB"
5711 test -z "$RANLIB" && RANLIB=:
5718 # Determine commands to create old-style static archives.
5719 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5720 old_postinstall_cmds='chmod 644 $oldlib'
5721 old_postuninstall_cmds=
5723 if test -n "$RANLIB"; then
5726 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5729 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5732 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5737 lock_old_archive_extraction=yes ;;
5739 lock_old_archive_extraction=no ;;
5780 # If no C compiler was specified, use CC.
5783 # If no C compiler flags were specified, use CFLAGS.
5784 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5786 # Allow CC to be a program name with arguments.
5790 # Check for command to grab the raw symbol name followed by C symbol from nm.
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5792 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5793 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5794 $as_echo_n "(cached
) " >&6
5797 # These are sane defaults that work on at least a few old systems.
5798 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5800 # Character class describing NM global symbol codes.
5801 symcode='[BCDEGRST]'
5803 # Regexp to match symbols that can be accessed directly from C.
5804 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5806 # Define system-specific variables.
5811 cygwin* | mingw* | pw32* | cegcc*)
5812 symcode='[ABCDGISTW]'
5815 if test "$host_cpu" = ia64; then
5816 symcode='[ABCDEGRST]'
5820 symcode='[BCDEGRST]'
5823 symcode='[BCDEGQRST]'
5834 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5842 # If we're using GNU nm, then use its standard symbol codes.
5843 case `$NM -V 2>&1` in
5844 *GNU* | *'with BFD'*)
5845 symcode='[ABCDGIRSTW]' ;;
5848 # Transform an extracted symbol line into a proper C declaration.
5849 # Some systems (esp. on ia64) link data and code symbols differently,
5850 # so use this general approach.
5851 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5853 # Transform an extracted symbol line into symbol name and symbol address
5854 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5855 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'"
5857 # Handle CRLF in mingw tool chain
5861 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5865 # Try without a prefix underscore, then with it.
5866 for ac_symprfx in "" "_
"; do
5868 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5869 symxfrm="\\1 $ac_symprfx\\2 \\2"
5871 # Write the raw and C identifiers.
5872 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5873 # Fake it for dumpbin and say T for any non-static function
5874 # and D for any global variable.
5875 # Also find C++ and __fastcall symbols from MSVC++,
5876 # which start with @ or ?.
5877 lt_cv_sys_global_symbol_pipe="$AWK '"\
5878 " {last_section=section; section=\$ 3};"\
5879 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5880 " \$ 0!~/External *\|/{next};"\
5881 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5882 " {if(hide[section]) next};"\
5883 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5884 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5885 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5886 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5887 " ' prfx
=^
$ac_symprfx"
5889 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5892 # Check to see that the pipe works correctly.
5896 cat > conftest.$ac_ext <<_LT_EOF
5901 void nm_test_func(void);
5902 void nm_test_func(void){}
5906 int main(){nm_test_var='a';nm_test_func();return(0);}
5909 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5910 (eval $ac_compile) 2>&5
5912 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5913 test $ac_status = 0; }; then
5914 # Now try to grab the symbols.
5916 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5917 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5919 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5920 test $ac_status = 0; } && test -s "$nlist"; then
5921 # Try sorting and uniquifying the output.
5922 if sort "$nlist" | uniq > "$nlist"T; then
5923 mv -f "$nlist"T "$nlist"
5928 # Make sure that we snagged all the symbols we need.
5929 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5930 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5931 cat <<_LT_EOF > conftest.$ac_ext
5937 # Now generate the symbol file.
5938 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5940 cat <<_LT_EOF >> conftest.$ac_ext
5942 /* The mapping between symbol names and symbols. */
5947 lt__PROGRAM__LTX_preloaded_symbols[] =
5949 { "@PROGRAM@
", (void *) 0 },
5951 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5952 cat <<\_LT_EOF >> conftest.$ac_ext
5956 /* This works around a problem in FreeBSD linker */
5957 #ifdef FREEBSD_WORKAROUND
5958 static const void *lt_preloaded_setup() {
5959 return lt__PROGRAM__LTX_preloaded_symbols;
5967 # Now try linking the two files.
5968 mv conftest.$ac_objext conftstm.$ac_objext
5969 lt_save_LIBS="$LIBS"
5970 lt_save_CFLAGS="$CFLAGS"
5971 LIBS="conftstm.
$ac_objext"
5972 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5973 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5974 (eval $ac_link) 2>&5
5976 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5977 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5980 LIBS="$lt_save_LIBS"
5981 CFLAGS="$lt_save_CFLAGS"
5983 echo "cannot
find nm_test_func
in $nlist" >&5
5986 echo "cannot
find nm_test_var
in $nlist" >&5
5989 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5992 echo "$progname: failed program was
:" >&5
5993 cat conftest.$ac_ext >&5
5995 rm -rf conftest* conftst*
5997 # Do not use the global_symbol_pipe unless it works.
5998 if test "$pipe_works" = yes; then
6001 lt_cv_sys_global_symbol_pipe=
6007 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6008 lt_cv_sys_global_symbol_to_cdecl=
6010 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6012 $as_echo "failed
" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6015 $as_echo "ok
" >&6; }
6040 # Check whether --enable-libtool-lock was given.
6041 if test "${enable_libtool_lock+set}" = set; then :
6042 enableval=$enable_libtool_lock;
6045 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6047 # Some flags need to be propagated to the compiler or linker for good
6051 # Find out which ABI we are using.
6052 echo 'int i;' > conftest.$ac_ext
6053 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6054 (eval $ac_compile) 2>&5
6056 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6057 test $ac_status = 0; }; then
6058 case `/usr/bin/file conftest.$ac_objext` in
6070 # Find out which ABI we are using.
6071 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6072 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6073 (eval $ac_compile) 2>&5
6075 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6076 test $ac_status = 0; }; then
6077 if test "$lt_cv_prog_gnu_ld" = yes; then
6078 case `/usr/bin/file conftest.$ac_objext` in
6080 LD="${LD-ld} -melf32bsmip"
6083 LD="${LD-ld} -melf32bmipn32"
6086 LD="${LD-ld} -melf64bmip"
6090 case `/usr/bin/file conftest.$ac_objext` in
6106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6108 # Find out which ABI we are using.
6109 echo 'int i;' > conftest.$ac_ext
6110 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6111 (eval $ac_compile) 2>&5
6113 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6114 test $ac_status = 0; }; then
6115 case `/usr/bin/file conftest.o` in
6118 x86_64-*kfreebsd*-gnu)
6119 LD="${LD-ld} -m elf_i386_fbsd
"
6122 LD="${LD-ld} -m elf_i386
"
6124 ppc64-*linux*|powerpc64-*linux*)
6125 LD="${LD-ld} -m elf32ppclinux
"
6128 LD="${LD-ld} -m elf_s390
"
6131 LD="${LD-ld} -m elf32_sparc
"
6137 x86_64-*kfreebsd*-gnu)
6138 LD="${LD-ld} -m elf_x86_64_fbsd
"
6141 LD="${LD-ld} -m elf_x86_64
"
6143 ppc*-*linux*|powerpc*-*linux*)
6144 LD="${LD-ld} -m elf64ppc
"
6146 s390*-*linux*|s390*-*tpf*)
6147 LD="${LD-ld} -m elf64_s390
"
6150 LD="${LD-ld} -m elf64_sparc
"
6160 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6161 SAVE_CFLAGS="$CFLAGS"
6162 CFLAGS="$CFLAGS -belf"
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6164 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6165 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6166 $as_echo_n "(cached
) " >&6
6169 ac_cpp='$CPP $CPPFLAGS'
6170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6185 if ac_fn_c_try_link "$LINENO"; then :
6186 lt_cv_cc_needs_belf=yes
6188 lt_cv_cc_needs_belf=no
6190 rm -f core conftest.err conftest.$ac_objext \
6191 conftest$ac_exeext conftest.$ac_ext
6193 ac_cpp='$CPP $CPPFLAGS'
6194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6200 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6201 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6202 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6203 CFLAGS="$SAVE_CFLAGS"
6207 # Find out which ABI we are using.
6208 echo 'int i;' > conftest.$ac_ext
6209 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6210 (eval $ac_compile) 2>&5
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6213 test $ac_status = 0; }; then
6214 case `/usr/bin/file conftest.o` in
6216 case $lt_cv_prog_gnu_ld in
6217 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6219 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6231 need_locks="$enable_libtool_lock"
6235 rhapsody* | darwin*)
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6240 $as_echo_n "checking
for $ac_word...
" >&6; }
6241 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6242 $as_echo_n "(cached
) " >&6
6244 if test -n "$DSYMUTIL"; then
6245 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6264 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6265 if test -n "$DSYMUTIL"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6267 $as_echo "$DSYMUTIL" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6270 $as_echo "no
" >&6; }
6275 if test -z "$ac_cv_prog_DSYMUTIL"; then
6276 ac_ct_DSYMUTIL=$DSYMUTIL
6277 # Extract the first word of "dsymutil
", so it can be a program name with args.
6278 set dummy dsymutil; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6280 $as_echo_n "checking
for $ac_word...
" >&6; }
6281 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6282 $as_echo_n "(cached
) " >&6
6284 if test -n "$ac_ct_DSYMUTIL"; then
6285 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6305 if test -n "$ac_ct_DSYMUTIL"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6307 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6310 $as_echo "no
" >&6; }
6313 if test "x
$ac_ct_DSYMUTIL" = x; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6319 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6320 ac_tool_warned=yes ;;
6322 DSYMUTIL=$ac_ct_DSYMUTIL
6325 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6332 $as_echo_n "checking
for $ac_word...
" >&6; }
6333 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6334 $as_echo_n "(cached
) " >&6
6336 if test -n "$NMEDIT"; then
6337 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6356 NMEDIT=$ac_cv_prog_NMEDIT
6357 if test -n "$NMEDIT"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6359 $as_echo "$NMEDIT" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6362 $as_echo "no
" >&6; }
6367 if test -z "$ac_cv_prog_NMEDIT"; then
6368 ac_ct_NMEDIT=$NMEDIT
6369 # Extract the first word of "nmedit
", so it can be a program name with args.
6370 set dummy nmedit; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6372 $as_echo_n "checking
for $ac_word...
" >&6; }
6373 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6374 $as_echo_n "(cached
) " >&6
6376 if test -n "$ac_ct_NMEDIT"; then
6377 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6396 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6397 if test -n "$ac_ct_NMEDIT"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6399 $as_echo "$ac_ct_NMEDIT" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6402 $as_echo "no
" >&6; }
6405 if test "x
$ac_ct_NMEDIT" = x; then
6408 case $cross_compiling:$ac_tool_warned in
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6411 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6412 ac_tool_warned=yes ;;
6414 NMEDIT=$ac_ct_NMEDIT
6417 NMEDIT="$ac_cv_prog_NMEDIT"
6420 if test -n "$ac_tool_prefix"; then
6421 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6422 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6424 $as_echo_n "checking
for $ac_word...
" >&6; }
6425 if test "${ac_cv_prog_LIPO+set}" = set; then :
6426 $as_echo_n "(cached
) " >&6
6428 if test -n "$LIPO"; then
6429 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6448 LIPO=$ac_cv_prog_LIPO
6449 if test -n "$LIPO"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6451 $as_echo "$LIPO" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6454 $as_echo "no
" >&6; }
6459 if test -z "$ac_cv_prog_LIPO"; then
6461 # Extract the first word of "lipo
", so it can be a program name with args.
6462 set dummy lipo; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6464 $as_echo_n "checking
for $ac_word...
" >&6; }
6465 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6466 $as_echo_n "(cached
) " >&6
6468 if test -n "$ac_ct_LIPO"; then
6469 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478 ac_cv_prog_ac_ct_LIPO="lipo
"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6488 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6489 if test -n "$ac_ct_LIPO"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6491 $as_echo "$ac_ct_LIPO" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6494 $as_echo "no
" >&6; }
6497 if test "x
$ac_ct_LIPO" = x; then
6500 case $cross_compiling:$ac_tool_warned in
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6503 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6504 ac_tool_warned=yes ;;
6509 LIPO="$ac_cv_prog_LIPO"
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}otool; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6516 $as_echo_n "checking
for $ac_word...
" >&6; }
6517 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6518 $as_echo_n "(cached
) " >&6
6520 if test -n "$OTOOL"; then
6521 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6540 OTOOL=$ac_cv_prog_OTOOL
6541 if test -n "$OTOOL"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6543 $as_echo "$OTOOL" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6546 $as_echo "no
" >&6; }
6551 if test -z "$ac_cv_prog_OTOOL"; then
6553 # Extract the first word of "otool
", so it can be a program name with args.
6554 set dummy otool; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6556 $as_echo_n "checking
for $ac_word...
" >&6; }
6557 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6558 $as_echo_n "(cached
) " >&6
6560 if test -n "$ac_ct_OTOOL"; then
6561 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_OTOOL="otool
"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6580 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6581 if test -n "$ac_ct_OTOOL"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6583 $as_echo "$ac_ct_OTOOL" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6586 $as_echo "no
" >&6; }
6589 if test "x
$ac_ct_OTOOL" = x; then
6592 case $cross_compiling:$ac_tool_warned in
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6595 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6596 ac_tool_warned=yes ;;
6601 OTOOL="$ac_cv_prog_OTOOL"
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6608 $as_echo_n "checking
for $ac_word...
" >&6; }
6609 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6610 $as_echo_n "(cached
) " >&6
6612 if test -n "$OTOOL64"; then
6613 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6632 OTOOL64=$ac_cv_prog_OTOOL64
6633 if test -n "$OTOOL64"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6635 $as_echo "$OTOOL64" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6638 $as_echo "no
" >&6; }
6643 if test -z "$ac_cv_prog_OTOOL64"; then
6644 ac_ct_OTOOL64=$OTOOL64
6645 # Extract the first word of "otool64
", so it can be a program name with args.
6646 set dummy otool64; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6648 $as_echo_n "checking
for $ac_word...
" >&6; }
6649 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6650 $as_echo_n "(cached
) " >&6
6652 if test -n "$ac_ct_OTOOL64"; then
6653 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6672 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6673 if test -n "$ac_ct_OTOOL64"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6675 $as_echo "$ac_ct_OTOOL64" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6678 $as_echo "no
" >&6; }
6681 if test "x
$ac_ct_OTOOL64" = x; then
6684 case $cross_compiling:$ac_tool_warned in
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6687 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6688 ac_tool_warned=yes ;;
6690 OTOOL64=$ac_ct_OTOOL64
6693 OTOOL64="$ac_cv_prog_OTOOL64"
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6723 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6724 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6725 $as_echo_n "(cached
) " >&6
6727 lt_cv_apple_cc_single_mod=no
6728 if test -z "${LT_MULTI_MODULE}"; then
6729 # By default we will add the -single_module flag. You can override
6730 # by either setting the environment variable LT_MULTI_MODULE
6731 # non-empty at configure time, or by adding -multi_module to the
6733 rm -rf libconftest.dylib*
6734 echo "int foo
(void
){return 1;}" > conftest.c
6735 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6736 -dynamiclib -Wl,-single_module conftest.c
" >&5
6737 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6738 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6740 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6741 lt_cv_apple_cc_single_mod=yes
6743 cat conftest.err >&5
6745 rm -rf libconftest.dylib*
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6750 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6752 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6753 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6754 $as_echo_n "(cached
) " >&6
6756 lt_cv_ld_exported_symbols_list=no
6757 save_LDFLAGS=$LDFLAGS
6758 echo "_main
" > conftest.sym
6759 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6771 if ac_fn_c_try_link "$LINENO"; then :
6772 lt_cv_ld_exported_symbols_list=yes
6774 lt_cv_ld_exported_symbols_list=no
6776 rm -f core conftest.err conftest.$ac_objext \
6777 conftest$ac_exeext conftest.$ac_ext
6778 LDFLAGS="$save_LDFLAGS"
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6782 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6784 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6785 if test "${lt_cv_ld_force_load+set}" = set; then :
6786 $as_echo_n "(cached
) " >&6
6788 lt_cv_ld_force_load=no
6789 cat > conftest.c << _LT_EOF
6790 int forced_loaded() { return 2;}
6792 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6793 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6794 echo "$AR cru libconftest.a conftest.o
" >&5
6795 $AR cru libconftest.a conftest.o 2>&5
6796 echo "$RANLIB libconftest.a
" >&5
6797 $RANLIB libconftest.a 2>&5
6798 cat > conftest.c << _LT_EOF
6799 int main() { return 0;}
6801 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6802 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6804 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6805 lt_cv_ld_force_load=yes
6807 cat conftest.err >&5
6809 rm -f conftest.err libconftest.a conftest conftest.c
6810 rm -rf conftest.dSYM
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6814 $as_echo "$lt_cv_ld_force_load" >&6; }
6816 rhapsody* | darwin1.[012])
6817 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6819 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6820 darwin*) # darwin 5.x on
6821 # if running on 10.5 or later, the deployment target defaults
6822 # to the OS version, if on x86, and 10.4, the deployment
6823 # target defaults to 10.4. Don't you love it?
6824 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6825 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6826 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6828 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6830 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6834 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6835 _lt_dar_single_mod='$single_module'
6837 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6838 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6840 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6842 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6843 _lt_dsymutil='~$DSYMUTIL $lib || :'
6851 ac_cpp='$CPP $CPPFLAGS'
6852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6856 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6857 # On Suns, sometimes $CPP names a directory.
6858 if test -n "$CPP" && test -d "$CPP"; then
6861 if test -z "$CPP"; then
6862 if test "${ac_cv_prog_CPP+set}" = set; then :
6863 $as_echo_n "(cached
) " >&6
6865 # Double quotes because CPP needs to be expanded
6866 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6869 for ac_c_preproc_warn_flag in '' yes
6871 # Use a header file that comes with gcc, so configuring glibc
6872 # with a fresh cross-compiler works.
6873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6874 # <limits.h> exists even on freestanding compilers.
6875 # On the NeXT, cc -E runs the code through the compiler's parser,
6876 # not just through cpp. "Syntax error
" is here to catch this case.
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6880 # include <limits.h>
6882 # include <assert.h>
6886 if ac_fn_c_try_cpp "$LINENO"; then :
6889 # Broken: fails on valid input.
6892 rm -f conftest.err conftest.i conftest.$ac_ext
6894 # OK, works on sane cases. Now check whether nonexistent headers
6895 # can be detected and how.
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898 #include <ac_nonexistent.h>
6900 if ac_fn_c_try_cpp "$LINENO"; then :
6901 # Broken: success on invalid input.
6904 # Passes both tests.
6908 rm -f conftest.err conftest.i conftest.$ac_ext
6911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6912 rm -f conftest.i conftest.err conftest.$ac_ext
6913 if $ac_preproc_ok; then :
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6926 $as_echo "$CPP" >&6; }
6928 for ac_c_preproc_warn_flag in '' yes
6930 # Use a header file that comes with gcc, so configuring glibc
6931 # with a fresh cross-compiler works.
6932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6933 # <limits.h> exists even on freestanding compilers.
6934 # On the NeXT, cc -E runs the code through the compiler's parser,
6935 # not just through cpp. "Syntax error
" is here to catch this case.
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6939 # include <limits.h>
6941 # include <assert.h>
6945 if ac_fn_c_try_cpp "$LINENO"; then :
6948 # Broken: fails on valid input.
6951 rm -f conftest.err conftest.i conftest.$ac_ext
6953 # OK, works on sane cases. Now check whether nonexistent headers
6954 # can be detected and how.
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 #include <ac_nonexistent.h>
6959 if ac_fn_c_try_cpp "$LINENO"; then :
6960 # Broken: success on invalid input.
6963 # Passes both tests.
6967 rm -f conftest.err conftest.i conftest.$ac_ext
6970 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6971 rm -f conftest.i conftest.err conftest.$ac_ext
6972 if $ac_preproc_ok; then :
6975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6977 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6978 See \`config.log' for more details
" "$LINENO" 5; }
6982 ac_cpp='$CPP $CPPFLAGS'
6983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6989 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6990 if test "${ac_cv_header_stdc+set}" = set; then :
6991 $as_echo_n "(cached
) " >&6
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
7008 if ac_fn_c_try_compile "$LINENO"; then :
7009 ac_cv_header_stdc=yes
7011 ac_cv_header_stdc=no
7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7015 if test $ac_cv_header_stdc = yes; then
7016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7022 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7023 $EGREP "memchr
" >/dev/null 2>&1; then :
7026 ac_cv_header_stdc=no
7032 if test $ac_cv_header_stdc = yes; then
7033 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7039 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7040 $EGREP "free
" >/dev/null 2>&1; then :
7043 ac_cv_header_stdc=no
7049 if test $ac_cv_header_stdc = yes; then
7050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7051 if test "$cross_compiling" = yes; then :
7054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7058 #if ((' ' & 0x0FF) == 0x020)
7059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7062 # define ISLOWER(c) \
7063 (('a' <= (c) && (c) <= 'i') \
7064 || ('j' <= (c) && (c) <= 'r') \
7065 || ('s' <= (c) && (c) <= 'z'))
7066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7074 for (i = 0; i < 256; i++)
7075 if (XOR (islower (i), ISLOWER (i))
7076 || toupper (i) != TOUPPER (i))
7081 if ac_fn_c_try_run "$LINENO"; then :
7084 ac_cv_header_stdc=no
7086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7087 conftest.$ac_objext conftest.beam conftest.$ac_ext
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7093 $as_echo "$ac_cv_header_stdc" >&6; }
7094 if test $ac_cv_header_stdc = yes; then
7096 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7100 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7101 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7102 inttypes.h stdint.h unistd.h
7104 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7107 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7108 cat >>confdefs.h
<<_ACEOF
7109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7117 for ac_header
in dlfcn.h
7119 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7121 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7122 cat >>confdefs.h
<<_ACEOF
7123 #define HAVE_DLFCN_H 1
7145 # Check whether --enable-shared was given.
7146 if test "${enable_shared+set}" = set; then :
7147 enableval
=$enable_shared; p
=${PACKAGE-default}
7149 yes) enable_shared
=yes ;;
7150 no
) enable_shared
=no
;;
7153 # Look at the argument we got. We use all the common list separators.
7154 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7155 for pkg
in $enableval; do
7157 if test "X$pkg" = "X$p"; then
7176 # Check whether --enable-static was given.
7177 if test "${enable_static+set}" = set; then :
7178 enableval
=$enable_static; p
=${PACKAGE-default}
7180 yes) enable_static
=yes ;;
7181 no
) enable_static
=no
;;
7184 # Look at the argument we got. We use all the common list separators.
7185 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7186 for pkg
in $enableval; do
7188 if test "X$pkg" = "X$p"; then
7208 # Check whether --with-pic was given.
7209 if test "${with_pic+set}" = set; then :
7210 withval
=$with_pic; pic_mode
="$withval"
7216 test -z "$pic_mode" && pic_mode
=default
7224 # Check whether --enable-fast-install was given.
7225 if test "${enable_fast_install+set}" = set; then :
7226 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7228 yes) enable_fast_install
=yes ;;
7229 no
) enable_fast_install
=no
;;
7231 enable_fast_install
=no
7232 # Look at the argument we got. We use all the common list separators.
7233 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7234 for pkg
in $enableval; do
7236 if test "X$pkg" = "X$p"; then
7237 enable_fast_install
=yes
7244 enable_fast_install
=yes
7257 # This can be used to rebuild libtool when needed
7258 LIBTOOL_DEPS
="$ltmain"
7260 # Always use our own libtool.
7261 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7288 test -z "$LN_S" && LN_S
="ln -s"
7303 if test -n "${ZSH_VERSION+set}" ; then
7304 setopt NO_GLOB_SUBST
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7308 $as_echo_n "checking for objdir... " >&6; }
7309 if test "${lt_cv_objdir+set}" = set; then :
7310 $as_echo_n "(cached) " >&6
7312 rm -f .libs
2>/dev
/null
7313 mkdir .libs
2>/dev
/null
7314 if test -d .libs
; then
7317 # MS-DOS does not allow filenames that begin with a dot.
7320 rmdir .libs
2>/dev
/null
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7323 $as_echo "$lt_cv_objdir" >&6; }
7324 objdir
=$lt_cv_objdir
7330 cat >>confdefs.h
<<_ACEOF
7331 #define LT_OBJDIR "$lt_cv_objdir/"
7339 # AIX sometimes has problems with the GCC collect2 program. For some
7340 # reason, if we set the COLLECT_NAMES environment variable, the problems
7341 # vanish in a puff of smoke.
7342 if test "X${COLLECT_NAMES+set}" != Xset
; then
7344 export COLLECT_NAMES
7351 can_build_shared
=yes
7353 # All known linkers require a `.a' archive for static linking (except MSVC,
7354 # which needs '.lib').
7357 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7360 old_CFLAGS
="$CFLAGS"
7362 # Set sane defaults for various variables
7363 test -z "$CC" && CC
=cc
7364 test -z "$LTCC" && LTCC
=$CC
7365 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7366 test -z "$LD" && LD
=ld
7367 test -z "$ac_objext" && ac_objext
=o
7369 for cc_temp
in $compiler""; do
7371 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7372 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7377 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7380 # Only perform the check for file, if the check method requires it
7381 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7382 case $deplibs_check_method in
7384 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7386 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7387 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7392 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7395 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7396 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7397 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7398 for ac_dir
in $ac_dummy; do
7400 test -z "$ac_dir" && ac_dir
=.
7401 if test -f $ac_dir/${ac_tool_prefix}file; then
7402 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7403 if test -n "$file_magic_test_file"; then
7404 case $deplibs_check_method in
7406 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7407 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7408 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7409 $EGREP "$file_magic_regex" > /dev
/null
; then
7414 *** Warning: the command libtool uses to detect shared libraries,
7415 *** $file_magic_cmd, produces output that libtool cannot recognize.
7416 *** The result is that libtool may fail to recognize shared libraries
7417 *** as such. This will affect the creation of libtool libraries that
7418 *** depend on shared libraries, but programs linked with such libtool
7419 *** libraries will work regardless of this problem. Nevertheless, you
7420 *** may want to report the problem to your system manager and/or to
7421 *** bug-libtool@gnu.org
7431 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7436 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7437 if test -n "$MAGIC_CMD"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7439 $as_echo "$MAGIC_CMD" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7449 if test -z "$lt_cv_path_MAGIC_CMD"; then
7450 if test -n "$ac_tool_prefix"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7452 $as_echo_n "checking for file... " >&6; }
7453 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7458 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7461 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7462 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7463 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7464 for ac_dir
in $ac_dummy; do
7466 test -z "$ac_dir" && ac_dir
=.
7467 if test -f $ac_dir/file; then
7468 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7469 if test -n "$file_magic_test_file"; then
7470 case $deplibs_check_method in
7472 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7473 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7474 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7475 $EGREP "$file_magic_regex" > /dev
/null
; then
7480 *** Warning: the command libtool uses to detect shared libraries,
7481 *** $file_magic_cmd, produces output that libtool cannot recognize.
7482 *** The result is that libtool may fail to recognize shared libraries
7483 *** as such. This will affect the creation of libtool libraries that
7484 *** depend on shared libraries, but programs linked with such libtool
7485 *** libraries will work regardless of this problem. Nevertheless, you
7486 *** may want to report the problem to your system manager and/or to
7487 *** bug-libtool@gnu.org
7497 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7502 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7503 if test -n "$MAGIC_CMD"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7505 $as_echo "$MAGIC_CMD" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7521 # Use C for the default configuration in the libtool script
7525 ac_cpp
='$CPP $CPPFLAGS'
7526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7531 # Source file extension for C test sources.
7534 # Object file extension for compiled C test sources.
7538 # Code to be used in simple compile tests
7539 lt_simple_compile_test_code
="int some_variable = 0;"
7541 # Code to be used in simple link tests
7542 lt_simple_link_test_code
='int main(){return(0);}'
7550 # If no C compiler was specified, use CC.
7553 # If no C compiler flags were specified, use CFLAGS.
7554 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7556 # Allow CC to be a program name with arguments.
7559 # Save the default compiler, since it gets overwritten when the other
7560 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7561 compiler_DEFAULT
=$CC
7563 # save warnings/boilerplate of simple test code
7564 ac_outfile
=conftest.
$ac_objext
7565 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7566 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7567 _lt_compiler_boilerplate
=`cat conftest.err`
7570 ac_outfile
=conftest.
$ac_objext
7571 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7572 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7573 _lt_linker_boilerplate
=`cat conftest.err`
7577 if test -n "$compiler"; then
7579 lt_prog_compiler_no_builtin_flag
=
7581 if test "$GCC" = yes; then
7582 case $cc_basename in
7584 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7586 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7590 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7591 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 lt_cv_prog_compiler_rtti_exceptions
=no
7595 ac_outfile
=conftest.
$ac_objext
7596 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7597 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7598 # Insert the option either (1) after the last *FLAGS variable, or
7599 # (2) before a word containing "conftest.", or (3) at the end.
7600 # Note that $ac_compile itself does not contain backslashes and begins
7601 # with a dollar sign (not a hyphen), so the echo should work correctly.
7602 # The option is referenced via a variable to avoid confusing sed.
7603 lt_compile
=`echo "$ac_compile" | $SED \
7604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7606 -e 's:$: $lt_compiler_flag:'`
7607 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7608 (eval "$lt_compile" 2>conftest.err
)
7610 cat conftest.err
>&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 if (exit $ac_status) && test -s "$ac_outfile"; then
7613 # The compiler can only warn and ignore the option if not recognized
7614 # So say no if there are warnings other than the usual output.
7615 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7616 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7617 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7618 lt_cv_prog_compiler_rtti_exceptions
=yes
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7625 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7627 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7628 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7640 lt_prog_compiler_wl
=
7641 lt_prog_compiler_pic
=
7642 lt_prog_compiler_static
=
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7645 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7647 if test "$GCC" = yes; then
7648 lt_prog_compiler_wl
='-Wl,'
7649 lt_prog_compiler_static
='-static'
7653 # All AIX code is PIC.
7654 if test "$host_cpu" = ia64
; then
7655 # AIX 5 now supports IA64 processor
7656 lt_prog_compiler_static
='-Bstatic'
7663 # see comment about AmigaOS4 .so support
7664 lt_prog_compiler_pic
='-fPIC'
7667 # FIXME: we need at least 68020 code to build shared libraries, but
7668 # adding the `-m68020' flag to GCC prevents building anything better,
7670 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7675 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7676 # PIC is the default for these OSes.
7679 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7680 # This hack is so that the source file can tell whether it is being
7681 # built for inclusion in a dll (and should export symbols for example).
7682 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7683 # (--disable-auto-import) libraries
7684 lt_prog_compiler_pic
='-DDLL_EXPORT'
7687 darwin
* | rhapsody
*)
7688 # PIC is the default on this platform
7689 # Common symbols not allowed in MH_DYLIB files
7690 lt_prog_compiler_pic
='-fno-common'
7694 # PIC is the default for Haiku.
7695 # The "-static" flag exists, but is broken.
7696 lt_prog_compiler_static
=
7700 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7701 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7702 # sets the default TLS model and affects inlining.
7708 lt_prog_compiler_pic
='-fPIC'
7714 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7715 # Instead, we relocate shared libraries at runtime.
7719 # Just because we use GCC doesn't mean we suddenly get shared libraries
7720 # on systems that don't support them.
7721 lt_prog_compiler_can_build_shared
=no
7726 # QNX uses GNU C++, but need to define -shared option too, otherwise
7728 lt_prog_compiler_pic
='-fPIC -shared'
7732 if test -d /usr
/nec
; then
7733 lt_prog_compiler_pic
=-Kconform_pic
7738 lt_prog_compiler_pic
='-fPIC'
7742 case $cc_basename in
7743 nvcc
*) # Cuda Compiler Driver 2.2
7744 lt_prog_compiler_wl
='-Xlinker '
7745 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7749 # PORTME Check for flag to pass linker flags through the system compiler.
7752 lt_prog_compiler_wl
='-Wl,'
7753 if test "$host_cpu" = ia64
; then
7754 # AIX 5 now supports IA64 processor
7755 lt_prog_compiler_static
='-Bstatic'
7757 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7761 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7762 # This hack is so that the source file can tell whether it is being
7763 # built for inclusion in a dll (and should export symbols for example).
7764 lt_prog_compiler_pic
='-DDLL_EXPORT'
7767 hpux9
* | hpux10
* | hpux11
*)
7768 lt_prog_compiler_wl
='-Wl,'
7769 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7776 lt_prog_compiler_pic
='+Z'
7779 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7780 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7783 irix5
* | irix6
* | nonstopux
*)
7784 lt_prog_compiler_wl
='-Wl,'
7785 # PIC (with -KPIC) is the default.
7786 lt_prog_compiler_static
='-non_shared'
7789 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7790 case $cc_basename in
7791 # old Intel for x86_64 which still supported -KPIC.
7793 lt_prog_compiler_wl
='-Wl,'
7794 lt_prog_compiler_pic
='-KPIC'
7795 lt_prog_compiler_static
='-static'
7797 # icc used to be incompatible with GCC.
7798 # ICC 10 doesn't accept -KPIC any more.
7800 lt_prog_compiler_wl
='-Wl,'
7801 lt_prog_compiler_pic
='-fPIC'
7802 lt_prog_compiler_static
='-static'
7804 # Lahey Fortran 8.1.
7806 lt_prog_compiler_wl
='-Wl,'
7807 lt_prog_compiler_pic
='--shared'
7808 lt_prog_compiler_static
='--static'
7810 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7811 # Portland Group compilers (*not* the Pentium gcc compiler,
7812 # which looks to be a dead project)
7813 lt_prog_compiler_wl
='-Wl,'
7814 lt_prog_compiler_pic
='-fpic'
7815 lt_prog_compiler_static
='-Bstatic'
7818 lt_prog_compiler_wl
='-Wl,'
7819 # All Alpha code is PIC.
7820 lt_prog_compiler_static
='-non_shared'
7822 xl
* | bgxl
* | bgf
* | mpixl
*)
7823 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7824 lt_prog_compiler_wl
='-Wl,'
7825 lt_prog_compiler_pic
='-qpic'
7826 lt_prog_compiler_static
='-qstaticlink'
7829 case `$CC -V 2>&1 | sed 5q` in
7830 *Sun\ F
* |
*Sun
*Fortran
*)
7831 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7832 lt_prog_compiler_pic
='-KPIC'
7833 lt_prog_compiler_static
='-Bstatic'
7834 lt_prog_compiler_wl
=''
7838 lt_prog_compiler_pic
='-KPIC'
7839 lt_prog_compiler_static
='-Bstatic'
7840 lt_prog_compiler_wl
='-Wl,'
7848 lt_prog_compiler_pic
='-KPIC'
7849 lt_prog_compiler_static
='-Bstatic'
7853 # QNX uses GNU C++, but need to define -shared option too, otherwise
7855 lt_prog_compiler_pic
='-fPIC -shared'
7858 osf3
* | osf4
* | osf5
*)
7859 lt_prog_compiler_wl
='-Wl,'
7860 # All OSF/1 code is PIC.
7861 lt_prog_compiler_static
='-non_shared'
7865 lt_prog_compiler_static
='-non_shared'
7869 lt_prog_compiler_pic
='-KPIC'
7870 lt_prog_compiler_static
='-Bstatic'
7871 case $cc_basename in
7872 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7873 lt_prog_compiler_wl
='-Qoption ld ';;
7875 lt_prog_compiler_wl
='-Wl,';;
7880 lt_prog_compiler_wl
='-Qoption ld '
7881 lt_prog_compiler_pic
='-PIC'
7882 lt_prog_compiler_static
='-Bstatic'
7885 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7886 lt_prog_compiler_wl
='-Wl,'
7887 lt_prog_compiler_pic
='-KPIC'
7888 lt_prog_compiler_static
='-Bstatic'
7892 if test -d /usr
/nec
;then
7893 lt_prog_compiler_pic
='-Kconform_pic'
7894 lt_prog_compiler_static
='-Bstatic'
7898 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7899 lt_prog_compiler_wl
='-Wl,'
7900 lt_prog_compiler_pic
='-KPIC'
7901 lt_prog_compiler_static
='-Bstatic'
7905 lt_prog_compiler_wl
='-Wl,'
7906 lt_prog_compiler_can_build_shared
=no
7910 lt_prog_compiler_pic
='-pic'
7911 lt_prog_compiler_static
='-Bstatic'
7915 lt_prog_compiler_can_build_shared
=no
7921 # For platforms which do not support PIC, -DPIC is meaningless:
7923 lt_prog_compiler_pic
=
7926 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7930 $as_echo "$lt_prog_compiler_pic" >&6; }
7938 # Check to make sure the PIC flag actually works.
7940 if test -n "$lt_prog_compiler_pic"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7943 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7944 $as_echo_n "(cached) " >&6
7946 lt_cv_prog_compiler_pic_works
=no
7947 ac_outfile
=conftest.
$ac_objext
7948 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7949 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7950 # Insert the option either (1) after the last *FLAGS variable, or
7951 # (2) before a word containing "conftest.", or (3) at the end.
7952 # Note that $ac_compile itself does not contain backslashes and begins
7953 # with a dollar sign (not a hyphen), so the echo should work correctly.
7954 # The option is referenced via a variable to avoid confusing sed.
7955 lt_compile
=`echo "$ac_compile" | $SED \
7956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7958 -e 's:$: $lt_compiler_flag:'`
7959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7960 (eval "$lt_compile" 2>conftest.err
)
7962 cat conftest.err
>&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 if (exit $ac_status) && test -s "$ac_outfile"; then
7965 # The compiler can only warn and ignore the option if not recognized
7966 # So say no if there are warnings other than the usual output.
7967 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7968 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7969 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7970 lt_cv_prog_compiler_pic_works
=yes
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7977 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7979 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7980 case $lt_prog_compiler_pic in
7982 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7985 lt_prog_compiler_pic
=
7986 lt_prog_compiler_can_build_shared
=no
7997 # Check to make sure the static flag actually works.
7999 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8001 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8002 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8003 $as_echo_n "(cached) " >&6
8005 lt_cv_prog_compiler_static_works
=no
8006 save_LDFLAGS
="$LDFLAGS"
8007 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8008 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8009 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8010 # The linker can only warn and ignore the option if not recognized
8011 # So say no if there are warnings
8012 if test -s conftest.err
; then
8013 # Append any errors to the config.log.
8014 cat conftest.err
1>&5
8015 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8016 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8017 if diff conftest.exp conftest.er2
>/dev
/null
; then
8018 lt_cv_prog_compiler_static_works
=yes
8021 lt_cv_prog_compiler_static_works
=yes
8025 LDFLAGS
="$save_LDFLAGS"
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8029 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8031 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8034 lt_prog_compiler_static
=
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8045 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8046 $as_echo_n "(cached) " >&6
8048 lt_cv_prog_compiler_c_o
=no
8049 $RM -r conftest
2>/dev
/null
8053 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8055 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8056 # Insert the option either (1) after the last *FLAGS variable, or
8057 # (2) before a word containing "conftest.", or (3) at the end.
8058 # Note that $ac_compile itself does not contain backslashes and begins
8059 # with a dollar sign (not a hyphen), so the echo should work correctly.
8060 lt_compile
=`echo "$ac_compile" | $SED \
8061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8063 -e 's:$: $lt_compiler_flag:'`
8064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8065 (eval "$lt_compile" 2>out
/conftest.err
)
8067 cat out
/conftest.err
>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8071 # The compiler can only warn and ignore the option if not recognized
8072 # So say no if there are warnings
8073 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8074 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8075 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8076 lt_cv_prog_compiler_c_o
=yes
8081 # SGI C++ compiler will create directory out/ii_files/ for
8082 # template instantiation
8083 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8084 $RM out
/* && rmdir out
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8099 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8100 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8101 $as_echo_n "(cached) " >&6
8103 lt_cv_prog_compiler_c_o
=no
8104 $RM -r conftest
2>/dev
/null
8108 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8110 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8111 # Insert the option either (1) after the last *FLAGS variable, or
8112 # (2) before a word containing "conftest.", or (3) at the end.
8113 # Note that $ac_compile itself does not contain backslashes and begins
8114 # with a dollar sign (not a hyphen), so the echo should work correctly.
8115 lt_compile
=`echo "$ac_compile" | $SED \
8116 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8118 -e 's:$: $lt_compiler_flag:'`
8119 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8120 (eval "$lt_compile" 2>out
/conftest.err
)
8122 cat out
/conftest.err
>&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8126 # The compiler can only warn and ignore the option if not recognized
8127 # So say no if there are warnings
8128 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8129 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8130 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8131 lt_cv_prog_compiler_c_o
=yes
8136 # SGI C++ compiler will create directory out/ii_files/ for
8137 # template instantiation
8138 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8139 $RM out
/* && rmdir out
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8146 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8151 hard_links
="nottested"
8152 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8153 # do not overwrite the value of need_locks provided by the user
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8155 $as_echo_n "checking if we can lock with hard links... " >&6; }
8158 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8160 ln conftest.a conftest.b
2>&5 || hard_links
=no
8161 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8163 $as_echo "$hard_links" >&6; }
8164 if test "$hard_links" = no
; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8166 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8179 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8182 allow_undefined_flag
=
8183 always_export_symbols
=no
8185 archive_expsym_cmds
=
8186 compiler_needs_object
=no
8187 enable_shared_with_static_runtimes
=no
8188 export_dynamic_flag_spec
=
8189 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8190 hardcode_automatic
=no
8192 hardcode_direct_absolute
=no
8193 hardcode_libdir_flag_spec
=
8194 hardcode_libdir_flag_spec_ld
=
8195 hardcode_libdir_separator
=
8197 hardcode_shlibpath_var
=unsupported
8199 link_all_deplibs
=unknown
8202 old_archive_from_new_cmds
=
8203 old_archive_from_expsyms_cmds
=
8204 thread_safe_flag_spec
=
8205 whole_archive_flag_spec
=
8206 # include_expsyms should be a list of space-separated symbols to be *always*
8207 # included in the symbol list
8209 # exclude_expsyms can be an extended regexp of symbols to exclude
8210 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8211 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8212 # as well as any symbol that contains `d'.
8213 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8214 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8215 # platforms (ab)use it in PIC code, but their linkers get confused if
8216 # the symbol is explicitly referenced. Since portable code cannot
8217 # rely on this symbol name, it's probably fine to never include it in
8218 # preloaded symbol tables.
8219 # Exclude shared library initialization/finalization symbols.
8220 extract_expsyms_cmds
=
8223 cygwin
* | mingw
* | pw32
* | cegcc
*)
8224 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8225 # When not using gcc, we currently assume that we are using
8226 # Microsoft Visual C++.
8227 if test "$GCC" != yes; then
8232 # we just hope/assume this is gcc and not c89 (= MSVC++)
8242 # On some targets, GNU ld is compatible enough with the native linker
8243 # that we're better off using the native interface for both.
8244 lt_use_gnu_ld_interface
=no
8245 if test "$with_gnu_ld" = yes; then
8248 # The AIX port of GNU ld has always aspired to compatibility
8249 # with the native linker. However, as the warning in the GNU ld
8250 # block says, versions before 2.19.5* couldn't really create working
8251 # shared libraries, regardless of the interface used.
8252 case `$LD -v 2>&1` in
8253 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8254 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8255 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8257 lt_use_gnu_ld_interface
=yes
8262 lt_use_gnu_ld_interface
=yes
8267 if test "$lt_use_gnu_ld_interface" = yes; then
8268 # If archive_cmds runs LD, not CC, wlarc should be empty
8271 # Set some defaults for GNU ld with shared library support. These
8272 # are reset later if shared libraries are not supported. Putting them
8273 # here allows them to be overridden if necessary.
8274 runpath_var
=LD_RUN_PATH
8275 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8276 export_dynamic_flag_spec
='${wl}--export-dynamic'
8277 # ancient GNU ld didn't support --whole-archive et. al.
8278 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8279 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8281 whole_archive_flag_spec
=
8283 supports_anon_versioning
=no
8284 case `$LD -v 2>&1` in
8285 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8286 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8287 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8288 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8289 *\
2.11.
*) ;; # other 2.11 versions
8290 *) supports_anon_versioning
=yes ;;
8293 # See if GNU ld supports shared libraries.
8296 # On AIX/PPC, the GNU linker is very broken
8297 if test "$host_cpu" != ia64
; then
8301 *** Warning: the GNU linker, at least up to release 2.19, is reported
8302 *** to be unable to reliably create shared libraries on AIX.
8303 *** Therefore, libtool is disabling shared libraries support. If you
8304 *** really care for shared libraries, you may want to install binutils
8305 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8306 *** You will then need to restart the configuration process.
8315 # see comment about AmigaOS4 .so support
8316 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317 archive_expsym_cmds
=''
8320 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)'
8321 hardcode_libdir_flag_spec
='-L$libdir'
8322 hardcode_minus_L
=yes
8328 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8329 allow_undefined_flag
=unsupported
8330 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8331 # support --undefined. This deserves some investigation. FIXME
8332 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8338 cygwin
* | mingw
* | pw32
* | cegcc
*)
8339 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8340 # as there is no search path for DLLs.
8341 hardcode_libdir_flag_spec
='-L$libdir'
8342 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8343 allow_undefined_flag
=unsupported
8344 always_export_symbols
=no
8345 enable_shared_with_static_runtimes
=yes
8346 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8348 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8350 # If the export-symbols file already is a .def file (1st line
8351 # is EXPORTS), use it as is; otherwise, prepend...
8352 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8353 cp $export_symbols $output_objdir/$soname.def;
8355 echo EXPORTS > $output_objdir/$soname.def;
8356 cat $export_symbols >> $output_objdir/$soname.def;
8358 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8365 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8366 link_all_deplibs
=yes
8371 hardcode_shlibpath_var
=no
8372 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8373 export_dynamic_flag_spec
='${wl}-E'
8374 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8375 # Instead, shared libraries are loaded at an image base (0x10000000 by
8376 # default) and relocated if they conflict, which is a slow very memory
8377 # consuming and fragmenting process. To avoid this, we pick a random,
8378 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8379 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8380 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8381 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'
8384 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8386 if test "$host_os" = linux-dietlibc
; then
8387 case $cc_basename in
8388 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8391 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8392 && test "$tmp_diet" = no
8395 tmp_sharedflag
='-shared'
8396 case $cc_basename,$host_cpu in
8397 pgcc
*) # Portland Group C compiler
8398 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'
8399 tmp_addflag
=' $pic_flag'
8401 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8402 # Portland Group f77 and f90 compilers
8403 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'
8404 tmp_addflag
=' $pic_flag -Mnomain' ;;
8405 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8406 tmp_addflag
=' -i_dynamic' ;;
8407 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8408 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8409 ifc
* | ifort
*) # Intel Fortran compiler
8410 tmp_addflag
=' -nofor_main' ;;
8411 lf95
*) # Lahey Fortran 8.1
8412 whole_archive_flag_spec
=
8413 tmp_sharedflag
='--shared' ;;
8414 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8415 tmp_sharedflag
='-qmkshrobj'
8417 nvcc
*) # Cuda Compiler Driver 2.2
8418 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'
8419 compiler_needs_object
=yes
8422 case `$CC -V 2>&1 | sed 5q` in
8423 *Sun\ C
*) # Sun C 5.9
8424 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'
8425 compiler_needs_object
=yes
8426 tmp_sharedflag
='-G' ;;
8427 *Sun\ F
*) # Sun Fortran 8.3
8428 tmp_sharedflag
='-G' ;;
8430 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8432 if test "x$supports_anon_versioning" = xyes
; then
8433 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8435 echo "local: *; };" >> $output_objdir/$libname.ver~
8436 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8439 case $cc_basename in
8440 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8441 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8442 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8443 hardcode_libdir_flag_spec
=
8444 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8445 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8446 if test "x$supports_anon_versioning" = xyes
; then
8447 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8448 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8449 echo "local: *; };" >> $output_objdir/$libname.ver~
8450 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8460 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8461 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8465 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8470 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8474 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8475 *** create shared libraries on Solaris systems. Therefore, libtool
8476 *** is disabling shared libraries support. We urge you to upgrade GNU
8477 *** binutils to release 2.9.1 or newer. Another option is to modify
8478 *** your PATH or compiler configuration so that the native linker is
8479 *** used, and then restart.
8482 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8483 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8484 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8490 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8491 case `$LD -v 2>&1` in
8492 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8496 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8497 *** reliably create shared libraries on SCO systems. Therefore, libtool
8498 *** is disabling shared libraries support. We urge you to upgrade GNU
8499 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8500 *** your PATH or compiler configuration so that the native linker is
8501 *** used, and then restart.
8506 # For security reasons, it is highly recommended that you always
8507 # use absolute paths for naming shared libraries, and exclude the
8508 # DT_RUNPATH tag from executables and libraries. But doing so
8509 # requires that you compile everything twice, which is a pain.
8510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8511 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8513 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8522 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8525 hardcode_shlibpath_var
=no
8529 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8530 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8531 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8538 if test "$ld_shlibs" = no
; then
8540 hardcode_libdir_flag_spec
=
8541 export_dynamic_flag_spec
=
8542 whole_archive_flag_spec
=
8545 # PORTME fill in a description of your system's linker (not GNU ld)
8548 allow_undefined_flag
=unsupported
8549 always_export_symbols
=yes
8550 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'
8551 # Note: this linker hardcodes the directories in LIBPATH if there
8552 # are no directories specified by -L.
8553 hardcode_minus_L
=yes
8554 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8555 # Neither direct hardcoding nor static linking is supported with a
8557 hardcode_direct
=unsupported
8562 if test "$host_cpu" = ia64
; then
8563 # On IA64, the linker does run time linking by default, so we don't
8564 # have to do anything special.
8565 aix_use_runtimelinking
=no
8566 exp_sym_flag
='-Bexport'
8569 # If we're using GNU nm, then we don't want the "-C" option.
8570 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8571 # Also, AIX nm treats weak defined symbols like other global
8572 # defined symbols, whereas GNU nm marks them as "W".
8573 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8574 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'
8576 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8578 aix_use_runtimelinking
=no
8580 # Test if we are trying to use run time linking or normal
8581 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8582 # need to do runtime linking.
8583 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8584 for ld_flag
in $LDFLAGS; do
8585 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8586 aix_use_runtimelinking
=yes
8593 exp_sym_flag
='-bexport'
8594 no_entry_flag
='-bnoentry'
8597 # When large executables or shared objects are built, AIX ld can
8598 # have problems creating the table of contents. If linking a library
8599 # or program results in "error TOC overflow" add -mminimal-toc to
8600 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8601 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8605 hardcode_direct_absolute
=yes
8606 hardcode_libdir_separator
=':'
8607 link_all_deplibs
=yes
8608 file_list_spec
='${wl}-f,'
8610 if test "$GCC" = yes; then
8611 case $host_os in aix4.
[012]|aix4.
[012].
*)
8612 # We only want to do this on AIX 4.2 and lower, the check
8613 # below for broken collect2 doesn't work under 4.3+
8614 collect2name
=`${CC} -print-prog-name=collect2`
8615 if test -f "$collect2name" &&
8616 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8618 # We have reworked collect2
8621 # We have old collect2
8622 hardcode_direct
=unsupported
8623 # It fails to find uninstalled libraries when the uninstalled
8624 # path is not listed in the libpath. Setting hardcode_minus_L
8625 # to unsupported forces relinking
8626 hardcode_minus_L
=yes
8627 hardcode_libdir_flag_spec
='-L$libdir'
8628 hardcode_libdir_separator
=
8632 shared_flag
='-shared'
8633 if test "$aix_use_runtimelinking" = yes; then
8634 shared_flag
="$shared_flag "'${wl}-G'
8638 if test "$host_cpu" = ia64
; then
8639 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8640 # chokes on -Wl,-G. The following line is correct:
8643 if test "$aix_use_runtimelinking" = yes; then
8644 shared_flag
='${wl}-G'
8646 shared_flag
='${wl}-bM:SRE'
8651 export_dynamic_flag_spec
='${wl}-bexpall'
8652 # It seems that -bexpall does not export symbols beginning with
8653 # underscore (_), so it is better to generate a list of symbols to export.
8654 always_export_symbols
=yes
8655 if test "$aix_use_runtimelinking" = yes; then
8656 # Warning - without using the other runtime loading flags (-brtl),
8657 # -berok will link without error, but may produce a broken library.
8658 allow_undefined_flag
='-berok'
8659 # Determine the default libpath from the value encoded in an
8661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8672 if ac_fn_c_try_link
"$LINENO"; then :
8674 lt_aix_libpath_sed
='
8675 /Import File Strings/,/^$/ {
8681 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8682 # Check for a 64-bit object if we didn't find anything.
8683 if test -z "$aix_libpath"; then
8684 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8687 rm -f core conftest.err conftest.
$ac_objext \
8688 conftest
$ac_exeext conftest.
$ac_ext
8689 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8691 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8692 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"
8694 if test "$host_cpu" = ia64
; then
8695 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8696 allow_undefined_flag
="-z nodefs"
8697 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"
8699 # Determine the default libpath from the value encoded in an
8701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8712 if ac_fn_c_try_link
"$LINENO"; then :
8714 lt_aix_libpath_sed
='
8715 /Import File Strings/,/^$/ {
8721 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8722 # Check for a 64-bit object if we didn't find anything.
8723 if test -z "$aix_libpath"; then
8724 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8727 rm -f core conftest.err conftest.
$ac_objext \
8728 conftest
$ac_exeext conftest.
$ac_ext
8729 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8731 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8732 # Warning - without using the other run time loading flags,
8733 # -berok will link without error, but may produce a broken library.
8734 no_undefined_flag
=' ${wl}-bernotok'
8735 allow_undefined_flag
=' ${wl}-berok'
8736 if test "$with_gnu_ld" = yes; then
8737 # We only use this code for GNU lds that support --whole-archive.
8738 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8740 # Exported symbols can be pulled into shared objects from archives
8741 whole_archive_flag_spec
='$convenience'
8743 archive_cmds_need_lc
=yes
8744 # This is similar to how AIX traditionally builds its shared libraries.
8745 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'
8753 # see comment about AmigaOS4 .so support
8754 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8755 archive_expsym_cmds
=''
8758 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)'
8759 hardcode_libdir_flag_spec
='-L$libdir'
8760 hardcode_minus_L
=yes
8766 export_dynamic_flag_spec
=-rdynamic
8769 cygwin
* | mingw
* | pw32
* | cegcc
*)
8770 # When not using gcc, we currently assume that we are using
8771 # Microsoft Visual C++.
8772 # hardcode_libdir_flag_spec is actually meaningless, as there is
8773 # no search path for DLLs.
8774 hardcode_libdir_flag_spec
=' '
8775 allow_undefined_flag
=unsupported
8776 # Tell ltmain to make .lib files, not .a files.
8778 # Tell ltmain to make .dll files, not .so files.
8780 # FIXME: Setting linknames here is a bad hack.
8781 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8782 # The linker will automatically build a .lib file if we build a DLL.
8783 old_archive_from_new_cmds
='true'
8784 # FIXME: Should let the user specify the lib program.
8785 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8786 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8787 enable_shared_with_static_runtimes
=yes
8790 darwin
* | rhapsody
*)
8793 archive_cmds_need_lc
=no
8795 hardcode_automatic
=yes
8796 hardcode_shlibpath_var
=unsupported
8797 if test "$lt_cv_ld_force_load" = "yes"; then
8798 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\"`'
8800 whole_archive_flag_spec
=''
8802 link_all_deplibs
=yes
8803 allow_undefined_flag
="$_lt_dar_allow_undefined"
8804 case $cc_basename in
8805 ifort
*) _lt_dar_can_shared
=yes ;;
8806 *) _lt_dar_can_shared
=$GCC ;;
8808 if test "$_lt_dar_can_shared" = "yes"; then
8809 output_verbose_link_cmd
=func_echo_all
8810 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8811 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8812 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}"
8813 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}"
8822 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8823 hardcode_libdir_flag_spec
='-L$libdir'
8824 hardcode_shlibpath_var
=no
8831 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8832 # support. Future versions do this automatically, but an explicit c++rt0.o
8833 # does not break anything, and helps significantly (at the cost of a little
8836 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8837 hardcode_libdir_flag_spec
='-R$libdir'
8839 hardcode_shlibpath_var
=no
8842 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8844 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8846 hardcode_minus_L
=yes
8847 hardcode_shlibpath_var
=no
8850 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8851 freebsd
* | dragonfly
*)
8852 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8853 hardcode_libdir_flag_spec
='-R$libdir'
8855 hardcode_shlibpath_var
=no
8859 if test "$GCC" = yes; then
8860 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'
8862 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'
8864 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8865 hardcode_libdir_separator
=:
8868 # hardcode_minus_L: Not really in the search PATH,
8869 # but as the default location of the library.
8870 hardcode_minus_L
=yes
8871 export_dynamic_flag_spec
='${wl}-E'
8875 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8876 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8878 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8880 if test "$with_gnu_ld" = no
; then
8881 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8882 hardcode_libdir_flag_spec_ld
='+b $libdir'
8883 hardcode_libdir_separator
=:
8885 hardcode_direct_absolute
=yes
8886 export_dynamic_flag_spec
='${wl}-E'
8887 # hardcode_minus_L: Not really in the search PATH,
8888 # but as the default location of the library.
8889 hardcode_minus_L
=yes
8894 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8897 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8900 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8903 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8909 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8912 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8916 # Older versions of the 11.00 compiler do not understand -b yet
8917 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8919 $as_echo_n "checking if $CC understands -b... " >&6; }
8920 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8921 $as_echo_n "(cached) " >&6
8923 lt_cv_prog_compiler__b
=no
8924 save_LDFLAGS
="$LDFLAGS"
8925 LDFLAGS
="$LDFLAGS -b"
8926 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8927 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8928 # The linker can only warn and ignore the option if not recognized
8929 # So say no if there are warnings
8930 if test -s conftest.err
; then
8931 # Append any errors to the config.log.
8932 cat conftest.err
1>&5
8933 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8935 if diff conftest.exp conftest.er2
>/dev
/null
; then
8936 lt_cv_prog_compiler__b
=yes
8939 lt_cv_prog_compiler__b
=yes
8943 LDFLAGS
="$save_LDFLAGS"
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8947 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8949 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8950 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8952 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8958 if test "$with_gnu_ld" = no
; then
8959 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8960 hardcode_libdir_separator
=:
8965 hardcode_shlibpath_var
=no
8969 hardcode_direct_absolute
=yes
8970 export_dynamic_flag_spec
='${wl}-E'
8972 # hardcode_minus_L: Not really in the search PATH,
8973 # but as the default location of the library.
8974 hardcode_minus_L
=yes
8980 irix5
* | irix6
* | nonstopux
*)
8981 if test "$GCC" = yes; then
8982 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'
8983 # Try to use the -exported_symbol ld option, if it does not
8984 # work, assume that -exports_file does not work either and
8985 # implicitly export all symbols.
8986 save_LDFLAGS
="$LDFLAGS"
8987 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8992 if ac_fn_c_try_link
"$LINENO"; then :
8993 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'
8996 rm -f core conftest.err conftest.
$ac_objext \
8997 conftest
$ac_exeext conftest.
$ac_ext
8998 LDFLAGS
="$save_LDFLAGS"
9000 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'
9001 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'
9003 archive_cmds_need_lc
='no'
9004 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9005 hardcode_libdir_separator
=:
9007 link_all_deplibs
=yes
9011 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9012 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9014 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9016 hardcode_libdir_flag_spec
='-R$libdir'
9018 hardcode_shlibpath_var
=no
9022 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9025 hardcode_libdir_separator
=:
9026 hardcode_shlibpath_var
=no
9033 if test -f /usr
/libexec
/ld.so
; then
9035 hardcode_shlibpath_var
=no
9036 hardcode_direct_absolute
=yes
9037 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9038 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9039 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9040 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9041 export_dynamic_flag_spec
='${wl}-E'
9044 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9045 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_libdir_flag_spec
='-R$libdir'
9049 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9050 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9060 hardcode_libdir_flag_spec
='-L$libdir'
9061 hardcode_minus_L
=yes
9062 allow_undefined_flag
=unsupported
9063 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'
9064 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9068 if test "$GCC" = yes; then
9069 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9070 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'
9072 allow_undefined_flag
=' -expect_unresolved \*'
9073 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'
9075 archive_cmds_need_lc
='no'
9076 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9077 hardcode_libdir_separator
=:
9080 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9081 if test "$GCC" = yes; then
9082 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9083 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'
9084 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9086 allow_undefined_flag
=' -expect_unresolved \*'
9087 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'
9088 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~
9089 $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'
9091 # Both c and cxx compiler support -rpath directly
9092 hardcode_libdir_flag_spec
='-rpath $libdir'
9094 archive_cmds_need_lc
='no'
9095 hardcode_libdir_separator
=:
9099 no_undefined_flag
=' -z defs'
9100 if test "$GCC" = yes; then
9102 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9103 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9104 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9106 case `$CC -V 2>&1` in
9109 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9110 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9111 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9115 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9116 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9117 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9121 hardcode_libdir_flag_spec
='-R$libdir'
9122 hardcode_shlibpath_var
=no
9124 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9126 # The compiler driver will combine and reorder linker options,
9127 # but understands `-z linker_flag'. GCC discards it without `$wl',
9128 # but is careful enough not to reorder.
9129 # Supported since Solaris 2.6 (maybe 2.5.1?)
9130 if test "$GCC" = yes; then
9131 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9133 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9137 link_all_deplibs
=yes
9141 if test "x$host_vendor" = xsequent
; then
9142 # Use $CC to link under sequent, because it throws in some extra .o
9143 # files that make .init and .fini sections work.
9144 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9146 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9148 hardcode_libdir_flag_spec
='-L$libdir'
9150 hardcode_minus_L
=yes
9151 hardcode_shlibpath_var
=no
9155 case $host_vendor in
9157 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9158 hardcode_direct
=yes # is this really true???
9161 ## LD is ld it makes a PLAMLIB
9162 ## CC just makes a GrossModule.
9163 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9164 reload_cmds
='$CC -r -o $output$reload_objs'
9168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9169 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9172 runpath_var
='LD_RUN_PATH'
9173 hardcode_shlibpath_var
=no
9177 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9178 hardcode_shlibpath_var
=no
9179 export_dynamic_flag_spec
='-Bexport'
9183 if test -d /usr
/nec
; then
9184 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9185 hardcode_shlibpath_var
=no
9186 runpath_var
=LD_RUN_PATH
9187 hardcode_runpath_var
=yes
9192 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9193 no_undefined_flag
='${wl}-z,text'
9194 archive_cmds_need_lc
=no
9195 hardcode_shlibpath_var
=no
9196 runpath_var
='LD_RUN_PATH'
9198 if test "$GCC" = yes; then
9199 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9200 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9202 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9203 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 sysv5
* | sco3.2v5
* | sco5v6
*)
9208 # Note: We can NOT use -z defs as we might desire, because we do not
9209 # link with -lc, and that would cause any symbols used from libc to
9210 # always be unresolved, which means just about no library would
9211 # ever link correctly. If we're not using GNU ld we use -z text
9212 # though, which does catch some bad symbols but isn't as heavy-handed
9214 no_undefined_flag
='${wl}-z,text'
9215 allow_undefined_flag
='${wl}-z,nodefs'
9216 archive_cmds_need_lc
=no
9217 hardcode_shlibpath_var
=no
9218 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9219 hardcode_libdir_separator
=':'
9220 link_all_deplibs
=yes
9221 export_dynamic_flag_spec
='${wl}-Bexport'
9222 runpath_var
='LD_RUN_PATH'
9224 if test "$GCC" = yes; then
9225 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9226 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9228 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9229 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9234 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9235 hardcode_libdir_flag_spec
='-L$libdir'
9236 hardcode_shlibpath_var
=no
9244 if test x
$host_vendor = xsni
; then
9246 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9247 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9254 $as_echo "$ld_shlibs" >&6; }
9255 test "$ld_shlibs" = no
&& can_build_shared
=no
9257 with_gnu_ld
=$with_gnu_ld
9274 # Do we need to explicitly link libc?
9276 case "x$archive_cmds_need_lc" in
9278 # Assume -lc should be added
9279 archive_cmds_need_lc
=yes
9281 if test "$enable_shared" = yes && test "$GCC" = yes; then
9282 case $archive_cmds in
9284 # FIXME: we may have to deal with multi-command sequences.
9287 # Test whether the compiler implicitly links with -lc since on some
9288 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9289 # to ld, don't add -lc before -lgcc.
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9291 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9292 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9293 $as_echo_n "(cached) " >&6
9296 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9299 (eval $ac_compile) 2>&5
9301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9302 test $ac_status = 0; } 2>conftest.err
; then
9305 libobjs
=conftest.
$ac_objext
9307 wl
=$lt_prog_compiler_wl
9308 pic_flag
=$lt_prog_compiler_pic
9314 lt_save_allow_undefined_flag
=$allow_undefined_flag
9315 allow_undefined_flag
=
9316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9317 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9320 test $ac_status = 0; }
9322 lt_cv_archive_cmds_need_lc
=no
9324 lt_cv_archive_cmds_need_lc
=yes
9326 allow_undefined_flag
=$lt_save_allow_undefined_flag
9328 cat conftest.err
1>&5
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9334 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9335 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9499 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9501 if test "$GCC" = yes; then
9503 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9504 *) lt_awk_arg
="/^libraries:/" ;;
9507 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9508 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9510 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9511 case $lt_search_path_spec in
9513 # if the path contains ";" then we assume it to be the separator
9514 # otherwise default to the standard path separator (i.e. ":") - it is
9515 # assumed that no part of a normal pathname contains ";" but that should
9516 # okay in the real world where ";" in dirpaths is itself problematic.
9517 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9520 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9523 # Ok, now we have the path, separated by spaces, we can step through it
9524 # and add multilib dir if necessary.
9525 lt_tmp_lt_search_path_spec
=
9526 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9527 for lt_sys_path
in $lt_search_path_spec; do
9528 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9529 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9531 test -d "$lt_sys_path" && \
9532 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9535 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9536 BEGIN {RS=" "; FS="/|\n";} {
9539 for (lt_i = NF; lt_i > 0; lt_i--) {
9540 if ($lt_i != "" && $lt_i != ".") {
9541 if ($lt_i == "..") {
9544 if (lt_count == 0) {
9545 lt_foo="/" $lt_i lt_foo;
9552 if (lt_foo != "") { lt_freq[lt_foo]++; }
9553 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9555 # AWK program above erroneously prepends '/' to C:/dos/paths
9558 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9559 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9561 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9563 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9566 libname_spec
='lib$name'
9574 shlibpath_overrides_runpath
=unknown
9576 dynamic_linker
="$host_os ld.so"
9577 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9578 need_lib_prefix
=unknown
9579 hardcode_into_libs
=no
9581 # when you set need_version to no, make sure it does not cause -set_version
9582 # flags to be left without arguments
9583 need_version
=unknown
9588 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9589 shlibpath_var
=LIBPATH
9591 # AIX 3 has no versioning support, so we append a major version to the name.
9592 soname_spec
='${libname}${release}${shared_ext}$major'
9599 hardcode_into_libs
=yes
9600 if test "$host_cpu" = ia64
; then
9601 # AIX 5 supports IA64
9602 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9603 shlibpath_var
=LD_LIBRARY_PATH
9605 # With GCC up to 2.95.x, collect2 would create an import file
9606 # for dependence libraries. The import file would start with
9607 # the line `#! .'. This would cause the generated library to
9608 # depend on `.', always an invalid library. This was fixed in
9609 # development snapshots of GCC prior to 3.0.
9611 aix4 | aix4.
[01] | aix4.
[01].
*)
9612 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9614 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9621 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9622 # soname into executable. Probably we can add versioning support to
9623 # collect2, so additional links can be useful in future.
9624 if test "$aix_use_runtimelinking" = yes; then
9625 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9626 # instead of lib<name>.a to let people know that these are not
9627 # typical AIX shared libraries.
9628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9630 # We preserve .a as extension for shared libraries through AIX4.2
9631 # and later when we are not doing run time linking.
9632 library_names_spec
='${libname}${release}.a $libname.a'
9633 soname_spec
='${libname}${release}${shared_ext}$major'
9635 shlibpath_var
=LIBPATH
9642 # Since July 2007 AmigaOS4 officially supports .so libraries.
9643 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9647 library_names_spec
='$libname.ixlibrary $libname.a'
9648 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9649 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'
9655 library_names_spec
='${libname}${shared_ext}'
9656 dynamic_linker
="$host_os ld.so"
9657 shlibpath_var
=LIBRARY_PATH
9663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9664 soname_spec
='${libname}${release}${shared_ext}$major'
9665 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9666 shlibpath_var
=LD_LIBRARY_PATH
9667 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9668 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9669 # the default ld.so.conf also contains /usr/contrib/lib and
9670 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9671 # libtool to hard-code these into programs
9674 cygwin
* | mingw
* | pw32
* | cegcc
*)
9675 version_type
=windows
9680 case $GCC,$host_os in
9681 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9682 library_names_spec
='$libname.dll.a'
9683 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9684 postinstall_cmds
='base_file=`basename \${file}`~
9685 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9686 dldir=$destdir/`dirname \$dlpath`~
9687 test -d \$dldir || mkdir -p \$dldir~
9688 $install_prog $dir/$dlname \$dldir/$dlname~
9689 chmod a+x \$dldir/$dlname~
9690 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9691 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9693 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9694 dlpath=$dir/\$dldll~
9696 shlibpath_overrides_runpath
=yes
9700 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9701 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9703 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9706 # MinGW DLLs use traditional 'lib' prefix
9707 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9710 # pw32 DLLs use 'pw' prefix rather than 'lib'
9711 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9717 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9720 dynamic_linker
='Win32 ld.exe'
9721 # FIXME: first we should search . and the directory the executable is in
9725 darwin
* | rhapsody
*)
9726 dynamic_linker
="$host_os dyld"
9730 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9731 soname_spec
='${libname}${release}${major}$shared_ext'
9732 shlibpath_overrides_runpath
=yes
9733 shlibpath_var
=DYLD_LIBRARY_PATH
9734 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9736 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9737 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9745 soname_spec
='${libname}${release}${shared_ext}$major'
9746 shlibpath_var
=LD_LIBRARY_PATH
9753 freebsd
* | dragonfly
*)
9754 # DragonFly does not have aout. When/if they implement a new
9755 # versioning mechanism, adjust this.
9756 if test -x /usr
/bin
/objformat
; then
9757 objformat
=`/usr/bin/objformat`
9760 freebsd
[123]*) objformat
=aout
;;
9764 version_type
=freebsd-
$objformat
9765 case $version_type in
9767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9772 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9776 shlibpath_var
=LD_LIBRARY_PATH
9779 shlibpath_overrides_runpath
=yes
9781 freebsd3.
[01]* | freebsdelf3.
[01]*)
9782 shlibpath_overrides_runpath
=yes
9783 hardcode_into_libs
=yes
9785 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9786 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9787 shlibpath_overrides_runpath
=no
9788 hardcode_into_libs
=yes
9790 *) # from 4.6 on, and DragonFly
9791 shlibpath_overrides_runpath
=yes
9792 hardcode_into_libs
=yes
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9802 soname_spec
='${libname}${release}${shared_ext}$major'
9803 shlibpath_var
=LD_LIBRARY_PATH
9804 hardcode_into_libs
=yes
9811 dynamic_linker
="$host_os runtime_loader"
9812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9813 soname_spec
='${libname}${release}${shared_ext}$major'
9814 shlibpath_var
=LIBRARY_PATH
9815 shlibpath_overrides_runpath
=yes
9816 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9817 hardcode_into_libs
=yes
9820 hpux9
* | hpux10
* | hpux11
*)
9821 # Give a soname corresponding to the major version so that dld.sl refuses to
9822 # link against other versions.
9829 hardcode_into_libs
=yes
9830 dynamic_linker
="$host_os dld.so"
9831 shlibpath_var
=LD_LIBRARY_PATH
9832 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9834 soname_spec
='${libname}${release}${shared_ext}$major'
9835 if test "X$HPUX_IA64_MODE" = X32
; then
9836 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9838 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9840 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9844 hardcode_into_libs
=yes
9845 dynamic_linker
="$host_os dld.sl"
9846 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9847 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9849 soname_spec
='${libname}${release}${shared_ext}$major'
9850 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9851 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9855 dynamic_linker
="$host_os dld.sl"
9856 shlibpath_var
=SHLIB_PATH
9857 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859 soname_spec
='${libname}${release}${shared_ext}$major'
9862 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9863 postinstall_cmds
='chmod 555 $lib'
9864 # or fails outright, so override atomically:
9865 install_override_mode
=555
9872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9873 soname_spec
='${libname}${release}${shared_ext}$major'
9874 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9875 shlibpath_var
=LD_LIBRARY_PATH
9876 shlibpath_overrides_runpath
=no
9877 hardcode_into_libs
=yes
9880 irix5
* | irix6
* | nonstopux
*)
9882 nonstopux
*) version_type
=nonstopux
;;
9884 if test "$lt_cv_prog_gnu_ld" = yes; then
9892 soname_spec
='${libname}${release}${shared_ext}$major'
9893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9895 irix5
* | nonstopux
*)
9899 case $LD in # libtool.m4 will add one of these switches to LD
9900 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9901 libsuff
= shlibsuff
= libmagic
=32-bit;;
9902 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9903 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9904 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9905 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9906 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9910 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9911 shlibpath_overrides_runpath
=no
9912 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9913 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9914 hardcode_into_libs
=yes
9917 # No shared lib support for Linux oldld, aout, or coff.
9918 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9922 # This must be Linux ELF.
9923 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9928 soname_spec
='${libname}${release}${shared_ext}$major'
9929 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9930 shlibpath_var
=LD_LIBRARY_PATH
9931 shlibpath_overrides_runpath
=no
9933 # Some binutils ld are patched to set DT_RUNPATH
9934 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9935 $as_echo_n "(cached) " >&6
9937 lt_cv_shlibpath_overrides_runpath
=no
9938 save_LDFLAGS
=$LDFLAGS
9940 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9941 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9953 if ac_fn_c_try_link
"$LINENO"; then :
9954 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9955 lt_cv_shlibpath_overrides_runpath
=yes
9958 rm -f core conftest.err conftest.
$ac_objext \
9959 conftest
$ac_exeext conftest.
$ac_ext
9960 LDFLAGS
=$save_LDFLAGS
9965 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9967 # This implies no fast_install, which is unacceptable.
9968 # Some rework will be needed to allow for fast_install
9969 # before this can be enabled.
9970 hardcode_into_libs
=yes
9972 # Append ld.so.conf contents to the search path
9973 if test -f /etc
/ld.so.conf
; then
9974 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' ' '`
9975 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9978 # We used to test for /lib/ld.so.1 and disable shared libraries on
9979 # powerpc, because MkLinux only supported shared libraries with the
9980 # GNU dynamic linker. Since this was broken with cross compilers,
9981 # most powerpc-linux boxes support dynamic linking these days and
9982 # people can always --disable-shared, the test was removed, and we
9983 # assume the GNU/Linux dynamic linker is in use.
9984 dynamic_linker
='GNU/Linux ld.so'
9991 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9994 dynamic_linker
='NetBSD (a.out) ld.so'
9996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9997 soname_spec
='${libname}${release}${shared_ext}$major'
9998 dynamic_linker
='NetBSD ld.elf_so'
10000 shlibpath_var
=LD_LIBRARY_PATH
10001 shlibpath_overrides_runpath
=yes
10002 hardcode_into_libs
=yes
10007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008 shlibpath_var
=LD_LIBRARY_PATH
10009 shlibpath_overrides_runpath
=yes
10016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10017 soname_spec
='${libname}${release}${shared_ext}$major'
10018 shlibpath_var
=LD_LIBRARY_PATH
10019 shlibpath_overrides_runpath
=no
10020 hardcode_into_libs
=yes
10021 dynamic_linker
='ldqnx.so'
10026 sys_lib_dlsearch_path_spec
="/usr/lib"
10028 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10030 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10031 *) need_version
=no
;;
10033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10035 shlibpath_var
=LD_LIBRARY_PATH
10036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10038 openbsd2.
[89] | openbsd2.
[89].
*)
10039 shlibpath_overrides_runpath
=no
10042 shlibpath_overrides_runpath
=yes
10046 shlibpath_overrides_runpath
=yes
10051 libname_spec
='$name'
10054 library_names_spec
='$libname${shared_ext} $libname.a'
10055 dynamic_linker
='OS/2 ld.exe'
10056 shlibpath_var
=LIBPATH
10059 osf3
* | osf4
* | osf5
*)
10063 soname_spec
='${libname}${release}${shared_ext}$major'
10064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10065 shlibpath_var
=LD_LIBRARY_PATH
10066 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10067 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079 soname_spec
='${libname}${release}${shared_ext}$major'
10080 shlibpath_var
=LD_LIBRARY_PATH
10081 shlibpath_overrides_runpath
=yes
10082 hardcode_into_libs
=yes
10083 # ldd complains unless libraries are executable
10084 postinstall_cmds
='chmod +x $lib'
10089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10090 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10091 shlibpath_var
=LD_LIBRARY_PATH
10092 shlibpath_overrides_runpath
=yes
10093 if test "$with_gnu_ld" = yes; then
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102 soname_spec
='${libname}${release}${shared_ext}$major'
10103 shlibpath_var
=LD_LIBRARY_PATH
10104 case $host_vendor in
10106 shlibpath_overrides_runpath
=no
10108 runpath_var
=LD_RUN_PATH
10116 shlibpath_overrides_runpath
=no
10117 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10123 if test -d /usr
/nec
;then
10125 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10126 soname_spec
='$libname${shared_ext}.$major'
10127 shlibpath_var
=LD_LIBRARY_PATH
10131 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10132 version_type
=freebsd-elf
10135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10136 soname_spec
='${libname}${release}${shared_ext}$major'
10137 shlibpath_var
=LD_LIBRARY_PATH
10138 shlibpath_overrides_runpath
=yes
10139 hardcode_into_libs
=yes
10140 if test "$with_gnu_ld" = yes; then
10141 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10143 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10146 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10150 sys_lib_dlsearch_path_spec
='/usr/lib'
10154 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10159 shlibpath_var
=LD_LIBRARY_PATH
10160 shlibpath_overrides_runpath
=no
10161 hardcode_into_libs
=yes
10166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10167 soname_spec
='${libname}${release}${shared_ext}$major'
10168 shlibpath_var
=LD_LIBRARY_PATH
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10176 $as_echo "$dynamic_linker" >&6; }
10177 test "$dynamic_linker" = no
&& can_build_shared
=no
10179 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10180 if test "$GCC" = yes; then
10181 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10184 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10185 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10187 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10188 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10283 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10285 if test -n "$hardcode_libdir_flag_spec" ||
10286 test -n "$runpath_var" ||
10287 test "X$hardcode_automatic" = "Xyes" ; then
10289 # We can hardcode non-existent directories.
10290 if test "$hardcode_direct" != no
&&
10291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10292 # have to relink, otherwise we might link with an installed library
10293 # when we should be linking with a yet-to-be-installed one
10294 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10295 test "$hardcode_minus_L" != no
; then
10296 # Linking always hardcodes the temporary library directory.
10297 hardcode_action
=relink
10299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10300 hardcode_action
=immediate
10303 # We cannot hardcode anything, or else we can only hardcode existing
10305 hardcode_action
=unsupported
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10308 $as_echo "$hardcode_action" >&6; }
10310 if test "$hardcode_action" = relink ||
10311 test "$inherit_rpath" = yes; then
10312 # Fast installation is not supported
10313 enable_fast_install
=no
10314 elif test "$shlibpath_overrides_runpath" = yes ||
10315 test "$enable_shared" = no
; then
10316 # Fast installation is not necessary
10317 enable_fast_install
=needless
10325 if test "x$enable_dlopen" != xyes
; then
10326 enable_dlopen
=unknown
10327 enable_dlopen_self
=unknown
10328 enable_dlopen_self_static
=unknown
10335 lt_cv_dlopen
="load_add_on"
10337 lt_cv_dlopen_self
=yes
10340 mingw
* | pw32
* | cegcc
*)
10341 lt_cv_dlopen
="LoadLibrary"
10346 lt_cv_dlopen
="dlopen"
10351 # if libdl is installed we need to link against it
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10353 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10354 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10355 $as_echo_n "(cached) " >&6
10357 ac_check_lib_save_LIBS
=$LIBS
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10377 if ac_fn_c_try_link
"$LINENO"; then :
10378 ac_cv_lib_dl_dlopen
=yes
10380 ac_cv_lib_dl_dlopen
=no
10382 rm -f core conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10384 LIBS
=$ac_check_lib_save_LIBS
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10388 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10389 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10392 lt_cv_dlopen
="dyld"
10394 lt_cv_dlopen_self
=yes
10401 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10402 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10403 lt_cv_dlopen
="shl_load"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10406 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10407 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10408 $as_echo_n "(cached) " >&6
10410 ac_check_lib_save_LIBS
=$LIBS
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10425 return shl_load ();
10430 if ac_fn_c_try_link
"$LINENO"; then :
10431 ac_cv_lib_dld_shl_load
=yes
10433 ac_cv_lib_dld_shl_load
=no
10435 rm -f core conftest.err conftest.
$ac_objext \
10436 conftest
$ac_exeext conftest.
$ac_ext
10437 LIBS
=$ac_check_lib_save_LIBS
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10440 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10441 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10442 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10444 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10445 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10446 lt_cv_dlopen
="dlopen"
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10449 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10450 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10451 $as_echo_n "(cached) " >&6
10453 ac_check_lib_save_LIBS
=$LIBS
10455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10473 if ac_fn_c_try_link
"$LINENO"; then :
10474 ac_cv_lib_dl_dlopen
=yes
10476 ac_cv_lib_dl_dlopen
=no
10478 rm -f core conftest.err conftest.
$ac_objext \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 LIBS
=$ac_check_lib_save_LIBS
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10483 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10484 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10485 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10488 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10489 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10490 $as_echo_n "(cached) " >&6
10492 ac_check_lib_save_LIBS
=$LIBS
10493 LIBS
="-lsvld $LIBS"
10494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10512 if ac_fn_c_try_link
"$LINENO"; then :
10513 ac_cv_lib_svld_dlopen
=yes
10515 ac_cv_lib_svld_dlopen
=no
10517 rm -f core conftest.err conftest.
$ac_objext \
10518 conftest
$ac_exeext conftest.
$ac_ext
10519 LIBS
=$ac_check_lib_save_LIBS
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10522 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10523 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10524 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10527 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10528 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10546 return dld_link ();
10551 if ac_fn_c_try_link
"$LINENO"; then :
10552 ac_cv_lib_dld_dld_link
=yes
10554 ac_cv_lib_dld_dld_link
=no
10556 rm -f core conftest.err conftest.
$ac_objext \
10557 conftest
$ac_exeext conftest.
$ac_ext
10558 LIBS
=$ac_check_lib_save_LIBS
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10561 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10562 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10563 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10584 if test "x$lt_cv_dlopen" != xno
; then
10590 case $lt_cv_dlopen in
10592 save_CPPFLAGS
="$CPPFLAGS"
10593 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10595 save_LDFLAGS
="$LDFLAGS"
10596 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10599 LIBS
="$lt_cv_dlopen_libs $LIBS"
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10602 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10603 if test "${lt_cv_dlopen_self+set}" = set; then :
10604 $as_echo_n "(cached) " >&6
10606 if test "$cross_compiling" = yes; then :
10607 lt_cv_dlopen_self
=cross
10609 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10610 lt_status
=$lt_dlunknown
10611 cat > conftest.
$ac_ext <<_LT_EOF
10612 #line $LINENO "configure"
10613 #include "confdefs.h"
10622 # define LT_DLGLOBAL RTLD_GLOBAL
10625 # define LT_DLGLOBAL DL_GLOBAL
10627 # define LT_DLGLOBAL 0
10631 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10632 find out it does not work in some platform. */
10633 #ifndef LT_DLLAZY_OR_NOW
10635 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10638 # define LT_DLLAZY_OR_NOW DL_LAZY
10641 # define LT_DLLAZY_OR_NOW RTLD_NOW
10644 # define LT_DLLAZY_OR_NOW DL_NOW
10646 # define LT_DLLAZY_OR_NOW 0
10653 /* When -fvisbility=hidden is used, assume the code has been annotated
10654 correspondingly for the symbols needed. */
10655 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10656 void fnord () __attribute__((visibility("default")));
10659 void fnord () { int i=42; }
10662 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10663 int status = $lt_dlunknown;
10667 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10670 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10671 else puts (dlerror ());
10673 /* dlclose (self); */
10681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10682 (eval $ac_link) 2>&5
10684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10685 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10686 (.
/conftest
; exit; ) >&5 2>/dev
/null
10688 case x
$lt_status in
10689 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10690 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10691 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10694 # compilation failed
10695 lt_cv_dlopen_self
=no
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10703 $as_echo "$lt_cv_dlopen_self" >&6; }
10705 if test "x$lt_cv_dlopen_self" = xyes
; then
10706 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10708 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10709 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10710 $as_echo_n "(cached) " >&6
10712 if test "$cross_compiling" = yes; then :
10713 lt_cv_dlopen_self_static
=cross
10715 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10716 lt_status
=$lt_dlunknown
10717 cat > conftest.
$ac_ext <<_LT_EOF
10718 #line $LINENO "configure"
10719 #include "confdefs.h"
10728 # define LT_DLGLOBAL RTLD_GLOBAL
10731 # define LT_DLGLOBAL DL_GLOBAL
10733 # define LT_DLGLOBAL 0
10737 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10738 find out it does not work in some platform. */
10739 #ifndef LT_DLLAZY_OR_NOW
10741 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10744 # define LT_DLLAZY_OR_NOW DL_LAZY
10747 # define LT_DLLAZY_OR_NOW RTLD_NOW
10750 # define LT_DLLAZY_OR_NOW DL_NOW
10752 # define LT_DLLAZY_OR_NOW 0
10759 /* When -fvisbility=hidden is used, assume the code has been annotated
10760 correspondingly for the symbols needed. */
10761 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10762 void fnord () __attribute__((visibility("default")));
10765 void fnord () { int i=42; }
10768 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10769 int status = $lt_dlunknown;
10773 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10776 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10777 else puts (dlerror ());
10779 /* dlclose (self); */
10787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10788 (eval $ac_link) 2>&5
10790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10791 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10792 (.
/conftest
; exit; ) >&5 2>/dev
/null
10794 case x
$lt_status in
10795 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10796 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10797 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10800 # compilation failed
10801 lt_cv_dlopen_self_static
=no
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10809 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10812 CPPFLAGS
="$save_CPPFLAGS"
10813 LDFLAGS
="$save_LDFLAGS"
10818 case $lt_cv_dlopen_self in
10819 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10820 *) enable_dlopen_self
=unknown
;;
10823 case $lt_cv_dlopen_self_static in
10824 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10825 *) enable_dlopen_self_static
=unknown
;;
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10848 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10849 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10850 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10851 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10853 $as_echo "yes" >&6; }
10855 # FIXME - insert some real tests, host_os isn't really good enough
10858 if test -n "$STRIP" ; then
10859 striplib
="$STRIP -x"
10860 old_striplib
="$STRIP -S"
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10862 $as_echo "yes" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10865 $as_echo "no" >&6; }
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10870 $as_echo "no" >&6; }
10886 # Report which library types will actually be built
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10888 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10890 $as_echo "$can_build_shared" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10893 $as_echo_n "checking whether to build shared libraries... " >&6; }
10894 test "$can_build_shared" = "no" && enable_shared
=no
10896 # On AIX, shared libraries and static libraries use the same namespace, and
10897 # are all built from PIC.
10900 test "$enable_shared" = yes && enable_static
=no
10901 if test -n "$RANLIB"; then
10902 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10903 postinstall_cmds
='$RANLIB $lib'
10908 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10909 test "$enable_shared" = yes && enable_static
=no
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10914 $as_echo "$enable_shared" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10917 $as_echo_n "checking whether to build static libraries... " >&6; }
10918 # Make sure either enable_shared or enable_static is yes.
10919 test "$enable_shared" = yes || enable_static
=yes
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10921 $as_echo "$enable_static" >&6; }
10928 ac_cpp
='$CPP $CPPFLAGS'
10929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10935 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10936 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10937 (test "X$CXX" != "Xg++"))) ; then
10939 ac_cpp
='$CXXCPP $CPPFLAGS'
10940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10944 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10945 if test -z "$CXXCPP"; then
10946 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10947 $as_echo_n "(cached) " >&6
10949 # Double quotes because CXXCPP needs to be expanded
10950 for CXXCPP
in "$CXX -E" "/lib/cpp"
10952 ac_preproc_ok
=false
10953 for ac_cxx_preproc_warn_flag
in '' yes
10955 # Use a header file that comes with gcc, so configuring glibc
10956 # with a fresh cross-compiler works.
10957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10958 # <limits.h> exists even on freestanding compilers.
10959 # On the NeXT, cc -E runs the code through the compiler's parser,
10960 # not just through cpp. "Syntax error" is here to catch this case.
10961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 # include <limits.h>
10966 # include <assert.h>
10970 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10973 # Broken: fails on valid input.
10976 rm -f conftest.err conftest.i conftest.
$ac_ext
10978 # OK, works on sane cases. Now check whether nonexistent headers
10979 # can be detected and how.
10980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 #include <ac_nonexistent.h>
10984 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10985 # Broken: success on invalid input.
10988 # Passes both tests.
10992 rm -f conftest.err conftest.i conftest.
$ac_ext
10995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10996 rm -f conftest.i conftest.err conftest.
$ac_ext
10997 if $ac_preproc_ok; then :
11002 ac_cv_prog_CXXCPP
=$CXXCPP
11005 CXXCPP
=$ac_cv_prog_CXXCPP
11007 ac_cv_prog_CXXCPP
=$CXXCPP
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11010 $as_echo "$CXXCPP" >&6; }
11011 ac_preproc_ok
=false
11012 for ac_cxx_preproc_warn_flag
in '' yes
11014 # Use a header file that comes with gcc, so configuring glibc
11015 # with a fresh cross-compiler works.
11016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11017 # <limits.h> exists even on freestanding compilers.
11018 # On the NeXT, cc -E runs the code through the compiler's parser,
11019 # not just through cpp. "Syntax error" is here to catch this case.
11020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 # include <limits.h>
11025 # include <assert.h>
11029 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11032 # Broken: fails on valid input.
11035 rm -f conftest.err conftest.i conftest.
$ac_ext
11037 # OK, works on sane cases. Now check whether nonexistent headers
11038 # can be detected and how.
11039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */
11041 #include <ac_nonexistent.h>
11043 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11044 # Broken: success on invalid input.
11047 # Passes both tests.
11051 rm -f conftest.err conftest.i conftest.
$ac_ext
11054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11055 rm -f conftest.i conftest.err conftest.
$ac_ext
11056 if $ac_preproc_ok; then :
11059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11061 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11062 See \`config.log' for more details" "$LINENO" 5; }
11066 ac_cpp
='$CPP $CPPFLAGS'
11067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11072 _lt_caught_CXX_error
=yes
11076 ac_cpp
='$CXXCPP $CPPFLAGS'
11077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11081 archive_cmds_need_lc_CXX
=no
11082 allow_undefined_flag_CXX
=
11083 always_export_symbols_CXX
=no
11084 archive_expsym_cmds_CXX
=
11085 compiler_needs_object_CXX
=no
11086 export_dynamic_flag_spec_CXX
=
11087 hardcode_direct_CXX
=no
11088 hardcode_direct_absolute_CXX
=no
11089 hardcode_libdir_flag_spec_CXX
=
11090 hardcode_libdir_flag_spec_ld_CXX
=
11091 hardcode_libdir_separator_CXX
=
11092 hardcode_minus_L_CXX
=no
11093 hardcode_shlibpath_var_CXX
=unsupported
11094 hardcode_automatic_CXX
=no
11095 inherit_rpath_CXX
=no
11097 module_expsym_cmds_CXX
=
11098 link_all_deplibs_CXX
=unknown
11099 old_archive_cmds_CXX
=$old_archive_cmds
11100 reload_flag_CXX
=$reload_flag
11101 reload_cmds_CXX
=$reload_cmds
11102 no_undefined_flag_CXX
=
11103 whole_archive_flag_spec_CXX
=
11104 enable_shared_with_static_runtimes_CXX
=no
11106 # Source file extension for C++ test sources.
11109 # Object file extension for compiled C++ test sources.
11113 # No sense in running all these tests if we already determined that
11114 # the CXX compiler isn't working. Some variables (like enable_shared)
11115 # are currently assumed to apply to all compilers on this platform,
11116 # and will be corrupted by setting them based on a non-working compiler.
11117 if test "$_lt_caught_CXX_error" != yes; then
11118 # Code to be used in simple compile tests
11119 lt_simple_compile_test_code
="int some_variable = 0;"
11121 # Code to be used in simple link tests
11122 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11124 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11131 # If no C compiler was specified, use CC.
11134 # If no C compiler flags were specified, use CFLAGS.
11135 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11137 # Allow CC to be a program name with arguments.
11141 # save warnings/boilerplate of simple test code
11142 ac_outfile
=conftest.
$ac_objext
11143 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11144 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11145 _lt_compiler_boilerplate
=`cat conftest.err`
11148 ac_outfile
=conftest.
$ac_objext
11149 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11150 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11151 _lt_linker_boilerplate
=`cat conftest.err`
11155 # Allow CC to be a program name with arguments.
11160 lt_save_with_gnu_ld
=$with_gnu_ld
11161 lt_save_path_LD
=$lt_cv_path_LD
11162 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11163 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11165 $as_unset lt_cv_prog_gnu_ld
11167 if test -n "${lt_cv_path_LDCXX+set}"; then
11168 lt_cv_path_LD
=$lt_cv_path_LDCXX
11170 $as_unset lt_cv_path_LD
11172 test -z "${LDCXX+set}" || LD
=$LDCXX
11176 for cc_temp
in $compiler""; do
11178 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11179 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11184 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11187 if test -n "$compiler"; then
11188 # We don't want -fno-exception when compiling C++ code, so set the
11189 # no_builtin_flag separately
11190 if test "$GXX" = yes; then
11191 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11193 lt_prog_compiler_no_builtin_flag_CXX
=
11196 if test "$GXX" = yes; then
11197 # Set up default GNU C++ configuration
11201 # Check whether --with-gnu-ld was given.
11202 if test "${with_gnu_ld+set}" = set; then :
11203 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11209 if test "$GCC" = yes; then
11210 # Check if gcc -print-prog-name=ld gives a path.
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11212 $as_echo_n "checking for ld used by $CC... " >&6; }
11215 # gcc leaves a trailing carriage return which upsets mingw
11216 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11218 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11221 # Accept absolute paths.
11223 re_direlt
='/[^/][^/]*/\.\./'
11224 # Canonicalize the pathname of ld
11225 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11226 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11227 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11229 test -z "$LD" && LD
="$ac_prog"
11232 # If it fails, then pretend we aren't using GCC.
11236 # If it is relative, then search for the first ld in PATH.
11237 with_gnu_ld
=unknown
11240 elif test "$with_gnu_ld" = yes; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11242 $as_echo_n "checking for GNU ld... " >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11245 $as_echo_n "checking for non-GNU ld... " >&6; }
11247 if test "${lt_cv_path_LD+set}" = set; then :
11248 $as_echo_n "(cached) " >&6
11250 if test -z "$LD"; then
11251 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11252 for ac_dir
in $PATH; do
11254 test -z "$ac_dir" && ac_dir
=.
11255 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11256 lt_cv_path_LD
="$ac_dir/$ac_prog"
11257 # Check to see if the program is GNU ld. I'd rather use --version,
11258 # but apparently some variants of GNU ld only accept -v.
11259 # Break only if it was the GNU/non-GNU ld that we prefer.
11260 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11261 *GNU
* |
*'with BFD'*)
11262 test "$with_gnu_ld" != no
&& break
11265 test "$with_gnu_ld" != yes && break
11272 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11276 LD
="$lt_cv_path_LD"
11277 if test -n "$LD"; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11279 $as_echo "$LD" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282 $as_echo "no" >&6; }
11284 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11286 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11287 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11288 $as_echo_n "(cached) " >&6
11290 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11291 case `$LD -v 2>&1 </dev/null` in
11292 *GNU
* |
*'with BFD'*)
11293 lt_cv_prog_gnu_ld
=yes
11296 lt_cv_prog_gnu_ld
=no
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11301 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11302 with_gnu_ld
=$lt_cv_prog_gnu_ld
11310 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11311 # archiving commands below assume that GNU ld is being used.
11312 if test "$with_gnu_ld" = yes; then
11313 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11314 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11316 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11317 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11319 # If archive_cmds runs LD, not CC, wlarc should be empty
11320 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11321 # investigate it a little bit more. (MM)
11324 # ancient GNU ld didn't support --whole-archive et. al.
11325 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11326 $GREP 'no-whole-archive' > /dev
/null
; then
11327 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11329 whole_archive_flag_spec_CXX
=
11335 # A generic and very simple default shared library creation
11336 # command for GNU C++ for the case where it uses the native
11337 # linker, instead of GNU ld. If possible, this setting should
11338 # overridden to take advantage of the native linker features on
11339 # the platform it is being used on.
11340 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11343 # Commands to make compiler produce verbose output that lists
11344 # what "hidden" libraries, object files and flags are used when
11345 # linking a shared library.
11346 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11354 # PORTME: fill in a description of your system's C++ link characteristics
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11356 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11360 # FIXME: insert proper C++ library support
11364 if test "$host_cpu" = ia64
; then
11365 # On IA64, the linker does run time linking by default, so we don't
11366 # have to do anything special.
11367 aix_use_runtimelinking
=no
11368 exp_sym_flag
='-Bexport'
11371 aix_use_runtimelinking
=no
11373 # Test if we are trying to use run time linking or normal
11374 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11375 # need to do runtime linking.
11376 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11377 for ld_flag
in $LDFLAGS; do
11380 aix_use_runtimelinking
=yes
11388 exp_sym_flag
='-bexport'
11389 no_entry_flag
='-bnoentry'
11392 # When large executables or shared objects are built, AIX ld can
11393 # have problems creating the table of contents. If linking a library
11394 # or program results in "error TOC overflow" add -mminimal-toc to
11395 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11396 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11398 archive_cmds_CXX
=''
11399 hardcode_direct_CXX
=yes
11400 hardcode_direct_absolute_CXX
=yes
11401 hardcode_libdir_separator_CXX
=':'
11402 link_all_deplibs_CXX
=yes
11403 file_list_spec_CXX
='${wl}-f,'
11405 if test "$GXX" = yes; then
11406 case $host_os in aix4.
[012]|aix4.
[012].
*)
11407 # We only want to do this on AIX 4.2 and lower, the check
11408 # below for broken collect2 doesn't work under 4.3+
11409 collect2name
=`${CC} -print-prog-name=collect2`
11410 if test -f "$collect2name" &&
11411 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11413 # We have reworked collect2
11416 # We have old collect2
11417 hardcode_direct_CXX
=unsupported
11418 # It fails to find uninstalled libraries when the uninstalled
11419 # path is not listed in the libpath. Setting hardcode_minus_L
11420 # to unsupported forces relinking
11421 hardcode_minus_L_CXX
=yes
11422 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11423 hardcode_libdir_separator_CXX
=
11426 shared_flag
='-shared'
11427 if test "$aix_use_runtimelinking" = yes; then
11428 shared_flag
="$shared_flag "'${wl}-G'
11432 if test "$host_cpu" = ia64
; then
11433 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11434 # chokes on -Wl,-G. The following line is correct:
11437 if test "$aix_use_runtimelinking" = yes; then
11438 shared_flag
='${wl}-G'
11440 shared_flag
='${wl}-bM:SRE'
11445 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11446 # It seems that -bexpall does not export symbols beginning with
11447 # underscore (_), so it is better to generate a list of symbols to
11449 always_export_symbols_CXX
=yes
11450 if test "$aix_use_runtimelinking" = yes; then
11451 # Warning - without using the other runtime loading flags (-brtl),
11452 # -berok will link without error, but may produce a broken library.
11453 allow_undefined_flag_CXX
='-berok'
11454 # Determine the default libpath from the value encoded in an empty
11456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11467 if ac_fn_cxx_try_link
"$LINENO"; then :
11469 lt_aix_libpath_sed
='
11470 /Import File Strings/,/^$/ {
11476 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11477 # Check for a 64-bit object if we didn't find anything.
11478 if test -z "$aix_libpath"; then
11479 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11482 rm -f core conftest.err conftest.
$ac_objext \
11483 conftest
$ac_exeext conftest.
$ac_ext
11484 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11486 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11488 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"
11490 if test "$host_cpu" = ia64
; then
11491 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11492 allow_undefined_flag_CXX
="-z nodefs"
11493 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"
11495 # Determine the default libpath from the value encoded in an
11496 # empty executable.
11497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11508 if ac_fn_cxx_try_link
"$LINENO"; then :
11510 lt_aix_libpath_sed
='
11511 /Import File Strings/,/^$/ {
11517 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11518 # Check for a 64-bit object if we didn't find anything.
11519 if test -z "$aix_libpath"; then
11520 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11523 rm -f core conftest.err conftest.
$ac_objext \
11524 conftest
$ac_exeext conftest.
$ac_ext
11525 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11527 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11528 # Warning - without using the other run time loading flags,
11529 # -berok will link without error, but may produce a broken library.
11530 no_undefined_flag_CXX
=' ${wl}-bernotok'
11531 allow_undefined_flag_CXX
=' ${wl}-berok'
11532 if test "$with_gnu_ld" = yes; then
11533 # We only use this code for GNU lds that support --whole-archive.
11534 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11536 # Exported symbols can be pulled into shared objects from archives
11537 whole_archive_flag_spec_CXX
='$convenience'
11539 archive_cmds_need_lc_CXX
=yes
11540 # This is similar to how AIX traditionally builds its shared
11542 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'
11548 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11549 allow_undefined_flag_CXX
=unsupported
11550 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11551 # support --undefined. This deserves some investigation. FIXME
11552 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11559 case $cc_basename in
11561 # FIXME: insert proper C++ library support
11567 cygwin
* | mingw
* | pw32
* | cegcc
*)
11568 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11569 # as there is no search path for DLLs.
11570 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11571 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
11572 allow_undefined_flag_CXX
=unsupported
11573 always_export_symbols_CXX
=no
11574 enable_shared_with_static_runtimes_CXX
=yes
11576 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11577 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'
11578 # If the export-symbols file already is a .def file (1st line
11579 # is EXPORTS), use it as is; otherwise, prepend...
11580 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11581 cp $export_symbols $output_objdir/$soname.def;
11583 echo EXPORTS > $output_objdir/$soname.def;
11584 cat $export_symbols >> $output_objdir/$soname.def;
11586 $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'
11591 darwin
* | rhapsody
*)
11594 archive_cmds_need_lc_CXX
=no
11595 hardcode_direct_CXX
=no
11596 hardcode_automatic_CXX
=yes
11597 hardcode_shlibpath_var_CXX
=unsupported
11598 if test "$lt_cv_ld_force_load" = "yes"; then
11599 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\"`'
11601 whole_archive_flag_spec_CXX
=''
11603 link_all_deplibs_CXX
=yes
11604 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11605 case $cc_basename in
11606 ifort
*) _lt_dar_can_shared
=yes ;;
11607 *) _lt_dar_can_shared
=$GCC ;;
11609 if test "$_lt_dar_can_shared" = "yes"; then
11610 output_verbose_link_cmd
=func_echo_all
11611 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}"
11612 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11613 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}"
11614 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}"
11615 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11616 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}"
11617 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}"
11627 case $cc_basename in
11629 # FIXME: insert proper C++ library support
11633 # Green Hills C++ Compiler
11634 # FIXME: insert proper C++ library support
11638 # FIXME: insert proper C++ library support
11645 # C++ shared libraries reported to be fairly broken before
11651 archive_cmds_need_lc_CXX
=no
11654 freebsd
* | dragonfly
*)
11655 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11664 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11665 link_all_deplibs_CXX
=yes
11669 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11670 hardcode_libdir_separator_CXX
=:
11671 export_dynamic_flag_spec_CXX
='${wl}-E'
11672 hardcode_direct_CXX
=yes
11673 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11674 # but as the default
11675 # location of the library.
11677 case $cc_basename in
11679 # FIXME: insert proper C++ library support
11683 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'
11684 # Commands to make compiler produce verbose output that lists
11685 # what "hidden" libraries, object files and flags are used when
11686 # linking a shared library.
11688 # There doesn't appear to be a way to prevent this compiler from
11689 # explicitly linking system object files so we need to strip them
11690 # from the output so that they don't get included in the library
11692 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"'
11695 if test "$GXX" = yes; then
11696 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'
11698 # FIXME: insert proper C++ library support
11706 if test $with_gnu_ld = no
; then
11707 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11708 hardcode_libdir_separator_CXX
=:
11714 export_dynamic_flag_spec_CXX
='${wl}-E'
11720 hardcode_direct_CXX
=no
11721 hardcode_shlibpath_var_CXX
=no
11724 hardcode_direct_CXX
=yes
11725 hardcode_direct_absolute_CXX
=yes
11726 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11727 # but as the default
11728 # location of the library.
11732 case $cc_basename in
11734 # FIXME: insert proper C++ library support
11740 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11743 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11746 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11749 # Commands to make compiler produce verbose output that lists
11750 # what "hidden" libraries, object files and flags are used when
11751 # linking a shared library.
11753 # There doesn't appear to be a way to prevent this compiler from
11754 # explicitly linking system object files so we need to strip them
11755 # from the output so that they don't get included in the library
11757 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"'
11760 if test "$GXX" = yes; then
11761 if test $with_gnu_ld = no
; then
11764 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11767 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11770 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'
11775 # FIXME: insert proper C++ library support
11783 hardcode_direct_CXX
=no
11784 hardcode_shlibpath_var_CXX
=no
11785 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11786 export_dynamic_flag_spec_CXX
='${wl}-E'
11787 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11788 # Instead, shared libraries are loaded at an image base (0x10000000 by
11789 # default) and relocated if they conflict, which is a slow very memory
11790 # consuming and fragmenting process. To avoid this, we pick a random,
11791 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11792 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11793 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'
11794 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'
11797 case $cc_basename in
11800 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'
11802 # Archives containing C++ object files must be created using
11803 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11804 # necessary to make sure instantiated templates are included
11806 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11809 if test "$GXX" = yes; then
11810 if test "$with_gnu_ld" = no
; then
11811 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'
11813 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'
11816 link_all_deplibs_CXX
=yes
11819 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11820 hardcode_libdir_separator_CXX
=:
11821 inherit_rpath_CXX
=yes
11824 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11825 case $cc_basename in
11827 # Kuck and Associates, Inc. (KAI) C++ Compiler
11829 # KCC will only create a shared library if the output file
11830 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11831 # to its proper name (with version) after linking.
11832 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'
11833 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'
11834 # Commands to make compiler produce verbose output that lists
11835 # what "hidden" libraries, object files and flags are used when
11836 # linking a shared library.
11838 # There doesn't appear to be a way to prevent this compiler from
11839 # explicitly linking system object files so we need to strip them
11840 # from the output so that they don't get included in the library
11842 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"'
11844 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11845 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11847 # Archives containing C++ object files must be created using
11848 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11849 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11854 # version 8.0 and above of icpc choke on multiply defined symbols
11855 # if we add $predep_objects and $postdep_objects, however 7.1 and
11856 # earlier do not add the objects themselves.
11857 case `$CC -V 2>&1` in
11859 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11860 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'
11862 *) # Version 8.0 or newer
11865 ia64
*) tmp_idyn
=' -i_dynamic';;
11867 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11868 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'
11871 archive_cmds_need_lc_CXX
=no
11872 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11873 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11874 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11877 # Portland Group C++ compiler
11879 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
11880 prelink_cmds_CXX
='tpldir=Template.dir~
11882 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11883 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
11884 old_archive_cmds_CXX
='tpldir=Template.dir~
11886 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11887 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
11889 archive_cmds_CXX
='tpldir=Template.dir~
11891 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11892 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11893 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11898 *) # Version 6 and above use weak symbols
11899 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11900 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'
11904 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11905 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11906 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'
11910 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11911 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'
11913 runpath_var
=LD_RUN_PATH
11914 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11915 hardcode_libdir_separator_CXX
=:
11917 # Commands to make compiler produce verbose output that lists
11918 # what "hidden" libraries, object files and flags are used when
11919 # linking a shared library.
11921 # There doesn't appear to be a way to prevent this compiler from
11922 # explicitly linking system object files so we need to strip them
11923 # from the output so that they don't get included in the library
11925 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'
11927 xl
* | mpixl
* | bgxl
*)
11928 # IBM XL 8.0 on PPC, with GNU ld
11929 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11930 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11931 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11932 if test "x$supports_anon_versioning" = xyes
; then
11933 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11935 echo "local: *; };" >> $output_objdir/$libname.ver~
11936 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11940 case `$CC -V 2>&1 | sed 5q` in
11943 no_undefined_flag_CXX
=' -zdefs'
11944 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11945 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'
11946 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11947 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'
11948 compiler_needs_object_CXX
=yes
11950 # Not sure whether something based on
11951 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11953 output_verbose_link_cmd
='func_echo_all'
11955 # Archives containing C++ object files must be created using
11956 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11957 # necessary to make sure instantiated templates are included
11959 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11967 # FIXME: insert proper C++ library support
11972 # FIXME: insert proper C++ library support
11977 case $cc_basename in
11979 # FIXME: insert proper C++ library support
11983 # FIXME: insert proper C++ library support
11990 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11991 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11993 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11994 hardcode_direct_CXX
=yes
11995 hardcode_shlibpath_var_CXX
=no
11997 # Workaround some broken pre-1.5 toolchains
11998 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12006 # C++ shared libraries are fairly broken
12011 if test -f /usr
/libexec
/ld.so
; then
12012 hardcode_direct_CXX
=yes
12013 hardcode_shlibpath_var_CXX
=no
12014 hardcode_direct_absolute_CXX
=yes
12015 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12016 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12017 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12018 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12019 export_dynamic_flag_spec_CXX
='${wl}-E'
12020 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12022 output_verbose_link_cmd
=func_echo_all
12028 osf3
* | osf4
* | osf5
*)
12029 case $cc_basename in
12031 # Kuck and Associates, Inc. (KAI) C++ Compiler
12033 # KCC will only create a shared library if the output file
12034 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12035 # to its proper name (with version) after linking.
12036 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'
12038 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12039 hardcode_libdir_separator_CXX
=:
12041 # Archives containing C++ object files must be created using
12042 # the KAI C++ compiler.
12044 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12045 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12049 # Rational C++ 2.4.1
12050 # FIXME: insert proper C++ library support
12056 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12057 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'
12058 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12061 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12062 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'
12063 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12064 echo "-hidden">> $lib.exp~
12065 $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~
12067 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12071 hardcode_libdir_separator_CXX
=:
12073 # Commands to make compiler produce verbose output that lists
12074 # what "hidden" libraries, object files and flags are used when
12075 # linking a shared library.
12077 # There doesn't appear to be a way to prevent this compiler from
12078 # explicitly linking system object files so we need to strip them
12079 # from the output so that they don't get included in the library
12081 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"'
12084 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12085 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12088 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'
12091 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'
12095 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12096 hardcode_libdir_separator_CXX
=:
12098 # Commands to make compiler produce verbose output that lists
12099 # what "hidden" libraries, object files and flags are used when
12100 # linking a shared library.
12101 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12104 # FIXME: insert proper C++ library support
12112 # FIXME: insert proper C++ library support
12117 case $cc_basename in
12120 # FIXME: insert proper C++ library support
12125 # FIXME: insert proper C++ library support
12129 # FIXME: insert proper C++ library support
12136 case $cc_basename in
12138 # Sun C++ 4.2, 5.x and Centerline C++
12139 archive_cmds_need_lc_CXX
=yes
12140 no_undefined_flag_CXX
=' -zdefs'
12141 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12142 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12143 $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'
12145 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12146 hardcode_shlibpath_var_CXX
=no
12148 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12150 # The compiler driver will combine and reorder linker options,
12151 # but understands `-z linker_flag'.
12152 # Supported since Solaris 2.6 (maybe 2.5.1?)
12153 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12156 link_all_deplibs_CXX
=yes
12158 output_verbose_link_cmd
='func_echo_all'
12160 # Archives containing C++ object files must be created using
12161 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12162 # necessary to make sure instantiated templates are included
12164 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12167 # Green Hills C++ Compiler
12168 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12170 # The C++ compiler must be used to create the archive.
12171 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12174 # GNU C++ compiler with Solaris linker
12175 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12176 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12177 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12178 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12179 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12180 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12182 # Commands to make compiler produce verbose output that lists
12183 # what "hidden" libraries, object files and flags are used when
12184 # linking a shared library.
12185 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12187 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12189 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12190 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12191 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12193 # Commands to make compiler produce verbose output that lists
12194 # what "hidden" libraries, object files and flags are used when
12195 # linking a shared library.
12196 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12199 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12203 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12211 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12212 no_undefined_flag_CXX
='${wl}-z,text'
12213 archive_cmds_need_lc_CXX
=no
12214 hardcode_shlibpath_var_CXX
=no
12215 runpath_var
='LD_RUN_PATH'
12217 case $cc_basename in
12219 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12220 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12223 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12224 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12229 sysv5
* | sco3.2v5
* | sco5v6
*)
12230 # Note: We can NOT use -z defs as we might desire, because we do not
12231 # link with -lc, and that would cause any symbols used from libc to
12232 # always be unresolved, which means just about no library would
12233 # ever link correctly. If we're not using GNU ld we use -z text
12234 # though, which does catch some bad symbols but isn't as heavy-handed
12236 no_undefined_flag_CXX
='${wl}-z,text'
12237 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12238 archive_cmds_need_lc_CXX
=no
12239 hardcode_shlibpath_var_CXX
=no
12240 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12241 hardcode_libdir_separator_CXX
=':'
12242 link_all_deplibs_CXX
=yes
12243 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12244 runpath_var
='LD_RUN_PATH'
12246 case $cc_basename in
12248 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12249 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12250 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12251 '"$old_archive_cmds_CXX"
12252 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12253 '"$reload_cmds_CXX"
12256 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12257 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12263 case $cc_basename in
12265 # NonStop-UX NCC 3.20
12266 # FIXME: insert proper C++ library support
12270 # FIXME: insert proper C++ library support
12277 # FIXME: insert proper C++ library support
12282 # FIXME: insert proper C++ library support
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12288 $as_echo "$ld_shlibs_CXX" >&6; }
12289 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12295 ## There is no encapsulation within the following macros, do not change
12296 ## the running order or otherwise move them around unless you know exactly
12297 ## what you are doing...
12298 # Dependencies to place before and after the object being linked:
12299 predep_objects_CXX
=
12300 postdep_objects_CXX
=
12303 compiler_lib_search_path_CXX
=
12305 cat > conftest.
$ac_ext <<_LT_EOF
12309 Foo (void) { a = 0; }
12315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12316 (eval $ac_compile) 2>&5
12318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12319 test $ac_status = 0; }; then
12320 # Parse the compiler output and extract the necessary
12321 # objects, libraries and library flags.
12323 # Sentinel used to keep track of whether or not we are before
12324 # the conftest object file.
12325 pre_test_object_deps_done
=no
12327 for p
in `eval "$output_verbose_link_cmd"`; do
12331 # Some compilers place space between "-{L,R}" and the path.
12332 # Remove the space.
12333 if test $p = "-L" ||
12334 test $p = "-R"; then
12341 if test "$pre_test_object_deps_done" = no
; then
12344 # Internal compiler library paths should come after those
12345 # provided the user. The postdeps already come after the
12346 # user supplied libs so there is no need to process them.
12347 if test -z "$compiler_lib_search_path_CXX"; then
12348 compiler_lib_search_path_CXX
="${prev}${p}"
12350 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12353 # The "-l" case would never come before the object being
12354 # linked, so don't bother handling this case.
12357 if test -z "$postdeps_CXX"; then
12358 postdeps_CXX
="${prev}${p}"
12360 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12366 # This assumes that the test object file only shows up
12367 # once in the compiler output.
12368 if test "$p" = "conftest.$objext"; then
12369 pre_test_object_deps_done
=yes
12373 if test "$pre_test_object_deps_done" = no
; then
12374 if test -z "$predep_objects_CXX"; then
12375 predep_objects_CXX
="$p"
12377 predep_objects_CXX
="$predep_objects_CXX $p"
12380 if test -z "$postdep_objects_CXX"; then
12381 postdep_objects_CXX
="$p"
12383 postdep_objects_CXX
="$postdep_objects_CXX $p"
12388 *) ;; # Ignore the rest.
12396 echo "libtool.m4: error: problem compiling CXX test program"
12399 $RM -f confest.
$objext
12401 # PORTME: override above test on systems where it is broken
12404 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12405 # hack all around it, let's just trust "g++" to DTRT.
12406 predep_objects_CXX
=
12407 postdep_objects_CXX
=
12412 case `$CC -V 2>&1 | sed 5q` in
12416 # The more standards-conforming stlport4 library is
12417 # incompatible with the Cstd library. Avoid specifying
12418 # it if it's in CXXFLAGS. Ignore libCrun as
12419 # -library=stlport4 depends on it.
12420 case " $CXX $CXXFLAGS " in
12421 *" -library=stlport4 "*)
12422 solaris_use_stlport4
=yes
12426 if test "$solaris_use_stlport4" != yes; then
12427 postdeps_CXX
='-library=Cstd -library=Crun'
12434 case $cc_basename in
12436 # The more standards-conforming stlport4 library is
12437 # incompatible with the Cstd library. Avoid specifying
12438 # it if it's in CXXFLAGS. Ignore libCrun as
12439 # -library=stlport4 depends on it.
12440 case " $CXX $CXXFLAGS " in
12441 *" -library=stlport4 "*)
12442 solaris_use_stlport4
=yes
12446 # Adding this requires a known-good setup of shared libraries for
12447 # Sun compiler versions before 5.6, else PIC objects from an old
12448 # archive will be linked into the output, leading to subtle bugs.
12449 if test "$solaris_use_stlport4" != yes; then
12450 postdeps_CXX
='-library=Cstd -library=Crun'
12458 case " $postdeps_CXX " in
12459 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12461 compiler_lib_search_dirs_CXX
=
12462 if test -n "${compiler_lib_search_path_CXX}"; then
12463 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12496 lt_prog_compiler_wl_CXX
=
12497 lt_prog_compiler_pic_CXX
=
12498 lt_prog_compiler_static_CXX
=
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12503 # C++ specific cases for pic, static, wl, etc.
12504 if test "$GXX" = yes; then
12505 lt_prog_compiler_wl_CXX
='-Wl,'
12506 lt_prog_compiler_static_CXX
='-static'
12510 # All AIX code is PIC.
12511 if test "$host_cpu" = ia64
; then
12512 # AIX 5 now supports IA64 processor
12513 lt_prog_compiler_static_CXX
='-Bstatic'
12520 # see comment about AmigaOS4 .so support
12521 lt_prog_compiler_pic_CXX
='-fPIC'
12524 # FIXME: we need at least 68020 code to build shared libraries, but
12525 # adding the `-m68020' flag to GCC prevents building anything better,
12527 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12532 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12533 # PIC is the default for these OSes.
12535 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12536 # This hack is so that the source file can tell whether it is being
12537 # built for inclusion in a dll (and should export symbols for example).
12538 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12539 # (--disable-auto-import) libraries
12540 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12542 darwin
* | rhapsody
*)
12543 # PIC is the default on this platform
12544 # Common symbols not allowed in MH_DYLIB files
12545 lt_prog_compiler_pic_CXX
='-fno-common'
12548 # DJGPP does not support shared libraries at all
12549 lt_prog_compiler_pic_CXX
=
12552 # PIC is the default for Haiku.
12553 # The "-static" flag exists, but is broken.
12554 lt_prog_compiler_static_CXX
=
12557 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12558 # Instead, we relocate shared libraries at runtime.
12561 if test -d /usr
/nec
; then
12562 lt_prog_compiler_pic_CXX
=-Kconform_pic
12566 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12567 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12568 # sets the default TLS model and affects inlining.
12573 lt_prog_compiler_pic_CXX
='-fPIC'
12578 # QNX uses GNU C++, but need to define -shared option too, otherwise
12579 # it will coredump.
12580 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12583 lt_prog_compiler_pic_CXX
='-fPIC'
12589 # All AIX code is PIC.
12590 if test "$host_cpu" = ia64
; then
12591 # AIX 5 now supports IA64 processor
12592 lt_prog_compiler_static_CXX
='-Bstatic'
12594 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12598 case $cc_basename in
12600 # Green Hills C++ Compiler
12601 # _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"
12606 case $cc_basename in
12608 lt_prog_compiler_pic_CXX
='-KPIC'
12611 # Green Hills C++ Compiler
12612 lt_prog_compiler_pic_CXX
='-pic'
12618 freebsd
* | dragonfly
*)
12619 # FreeBSD uses GNU C++
12621 hpux9
* | hpux10
* | hpux11
*)
12622 case $cc_basename in
12624 lt_prog_compiler_wl_CXX
='-Wl,'
12625 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12626 if test "$host_cpu" != ia64
; then
12627 lt_prog_compiler_pic_CXX
='+Z'
12631 lt_prog_compiler_wl_CXX
='-Wl,'
12632 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12638 lt_prog_compiler_pic_CXX
='+Z'
12647 # This is c89, which is MS Visual C++ (no shared libs)
12648 # Anyone wants to do a port?
12650 irix5
* | irix6
* | nonstopux
*)
12651 case $cc_basename in
12653 lt_prog_compiler_wl_CXX
='-Wl,'
12654 lt_prog_compiler_static_CXX
='-non_shared'
12655 # CC pic flag -KPIC is the default.
12661 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12662 case $cc_basename in
12665 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12666 lt_prog_compiler_pic_CXX
='-fPIC'
12669 # old Intel C++ for x86_64 which still supported -KPIC.
12670 lt_prog_compiler_wl_CXX
='-Wl,'
12671 lt_prog_compiler_pic_CXX
='-KPIC'
12672 lt_prog_compiler_static_CXX
='-static'
12675 # Intel C++, used to be incompatible with GCC.
12676 # ICC 10 doesn't accept -KPIC any more.
12677 lt_prog_compiler_wl_CXX
='-Wl,'
12678 lt_prog_compiler_pic_CXX
='-fPIC'
12679 lt_prog_compiler_static_CXX
='-static'
12682 # Portland Group C++ compiler
12683 lt_prog_compiler_wl_CXX
='-Wl,'
12684 lt_prog_compiler_pic_CXX
='-fpic'
12685 lt_prog_compiler_static_CXX
='-Bstatic'
12689 # Make sure the PIC flag is empty. It appears that all Alpha
12690 # Linux and Compaq Tru64 Unix objects are PIC.
12691 lt_prog_compiler_pic_CXX
=
12692 lt_prog_compiler_static_CXX
='-non_shared'
12694 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
12695 # IBM XL 8.0, 9.0 on PPC and BlueGene
12696 lt_prog_compiler_wl_CXX
='-Wl,'
12697 lt_prog_compiler_pic_CXX
='-qpic'
12698 lt_prog_compiler_static_CXX
='-qstaticlink'
12701 case `$CC -V 2>&1 | sed 5q` in
12704 lt_prog_compiler_pic_CXX
='-KPIC'
12705 lt_prog_compiler_static_CXX
='-Bstatic'
12706 lt_prog_compiler_wl_CXX
='-Qoption ld '
12717 case $cc_basename in
12719 lt_prog_compiler_pic_CXX
='-W c,exportall'
12728 # QNX uses GNU C++, but need to define -shared option too, otherwise
12729 # it will coredump.
12730 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12732 osf3
* | osf4
* | osf5
*)
12733 case $cc_basename in
12735 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12738 # Rational C++ 2.4.1
12739 lt_prog_compiler_pic_CXX
='-pic'
12742 # Digital/Compaq C++
12743 lt_prog_compiler_wl_CXX
='-Wl,'
12744 # Make sure the PIC flag is empty. It appears that all Alpha
12745 # Linux and Compaq Tru64 Unix objects are PIC.
12746 lt_prog_compiler_pic_CXX
=
12747 lt_prog_compiler_static_CXX
='-non_shared'
12756 case $cc_basename in
12758 # Sun C++ 4.2, 5.x and Centerline C++
12759 lt_prog_compiler_pic_CXX
='-KPIC'
12760 lt_prog_compiler_static_CXX
='-Bstatic'
12761 lt_prog_compiler_wl_CXX
='-Qoption ld '
12764 # Green Hills C++ Compiler
12765 lt_prog_compiler_pic_CXX
='-PIC'
12772 case $cc_basename in
12775 lt_prog_compiler_pic_CXX
='-pic'
12776 lt_prog_compiler_static_CXX
='-Bstatic'
12780 lt_prog_compiler_pic_CXX
='-pic'
12786 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12787 case $cc_basename in
12789 lt_prog_compiler_wl_CXX
='-Wl,'
12790 lt_prog_compiler_pic_CXX
='-KPIC'
12791 lt_prog_compiler_static_CXX
='-Bstatic'
12796 case $cc_basename in
12798 # NonStop-UX NCC 3.20
12799 lt_prog_compiler_pic_CXX
='-KPIC'
12808 lt_prog_compiler_can_build_shared_CXX
=no
12814 # For platforms which do not support PIC, -DPIC is meaningless:
12816 lt_prog_compiler_pic_CXX
=
12819 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12823 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12828 # Check to make sure the PIC flag actually works.
12830 if test -n "$lt_prog_compiler_pic_CXX"; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12832 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12833 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12834 $as_echo_n "(cached) " >&6
12836 lt_cv_prog_compiler_pic_works_CXX
=no
12837 ac_outfile
=conftest.
$ac_objext
12838 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12839 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12840 # Insert the option either (1) after the last *FLAGS variable, or
12841 # (2) before a word containing "conftest.", or (3) at the end.
12842 # Note that $ac_compile itself does not contain backslashes and begins
12843 # with a dollar sign (not a hyphen), so the echo should work correctly.
12844 # The option is referenced via a variable to avoid confusing sed.
12845 lt_compile
=`echo "$ac_compile" | $SED \
12846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12848 -e 's:$: $lt_compiler_flag:'`
12849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12850 (eval "$lt_compile" 2>conftest.err
)
12852 cat conftest.err
>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 if (exit $ac_status) && test -s "$ac_outfile"; then
12855 # The compiler can only warn and ignore the option if not recognized
12856 # So say no if there are warnings other than the usual output.
12857 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12858 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12859 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12860 lt_cv_prog_compiler_pic_works_CXX
=yes
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12867 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12869 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12870 case $lt_prog_compiler_pic_CXX in
12872 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12875 lt_prog_compiler_pic_CXX
=
12876 lt_prog_compiler_can_build_shared_CXX
=no
12884 # Check to make sure the static flag actually works.
12886 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12888 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12889 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12890 $as_echo_n "(cached) " >&6
12892 lt_cv_prog_compiler_static_works_CXX
=no
12893 save_LDFLAGS
="$LDFLAGS"
12894 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12895 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12896 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12897 # The linker can only warn and ignore the option if not recognized
12898 # So say no if there are warnings
12899 if test -s conftest.err
; then
12900 # Append any errors to the config.log.
12901 cat conftest.err
1>&5
12902 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12903 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12904 if diff conftest.exp conftest.er2
>/dev
/null
; then
12905 lt_cv_prog_compiler_static_works_CXX
=yes
12908 lt_cv_prog_compiler_static_works_CXX
=yes
12912 LDFLAGS
="$save_LDFLAGS"
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12916 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12918 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12921 lt_prog_compiler_static_CXX
=
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12929 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12930 $as_echo_n "(cached) " >&6
12932 lt_cv_prog_compiler_c_o_CXX
=no
12933 $RM -r conftest
2>/dev
/null
12937 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12939 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12940 # Insert the option either (1) after the last *FLAGS variable, or
12941 # (2) before a word containing "conftest.", or (3) at the end.
12942 # Note that $ac_compile itself does not contain backslashes and begins
12943 # with a dollar sign (not a hyphen), so the echo should work correctly.
12944 lt_compile
=`echo "$ac_compile" | $SED \
12945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12947 -e 's:$: $lt_compiler_flag:'`
12948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12949 (eval "$lt_compile" 2>out
/conftest.err
)
12951 cat out
/conftest.err
>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12955 # The compiler can only warn and ignore the option if not recognized
12956 # So say no if there are warnings
12957 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12958 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12959 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12960 lt_cv_prog_compiler_c_o_CXX
=yes
12965 # SGI C++ compiler will create directory out/ii_files/ for
12966 # template instantiation
12967 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12968 $RM out
/* && rmdir out
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12975 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12980 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12981 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12982 $as_echo_n "(cached) " >&6
12984 lt_cv_prog_compiler_c_o_CXX
=no
12985 $RM -r conftest
2>/dev
/null
12989 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12991 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12992 # Insert the option either (1) after the last *FLAGS variable, or
12993 # (2) before a word containing "conftest.", or (3) at the end.
12994 # Note that $ac_compile itself does not contain backslashes and begins
12995 # with a dollar sign (not a hyphen), so the echo should work correctly.
12996 lt_compile
=`echo "$ac_compile" | $SED \
12997 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12999 -e 's:$: $lt_compiler_flag:'`
13000 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13001 (eval "$lt_compile" 2>out
/conftest.err
)
13003 cat out
/conftest.err
>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13007 # The compiler can only warn and ignore the option if not recognized
13008 # So say no if there are warnings
13009 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13010 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13011 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13012 lt_cv_prog_compiler_c_o_CXX
=yes
13017 # SGI C++ compiler will create directory out/ii_files/ for
13018 # template instantiation
13019 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13020 $RM out
/* && rmdir out
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13027 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13032 hard_links
="nottested"
13033 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13034 # do not overwrite the value of need_locks provided by the user
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13036 $as_echo_n "checking if we can lock with hard links... " >&6; }
13039 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13041 ln conftest.a conftest.b
2>&5 || hard_links
=no
13042 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13044 $as_echo "$hard_links" >&6; }
13045 if test "$hard_links" = no
; then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13047 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13057 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13059 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13062 # If we're using GNU nm, then we don't want the "-C" option.
13063 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13064 # Also, AIX nm treats weak defined symbols like other global defined
13065 # symbols, whereas GNU nm marks them as "W".
13066 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13067 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'
13069 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13073 export_symbols_cmds_CXX
="$ltdll_cmds"
13075 cygwin
* | mingw
* | cegcc
*)
13076 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'
13079 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13082 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13085 $as_echo "$ld_shlibs_CXX" >&6; }
13086 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13088 with_gnu_ld_CXX
=$with_gnu_ld
13096 # Do we need to explicitly link libc?
13098 case "x$archive_cmds_need_lc_CXX" in
13100 # Assume -lc should be added
13101 archive_cmds_need_lc_CXX
=yes
13103 if test "$enable_shared" = yes && test "$GCC" = yes; then
13104 case $archive_cmds_CXX in
13106 # FIXME: we may have to deal with multi-command sequences.
13109 # Test whether the compiler implicitly links with -lc since on some
13110 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13111 # to ld, don't add -lc before -lgcc.
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13113 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13114 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13115 $as_echo_n "(cached) " >&6
13118 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13120 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13121 (eval $ac_compile) 2>&5
13123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13124 test $ac_status = 0; } 2>conftest.err
; then
13127 libobjs
=conftest.
$ac_objext
13129 wl
=$lt_prog_compiler_wl_CXX
13130 pic_flag
=$lt_prog_compiler_pic_CXX
13136 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13137 allow_undefined_flag_CXX
=
13138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13139 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13142 test $ac_status = 0; }
13144 lt_cv_archive_cmds_need_lc_CXX
=no
13146 lt_cv_archive_cmds_need_lc_CXX
=yes
13148 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13150 cat conftest.err
1>&5
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13156 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13157 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13228 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13230 library_names_spec
=
13231 libname_spec
='lib$name'
13235 postuninstall_cmds
=
13239 shlibpath_overrides_runpath
=unknown
13241 dynamic_linker
="$host_os ld.so"
13242 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13243 need_lib_prefix
=unknown
13244 hardcode_into_libs
=no
13246 # when you set need_version to no, make sure it does not cause -set_version
13247 # flags to be left without arguments
13248 need_version
=unknown
13253 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13254 shlibpath_var
=LIBPATH
13256 # AIX 3 has no versioning support, so we append a major version to the name.
13257 soname_spec
='${libname}${release}${shared_ext}$major'
13264 hardcode_into_libs
=yes
13265 if test "$host_cpu" = ia64
; then
13266 # AIX 5 supports IA64
13267 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13268 shlibpath_var
=LD_LIBRARY_PATH
13270 # With GCC up to 2.95.x, collect2 would create an import file
13271 # for dependence libraries. The import file would start with
13272 # the line `#! .'. This would cause the generated library to
13273 # depend on `.', always an invalid library. This was fixed in
13274 # development snapshots of GCC prior to 3.0.
13276 aix4 | aix4.
[01] | aix4.
[01].
*)
13277 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13279 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13282 can_build_shared
=no
13286 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13287 # soname into executable. Probably we can add versioning support to
13288 # collect2, so additional links can be useful in future.
13289 if test "$aix_use_runtimelinking" = yes; then
13290 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13291 # instead of lib<name>.a to let people know that these are not
13292 # typical AIX shared libraries.
13293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13295 # We preserve .a as extension for shared libraries through AIX4.2
13296 # and later when we are not doing run time linking.
13297 library_names_spec
='${libname}${release}.a $libname.a'
13298 soname_spec
='${libname}${release}${shared_ext}$major'
13300 shlibpath_var
=LIBPATH
13307 # Since July 2007 AmigaOS4 officially supports .so libraries.
13308 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13312 library_names_spec
='$libname.ixlibrary $libname.a'
13313 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13314 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'
13320 library_names_spec
='${libname}${shared_ext}'
13321 dynamic_linker
="$host_os ld.so"
13322 shlibpath_var
=LIBRARY_PATH
13328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13329 soname_spec
='${libname}${release}${shared_ext}$major'
13330 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13331 shlibpath_var
=LD_LIBRARY_PATH
13332 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13333 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13334 # the default ld.so.conf also contains /usr/contrib/lib and
13335 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13336 # libtool to hard-code these into programs
13339 cygwin
* | mingw
* | pw32
* | cegcc
*)
13340 version_type
=windows
13345 case $GCC,$host_os in
13346 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13347 library_names_spec
='$libname.dll.a'
13348 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13349 postinstall_cmds
='base_file=`basename \${file}`~
13350 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13351 dldir=$destdir/`dirname \$dlpath`~
13352 test -d \$dldir || mkdir -p \$dldir~
13353 $install_prog $dir/$dlname \$dldir/$dlname~
13354 chmod a+x \$dldir/$dlname~
13355 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13356 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13358 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13359 dlpath=$dir/\$dldll~
13361 shlibpath_overrides_runpath
=yes
13365 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13366 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13370 # MinGW DLLs use traditional 'lib' prefix
13371 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13374 # pw32 DLLs use 'pw' prefix rather than 'lib'
13375 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13381 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13384 dynamic_linker
='Win32 ld.exe'
13385 # FIXME: first we should search . and the directory the executable is in
13389 darwin
* | rhapsody
*)
13390 dynamic_linker
="$host_os dyld"
13391 version_type
=darwin
13394 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13395 soname_spec
='${libname}${release}${major}$shared_ext'
13396 shlibpath_overrides_runpath
=yes
13397 shlibpath_var
=DYLD_LIBRARY_PATH
13398 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13400 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13408 soname_spec
='${libname}${release}${shared_ext}$major'
13409 shlibpath_var
=LD_LIBRARY_PATH
13416 freebsd
* | dragonfly
*)
13417 # DragonFly does not have aout. When/if they implement a new
13418 # versioning mechanism, adjust this.
13419 if test -x /usr
/bin
/objformat
; then
13420 objformat
=`/usr/bin/objformat`
13423 freebsd
[123]*) objformat
=aout
;;
13424 *) objformat
=elf
;;
13427 version_type
=freebsd-
$objformat
13428 case $version_type in
13430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13435 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13439 shlibpath_var
=LD_LIBRARY_PATH
13442 shlibpath_overrides_runpath
=yes
13444 freebsd3.
[01]* | freebsdelf3.
[01]*)
13445 shlibpath_overrides_runpath
=yes
13446 hardcode_into_libs
=yes
13448 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13449 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13450 shlibpath_overrides_runpath
=no
13451 hardcode_into_libs
=yes
13453 *) # from 4.6 on, and DragonFly
13454 shlibpath_overrides_runpath
=yes
13455 hardcode_into_libs
=yes
13464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13465 soname_spec
='${libname}${release}${shared_ext}$major'
13466 shlibpath_var
=LD_LIBRARY_PATH
13467 hardcode_into_libs
=yes
13474 dynamic_linker
="$host_os runtime_loader"
13475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13476 soname_spec
='${libname}${release}${shared_ext}$major'
13477 shlibpath_var
=LIBRARY_PATH
13478 shlibpath_overrides_runpath
=yes
13479 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13480 hardcode_into_libs
=yes
13483 hpux9
* | hpux10
* | hpux11
*)
13484 # Give a soname corresponding to the major version so that dld.sl refuses to
13485 # link against other versions.
13492 hardcode_into_libs
=yes
13493 dynamic_linker
="$host_os dld.so"
13494 shlibpath_var
=LD_LIBRARY_PATH
13495 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13497 soname_spec
='${libname}${release}${shared_ext}$major'
13498 if test "X$HPUX_IA64_MODE" = X32
; then
13499 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13501 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13503 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13507 hardcode_into_libs
=yes
13508 dynamic_linker
="$host_os dld.sl"
13509 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13510 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13512 soname_spec
='${libname}${release}${shared_ext}$major'
13513 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13514 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13518 dynamic_linker
="$host_os dld.sl"
13519 shlibpath_var
=SHLIB_PATH
13520 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13522 soname_spec
='${libname}${release}${shared_ext}$major'
13525 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13526 postinstall_cmds
='chmod 555 $lib'
13527 # or fails outright, so override atomically:
13528 install_override_mode
=555
13535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13536 soname_spec
='${libname}${release}${shared_ext}$major'
13537 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13538 shlibpath_var
=LD_LIBRARY_PATH
13539 shlibpath_overrides_runpath
=no
13540 hardcode_into_libs
=yes
13543 irix5
* | irix6
* | nonstopux
*)
13545 nonstopux
*) version_type
=nonstopux
;;
13547 if test "$lt_cv_prog_gnu_ld" = yes; then
13555 soname_spec
='${libname}${release}${shared_ext}$major'
13556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13558 irix5
* | nonstopux
*)
13559 libsuff
= shlibsuff
=
13562 case $LD in # libtool.m4 will add one of these switches to LD
13563 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13564 libsuff
= shlibsuff
= libmagic
=32-bit;;
13565 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13566 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13567 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13568 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13569 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13573 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13574 shlibpath_overrides_runpath
=no
13575 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13576 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13577 hardcode_into_libs
=yes
13580 # No shared lib support for Linux oldld, aout, or coff.
13581 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13585 # This must be Linux ELF.
13586 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13591 soname_spec
='${libname}${release}${shared_ext}$major'
13592 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13593 shlibpath_var
=LD_LIBRARY_PATH
13594 shlibpath_overrides_runpath
=no
13596 # Some binutils ld are patched to set DT_RUNPATH
13597 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13598 $as_echo_n "(cached) " >&6
13600 lt_cv_shlibpath_overrides_runpath
=no
13601 save_LDFLAGS
=$LDFLAGS
13602 save_libdir
=$libdir
13603 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13604 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13616 if ac_fn_cxx_try_link
"$LINENO"; then :
13617 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13618 lt_cv_shlibpath_overrides_runpath
=yes
13621 rm -f core conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13623 LDFLAGS
=$save_LDFLAGS
13624 libdir
=$save_libdir
13628 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13630 # This implies no fast_install, which is unacceptable.
13631 # Some rework will be needed to allow for fast_install
13632 # before this can be enabled.
13633 hardcode_into_libs
=yes
13635 # Append ld.so.conf contents to the search path
13636 if test -f /etc
/ld.so.conf
; then
13637 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' ' '`
13638 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13641 # We used to test for /lib/ld.so.1 and disable shared libraries on
13642 # powerpc, because MkLinux only supported shared libraries with the
13643 # GNU dynamic linker. Since this was broken with cross compilers,
13644 # most powerpc-linux boxes support dynamic linking these days and
13645 # people can always --disable-shared, the test was removed, and we
13646 # assume the GNU/Linux dynamic linker is in use.
13647 dynamic_linker
='GNU/Linux ld.so'
13654 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13656 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13657 dynamic_linker
='NetBSD (a.out) ld.so'
13659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13660 soname_spec
='${libname}${release}${shared_ext}$major'
13661 dynamic_linker
='NetBSD ld.elf_so'
13663 shlibpath_var
=LD_LIBRARY_PATH
13664 shlibpath_overrides_runpath
=yes
13665 hardcode_into_libs
=yes
13670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13671 shlibpath_var
=LD_LIBRARY_PATH
13672 shlibpath_overrides_runpath
=yes
13679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13680 soname_spec
='${libname}${release}${shared_ext}$major'
13681 shlibpath_var
=LD_LIBRARY_PATH
13682 shlibpath_overrides_runpath
=no
13683 hardcode_into_libs
=yes
13684 dynamic_linker
='ldqnx.so'
13689 sys_lib_dlsearch_path_spec
="/usr/lib"
13691 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13693 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13694 *) need_version
=no
;;
13696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13697 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13698 shlibpath_var
=LD_LIBRARY_PATH
13699 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13701 openbsd2.
[89] | openbsd2.
[89].
*)
13702 shlibpath_overrides_runpath
=no
13705 shlibpath_overrides_runpath
=yes
13709 shlibpath_overrides_runpath
=yes
13714 libname_spec
='$name'
13717 library_names_spec
='$libname${shared_ext} $libname.a'
13718 dynamic_linker
='OS/2 ld.exe'
13719 shlibpath_var
=LIBPATH
13722 osf3
* | osf4
* | osf5
*)
13726 soname_spec
='${libname}${release}${shared_ext}$major'
13727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13728 shlibpath_var
=LD_LIBRARY_PATH
13729 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13730 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13742 soname_spec
='${libname}${release}${shared_ext}$major'
13743 shlibpath_var
=LD_LIBRARY_PATH
13744 shlibpath_overrides_runpath
=yes
13745 hardcode_into_libs
=yes
13746 # ldd complains unless libraries are executable
13747 postinstall_cmds
='chmod +x $lib'
13752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13753 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13754 shlibpath_var
=LD_LIBRARY_PATH
13755 shlibpath_overrides_runpath
=yes
13756 if test "$with_gnu_ld" = yes; then
13764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13765 soname_spec
='${libname}${release}${shared_ext}$major'
13766 shlibpath_var
=LD_LIBRARY_PATH
13767 case $host_vendor in
13769 shlibpath_overrides_runpath
=no
13771 runpath_var
=LD_RUN_PATH
13779 shlibpath_overrides_runpath
=no
13780 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13786 if test -d /usr
/nec
;then
13788 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13789 soname_spec
='$libname${shared_ext}.$major'
13790 shlibpath_var
=LD_LIBRARY_PATH
13794 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13795 version_type
=freebsd-elf
13798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13799 soname_spec
='${libname}${release}${shared_ext}$major'
13800 shlibpath_var
=LD_LIBRARY_PATH
13801 shlibpath_overrides_runpath
=yes
13802 hardcode_into_libs
=yes
13803 if test "$with_gnu_ld" = yes; then
13804 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13806 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13809 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13813 sys_lib_dlsearch_path_spec
='/usr/lib'
13817 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13822 shlibpath_var
=LD_LIBRARY_PATH
13823 shlibpath_overrides_runpath
=no
13824 hardcode_into_libs
=yes
13829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13830 soname_spec
='${libname}${release}${shared_ext}$major'
13831 shlibpath_var
=LD_LIBRARY_PATH
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13839 $as_echo "$dynamic_linker" >&6; }
13840 test "$dynamic_linker" = no
&& can_build_shared
=no
13842 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13843 if test "$GCC" = yes; then
13844 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13847 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13848 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13850 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13851 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13892 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13893 hardcode_action_CXX
=
13894 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13895 test -n "$runpath_var_CXX" ||
13896 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13898 # We can hardcode non-existent directories.
13899 if test "$hardcode_direct_CXX" != no
&&
13900 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13901 # have to relink, otherwise we might link with an installed library
13902 # when we should be linking with a yet-to-be-installed one
13903 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13904 test "$hardcode_minus_L_CXX" != no
; then
13905 # Linking always hardcodes the temporary library directory.
13906 hardcode_action_CXX
=relink
13908 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13909 hardcode_action_CXX
=immediate
13912 # We cannot hardcode anything, or else we can only hardcode existing
13914 hardcode_action_CXX
=unsupported
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13917 $as_echo "$hardcode_action_CXX" >&6; }
13919 if test "$hardcode_action_CXX" = relink ||
13920 test "$inherit_rpath_CXX" = yes; then
13921 # Fast installation is not supported
13922 enable_fast_install
=no
13923 elif test "$shlibpath_overrides_runpath" = yes ||
13924 test "$enable_shared" = no
; then
13925 # Fast installation is not necessary
13926 enable_fast_install
=needless
13935 fi # test -n "$compiler"
13941 with_gnu_ld
=$lt_save_with_gnu_ld
13942 lt_cv_path_LDCXX
=$lt_cv_path_LD
13943 lt_cv_path_LD
=$lt_save_path_LD
13944 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13945 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13946 fi # test "$_lt_caught_CXX_error" != yes
13949 ac_cpp
='$CPP $CPPFLAGS'
13950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13966 ac_config_commands
="$ac_config_commands libtool"
13971 # Only expand once:
13975 if test "x${prefix}" = "xNONE"; then
13976 prefix
=${ac_default_prefix}
13982 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile scripts/Makefile"
13984 cat >confcache
<<\_ACEOF
13985 # This file is a shell script that caches the results of configure
13986 # tests run on this system so they can be shared between configure
13987 # scripts and configure runs, see configure's option --config-cache.
13988 # It is not useful on other systems. If it contains results you don't
13989 # want to keep, you may remove or edit it.
13991 # config.status only pays attention to the cache file if you give it
13992 # the --recheck option to rerun configure.
13994 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13995 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13996 # following values.
14000 # The following way of writing the cache mishandles newlines in values,
14001 # but we know of no workaround that is simple, portable, and efficient.
14002 # So, we kill variables containing newlines.
14003 # Ultrix sh set writes to stderr and can't be redirected directly,
14004 # and sets the high bit in the cache file unless we assign to the vars.
14006 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14007 eval ac_val
=\$
$ac_var
14011 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14015 _ | IFS | as_nl
) ;; #(
14016 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14017 *) { eval $ac_var=; unset $ac_var;} ;;
14023 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14024 *${as_nl}ac_space
=\
*)
14025 # `set' does not quote correctly, so add quotes: double-quote
14026 # substitution turns \\\\ into \\, and sed turns \\ into \.
14029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14032 # `set' quotes correctly as required by POSIX, so do not add quotes.
14033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14044 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14046 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14047 if test -w "$cache_file"; then
14048 test "x$cache_file" != "x/dev/null" &&
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14050 $as_echo "$as_me: updating cache $cache_file" >&6;}
14051 cat confcache
>$cache_file
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14059 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14060 # Let make expand exec_prefix.
14061 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14063 DEFS
=-DHAVE_CONFIG_H
14068 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14069 # 1. Remove the extension, and $U if already installed.
14070 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14071 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14073 # will be set to the directory where LIBOBJS objects are built.
14074 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14075 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14077 LIBOBJS
=$ac_libobjs
14079 LTLIBOBJS
=$ac_ltlibobjs
14082 if test -n "$EXEEXT"; then
14084 am__EXEEXT_FALSE
='#'
14086 am__EXEEXT_TRUE
='#'
14090 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14091 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14094 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14095 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14098 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14099 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
14100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14103 : ${CONFIG_STATUS=./config.status}
14105 ac_clean_files_save
=$ac_clean_files
14106 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14108 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14110 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14112 # Generated by $as_me.
14113 # Run this file to recreate the current configuration.
14114 # Compiler output produced by configure, useful for debugging
14115 # configure, is in config.log if it exists.
14118 ac_cs_recheck=false
14121 SHELL=\${CONFIG_SHELL-$SHELL}
14124 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14125 ## -------------------- ##
14126 ## M4sh Initialization. ##
14127 ## -------------------- ##
14129 # Be more Bourne compatible
14130 DUALCASE
=1; export DUALCASE
# for MKS sh
14131 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14134 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14135 # is contrary to our usage. Disable this feature.
14136 alias -g '${1+"$@"}'='"$@"'
14137 setopt NO_GLOB_SUBST
14139 case `(set -o) 2>/dev/null` in #(
14151 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14152 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14153 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14154 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14155 # Prefer a ksh shell builtin over an external printf program on Solaris,
14156 # but without wasting forks for bash or zsh.
14157 if test -z "$BASH_VERSION$ZSH_VERSION" \
14158 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14159 as_echo='print
-r --'
14160 as_echo_n='print
-rn --'
14161 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14162 as_echo='printf %s
\n'
14163 as_echo_n='printf %s
'
14165 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14166 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14167 as_echo_n='/usr
/ucb
/echo -n'
14169 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14170 as_echo_n_body='eval
14174 expr "X$arg" : "X\\(.*\\)$as_nl";
14175 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14177 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14179 export as_echo_n_body
14180 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14182 export as_echo_body
14183 as_echo='sh
-c $as_echo_body as_echo
'
14186 # The user is always right.
14187 if test "${PATH_SEPARATOR+set}" != set; then
14189 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14190 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14197 # We need space, tab and new line, in precisely that order. Quoting is
14198 # there to prevent editors from complaining about space-tab.
14199 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14200 # splitting by setting IFS to empty value.)
14203 # Find who we are. Look in the path if we contain no directory separator.
14205 *[\\/]* ) as_myself=$0 ;;
14206 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14207 for as_dir in $PATH
14210 test -z "$as_dir" && as_dir=.
14211 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14217 # We did not find ourselves, most probably we were run as `sh COMMAND'
14218 # in which case we are not to be found in the path.
14219 if test "x$as_myself" = x
; then
14222 if test ! -f "$as_myself"; then
14223 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14227 # Unset variables that we do not need and which cause bugs (e.g. in
14228 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14229 # suppresses any "Segmentation fault" message there. '((' could
14230 # trigger a bug in pdksh 5.2.14.
14231 for as_var
in BASH_ENV ENV MAIL MAILPATH
14232 do eval test x\
${$as_var+set} = xset \
14233 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14246 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14249 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14250 # ----------------------------------------
14251 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14252 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14253 # script with STATUS, using 1 if that was 0.
14256 as_status
=$1; test $as_status -eq 0 && as_status
=1
14258 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14259 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14261 $as_echo "$as_me: error: $2" >&2
14262 as_fn_exit
$as_status
14266 # as_fn_set_status STATUS
14267 # -----------------------
14268 # Set $? to STATUS, without forking.
14269 as_fn_set_status
()
14272 } # as_fn_set_status
14274 # as_fn_exit STATUS
14275 # -----------------
14276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14280 as_fn_set_status
$1
14286 # Portably unset VAR.
14289 { eval $1=; unset $1;}
14291 as_unset
=as_fn_unset
14292 # as_fn_append VAR VALUE
14293 # ----------------------
14294 # Append the text in VALUE to the end of the definition contained in VAR. Take
14295 # advantage of any shell optimizations that allow amortized linear growth over
14296 # repeated appends, instead of the typical quadratic growth present in naive
14298 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14299 eval 'as_fn_append ()
14310 # as_fn_arith ARG...
14311 # ------------------
14312 # Perform arithmetic evaluation on the ARGs, and store the result in the
14313 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14314 # must be portable across $(()) and expr.
14315 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14316 eval 'as_fn_arith ()
14323 as_val
=`expr "$@" || test $? -eq 1`
14328 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14329 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14335 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14336 as_basename
=basename
14341 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14347 as_me
=`$as_basename -- "$0" ||
14348 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14349 X"$0" : 'X\(//\)$' \| \
14350 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14352 sed '/^.*\/\([^/][^/]*\)\/*$/{
14366 # Avoid depending upon Character Ranges.
14367 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14368 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14369 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14370 as_cr_digits
='0123456789'
14371 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14373 ECHO_C
= ECHO_N
= ECHO_T
=
14374 case `echo -n x` in #(((((
14376 case `echo 'xy\c'` in
14377 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14379 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14386 rm -f conf$$ conf$$.exe conf$$.
file
14387 if test -d conf$$.dir
; then
14388 rm -f conf$$.dir
/conf$$.
file
14391 mkdir conf$$.dir
2>/dev
/null
14393 if (echo >conf$$.
file) 2>/dev
/null
; then
14394 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14396 # ... but there are two gotchas:
14397 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14398 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14399 # In both cases, we have to default to `cp -p'.
14400 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14402 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14410 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14411 rmdir conf$$.dir
2>/dev
/null
14416 # Create "$as_dir" as a directory, including parents if necessary.
14421 -*) as_dir
=.
/$as_dir;;
14423 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14427 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14428 *) as_qdir
=$as_dir;;
14430 as_dirs
="'$as_qdir' $as_dirs"
14431 as_dir
=`$as_dirname -- "$as_dir" ||
14432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14433 X"$as_dir" : 'X\(//\)[^/]' \| \
14434 X"$as_dir" : 'X\(//\)$' \| \
14435 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14436 $as_echo X"$as_dir" |
14437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14441 /^X\(\/\/\)[^/].*/{
14454 test -d "$as_dir" && break
14456 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14457 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14461 if mkdir
-p .
2>/dev
/null
; then
14462 as_mkdir_p
='mkdir -p "$as_dir"'
14464 test -d .
/-p && rmdir .
/-p
14468 if test -x / >/dev
/null
2>&1; then
14469 as_test_x
='test -x'
14471 if ls -dL / >/dev
/null
2>&1; then
14478 if test -d "$1"; then
14484 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14485 ???[sx]*):;;*)false;;esac;fi
14489 as_executable_p
=$as_test_x
14491 # Sed expression to map a string onto a valid CPP name.
14492 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14494 # Sed expression to map a string onto a valid variable name.
14495 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14499 ## ----------------------------------- ##
14500 ## Main body of $CONFIG_STATUS script. ##
14501 ## ----------------------------------- ##
14503 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14506 # Save the log message, to keep $0 and so on meaningful, and to
14507 # report actual input values of CONFIG_FILES etc. instead of their
14508 # values after options handling.
14510 This file was extended by $as_me, which was
14511 generated by GNU Autoconf 2.67. Invocation command line was
14513 CONFIG_FILES = $CONFIG_FILES
14514 CONFIG_HEADERS = $CONFIG_HEADERS
14515 CONFIG_LINKS = $CONFIG_LINKS
14516 CONFIG_COMMANDS = $CONFIG_COMMANDS
14519 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14524 case $ac_config_files in *"
14525 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14528 case $ac_config_headers in *"
14529 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14534 # Files that config.status was made for.
14535 config_files="$ac_config_files"
14536 config_headers="$ac_config_headers"
14537 config_commands="$ac_config_commands"
14541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14543 \`$as_me' instantiates files and other configuration actions
14544 from templates according to the current configuration. Unless the files
14545 and actions are specified as TAGs, all are instantiated by default.
14547 Usage: $0 [OPTION]... [TAG]...
14549 -h, --help print this help, then exit
14550 -V, --version print version number and configuration settings, then exit
14551 --config print configuration, then exit
14552 -q, --quiet, --silent
14553 do not print progress messages
14554 -d, --debug don't remove temporary files
14555 --recheck update $as_me by reconfiguring in the same conditions
14556 --file=FILE[:TEMPLATE]
14557 instantiate the configuration file FILE
14558 --header=FILE[:TEMPLATE]
14559 instantiate the configuration header FILE
14561 Configuration files:
14564 Configuration headers:
14567 Configuration commands:
14570 Report bugs to the package provider."
14573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14574 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14577 configured by $0, generated by GNU Autoconf 2.67,
14578 with options \\"\$ac_cs_config\\"
14580 Copyright (C) 2010 Free Software Foundation, Inc.
14581 This config.status script is free software; the Free Software Foundation
14582 gives unlimited permission to copy, distribute and modify it."
14589 test -n "\$AWK" || AWK=awk
14592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14593 # The default lists apply if the user does not specify any file.
14599 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14600 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14604 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14616 # Handling of the options.
14617 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14619 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14620 $as_echo "$ac_cs_version"; exit ;;
14621 --config |
--confi |
--conf |
--con |
--co |
--c )
14622 $as_echo "$ac_cs_config"; exit ;;
14623 --debug |
--debu |
--deb |
--de |
--d |
-d )
14625 --file |
--fil |
--fi |
--f )
14628 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14629 '') as_fn_error $?
"missing file argument" ;;
14631 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14632 ac_need_defaults
=false
;;
14633 --header |
--heade |
--head |
--hea )
14636 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14638 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14639 ac_need_defaults
=false
;;
14641 # Conflict between --help and --header
14642 as_fn_error $?
"ambiguous option: \`$1'
14643 Try \`$0 --help' for more information.";;
14644 --help |
--hel |
-h )
14645 $as_echo "$ac_cs_usage"; exit ;;
14646 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14647 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14650 # This is an error.
14651 -*) as_fn_error $?
"unrecognized option: \`$1'
14652 Try \`$0 --help' for more information." ;;
14654 *) as_fn_append ac_config_targets
" $1"
14655 ac_need_defaults
=false
;;
14661 ac_configure_extra_args
=
14663 if $ac_cs_silent; then
14665 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14670 if \$ac_cs_recheck; then
14671 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14673 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14674 CONFIG_SHELL='$SHELL'
14675 export CONFIG_SHELL
14680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14684 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14685 ## Running $as_me. ##
14691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14695 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14698 # The HP-UX ksh and POSIX shell print the target directory to stdout
14699 # if CDPATH is set.
14700 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14702 sed_quote_subst='$sed_quote_subst'
14703 double_quote_subst='$double_quote_subst'
14704 delay_variable_subst='$delay_variable_subst'
14705 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14706 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14707 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14708 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14709 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14710 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14711 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14712 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14713 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14714 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14715 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14716 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14717 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14718 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14719 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14720 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14721 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14722 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14723 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14724 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14725 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14726 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14727 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14728 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14729 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14730 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14731 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14732 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14733 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14734 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14735 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14736 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14737 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14738 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14739 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14740 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14741 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14742 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14743 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14744 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14745 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14746 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14747 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14748 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14749 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14750 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14751 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14752 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14753 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"`'
14754 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14755 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14756 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14757 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14758 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14759 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14760 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14761 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14762 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14763 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14764 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14765 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14766 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14767 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14768 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14769 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14770 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14771 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14772 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14773 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14774 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14775 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14776 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14777 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14778 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14779 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14780 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14781 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14782 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14783 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14784 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14785 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14786 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14787 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14788 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14789 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14790 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14791 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14792 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14793 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14794 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14795 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14796 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14797 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14798 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14799 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14800 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14801 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14802 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14803 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14804 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14805 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14806 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14807 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14808 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14809 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14810 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14811 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14812 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14813 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14814 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14815 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14816 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14817 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14818 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14819 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14820 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14821 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14822 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14823 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14824 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14825 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
14826 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
14827 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
14828 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
14829 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
14830 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
14831 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
14832 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
14833 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14834 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14835 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
14836 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
14837 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
14838 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
14839 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
14840 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
14841 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
14842 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
14843 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
14844 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
14845 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
14846 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
14847 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14848 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14849 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14850 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14851 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14852 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14853 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
14854 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
14855 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
14856 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
14857 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
14858 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
14859 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
14860 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
14861 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
14862 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
14863 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
14864 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
14865 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
14866 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
14867 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
14868 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14869 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
14870 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
14871 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
14872 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
14873 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
14874 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
14875 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
14876 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
14877 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
14878 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
14879 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
14882 LTCFLAGS='$LTCFLAGS'
14883 compiler='$compiler_DEFAULT'
14885 # A function that is used when there is no print builtin or printf.
14886 func_fallback_echo ()
14888 eval 'cat <<_LTECHO_EOF
14893 # Quote evaled strings.
14907 deplibs_check_method \
14916 lt_cv_sys_global_symbol_pipe \
14917 lt_cv_sys_global_symbol_to_cdecl \
14918 lt_cv_sys_global_symbol_to_c_name_address \
14919 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14920 lt_prog_compiler_no_builtin_flag \
14921 lt_prog_compiler_wl \
14922 lt_prog_compiler_pic \
14923 lt_prog_compiler_static \
14924 lt_cv_prog_compiler_c_o \
14932 export_dynamic_flag_spec \
14933 whole_archive_flag_spec \
14934 compiler_needs_object \
14936 allow_undefined_flag \
14937 no_undefined_flag \
14938 hardcode_libdir_flag_spec \
14939 hardcode_libdir_flag_spec_ld \
14940 hardcode_libdir_separator \
14945 variables_saved_for_relink \
14947 library_names_spec \
14949 install_override_mode \
14953 compiler_lib_search_dirs \
14958 compiler_lib_search_path \
14962 lt_prog_compiler_no_builtin_flag_CXX \
14963 lt_prog_compiler_wl_CXX \
14964 lt_prog_compiler_pic_CXX \
14965 lt_prog_compiler_static_CXX \
14966 lt_cv_prog_compiler_c_o_CXX \
14967 export_dynamic_flag_spec_CXX \
14968 whole_archive_flag_spec_CXX \
14969 compiler_needs_object_CXX \
14971 allow_undefined_flag_CXX \
14972 no_undefined_flag_CXX \
14973 hardcode_libdir_flag_spec_CXX \
14974 hardcode_libdir_flag_spec_ld_CXX \
14975 hardcode_libdir_separator_CXX \
14976 fix_srcfile_path_CXX \
14977 exclude_expsyms_CXX \
14978 include_expsyms_CXX \
14979 file_list_spec_CXX \
14980 compiler_lib_search_dirs_CXX \
14981 predep_objects_CXX \
14982 postdep_objects_CXX \
14985 compiler_lib_search_path_CXX; do
14986 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14987 *[\\\\\\\`\\"\\\$]*)
14988 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14991 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14996 # Double-quote double-evaled strings.
14997 for var in reload_cmds \
14998 old_postinstall_cmds \
14999 old_postuninstall_cmds \
15001 extract_expsyms_cmds \
15002 old_archive_from_new_cmds \
15003 old_archive_from_expsyms_cmds \
15005 archive_expsym_cmds \
15007 module_expsym_cmds \
15008 export_symbols_cmds \
15011 postuninstall_cmds \
15013 sys_lib_search_path_spec \
15014 sys_lib_dlsearch_path_spec \
15016 old_archive_cmds_CXX \
15017 old_archive_from_new_cmds_CXX \
15018 old_archive_from_expsyms_cmds_CXX \
15020 archive_expsym_cmds_CXX \
15022 module_expsym_cmds_CXX \
15023 export_symbols_cmds_CXX \
15024 prelink_cmds_CXX; do
15025 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15026 *[\\\\\\\`\\"\\\$]*)
15027 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15030 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15035 ac_aux_dir='$ac_aux_dir'
15036 xsi_shell='$xsi_shell'
15037 lt_shell_append='$lt_shell_append'
15039 # See if we are running on zsh, and set the options which allow our
15040 # commands through without removal of \ escapes INIT.
15041 if test -n "\${ZSH_VERSION+set}" ; then
15042 setopt NO_GLOB_SUBST
15048 TIMESTAMP='$TIMESTAMP'
15059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15061 # Handling of arguments.
15062 for ac_config_target
in $ac_config_targets
15064 case $ac_config_target in
15065 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15066 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15067 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15068 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15069 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15070 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15071 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
15073 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15078 # If the user did not use the arguments to specify the items to instantiate,
15079 # then the envvar interface is used. Set only those that are not.
15080 # We use the long form for the default assignment because of an extremely
15081 # bizarre bug on SunOS 4.1.3.
15082 if $ac_need_defaults; then
15083 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15084 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15085 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15088 # Have a temporary directory for convenience. Make it in the build tree
15089 # simply because there is no reason against having it here, and in addition,
15090 # creating and moving files from /tmp can sometimes cause problems.
15091 # Hook for its removal unless debugging.
15092 # Note that there is a small window in which the directory will not be cleaned:
15093 # after its creation but before its name has been assigned to `$tmp'.
15097 trap 'exit_status=$?
15098 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15100 trap 'as_fn_exit 1' 1 2 13 15
15102 # Create a (secure) tmp directory for tmp files.
15105 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15106 test -n "$tmp" && test -d "$tmp"
15109 tmp
=.
/conf$$
-$RANDOM
15110 (umask 077 && mkdir
"$tmp")
15111 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15113 # Set up the scripts for CONFIG_FILES section.
15114 # No need to generate them if there are no CONFIG_FILES.
15115 # This happens for instance with `./config.status config.h'.
15116 if test -n "$CONFIG_FILES"; then
15119 ac_cr
=`echo X | tr X '\015'`
15120 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15121 # But we know of no other shell where ac_cr would be empty at this
15122 # point, so we can use a bashism as a fallback.
15123 if test "x$ac_cr" = x
; then
15124 eval ac_cr
=\$
\'\\r
\'
15126 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15127 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15130 ac_cs_awk_cr
=$ac_cr
15133 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15138 echo "cat >conf$$subs.awk <<_ACEOF" &&
15139 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15141 } >conf$$subs.sh ||
15142 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15143 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15145 for ac_last_try in false false false false false :; do
15146 . ./conf$$subs.sh ||
15147 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15149 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15150 if test $ac_delim_n = $ac_delim_num; then
15152 elif $ac_last_try; then
15153 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15155 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15158 rm -f conf$$subs.sh
15160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15161 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15165 s/^/S["/; s
/!.
*/"]=/
15175 s/\(.\{148\}\)..*/\1/
15177 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15182 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15189 s/\(.\{148\}\)..*/\1/
15191 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15195 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15200 ' <conf$$subs.awk | sed '
15205 ' >>$CONFIG_STATUS || ac_write_fail=1
15206 rm -f conf$$subs.awk
15207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15209 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15210 for (key in S) S_is_set[key] = 1
15216 nfields = split(line, field, "@
")
15218 len = length(field[1])
15219 for (i = 2; i < nfields; i++) {
15221 keylen = length(key)
15222 if (S_is_set[key]) {
15224 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15225 len += length(value) + length(field[++i])
15236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15237 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15238 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15241 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15242 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15245 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15246 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15247 # trailing colons and then remove the whole line if VPATH becomes empty
15248 # (actually we leave an empty line to preserve line numbers).
15249 if test "x
$srcdir" = x.; then
15250 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15269 fi # test -n "$CONFIG_FILES"
15271 # Set up the scripts for CONFIG_HEADERS section.
15272 # No need to generate them if there are no CONFIG_HEADERS.
15273 # This happens for instance with `./config.status Makefile'.
15274 if test -n "$CONFIG_HEADERS"; then
15275 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15279 # Transform confdefs.h into an awk script `defines.awk', embedded as
15280 # here-document in config.status, that substitutes the proper values into
15281 # config.h.in to produce config.h.
15283 # Create a delimiter string that does not exist in confdefs.h, to ease
15284 # handling of long lines.
15286 for ac_last_try in false false :; do
15287 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15288 if test -z "$ac_t"; then
15290 elif $ac_last_try; then
15291 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15293 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15297 # For the awk script, D is an array of macro values keyed by name,
15298 # likewise P contains macro parameters if any. Preserve backslash
15299 # newline sequences.
15301 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15303 s/.\{148\}/&'"$ac_delim"'/g
15306 s/^[ ]*#[ ]*define[ ][ ]*/ /
15313 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15315 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15320 D["\
1"]=" \
3\\\\\\n
"\\/p
15322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15327 s/.\{148\}/&'"$ac_delim"'/g
15332 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15335 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15337 ' <confdefs.h | sed '
15338 s/'"$ac_delim"'/"\\\
15339 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15342 for (key in D) D_is_set[key] = 1
15345 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15347 split(line, arg, " ")
15348 if (arg[1] == "#") {
15352 defundef
= substr
(arg
[1], 2)
15355 split(mac1
, mac2
, "(") #)
15357 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15358 if (D_is_set
[macro
]) {
15359 # Preserve the white space surrounding the "#".
15360 print prefix
"define", macro P
[macro
] D
[macro
]
15363 # Replace #undef with comments. This is necessary, for example,
15364 # in the case of _POSIX_SOURCE, which is predefined and required
15365 # on some systems where configure will not decide to define it.
15366 if (defundef
== "undef") {
15367 print
"/*", prefix defundef
, macro
, "*/"
15375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15376 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15377 fi # test -n "$CONFIG_HEADERS"
15380 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15385 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15387 case $ac_mode$ac_tag in
15389 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15390 :[FH
]-) ac_tag
=-:-;;
15391 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15408 -) ac_f
="$tmp/stdin";;
15409 *) # Look for the file first in the build tree, then in the source tree
15410 # (if the path is not absolute). The absolute path cannot be DOS-style,
15411 # because $ac_f cannot contain `:'.
15415 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15417 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15419 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15420 as_fn_append ac_file_inputs
" '$ac_f'"
15423 # Let's still pretend it is `configure' which instantiates (i.e., don't
15424 # use $as_me), people would be surprised to read:
15425 # /* config.h. Generated by config.status. */
15426 configure_input
='Generated from '`
15427 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15429 if test x
"$ac_file" != x-
; then
15430 configure_input
="$ac_file. $configure_input"
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15432 $as_echo "$as_me: creating $ac_file" >&6;}
15434 # Neutralize special characters interpreted by sed in replacement strings.
15435 case $configure_input in #(
15436 *\
&* |
*\|
* |
*\\* )
15437 ac_sed_conf_input
=`$as_echo "$configure_input" |
15438 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15439 *) ac_sed_conf_input
=$configure_input;;
15443 *:-:* |
*:-) cat >"$tmp/stdin" \
15444 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15449 ac_dir
=`$as_dirname -- "$ac_file" ||
15450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15451 X"$ac_file" : 'X\(//\)[^/]' \| \
15452 X"$ac_file" : 'X\(//\)$' \| \
15453 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15454 $as_echo X"$ac_file" |
15455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15459 /^X\(\/\/\)[^/].*/{
15472 as_dir
="$ac_dir"; as_fn_mkdir_p
15476 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15478 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15479 # A ".." for each directory in $ac_dir_suffix.
15480 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15481 case $ac_top_builddir_sub in
15482 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15483 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15486 ac_abs_top_builddir
=$ac_pwd
15487 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15488 # for backward compatibility:
15489 ac_top_builddir
=$ac_top_build_prefix
15492 .
) # We are building in place.
15494 ac_top_srcdir
=$ac_top_builddir_sub
15495 ac_abs_top_srcdir
=$ac_pwd ;;
15496 [\\/]* | ?
:[\\/]* ) # Absolute name.
15497 ac_srcdir
=$srcdir$ac_dir_suffix;
15498 ac_top_srcdir
=$srcdir
15499 ac_abs_top_srcdir
=$srcdir ;;
15500 *) # Relative name.
15501 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15502 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15503 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15505 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15515 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15516 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15518 ac_MKDIR_P
=$MKDIR_P
15520 [\\/$
]* | ?
:[\\/]* ) ;;
15521 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15526 # If the template does not know about datarootdir, expand it.
15527 # FIXME: This hack should be removed a few years after 2.60.
15528 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15539 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15540 *datarootdir
*) ac_datarootdir_seen
=yes;;
15541 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15543 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15546 ac_datarootdir_hack='
15547 s&@datadir@&$datadir&g
15548 s&@docdir@&$docdir&g
15549 s&@infodir@&$infodir&g
15550 s&@localedir@&$localedir&g
15551 s&@mandir@&$mandir&g
15552 s&\\\${datarootdir}&$datarootdir&g' ;;
15556 # Neutralize VPATH when `$srcdir' = `.'.
15557 # Shell code in configure.ac might set extrasub.
15558 # FIXME: do we really want to maintain this feature?
15559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15560 ac_sed_extra="$ac_vpsub
15563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15565 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15566 s|@configure_input@|
$ac_sed_conf_input|
;t t
15567 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15568 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15569 s
&@srcdir@
&$ac_srcdir&;t t
15570 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15571 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15572 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15573 s
&@builddir@
&$ac_builddir&;t t
15574 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15575 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15576 s
&@INSTALL@
&$ac_INSTALL&;t t
15577 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15578 $ac_datarootdir_hack
15580 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15581 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15584 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15585 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15587 which seems to be undefined. Please make sure it is defined" >&5
15588 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15589 which seems to be undefined. Please make sure it is defined" >&2;}
15593 -) cat "$tmp/out" && rm -f "$tmp/out";;
15594 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15602 if test x"$ac_file" != x-; then
15604 $as_echo "/* $configure_input */" \
15605 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15606 } >"$tmp/config.h" \
15607 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15608 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15610 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15613 mv "$tmp/config.h" "$ac_file" \
15614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15617 $as_echo "/* $configure_input */" \
15618 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15619 || as_fn_error $? "could not create -" "$LINENO" 5
15621 # Compute "$ac_file"'s index
in $config_headers.
15624 for _am_header
in $config_headers :; do
15625 case $_am_header in
15626 $_am_arg |
$_am_arg:* )
15629 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15632 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15633 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15634 X"$_am_arg" : 'X\(//\)[^/]' \| \
15635 X"$_am_arg" : 'X\(//\)$' \| \
15636 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15637 $as_echo X"$_am_arg" |
15638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15642 /^X\(\/\/\)[^/].*/{
15654 s/.*/./; q'`/stamp-h
$_am_stamp_count
15657 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15658 $as_echo "$as_me: executing $ac_file commands" >&6;}
15663 case $ac_file$ac_mode in
15664 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15665 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15666 # are listed without --file. Let's play safe and only enable the eval
15667 # if we detect the quoting.
15668 case $CONFIG_FILES in
15669 *\'*) eval set x
"$CONFIG_FILES" ;;
15670 *) set x
$CONFIG_FILES ;;
15675 # Strip MF so we end up with the name of the file.
15676 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15677 # Check whether this is an Automake generated Makefile or not.
15678 # We used to match only the files named `Makefile.in', but
15679 # some people rename them; so instead we look at the file content.
15680 # Grep'ing the first line is not enough: some people post-process
15681 # each Makefile.in and add a new line on top of each file to say so.
15682 # Grep'ing the whole file is not good either: AIX grep has a line
15683 # limit of 2048, but all sed's we know have understand at least 4000.
15684 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15685 dirpart
=`$as_dirname -- "$mf" ||
15686 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15687 X"$mf" : 'X\(//\)[^/]' \| \
15688 X"$mf" : 'X\(//\)$' \| \
15689 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15695 /^X\(\/\/\)[^/].*/{
15711 # Extract the definition of DEPDIR, am__include, and am__quote
15712 # from the Makefile without running `make'.
15713 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15714 test -z "$DEPDIR" && continue
15715 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15716 test -z "am__include" && continue
15717 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15718 # When using ansi2knr, U may be empty or an underscore; expand it
15719 U
=`sed -n 's/^U = //p' < "$mf"`
15720 # Find all dependency output files, they are included files with
15721 # $(DEPDIR) in their names. We invoke sed twice because it is the
15722 # simplest approach to changing $(DEPDIR) to its actual value in the
15724 for file in `sed -n "
15725 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15726 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15727 # Make sure the directory exists.
15728 test -f "$dirpart/$file" && continue
15729 fdir
=`$as_dirname -- "$file" ||
15730 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15731 X"$file" : 'X\(//\)[^/]' \| \
15732 X"$file" : 'X\(//\)$' \| \
15733 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15734 $as_echo X"$file" |
15735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15739 /^X\(\/\/\)[^/].*/{
15752 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15753 # echo "creating $dirpart/$file"
15754 echo '# dummy' > "$dirpart/$file"
15761 # See if we are running on zsh, and set the options which allow our
15762 # commands through without removal of \ escapes.
15763 if test -n "${ZSH_VERSION+set}" ; then
15764 setopt NO_GLOB_SUBST
15767 cfgfile
="${ofile}T"
15768 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15771 cat <<_LT_EOF >> "$cfgfile"
15774 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15775 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15776 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15777 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15779 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15780 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15782 # Written by Gordon Matzigkeit, 1996
15784 # This file is part of GNU Libtool.
15786 # GNU Libtool is free software; you can redistribute it and/or
15787 # modify it under the terms of the GNU General Public License as
15788 # published by the Free Software Foundation; either version 2 of
15789 # the License, or (at your option) any later version.
15791 # As a special exception to the GNU General Public License,
15792 # if you distribute this file as part of a program or library that
15793 # is built using GNU Libtool, you may include this file under the
15794 # same distribution terms that you use for the rest of that program.
15796 # GNU Libtool is distributed in the hope that it will be useful,
15797 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15799 # GNU General Public License for more details.
15801 # You should have received a copy of the GNU General Public License
15802 # along with GNU Libtool; see the file COPYING. If not, a copy
15803 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15804 # obtained by writing to the Free Software Foundation, Inc.,
15805 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15808 # The names of the tagged configurations supported by this script.
15809 available_tags="CXX "
15811 # ### BEGIN LIBTOOL CONFIG
15813 # Which release of libtool.m4 was used?
15814 macro_version=$macro_version
15815 macro_revision=$macro_revision
15817 # Whether or not to build shared libraries.
15818 build_libtool_libs=$enable_shared
15820 # Whether or not to build static libraries.
15821 build_old_libs=$enable_static
15823 # What type of objects to build.
15826 # Whether or not to optimize for fast installation.
15827 fast_install=$enable_fast_install
15829 # Shell to use when invoking shell scripts.
15832 # An echo program that protects backslashes.
15836 host_alias=$host_alias
15840 # The build system.
15841 build_alias=$build_alias
15845 # A sed program that does not truncate output.
15848 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15849 Xsed="\$SED -e 1s/^X//"
15851 # A grep program that handles long lines.
15857 # A literal string matcher.
15860 # A BSD- or MS-compatible name lister.
15863 # Whether we need soft or hard links.
15866 # What is the maximum length of a command?
15867 max_cmd_len=$max_cmd_len
15869 # Object file suffix (normally "o").
15872 # Executable file suffix (normally "").
15875 # whether the shell understands "unset".
15878 # turn spaces into newlines.
15881 # turn newlines into spaces.
15884 # An object symbol dumper.
15885 OBJDUMP=$lt_OBJDUMP
15887 # Method to check whether dependent libraries are shared objects.
15888 deplibs_check_method=$lt_deplibs_check_method
15890 # Command to use when deplibs_check_method == "file_magic".
15891 file_magic_cmd=$lt_file_magic_cmd
15895 AR_FLAGS=$lt_AR_FLAGS
15897 # A symbol stripping program.
15900 # Commands used to install an old-style archive.
15902 old_postinstall_cmds=$lt_old_postinstall_cmds
15903 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15905 # Whether to use a lock for old archive extraction.
15906 lock_old_archive_extraction=$lock_old_archive_extraction
15911 # LTCC compiler flags.
15912 LTCFLAGS=$lt_CFLAGS
15914 # Take the output of nm and produce a listing of raw symbols and C names.
15915 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15917 # Transform the output of nm in a proper C declaration.
15918 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15920 # Transform the output of nm in a C name address pair.
15921 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15923 # Transform the output of nm in a C name address pair when lib prefix is needed.
15924 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15926 # The name of the directory that contains temporary libtool files.
15929 # Used to examine libraries when file_magic_cmd begins with "file".
15930 MAGIC_CMD=$MAGIC_CMD
15932 # Must we lock files when doing compilation?
15933 need_locks=$lt_need_locks
15935 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15936 DSYMUTIL=$lt_DSYMUTIL
15938 # Tool to change global to local symbols on Mac OS X.
15941 # Tool to manipulate fat objects and archives on Mac OS X.
15944 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15947 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15948 OTOOL64=$lt_OTOOL64
15950 # Old archive suffix (normally "a").
15953 # Shared library suffix (normally ".so").
15954 shrext_cmds=$lt_shrext_cmds
15956 # The commands to extract the exported symbol list from a shared archive.
15957 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15959 # Variables whose values should be saved in libtool wrapper scripts and
15960 # restored at link time.
15961 variables_saved_for_relink=$lt_variables_saved_for_relink
15963 # Do we need the "lib" prefix for modules?
15964 need_lib_prefix=$need_lib_prefix
15966 # Do we need a version for libraries?
15967 need_version=$need_version
15969 # Library versioning type.
15970 version_type=$version_type
15972 # Shared library runtime path variable.
15973 runpath_var=$runpath_var
15975 # Shared library path variable.
15976 shlibpath_var=$shlibpath_var
15978 # Is shlibpath searched before the hard-coded library search path?
15979 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15981 # Format of library name prefix.
15982 libname_spec=$lt_libname_spec
15984 # List of archive names. First name is the real one, the rest are links.
15985 # The last name is the one that the linker finds with -lNAME
15986 library_names_spec=$lt_library_names_spec
15988 # The coded name of the library, if different from the real name.
15989 soname_spec=$lt_soname_spec
15991 # Permission mode override for installation of shared libraries.
15992 install_override_mode=$lt_install_override_mode
15994 # Command to use after installation of a shared archive.
15995 postinstall_cmds=$lt_postinstall_cmds
15997 # Command to use after uninstallation of a shared archive.
15998 postuninstall_cmds=$lt_postuninstall_cmds
16000 # Commands used to finish a libtool library installation in a directory.
16001 finish_cmds=$lt_finish_cmds
16003 # As "finish_cmds", except a single script fragment to be evaled but
16005 finish_eval=$lt_finish_eval
16007 # Whether we should hardcode library paths into libraries.
16008 hardcode_into_libs=$hardcode_into_libs
16010 # Compile-time system search path for libraries.
16011 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16013 # Run-time system search path for libraries.
16014 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16016 # Whether dlopen is supported.
16017 dlopen_support=$enable_dlopen
16019 # Whether dlopen of programs is supported.
16020 dlopen_self=$enable_dlopen_self
16022 # Whether dlopen of statically linked programs is supported.
16023 dlopen_self_static=$enable_dlopen_self_static
16025 # Commands to strip libraries.
16026 old_striplib=$lt_old_striplib
16027 striplib=$lt_striplib
16030 # The linker used to build libraries.
16033 # How to create reloadable object files.
16034 reload_flag=$lt_reload_flag
16035 reload_cmds=$lt_reload_cmds
16037 # Commands used to build an old-style archive.
16038 old_archive_cmds=$lt_old_archive_cmds
16040 # A language specific compiler.
16043 # Is the compiler the GNU compiler?
16046 # Compiler flag to turn off builtin functions.
16047 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16049 # How to pass a linker flag through the compiler.
16050 wl=$lt_lt_prog_compiler_wl
16052 # Additional compiler flags for building library objects.
16053 pic_flag=$lt_lt_prog_compiler_pic
16055 # Compiler flag to prevent dynamic linking.
16056 link_static_flag=$lt_lt_prog_compiler_static
16058 # Does compiler simultaneously support -c and -o options?
16059 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16061 # Whether or not to add -lc for building shared libraries.
16062 build_libtool_need_lc=$archive_cmds_need_lc
16064 # Whether or not to disallow shared libs when runtime libs are static.
16065 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16067 # Compiler flag to allow reflexive dlopens.
16068 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16070 # Compiler flag to generate shared objects directly from archives.
16071 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16073 # Whether the compiler copes with passing no objects directly.
16074 compiler_needs_object=$lt_compiler_needs_object
16076 # Create an old-style archive from a shared archive.
16077 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16079 # Create a temporary old-style archive to link instead of a shared archive.
16080 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16082 # Commands used to build a shared archive.
16083 archive_cmds=$lt_archive_cmds
16084 archive_expsym_cmds=$lt_archive_expsym_cmds
16086 # Commands used to build a loadable module if different from building
16087 # a shared archive.
16088 module_cmds=$lt_module_cmds
16089 module_expsym_cmds=$lt_module_expsym_cmds
16091 # Whether we are building with GNU ld or not.
16092 with_gnu_ld=$lt_with_gnu_ld
16094 # Flag that allows shared libraries with undefined symbols to be built.
16095 allow_undefined_flag=$lt_allow_undefined_flag
16097 # Flag that enforces no undefined symbols.
16098 no_undefined_flag=$lt_no_undefined_flag
16100 # Flag to hardcode \$libdir into a binary during linking.
16101 # This must work even if \$libdir does not exist
16102 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16104 # If ld is used when linking, flag to hardcode \$libdir into a binary
16105 # during linking. This must work even if \$libdir does not exist.
16106 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16108 # Whether we need a single "-rpath" flag with a separated argument.
16109 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16111 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16112 # DIR into the resulting binary.
16113 hardcode_direct=$hardcode_direct
16115 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16116 # DIR into the resulting binary and the resulting library dependency is
16117 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16118 # library is relocated.
16119 hardcode_direct_absolute=$hardcode_direct_absolute
16121 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16122 # into the resulting binary.
16123 hardcode_minus_L=$hardcode_minus_L
16125 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16126 # into the resulting binary.
16127 hardcode_shlibpath_var=$hardcode_shlibpath_var
16129 # Set to "yes" if building a shared library automatically hardcodes DIR
16130 # into the library and all subsequent libraries and executables linked
16132 hardcode_automatic=$hardcode_automatic
16134 # Set to yes if linker adds runtime paths of dependent libraries
16135 # to runtime path list.
16136 inherit_rpath=$inherit_rpath
16138 # Whether libtool must link a program against all its dependency libraries.
16139 link_all_deplibs=$link_all_deplibs
16141 # Fix the shell variable \$srcfile for the compiler.
16142 fix_srcfile_path=$lt_fix_srcfile_path
16144 # Set to "yes" if exported symbols are required.
16145 always_export_symbols=$always_export_symbols
16147 # The commands to list exported symbols.
16148 export_symbols_cmds=$lt_export_symbols_cmds
16150 # Symbols that should not be listed in the preloaded symbols.
16151 exclude_expsyms=$lt_exclude_expsyms
16153 # Symbols that must always be exported.
16154 include_expsyms=$lt_include_expsyms
16156 # Commands necessary for linking programs (against libraries) with templates.
16157 prelink_cmds=$lt_prelink_cmds
16159 # Specify filename containing input files.
16160 file_list_spec=$lt_file_list_spec
16162 # How to hardcode a shared library path into an executable.
16163 hardcode_action=$hardcode_action
16165 # The directories searched by this compiler when creating a shared library.
16166 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16168 # Dependencies to place before and after the objects being linked to
16169 # create a shared library.
16170 predep_objects=$lt_predep_objects
16171 postdep_objects=$lt_postdep_objects
16172 predeps=$lt_predeps
16173 postdeps=$lt_postdeps
16175 # The library search path used internally by the compiler when linking
16176 # a shared library.
16177 compiler_lib_search_path=$lt_compiler_lib_search_path
16179 # ### END LIBTOOL CONFIG
16185 cat <<\_LT_EOF
>> "$cfgfile"
16186 # AIX sometimes has problems with the GCC collect2 program. For some
16187 # reason, if we set the COLLECT_NAMES environment variable, the problems
16188 # vanish in a puff of smoke.
16189 if test "X${COLLECT_NAMES+set}" != Xset
; then
16191 export COLLECT_NAMES
16198 ltmain
="$ac_aux_dir/ltmain.sh"
16201 # We use sed instead of cat because bash on DJGPP gets confused if
16202 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16203 # text mode, it properly converts lines to CR/LF. This bash problem
16204 # is reportedly fixed, but why not run on old versions too?
16205 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16206 ||
(rm -f "$cfgfile"; exit 1)
16210 cat << \_LT_EOF
>> "$cfgfile"
16212 # func_dirname file append nondir_replacement
16213 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16214 # otherwise set result to NONDIR_REPLACEMENT.
16218 */*) func_dirname_result
="${1%/*}${2}" ;;
16219 * ) func_dirname_result
="${3}" ;;
16223 # func_basename file
16226 func_basename_result
="${1##*/}"
16229 # func_dirname_and_basename file append nondir_replacement
16230 # perform func_basename and func_dirname in a single function
16232 # dirname: Compute the dirname of FILE. If nonempty,
16233 # add APPEND to the result, otherwise set result
16234 # to NONDIR_REPLACEMENT.
16235 # value returned in "$func_dirname_result"
16236 # basename: Compute filename of FILE.
16237 # value retuned in "$func_basename_result"
16238 # Implementation must be kept synchronized with func_dirname
16239 # and func_basename. For efficiency, we do not delegate to
16240 # those functions but instead duplicate the functionality here.
16241 func_dirname_and_basename
()
16244 */*) func_dirname_result
="${1%/*}${2}" ;;
16245 * ) func_dirname_result
="${3}" ;;
16247 func_basename_result
="${1##*/}"
16250 # func_stripname prefix suffix name
16251 # strip PREFIX and SUFFIX off of NAME.
16252 # PREFIX and SUFFIX must not contain globbing or regex special
16253 # characters, hashes, percent signs, but SUFFIX may contain a leading
16254 # dot (in which case that matches only a dot).
16257 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16258 # positional parameters, so assign one to ordinary parameter first.
16259 func_stripname_result
=${3}
16260 func_stripname_result
=${func_stripname_result#"${1}"}
16261 func_stripname_result
=${func_stripname_result%"${2}"}
16267 func_opt_split_opt
=${1%%=*}
16268 func_opt_split_arg
=${1#*=}
16275 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16276 *) func_lo2o_result
=${1} ;;
16280 # func_xform libobj-or-source
16283 func_xform_result
=${1%.*}.lo
16286 # func_arith arithmetic-term...
16289 func_arith_result
=$
(( $
* ))
16293 # STRING may not start with a hyphen.
16296 func_len_result
=${#1}
16301 *) # Bourne compatible functions.
16302 cat << \_LT_EOF
>> "$cfgfile"
16304 # func_dirname file append nondir_replacement
16305 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16306 # otherwise set result to NONDIR_REPLACEMENT.
16309 # Extract subdirectory from the argument.
16310 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16311 if test "X$func_dirname_result" = "X${1}"; then
16312 func_dirname_result
="${3}"
16314 func_dirname_result
="$func_dirname_result${2}"
16318 # func_basename file
16321 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16325 # func_stripname prefix suffix name
16326 # strip PREFIX and SUFFIX off of NAME.
16327 # PREFIX and SUFFIX must not contain globbing or regex special
16328 # characters, hashes, percent signs, but SUFFIX may contain a leading
16329 # dot (in which case that matches only a dot).
16330 # func_strip_suffix prefix name
16334 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16335 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16340 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16341 my_sed_long_arg
='1s/^-[^=]*=//'
16346 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16347 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16353 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16356 # func_xform libobj-or-source
16359 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16362 # func_arith arithmetic-term...
16365 func_arith_result
=`expr "$@"`
16369 # STRING may not start with a hyphen.
16372 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16378 case $lt_shell_append in
16380 cat << \_LT_EOF
>> "$cfgfile"
16382 # func_append var value
16383 # Append VALUE to the end of shell variable VAR.
16391 cat << \_LT_EOF
>> "$cfgfile"
16393 # func_append var value
16394 # Append VALUE to the end of shell variable VAR.
16405 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16406 ||
(rm -f "$cfgfile"; exit 1)
16408 mv -f "$cfgfile" "$ofile" ||
16409 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16413 cat <<_LT_EOF >> "$ofile"
16415 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16417 # The linker used to build libraries.
16420 # How to create reloadable object files.
16421 reload_flag=$lt_reload_flag_CXX
16422 reload_cmds=$lt_reload_cmds_CXX
16424 # Commands used to build an old-style archive.
16425 old_archive_cmds=$lt_old_archive_cmds_CXX
16427 # A language specific compiler.
16428 CC=$lt_compiler_CXX
16430 # Is the compiler the GNU compiler?
16433 # Compiler flag to turn off builtin functions.
16434 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16436 # How to pass a linker flag through the compiler.
16437 wl=$lt_lt_prog_compiler_wl_CXX
16439 # Additional compiler flags for building library objects.
16440 pic_flag=$lt_lt_prog_compiler_pic_CXX
16442 # Compiler flag to prevent dynamic linking.
16443 link_static_flag=$lt_lt_prog_compiler_static_CXX
16445 # Does compiler simultaneously support -c and -o options?
16446 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16448 # Whether or not to add -lc for building shared libraries.
16449 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16451 # Whether or not to disallow shared libs when runtime libs are static.
16452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16454 # Compiler flag to allow reflexive dlopens.
16455 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16457 # Compiler flag to generate shared objects directly from archives.
16458 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16460 # Whether the compiler copes with passing no objects directly.
16461 compiler_needs_object=$lt_compiler_needs_object_CXX
16463 # Create an old-style archive from a shared archive.
16464 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16466 # Create a temporary old-style archive to link instead of a shared archive.
16467 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16469 # Commands used to build a shared archive.
16470 archive_cmds=$lt_archive_cmds_CXX
16471 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16473 # Commands used to build a loadable module if different from building
16474 # a shared archive.
16475 module_cmds=$lt_module_cmds_CXX
16476 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16478 # Whether we are building with GNU ld or not.
16479 with_gnu_ld=$lt_with_gnu_ld_CXX
16481 # Flag that allows shared libraries with undefined symbols to be built.
16482 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16484 # Flag that enforces no undefined symbols.
16485 no_undefined_flag=$lt_no_undefined_flag_CXX
16487 # Flag to hardcode \$libdir into a binary during linking.
16488 # This must work even if \$libdir does not exist
16489 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16491 # If ld is used when linking, flag to hardcode \$libdir into a binary
16492 # during linking. This must work even if \$libdir does not exist.
16493 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16495 # Whether we need a single "-rpath" flag with a separated argument.
16496 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16498 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16499 # DIR into the resulting binary.
16500 hardcode_direct=$hardcode_direct_CXX
16502 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16503 # DIR into the resulting binary and the resulting library dependency is
16504 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16505 # library is relocated.
16506 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16508 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16509 # into the resulting binary.
16510 hardcode_minus_L=$hardcode_minus_L_CXX
16512 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16513 # into the resulting binary.
16514 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16516 # Set to "yes" if building a shared library automatically hardcodes DIR
16517 # into the library and all subsequent libraries and executables linked
16519 hardcode_automatic=$hardcode_automatic_CXX
16521 # Set to yes if linker adds runtime paths of dependent libraries
16522 # to runtime path list.
16523 inherit_rpath=$inherit_rpath_CXX
16525 # Whether libtool must link a program against all its dependency libraries.
16526 link_all_deplibs=$link_all_deplibs_CXX
16528 # Fix the shell variable \$srcfile for the compiler.
16529 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16531 # Set to "yes" if exported symbols are required.
16532 always_export_symbols=$always_export_symbols_CXX
16534 # The commands to list exported symbols.
16535 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16537 # Symbols that should not be listed in the preloaded symbols.
16538 exclude_expsyms=$lt_exclude_expsyms_CXX
16540 # Symbols that must always be exported.
16541 include_expsyms=$lt_include_expsyms_CXX
16543 # Commands necessary for linking programs (against libraries) with templates.
16544 prelink_cmds=$lt_prelink_cmds_CXX
16546 # Specify filename containing input files.
16547 file_list_spec=$lt_file_list_spec_CXX
16549 # How to hardcode a shared library path into an executable.
16550 hardcode_action=$hardcode_action_CXX
16552 # The directories searched by this compiler when creating a shared library.
16553 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16555 # Dependencies to place before and after the objects being linked to
16556 # create a shared library.
16557 predep_objects=$lt_predep_objects_CXX
16558 postdep_objects=$lt_postdep_objects_CXX
16559 predeps=$lt_predeps_CXX
16560 postdeps=$lt_postdeps_CXX
16562 # The library search path used internally by the compiler when linking
16563 # a shared library.
16564 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16566 # ### END LIBTOOL TAG CONFIG: CXX
16577 ac_clean_files
=$ac_clean_files_save
16579 test $ac_write_fail = 0 ||
16580 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16583 # configure is writing to config.log, and then calls config.status.
16584 # config.status does its own redirection, appending to config.log.
16585 # Unfortunately, on DOS this fails, as config.log is still kept open
16586 # by configure, so config.status won't be able to write to it; its
16587 # output is simply discarded. So we exec the FD to /dev/null,
16588 # effectively closing config.log, so it can be properly (re)opened and
16589 # appended to by config.status. When coming back to configure, we
16590 # need to make the FD available again.
16591 if test "$no_create" != yes; then
16593 ac_config_status_args
=
16594 test "$silent" = yes &&
16595 ac_config_status_args
="$ac_config_status_args --quiet"
16597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16600 # would make configure fail if this is the last instruction.
16601 $ac_cs_success || as_fn_exit
1
16603 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16605 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}