2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for package-unused version-unused.
5 # Report bugs to <libasan>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and libasan about your
250 $0: system, including any error possibly output before this
251 $0: message. Then install a modern shell, or manually run
252 $0: the script under such a shell if you do have one."
258 SHELL
=${CONFIG_SHELL-/bin/sh}
260 # Unset more variables known to interfere with behavior of common tools.
261 CLICOLOR_FORCE
= GREP_OPTIONS
=
262 unset CLICOLOR_FORCE GREP_OPTIONS
264 ## --------------------- ##
265 ## M4sh Shell Functions. ##
266 ## --------------------- ##
269 # Portably unset VAR.
272 { eval $1=; unset $1;}
276 # as_fn_set_status STATUS
277 # -----------------------
278 # Set $? to STATUS, without forking.
286 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
296 # Create "$as_dir" as a directory, including parents if necessary.
301 -*) as_dir
=.
/$as_dir;;
303 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
307 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310 as_dirs
="'$as_qdir' $as_dirs"
311 as_dir
=`$as_dirname -- "$as_dir" ||
312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
313 X"$as_dir" : 'X\(//\)[^/]' \| \
314 X"$as_dir" : 'X\(//\)$' \| \
315 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
316 $as_echo X"$as_dir" |
317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
334 test -d "$as_dir" && break
336 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
337 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
341 # as_fn_append VAR VALUE
342 # ----------------------
343 # Append the text in VALUE to the end of the definition contained in VAR. Take
344 # advantage of any shell optimizations that allow amortized linear growth over
345 # repeated appends, instead of the typical quadratic growth present in naive
347 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
348 eval 'as_fn_append ()
361 # Perform arithmetic evaluation on the ARGs, and store the result in the
362 # global $as_val. Take advantage of shells that can avoid forks. The arguments
363 # must be portable across $(()) and expr.
364 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
372 as_val
=`expr "$@" || test $? -eq 1`
377 # as_fn_error STATUS ERROR [LINENO LOG_FD]
378 # ----------------------------------------
379 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
380 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
381 # script with STATUS, using 1 if that was 0.
384 as_status
=$1; test $as_status -eq 0 && as_status
=1
386 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
387 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 $as_echo "$as_me: error: $2" >&2
390 as_fn_exit
$as_status
393 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
394 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
400 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
406 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
412 as_me
=`$as_basename -- "$0" ||
413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
414 X"$0" : 'X\(//\)$' \| \
415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 sed '/^.*\/\([^/][^/]*\)\/*$/{
431 # Avoid depending upon Character Ranges.
432 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
433 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
434 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
435 as_cr_digits
='0123456789'
436 as_cr_alnum
=$as_cr_Letters$as_cr_digits
439 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
440 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
441 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
442 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
443 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
455 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
459 chmod +x
"$as_me.lineno" ||
460 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
462 # Don't try to exec as it changes $[0], causing all sort of problems
463 # (the dirname of $[0] is not the place where we might find the
464 # original and so on. Autoconf is especially sensitive to this).
466 # Exit status is that of the last command.
470 ECHO_C
= ECHO_N
= ECHO_T
=
471 case `echo -n x` in #(((((
473 case `echo 'xy\c'` in
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
476 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
483 rm -f conf$$ conf$$.exe conf$$.
file
484 if test -d conf$$.dir
; then
485 rm -f conf$$.dir
/conf$$.
file
488 mkdir conf$$.dir
2>/dev
/null
490 if (echo >conf$$.
file) 2>/dev
/null
; then
491 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
493 # ... but there are two gotchas:
494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496 # In both cases, we have to default to `cp -p'.
497 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
499 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
511 as_mkdir_p
='mkdir -p "$as_dir"'
513 test -d .
/-p && rmdir .
/-p
517 if test -x / >/dev
/null
2>&1; then
520 if ls -dL / >/dev
/null
2>&1; then
527 if test -d "$1"; then
533 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
534 ???[sx]*):;;*)false;;esac;fi
538 as_executable_p
=$as_test_x
540 # Sed expression to map a string onto a valid CPP name.
541 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543 # Sed expression to map a string onto a valid variable name.
544 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546 SHELL
=${CONFIG_SHELL-/bin/sh}
549 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
553 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
554 # so uname gets run too.
555 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 ac_default_prefix
=/usr
/local
562 ac_config_libobj_dir
=.
569 # Identity of this package.
570 PACKAGE_NAME
='package-unused'
571 PACKAGE_TARNAME
='package-unused'
572 PACKAGE_VERSION
='version-unused'
573 PACKAGE_STRING
='package-unused version-unused'
574 PACKAGE_BUGREPORT
='libasan'
577 ac_unique_file
="asan_stack.cc"
578 # Factoring default headers for most tests.
579 ac_includes_default
="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
614 ac_subst_vars
='am__EXEEXT_FALSE
685 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
741 enable_version_specific_runtime_libs
742 enable_dependency_tracking
752 ac_precious_vars
='build_alias
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
840 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
843 -build |
--build |
--buil |
--bui |
--bu)
844 ac_prev
=build_alias
;;
845 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
846 build_alias
=$ac_optarg ;;
848 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
849 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
850 ac_prev
=cache_file
;;
851 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
852 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
853 cache_file
=$ac_optarg ;;
856 cache_file
=config.cache
;;
858 -datadir |
--datadir |
--datadi |
--datad)
860 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
861 datadir
=$ac_optarg ;;
863 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
864 |
--dataroo |
--dataro |
--datar)
865 ac_prev
=datarootdir
;;
866 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
867 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
868 datarootdir
=$ac_optarg ;;
870 -disable-* |
--disable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 as_fn_error $?
"invalid feature name: $ac_useropt"
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=no
;;
886 -docdir |
--docdir |
--docdi |
--doc |
--do)
888 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
891 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
893 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
896 -enable-* |
--enable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error $?
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=\
$ac_optarg ;;
912 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
913 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
914 |
--exec |
--exe |
--ex)
915 ac_prev
=exec_prefix
;;
916 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
917 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
918 |
--exec=* |
--exe=* |
--ex=*)
919 exec_prefix
=$ac_optarg ;;
921 -gas |
--gas |
--ga |
--g)
922 # Obsolete; use --with-gas.
925 -help |
--help |
--hel |
--he |
-h)
927 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
928 ac_init_help
=recursive
;;
929 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
930 ac_init_help
=short
;;
932 -host |
--host |
--hos |
--ho)
933 ac_prev
=host_alias
;;
934 -host=* |
--host=* |
--hos=* |
--ho=*)
935 host_alias
=$ac_optarg ;;
937 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
939 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
941 htmldir
=$ac_optarg ;;
943 -includedir |
--includedir |
--includedi |
--included |
--include \
944 |
--includ |
--inclu |
--incl |
--inc)
945 ac_prev
=includedir
;;
946 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
947 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
948 includedir
=$ac_optarg ;;
950 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
952 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
953 infodir
=$ac_optarg ;;
955 -libdir |
--libdir |
--libdi |
--libd)
957 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
960 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
961 |
--libexe |
--libex |
--libe)
962 ac_prev
=libexecdir
;;
963 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
964 |
--libexe=* |
--libex=* |
--libe=*)
965 libexecdir
=$ac_optarg ;;
967 -localedir |
--localedir |
--localedi |
--localed |
--locale)
969 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
970 localedir
=$ac_optarg ;;
972 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
973 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
974 ac_prev
=localstatedir
;;
975 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
976 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
977 localstatedir
=$ac_optarg ;;
979 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
981 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
985 # Obsolete; use --without-fp.
988 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
989 |
--no-cr |
--no-c |
-n)
992 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
993 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
996 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
997 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
998 |
--oldin |
--oldi |
--old |
--ol |
--o)
999 ac_prev
=oldincludedir
;;
1000 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1001 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1002 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1003 oldincludedir
=$ac_optarg ;;
1005 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1007 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1008 prefix
=$ac_optarg ;;
1010 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1011 |
--program-pre |
--program-pr |
--program-p)
1012 ac_prev
=program_prefix
;;
1013 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1014 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1015 program_prefix
=$ac_optarg ;;
1017 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1018 |
--program-suf |
--program-su |
--program-s)
1019 ac_prev
=program_suffix
;;
1020 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1021 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1022 program_suffix
=$ac_optarg ;;
1024 -program-transform-name |
--program-transform-name \
1025 |
--program-transform-nam |
--program-transform-na \
1026 |
--program-transform-n |
--program-transform- \
1027 |
--program-transform |
--program-transfor \
1028 |
--program-transfo |
--program-transf \
1029 |
--program-trans |
--program-tran \
1030 |
--progr-tra |
--program-tr |
--program-t)
1031 ac_prev
=program_transform_name
;;
1032 -program-transform-name=* |
--program-transform-name=* \
1033 |
--program-transform-nam=* |
--program-transform-na=* \
1034 |
--program-transform-n=* |
--program-transform-=* \
1035 |
--program-transform=* |
--program-transfor=* \
1036 |
--program-transfo=* |
--program-transf=* \
1037 |
--program-trans=* |
--program-tran=* \
1038 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1039 program_transform_name
=$ac_optarg ;;
1041 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1043 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1044 pdfdir
=$ac_optarg ;;
1046 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1048 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1051 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1052 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1057 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1059 sbindir
=$ac_optarg ;;
1061 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1062 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1063 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1065 ac_prev
=sharedstatedir
;;
1066 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1067 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1068 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1070 sharedstatedir
=$ac_optarg ;;
1072 -site |
--site |
--sit)
1074 -site=* |
--site=* |
--sit=*)
1077 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1079 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1080 srcdir
=$ac_optarg ;;
1082 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1083 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1084 ac_prev
=sysconfdir
;;
1085 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1086 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1087 sysconfdir
=$ac_optarg ;;
1089 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1090 ac_prev
=target_alias
;;
1091 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1092 target_alias
=$ac_optarg ;;
1094 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1097 -version |
--version |
--versio |
--versi |
--vers |
-V)
1098 ac_init_version
=: ;;
1101 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error $?
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=\
$ac_optarg ;;
1116 -without-* |
--without-*)
1117 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error $?
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information"
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1159 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error $?
"missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val
=\$
$ac_var
1195 # Remove trailing slashes.
1198 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\
$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$
]* | ?
:[\\/]* ) continue;;
1204 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1206 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target
=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x
; then
1218 if test "x$build_alias" = x
; then
1219 cross_compiling
=maybe
1220 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used" >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1230 test "$silent" = yes && exec 6>/dev
/null
1233 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di
=`ls -di .` &&
1235 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error $?
"working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error $?
"pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted
=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir
=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted
=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1277 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var
in $ac_precious_vars; do
1294 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1296 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking ...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1370 --build=BUILD configure
for building on BUILD
[guessed
]
1371 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of package-unused version-unused:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1386 --disable-dependency-tracking speeds up one-time build
1387 --enable-dependency-tracking do not reject slow dependency extractors
1388 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1389 --enable-static[=PKGS
] build static libraries
[default
=yes]
1390 --enable-fast-install[=PKGS
]
1391 optimize
for fast installation
[default
=yes]
1392 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1393 --enable-multilib build many library versions
(default
)
1396 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1397 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1398 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1400 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1401 --with-sysroot=DIR Search
for dependent libraries within DIR
1402 (or the compiler
's sysroot if not specified).
1404 Some influential environment variables:
1405 CC C compiler command
1406 CFLAGS C compiler flags
1407 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1408 nonstandard directory <lib dir>
1409 LIBS libraries to pass to the linker, e.g. -l<library>
1410 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1411 you have headers in a nonstandard directory <include dir>
1412 CXX C++ compiler command
1413 CXXFLAGS C++ compiler flags
1415 CXXCPP C++ preprocessor
1417 Use these variables to override the choices made by `configure' or to
help
1418 it to
find libraries and programs with nonstandard names
/locations.
1420 Report bugs to
<libasan
>.
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1434 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1436 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1441 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1444 ac_abs_top_builddir
=$ac_pwd
1445 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir
=$ac_top_build_prefix
1450 .
) # We are building in place.
1452 ac_top_srcdir
=$ac_top_builddir_sub
1453 ac_abs_top_srcdir
=$ac_pwd ;;
1454 [\\/]* | ?
:[\\/]* ) # Absolute name.
1455 ac_srcdir
=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir
=$srcdir
1457 ac_abs_top_srcdir
=$srcdir ;;
1459 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1463 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1465 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1466 # Check for guested configure.
1467 if test -f "$ac_srcdir/configure.gnu"; then
1469 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470 elif test -f "$ac_srcdir/configure"; then
1472 $SHELL "$ac_srcdir/configure" --help=recursive
1474 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1483 package-unused configure version-unused
1484 generated by GNU Autoconf
2.68
1486 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1487 This configure
script is free software
; the Free Software Foundation
1488 gives unlimited permission to copy
, distribute and modify it.
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile
()
1502 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1503 rm -f conftest.
$ac_objext
1504 if { { ac_try
="$ac_compile"
1506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1507 *) ac_try_echo=$ac_try;;
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_compile") 2>conftest.err
1513 if test -s conftest.err; then
1514 grep -v '^ *+' conftest.err >conftest.er1
1515 cat conftest.er1 >&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest.$ac_objext; then :
1525 $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1531 as_fn_set_status $ac_retval
1533 } # ac_fn_c_try_compile
1535 # ac_fn_cxx_try_compile LINENO
1536 # ----------------------------
1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_cxx_try_compile ()
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 rm -f conftest.$ac_objext
1542 if { { ac_try="$ac_compile"
1544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1545 *) ac_try_echo
=$ac_try;;
1547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549 (eval "$ac_compile") 2>conftest.err
1551 if test -s conftest.err
; then
1552 grep -v '^ *+' conftest.err
>conftest.er1
1553 cat conftest.er1
>&5
1554 mv -f conftest.er1 conftest.err
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && {
1558 test -z "$ac_cxx_werror_flag" ||
1559 test ! -s conftest.err
1560 } && test -s conftest.
$ac_objext; then :
1563 $as_echo "$as_me: failed program was:" >&5
1564 sed 's/^/| /' conftest.
$ac_ext >&5
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status
$ac_retval
1571 } # ac_fn_cxx_try_compile
1573 # ac_fn_c_try_link LINENO
1574 # -----------------------
1575 # Try to link conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1579 rm -f conftest.
$ac_objext conftest
$ac_exeext
1580 if { { ac_try
="$ac_link"
1582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_link") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest$ac_exeext && {
1599 test "$cross_compiling" = yes ||
1600 $as_test_x conftest$ac_exeext
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1610 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1611 # interfere with the next link command; also delete a directory that is
1612 # left behind by Apple's compiler. We do this before executing the actions.
1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_c_try_link
1619 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists and can be compiled using the include files in
1622 # INCLUDES, setting the cache variable VAR accordingly.
1623 ac_fn_c_check_header_compile ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \${$3+:} false; then :
1629 $as_echo_n "(cached) " >&6
1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1632 /* end confdefs.h. */
1636 if ac_fn_c_try_compile "$LINENO"; then :
1641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 } # ac_fn_c_check_header_compile
1650 # ac_fn_c_try_cpp LINENO
1651 # ----------------------
1652 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 if { { ac_try="$ac_cpp conftest.$ac_ext"
1658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1659 *) ac_try_echo
=$ac_try;;
1661 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1665 if test -s conftest.err
; then
1666 grep -v '^ *+' conftest.err
>conftest.er1
1667 cat conftest.er1
>&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } > conftest.i
&& {
1672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.
$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1687 # ac_fn_c_try_run LINENO
1688 # ----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1690 # that executables *can* be run.
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 if { { ac_try
="$ac_link"
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1705 { { case "(($ac_try" in
1706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1707 *) ac_try_echo
=$ac_try;;
1709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_try") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; }; }; then :
1717 $as_echo "$as_me: program exited with status $ac_status" >&5
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1721 ac_retval
=$ac_status
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status
$ac_retval
1729 # ac_fn_c_check_func LINENO FUNC VAR
1730 # ----------------------------------
1731 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1732 ac_fn_c_check_func
()
1734 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval \
${$3+:} false
; then :
1738 $as_echo_n "(cached) " >&6
1740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1742 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1744 #define $2 innocuous_$2
1746 /* System header to define __stub macros and hopefully few prototypes,
1747 which can conflict with char $2 (); below.
1748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1749 <limits.h> exists even on freestanding compilers. */
1752 # include <limits.h>
1754 # include <assert.h>
1759 /* Override any GCC internal prototype to avoid an error.
1760 Use char because int might match the return type of a GCC
1761 builtin and then its argument prototype would still apply. */
1766 /* The GNU C library defines this for functions which it implements
1767 to always fail with ENOSYS. Some functions are actually named
1768 something starting with __ and the normal name is an alias. */
1769 #if defined __stub_$2 || defined __stub___$2
1781 if ac_fn_c_try_link
"$LINENO"; then :
1786 rm -f core conftest.err conftest.
$ac_objext \
1787 conftest
$ac_exeext conftest.
$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 } # ac_fn_c_check_func
1796 # ac_fn_cxx_try_cpp LINENO
1797 # ------------------------
1798 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_cpp
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } > conftest.i && {
1818 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_cxx_try_cpp
1833 # ac_fn_cxx_try_link LINENO
1834 # -------------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_link ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 rm -f conftest.$ac_objext conftest$ac_exeext
1840 if { { ac_try="$ac_link"
1842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1843 *) ac_try_echo
=$ac_try;;
1845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err
; then
1850 grep -v '^ *+' conftest.err
>conftest.er1
1851 cat conftest.er1
>&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest
$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest
$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.
$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status
$ac_retval
1877 } # ac_fn_cxx_try_link
1878 cat >config.log
<<_ACEOF
1879 This file contains any messages produced by compilers while
1880 running configure, to aid debugging if configure makes a mistake.
1882 It was created by package-unused $as_me version-unused, which was
1883 generated by GNU Autoconf 2.68. Invocation command line was
1895 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1896 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1897 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1898 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1899 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1901 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1902 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1904 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1905 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1906 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1907 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1908 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1909 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1910 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir
=.
1919 $as_echo "PATH: $as_dir"
1935 # Keep a trace of the command line.
1936 # Strip out --no-create and --no-recursion so they do not pile up.
1937 # Strip out --silent because we don't want to record it for future runs.
1938 # Also quote any args containing shell meta-characters.
1939 # Make two passes to allow for proper duplicate-argument suppression.
1943 ac_must_keep_next
=false
1949 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1950 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1951 |
-silent |
--silent |
--silen |
--sile |
--sil)
1954 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1957 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1959 as_fn_append ac_configure_args1
" '$ac_arg'"
1960 if test $ac_must_keep_next = true
; then
1961 ac_must_keep_next
=false
# Got value, back to normal.
1964 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1965 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1966 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1967 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1968 case "$ac_configure_args0 " in
1969 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1972 -* ) ac_must_keep_next
=true
;;
1975 as_fn_append ac_configure_args
" '$ac_arg'"
1980 { ac_configure_args0
=; unset ac_configure_args0
;}
1981 { ac_configure_args1
=; unset ac_configure_args1
;}
1983 # When interrupted or exit'd, cleanup temporary files, and complete
1984 # config.log. We remove comments because anyway the quotes in there
1985 # would cause problems or look ugly.
1986 # WARNING: Use '\'' to represent an apostrophe within the trap.
1987 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1988 trap 'exit_status=$?
1989 # Save into config.log some information that might help in debugging.
1993 $as_echo "## ---------------- ##
1994 ## Cache variables. ##
1995 ## ---------------- ##"
1997 # The following way of writing the cache mishandles newlines in values,
1999 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2000 eval ac_val=\$$ac_var
2004 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2008 _ | IFS | as_nl) ;; #(
2009 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2010 *) { eval $ac_var=; unset $ac_var;} ;;
2015 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2016 *${as_nl}ac_space=\ *)
2018 "s/'\''/'\''\\\\'\'''\''/g;
2019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2029 $as_echo "## ----------------- ##
2030 ## Output variables. ##
2031 ## ----------------- ##"
2033 for ac_var in $ac_subst_vars
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2043 if test -n "$ac_subst_files"; then
2044 $as_echo "## ------------------- ##
2045 ## File substitutions. ##
2046 ## ------------------- ##"
2048 for ac_var
in $ac_subst_files
2050 eval ac_val
=\$
$ac_var
2052 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2054 $as_echo "$ac_var='\''$ac_val'\''"
2059 if test -s confdefs.h; then
2060 $as_echo "## ----------- ##
2067 test "$ac_signal" != 0 &&
2068 $as_echo "$as_me: caught signal $ac_signal"
2069 $as_echo "$as_me: exit $exit_status"
2071 rm -f core *.core core.conftest.* &&
2072 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2075 for ac_signal
in 1 2 13 15; do
2076 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2081 rm -f -r conftest
* confdefs.h
2083 $as_echo "/* confdefs.h */" > confdefs.h
2085 # Predefined preprocessor variables.
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_NAME "$PACKAGE_NAME"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_STRING "$PACKAGE_STRING"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_URL "$PACKAGE_URL"
2112 # Let the site file select an alternate cache file if it wants to.
2113 # Prefer an explicitly selected file to automatically selected ones.
2116 if test -n "$CONFIG_SITE"; then
2117 # We do not want a PATH search for config.site.
2118 case $CONFIG_SITE in #((
2119 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2120 */*) ac_site_file1
=$CONFIG_SITE;;
2121 *) ac_site_file1
=.
/$CONFIG_SITE;;
2123 elif test "x$prefix" != xNONE
; then
2124 ac_site_file1
=$prefix/share
/config.site
2125 ac_site_file2
=$prefix/etc
/config.site
2127 ac_site_file1
=$ac_default_prefix/share
/config.site
2128 ac_site_file2
=$ac_default_prefix/etc
/config.site
2130 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2132 test "x$ac_site_file" = xNONE
&& continue
2133 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2135 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2136 sed 's/^/| /' "$ac_site_file" >&5
2138 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2140 as_fn_error $?
"failed to load site script $ac_site_file
2141 See \`config.log' for more details" "$LINENO" 5; }
2145 if test -r "$cache_file"; then
2146 # Some versions of bash will fail to source /dev/null (special files
2147 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2148 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2153 *) .
"./$cache_file";;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
2162 # Check that the precious variables saved in the cache have kept the same
2164 ac_cache_corrupted
=false
2165 for ac_var
in $ac_precious_vars; do
2166 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2167 eval ac_new_set
=\
$ac_env_${ac_var}_set
2168 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2169 eval ac_new_val
=\
$ac_env_${ac_var}_value
2170 case $ac_old_set,$ac_new_set in
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2174 ac_cache_corrupted
=: ;;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2177 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2178 ac_cache_corrupted
=: ;;
2181 if test "x$ac_old_val" != "x$ac_new_val"; then
2182 # differences in whitespace do not lead to failure.
2183 ac_old_val_w
=`echo x $ac_old_val`
2184 ac_new_val_w
=`echo x $ac_new_val`
2185 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2188 ac_cache_corrupted
=:
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2192 eval $ac_var=\
$ac_old_val
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2195 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2200 # Pass precious variables to config.status.
2201 if test "$ac_new_set" = set; then
2203 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2204 *) ac_arg
=$ac_var=$ac_new_val ;;
2206 case " $ac_configure_args " in
2207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2208 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2212 if $ac_cache_corrupted; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2217 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2219 ## -------------------- ##
2220 ## Main body of script. ##
2221 ## -------------------- ##
2224 ac_cpp
='$CPP $CPPFLAGS'
2225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2232 for ac_dir
in .
"$srcdir"/.
; do
2233 if test -f "$ac_dir/install-sh"; then
2235 ac_install_sh
="$ac_aux_dir/install-sh -c"
2237 elif test -f "$ac_dir/install.sh"; then
2239 ac_install_sh
="$ac_aux_dir/install.sh -c"
2241 elif test -f "$ac_dir/shtool"; then
2243 ac_install_sh
="$ac_aux_dir/shtool install -c"
2247 if test -z "$ac_aux_dir"; then
2248 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2251 # These three variables are undocumented and unsupported,
2252 # and are intended to be withdrawn in a future Autoconf release.
2253 # They can cause serious problems if a builder's source tree is in a directory
2254 # whose full name contains unusual characters.
2255 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2256 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2257 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2260 am__api_version
='1.11'
2262 # Find a good install program. We prefer a C program (faster),
2263 # so one script is as good as another. But avoid the broken or
2264 # incompatible versions:
2265 # SysV /etc/install, /usr/sbin/install
2266 # SunOS /usr/etc/install
2267 # IRIX /sbin/install
2269 # AmigaOS /C/install, which installs bootblocks on floppy discs
2270 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2271 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2272 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2273 # OS/2's system install, which has a completely different semantic
2274 # ./install, which can be erroneously created by make from ./install.sh.
2275 # Reject install programs that cannot install multiple files.
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2277 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2278 if test -z "$INSTALL"; then
2279 if ${ac_cv_path_install+:} false
; then :
2280 $as_echo_n "(cached) " >&6
2282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir
=.
2287 # Account for people who put trailing slashes in PATH elements.
2288 case $as_dir/ in #((
2289 .
/ | .
// |
/[cC
]/* | \
2290 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2291 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2294 # OSF1 and SCO ODT 3.0 have their own names for install.
2295 # Don't use installbsd from OSF since it installs stuff as root
2297 for ac_prog
in ginstall scoinst
install; do
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2300 if test $ac_prog = install &&
2301 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2302 # AIX install. It has an incompatible calling convention.
2304 elif test $ac_prog = install &&
2305 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2306 # program-specific install script used by HP pwplus--don't use.
2309 rm -rf conftest.one conftest.two conftest.dir
2310 echo one
> conftest.one
2311 echo two
> conftest.two
2313 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2314 test -s conftest.one
&& test -s conftest.two
&&
2315 test -s conftest.dir
/conftest.one
&&
2316 test -s conftest.dir
/conftest.two
2318 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2331 rm -rf conftest.one conftest.two conftest.dir
2334 if test "${ac_cv_path_install+set}" = set; then
2335 INSTALL
=$ac_cv_path_install
2337 # As a last resort, use the slow shell script. Don't cache a
2338 # value for INSTALL within a source directory, because that will
2339 # break other packages using the cache if that directory is
2340 # removed, or if the value is a relative name.
2341 INSTALL
=$ac_install_sh
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2345 $as_echo "$INSTALL" >&6; }
2347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2348 # It thinks the first close brace ends the variable substitution.
2349 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2351 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2353 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2356 $as_echo_n "checking whether build environment is sane... " >&6; }
2359 echo timestamp
> conftest.
file
2360 # Reject unsafe characters in $srcdir or the absolute working directory
2361 # name. Accept space and tab only in the latter.
2365 *[\\\"\
#\$\&\'\`$am_lf]*)
2366 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2369 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2370 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2373 # Do `set' in a subshell so we don't clobber the current shell's
2374 # arguments. Must try -L first in case configure is actually a
2375 # symlink; some systems play weird games with the mod time of symlinks
2376 # (eg FreeBSD returns the mod time of the symlink's containing
2379 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2380 if test "$*" = "X"; then
2382 set X
`ls -t "$srcdir/configure" conftest.file`
2385 if test "$*" != "X $srcdir/configure conftest.file" \
2386 && test "$*" != "X conftest.file $srcdir/configure"; then
2388 # If neither matched, then we have a broken ls. This can happen
2389 # if, for instance, CONFIG_SHELL is bash and it inherits a
2390 # broken ls alias from the environment. This has actually
2391 # happened. Such a system could not be considered "sane".
2392 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2393 alias in your environment" "$LINENO" 5
2396 test "$2" = conftest.
file
2402 as_fn_error $?
"newly created file is older than distributed files!
2403 Check your system clock" "$LINENO" 5
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2406 $as_echo "yes" >&6; }
2407 test "$program_prefix" != NONE
&&
2408 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2409 # Use a double $ so make ignores it.
2410 test "$program_suffix" != NONE
&&
2411 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2412 # Double any \ or $.
2413 # By default was `s,x,x', remove it if useless.
2414 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2415 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2417 # expand $ac_aux_dir to an absolute path
2418 am_aux_dir
=`cd $ac_aux_dir && pwd`
2420 if test x
"${MISSING+set}" != xset
; then
2423 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2425 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2428 # Use eval to expand $SHELL
2429 if eval "$MISSING --run true"; then
2430 am_missing_run
="$MISSING --run "
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2434 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2437 if test x
"${install_sh}" != xset
; then
2440 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2442 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2446 # Installed binaries are usually stripped using `strip' when the user
2447 # run `make install-strip'. However `strip' might not be the right
2448 # tool to use in cross-compilation environments, therefore Automake
2449 # will honor the `STRIP' environment variable to overrule this program.
2450 if test "$cross_compiling" != no
; then
2451 if test -n "$ac_tool_prefix"; then
2452 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2453 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2455 $as_echo_n "checking for $ac_word... " >&6; }
2456 if ${ac_cv_prog_STRIP+:} false
; then :
2457 $as_echo_n "(cached) " >&6
2459 if test -n "$STRIP"; then
2460 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir
=.
2467 for ac_exec_ext
in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 STRIP
=$ac_cv_prog_STRIP
2480 if test -n "$STRIP"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2482 $as_echo "$STRIP" >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2485 $as_echo "no" >&6; }
2490 if test -z "$ac_cv_prog_STRIP"; then
2492 # Extract the first word of "strip", so it can be a program name with args.
2493 set dummy strip
; ac_word
=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2497 $as_echo_n "(cached) " >&6
2499 if test -n "$ac_ct_STRIP"; then
2500 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir
=.
2507 for ac_exec_ext
in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_ac_ct_STRIP
="strip"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2520 if test -n "$ac_ct_STRIP"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2522 $as_echo "$ac_ct_STRIP" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2528 if test "x$ac_ct_STRIP" = x
; then
2531 case $cross_compiling:$ac_tool_warned in
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2535 ac_tool_warned
=yes ;;
2540 STRIP
="$ac_cv_prog_STRIP"
2544 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2547 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2548 if test -z "$MKDIR_P"; then
2549 if ${ac_cv_path_mkdir+:} false
; then :
2550 $as_echo_n "(cached) " >&6
2552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2556 test -z "$as_dir" && as_dir
=.
2557 for ac_prog
in mkdir gmkdir
; do
2558 for ac_exec_ext
in '' $ac_executable_extensions; do
2559 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2560 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2561 'mkdir (GNU coreutils) '* | \
2562 'mkdir (coreutils) '* | \
2563 'mkdir (fileutils) '4.1*)
2564 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2574 test -d .
/--version && rmdir .
/--version
2575 if test "${ac_cv_path_mkdir+set}" = set; then
2576 MKDIR_P
="$ac_cv_path_mkdir -p"
2578 # As a last resort, use the slow shell script. Don't cache a
2579 # value for MKDIR_P within a source directory, because that will
2580 # break other packages using the cache if that directory is
2581 # removed, or if the value is a relative name.
2582 MKDIR_P
="$ac_install_sh -d"
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2586 $as_echo "$MKDIR_P" >&6; }
2590 [\\/$
]* | ?
:[\\/]*) ;;
2591 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2594 for ac_prog
in gawk mawk nawk
awk
2596 # Extract the first word of "$ac_prog", so it can be a program name with args.
2597 set dummy
$ac_prog; ac_word
=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if ${ac_cv_prog_AWK+:} false
; then :
2601 $as_echo_n "(cached) " >&6
2603 if test -n "$AWK"; then
2604 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613 ac_cv_prog_AWK
="$ac_prog"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 if test -n "$AWK"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2626 $as_echo "$AWK" >&6; }
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2633 test -n "$AWK" && break
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2637 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2639 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2640 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2641 $as_echo_n "(cached) " >&6
2643 cat >conftest.
make <<\_ACEOF
2646 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2648 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2651 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2653 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2657 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2659 $as_echo "yes" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663 $as_echo "no" >&6; }
2664 SET_MAKE
="MAKE=${MAKE-make}"
2667 rm -rf .tst
2>/dev
/null
2668 mkdir .tst
2>/dev
/null
2669 if test -d .tst
; then
2674 rmdir .tst
2>/dev
/null
2676 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2677 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2678 # is not polluted with repeated "-I."
2679 am__isrc
=' -I$(srcdir)'
2680 # test to see if srcdir already configured
2681 if test -f $srcdir/config.status
; then
2682 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2686 # test whether we have cygpath
2687 if test -z "$CYGPATH_W"; then
2688 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2689 CYGPATH_W
='cygpath -w'
2696 # Define the identity of the package.
2697 PACKAGE
='package-unused'
2698 VERSION
='version-unused'
2701 cat >>confdefs.h
<<_ACEOF
2702 #define PACKAGE "$PACKAGE"
2706 cat >>confdefs.h
<<_ACEOF
2707 #define VERSION "$VERSION"
2710 # Some tools Automake needs.
2712 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2715 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2718 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2721 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2724 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2726 # We need awk for the "check" target. The system "awk" is bad on
2728 # Always define AMTAR for backward compatibility. Yes, it's still used
2729 # in the wild :-( We should find a proper way to deprecate it ...
2732 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2740 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2741 # Check whether --enable-version-specific-runtime-libs was given.
2742 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2743 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2744 yes) version_specific_libs
=yes ;;
2745 no
) version_specific_libs
=no
;;
2746 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2749 version_specific_libs
=no
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2753 $as_echo "$version_specific_libs" >&6; }
2755 # Checks for programs.
2757 ac_cpp
='$CPP $CPPFLAGS'
2758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if ${ac_cv_prog_CC+:} false
; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC
="$CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_CC"; then
2802 # Extract the first word of "gcc", so it can be a program name with args.
2803 set dummy gcc
; ac_word
=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC
="gcc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2832 $as_echo "$ac_ct_CC" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_CC" = x
; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned
=yes ;;
2853 if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_CC+:} false
; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2894 if test -z "$CC"; then
2895 # Extract the first word of "cc", so it can be a program name with args.
2896 set dummy cc
; ac_word
=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_CC+:} false
; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC
="$CC" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2914 ac_prog_rejected
=yes
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test $ac_prog_rejected = yes; then
2926 # We found a bogon in the path, so make sure we never use it.
2927 set dummy
$ac_cv_prog_CC
2929 if test $# != 0; then
2930 # We chose a different compiler from the bogus one.
2931 # However, it has the same basename, so the bogon will be chosen
2932 # first if we set CC to just the basename; use the full file name.
2934 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2940 if test -n "$CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2950 if test -z "$CC"; then
2951 if test -n "$ac_tool_prefix"; then
2952 for ac_prog
in cl.exe
2954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2955 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_CC+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC
="$CC" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2991 test -n "$CC" && break
2994 if test -z "$CC"; then
2996 for ac_prog
in cl.exe
2998 # Extract the first word of "$ac_prog", so it can be a program name with args.
2999 set dummy
$ac_prog; ac_word
=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$ac_ct_CC"; then
3006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_CC
="$ac_prog"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3026 if test -n "$ac_ct_CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3028 $as_echo "$ac_ct_CC" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3035 test -n "$ac_ct_CC" && break
3038 if test "x$ac_ct_CC" = x
; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned
=yes ;;
3054 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error $?
"no acceptable C compiler found in \$PATH
3057 See \`config.log' for more details" "$LINENO" 5; }
3059 # Provide some information about the compiler.
3060 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3063 for ac_option
in --version -v -V -qversion; do
3064 { { ac_try
="$ac_compiler $ac_option >&5"
3066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3073 if test -s conftest.err; then
3075 ... rest of stderr output deleted ...
3076 10q' conftest.err >conftest.er1
3077 cat conftest.er1 >&5
3079 rm -f conftest.er1 conftest.err
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3095 ac_clean_files_save=$ac_clean_files
3096 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3097 # Try to create an executable without -o first, disregard a.out.
3098 # It will help us diagnose broken compilers, and finding out an intuition
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3101 $as_echo_n "checking whether the C compiler works... " >&6; }
3102 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3104 # The possible output files:
3105 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3108 for ac_file in $ac_files
3111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3112 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3117 if { { ac_try="$ac_link_default"
3119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3120 *) ac_try_echo
=$ac_try;;
3122 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link_default") 2>&5
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; then :
3128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3129 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3130 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3131 # so that the user can short-circuit this test for compilers unknown to
3133 for ac_file
in $ac_files ''
3135 test -f "$ac_file" ||
continue
3137 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3140 # We found the default executable, but exeext='' is most
3144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3146 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3148 # We set ac_cv_exeext here because the later test for it is not
3149 # safe: cross compilers may not add the suffix if given an `-o'
3150 # argument, so we may need to know it at that point already.
3151 # Even if this section looks crufty: it has the advantage of
3158 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3163 if test -z "$ac_file"; then :
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3166 $as_echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.
$ac_ext >&5
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171 as_fn_error
77 "C compiler cannot create executables
3172 See \`config.log' for more details" "$LINENO" 5; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3178 $as_echo_n "checking for C compiler default output file name... " >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3180 $as_echo "$ac_file" >&6; }
3181 ac_exeext
=$ac_cv_exeext
3183 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3184 ac_clean_files
=$ac_clean_files_save
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3186 $as_echo_n "checking for suffix of executables... " >&6; }
3187 if { { ac_try
="$ac_link"
3189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_link") 2>&5
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; }; then :
3198 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3199 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3200 # work properly (i.e., refer to `conftest.exe'), while it won't with
3202 for ac_file
in conftest.exe conftest conftest.
*; do
3203 test -f "$ac_file" ||
continue
3205 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3206 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3215 See \`config.log' for more details" "$LINENO" 5; }
3217 rm -f conftest conftest
$ac_cv_exeext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3219 $as_echo "$ac_cv_exeext" >&6; }
3221 rm -f conftest.
$ac_ext
3222 EXEEXT
=$ac_cv_exeext
3224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3230 FILE *f = fopen ("conftest.out", "w");
3231 return ferror (f) || fclose (f) != 0;
3237 ac_clean_files
="$ac_clean_files conftest.out"
3238 # Check that the compiler produces executables we can run. If not, either
3239 # the compiler is broken, or we cross compile.
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3241 $as_echo_n "checking whether we are cross compiling... " >&6; }
3242 if test "$cross_compiling" != yes; then
3243 { { ac_try
="$ac_link"
3245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_link") 2>&5
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3254 if { ac_try='./conftest$ac_cv_exeext'
3255 { { case "(($ac_try" in
3256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3257 *) ac_try_echo
=$ac_try;;
3259 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3260 $as_echo "$ac_try_echo"; } >&5
3261 (eval "$ac_try") 2>&5
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }; }; then
3267 if test "$cross_compiling" = maybe
; then
3270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $?
"cannot run C compiled programs.
3273 If you meant to cross compile, use \`--host'.
3274 See \`config.log' for more details" "$LINENO" 5; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3279 $as_echo "$cross_compiling" >&6; }
3281 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3282 ac_clean_files
=$ac_clean_files_save
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3284 $as_echo_n "checking for suffix of object files... " >&6; }
3285 if ${ac_cv_objext+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 rm -f conftest.o conftest.obj
3300 if { { ac_try
="$ac_compile"
3302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_compile") 2>&5
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; then :
3311 for ac_file in conftest.o conftest.obj conftest.*; do
3312 test -f "$ac_file" || continue;
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3326 See \
`config.log' for more details" "$LINENO" 5; }
3328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3331 $as_echo "$ac_cv_objext" >&6; }
3332 OBJEXT=$ac_cv_objext
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3335 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3336 if ${ac_cv_c_compiler_gnu+:} false; then :
3337 $as_echo_n "(cached) " >&6
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3353 if ac_fn_c_try_compile "$LINENO"; then :
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3364 if test $ac_compiler_gnu = yes; then
3369 ac_test_CFLAGS=${CFLAGS+set}
3370 ac_save_CFLAGS=$CFLAGS
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3373 if ${ac_cv_prog_cc_g+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3391 if ac_fn_c_try_compile "$LINENO"; then :
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_c_try_compile "$LINENO"; then :
3409 ac_c_werror_flag=$ac_save_c_werror_flag
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_c_werror_flag=$ac_save_c_werror_flag
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
3434 if test "$ac_test_CFLAGS" = set; then
3435 CFLAGS=$ac_save_CFLAGS
3436 elif test $ac_cv_prog_cc_g = yes; then
3437 if test "$GCC" = yes; then
3443 if test "$GCC" = yes; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3451 if ${ac_cv_prog_cc_c89+:} false; then :
3452 $as_echo_n "(cached) " >&6
3454 ac_cv_prog_cc_c89=no
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 #include <sys/types.h>
3461 #include <sys/stat.h>
3462 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3463 struct buf { int x; };
3464 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3465 static char *e (p, i)
3471 static char *f (char * (*g) (char **, int), char **p, ...)
3476 s = g (p, va_arg (v,int));
3481 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3482 function prototypes and stuff, but not '\xHH' hex character constants.
3483 These don't provoke an error unfortunately, instead are silently treated
3484 as 'x'. The following induces an error, until -std is added to get
3485 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3486 array size at least. It's necessary to write '\x00'==0 to get something
3487 that's true only with -std. */
3488 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3490 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3491 inside strings and character constants. */
3493 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3495 int test (int i, double x);
3496 struct s1 {int (*f) (int a);};
3497 struct s2 {int (*f) (double a);};
3498 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3504 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3509 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3510 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3512 CC="$ac_save_CC $ac_arg"
3513 if ac_fn_c_try_compile "$LINENO"; then :
3514 ac_cv_prog_cc_c89=$ac_arg
3516 rm -f core conftest.err conftest.$ac_objext
3517 test "x$ac_cv_prog_cc_c89" != "xno" && break
3519 rm -f conftest.$ac_ext
3524 case "x$ac_cv_prog_cc_c89" in
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3527 $as_echo "none needed" >&6; } ;;
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3530 $as_echo "unsupported" >&6; } ;;
3532 CC="$CC $ac_cv_prog_cc_c89"
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3534 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3536 if test "x$ac_cv_prog_cc_c89" != xno; then :
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 DEPDIR="${am__leading_dot}deps"
3547 ac_config_commands="$ac_config_commands depfiles"
3550 am_make=${MAKE-make}
3551 cat > confinc << 'END'
3553 @echo this is the am__doit target
3556 # If we don't find an include directive, just comment out the code.
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3558 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3562 # First try GNU make style include.
3563 echo "include confinc" > confmf
3564 # Ignore all kinds of additional output from `make'.
3565 case `$am_make -s -f confmf 2> /dev/null` in #(
3566 *the\ am__doit\ target*)
3572 # Now try BSD make style include.
3573 if test "$am__include" = "#"; then
3574 echo '.include
"confinc"' > confmf
3575 case `$am_make -s -f confmf 2> /dev/null` in #(
3576 *the\ am__doit\ target*)
3577 am__include=.include
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3586 $as_echo "$_am_result" >&6; }
3587 rm -f confinc confmf
3589 # Check whether --enable-dependency-tracking was given.
3590 if test "${enable_dependency_tracking+set}" = set; then :
3591 enableval=$enable_dependency_tracking;
3594 if test "x$enable_dependency_tracking" != xno; then
3595 am_depcomp="$ac_aux_dir/depcomp"
3599 if test "x$enable_dependency_tracking" != xno
; then
3609 depcc
="$CC" am_compiler_list
=
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3612 $as_echo_n "checking dependency style of $depcc... " >&6; }
3613 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3617 # We make a subdir and do the tests there. Otherwise we can end up
3618 # making bogus files that we don't know about and never remove. For
3619 # instance it was reported that on HP-UX the gcc test will end up
3620 # making a dummy file named `D' -- because `-MD' means `put the output
3624 # Copy depcomp to subdir because otherwise we won't find it if we're
3625 # using a relative directory.
3626 cp "$am_depcomp" conftest.dir
3628 # We will build objects and dependencies in a subdirectory because
3629 # it helps to detect inapplicable dependency modes. For instance
3630 # both Tru64's cc and ICC support -MD to output dependencies as a
3631 # side effect of compilation, but ICC will put the dependencies in
3632 # the current directory while Tru64 will put them in the object
3636 am_cv_CC_dependencies_compiler_type
=none
3637 if test "$am_compiler_list" = ""; then
3638 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3641 case " $depcc " in #(
3642 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3645 for depmode
in $am_compiler_list; do
3646 # Setup a source with many dependencies, because some compilers
3647 # like to wrap large dependency lists on column 80 (with \), and
3648 # we should not choose a depcomp mode which is confused by this.
3650 # We need to recreate these files for each test, as the compiler may
3651 # overwrite some of them when testing with obscure command lines.
3652 # This happens at least with the AIX C compiler.
3654 for i
in 1 2 3 4 5 6; do
3655 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3656 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3657 # Solaris 8's {/usr,}/bin/sh.
3658 touch sub
/conftst
$i.h
3660 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3662 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3663 # mode. It turns out that the SunPro C++ compiler does not properly
3664 # handle `-M -o', and we need to detect this. Also, some Intel
3665 # versions had trouble with output in subdirs
3666 am__obj
=sub
/conftest.
${OBJEXT-o}
3667 am__minus_obj
="-o $am__obj"
3670 # This depmode causes a compiler race in universal mode.
3671 test "$am__universal" = false ||
continue
3674 # after this tag, mechanisms are not by side-effect, so they'll
3675 # only be used when explicitly requested
3676 if test "x$enable_dependency_tracking" = xyes
; then
3682 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3683 # This compiler won't grok `-c -o', but also, the minuso test has
3684 # not run yet. These depmodes are late enough in the game, and
3685 # so weak that their functioning should not be impacted.
3686 am__obj
=conftest.
${OBJEXT-o}
3691 if depmode
=$depmode \
3692 source=sub
/conftest.c object
=$am__obj \
3693 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3694 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3695 >/dev
/null
2>conftest.err
&&
3696 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3697 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3698 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3699 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3700 # icc doesn't choke on unknown options, it will just issue warnings
3701 # or remarks (even with -Werror). So we grep stderr for any message
3702 # that says an option was ignored or not supported.
3703 # When given -MP, icc 7.0 and 7.1 complain thusly:
3704 # icc: Command line warning: ignoring option '-M'; no argument required
3705 # The diagnosis changed in icc 8.0:
3706 # icc: Command line remark: option '-MP' not supported
3707 if (grep 'ignoring option' conftest.err ||
3708 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3709 am_cv_CC_dependencies_compiler_type
=$depmode
3718 am_cv_CC_dependencies_compiler_type
=none
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3723 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3724 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3727 test "x$enable_dependency_tracking" != xno \
3728 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3730 am__fastdepCC_FALSE
='#'
3732 am__fastdepCC_TRUE
='#'
3733 am__fastdepCC_FALSE
=
3738 ac_cpp
='$CXXCPP $CPPFLAGS'
3739 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3742 if test -z "$CXX"; then
3743 if test -n "$CCC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CXX+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CXX"; then
3757 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 if test -n "$CXX"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3779 $as_echo "$CXX" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CXX" && break
3789 if test -z "$CXX"; then
3791 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy
$ac_prog; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$ac_ct_CXX"; then
3801 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3821 if test -n "$ac_ct_CXX"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3823 $as_echo "$ac_ct_CXX" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CXX" && break
3833 if test "x$ac_ct_CXX" = x
; then
3836 case $cross_compiling:$ac_tool_warned in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned
=yes ;;
3848 # Provide some information about the compiler.
3849 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3852 for ac_option
in --version -v -V -qversion; do
3853 { { ac_try
="$ac_compiler $ac_option >&5"
3855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862 if test -s conftest.err; then
3864 ... rest of stderr output deleted ...
3865 10q' conftest.err >conftest.er1
3866 cat conftest.er1 >&5
3868 rm -f conftest.er1 conftest.err
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3874 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3875 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3892 if ac_fn_cxx_try_compile "$LINENO"; then :
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3902 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3903 if test $ac_compiler_gnu = yes; then
3908 ac_test_CXXFLAGS=${CXXFLAGS+set}
3909 ac_save_CXXFLAGS=$CXXFLAGS
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3911 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3912 if ${ac_cv_prog_cxx_g+:} false; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3916 ac_cxx_werror_flag=yes
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_cxx_try_compile "$LINENO"; then :
3931 ac_cv_prog_cxx_g=yes
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_cxx_try_compile "$LINENO"; then :
3948 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_cxx_try_compile "$LINENO"; then :
3962 ac_cv_prog_cxx_g=yes
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3972 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3973 if test "$ac_test_CXXFLAGS" = set; then
3974 CXXFLAGS=$ac_save_CXXFLAGS
3975 elif test $ac_cv_prog_cxx_g = yes; then
3976 if test "$GXX" = yes; then
3982 if test "$GXX" = yes; then
3989 ac_cpp='$CPP $CPPFLAGS'
3990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3994 depcc="$CXX" am_compiler_list=
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3997 $as_echo_n "checking dependency style of $depcc... " >&6; }
3998 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3999 $as_echo_n "(cached) " >&6
4001 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4002 # We make a subdir and do the tests there. Otherwise we can end up
4003 # making bogus files that we don't know about and never remove. For
4004 # instance it was reported that on HP-UX the gcc test will end up
4005 # making a dummy file named `D
' -- because `-MD' means
`put the output
4009 # Copy depcomp to subdir because otherwise we won't find it if we're
4010 # using a relative directory.
4011 cp "$am_depcomp" conftest.dir
4013 # We will build objects and dependencies in a subdirectory because
4014 # it helps to detect inapplicable dependency modes. For instance
4015 # both Tru64's cc and ICC support -MD to output dependencies as a
4016 # side effect of compilation, but ICC will put the dependencies in
4017 # the current directory while Tru64 will put them in the object
4021 am_cv_CXX_dependencies_compiler_type=none
4022 if test "$am_compiler_list" = ""; then
4023 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4026 case " $depcc " in #(
4027 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4030 for depmode in $am_compiler_list; do
4031 # Setup a source with many dependencies, because some compilers
4032 # like to wrap large dependency lists on column 80 (with \), and
4033 # we should not choose a depcomp mode which is confused by this.
4035 # We need to recreate these files for each test, as the compiler may
4036 # overwrite some of them when testing with obscure command lines.
4037 # This happens at least with the AIX C compiler.
4039 for i in 1 2 3 4 5 6; do
4040 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4041 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4042 # Solaris 8's
{/usr
,}/bin
/sh.
4043 touch sub
/conftst
$i.h
4045 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4047 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4048 # mode. It turns out that the SunPro C++ compiler does not properly
4049 # handle `-M -o', and we need to detect this. Also, some Intel
4050 # versions had trouble with output in subdirs
4051 am__obj
=sub
/conftest.
${OBJEXT-o}
4052 am__minus_obj
="-o $am__obj"
4055 # This depmode causes a compiler race in universal mode.
4056 test "$am__universal" = false ||
continue
4059 # after this tag, mechanisms are not by side-effect, so they'll
4060 # only be used when explicitly requested
4061 if test "x$enable_dependency_tracking" = xyes
; then
4067 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4068 # This compiler won't grok `-c -o', but also, the minuso test has
4069 # not run yet. These depmodes are late enough in the game, and
4070 # so weak that their functioning should not be impacted.
4071 am__obj
=conftest.
${OBJEXT-o}
4076 if depmode
=$depmode \
4077 source=sub
/conftest.c object
=$am__obj \
4078 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4079 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4080 >/dev
/null
2>conftest.err
&&
4081 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4082 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4083 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4084 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4085 # icc doesn't choke on unknown options, it will just issue warnings
4086 # or remarks (even with -Werror). So we grep stderr for any message
4087 # that says an option was ignored or not supported.
4088 # When given -MP, icc 7.0 and 7.1 complain thusly:
4089 # icc: Command line warning: ignoring option '-M'; no argument required
4090 # The diagnosis changed in icc 8.0:
4091 # icc: Command line remark: option '-MP' not supported
4092 if (grep 'ignoring option' conftest.err ||
4093 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4094 am_cv_CXX_dependencies_compiler_type
=$depmode
4103 am_cv_CXX_dependencies_compiler_type
=none
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4108 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4109 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4112 test "x$enable_dependency_tracking" != xno \
4113 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4114 am__fastdepCXX_TRUE
=
4115 am__fastdepCXX_FALSE
='#'
4117 am__fastdepCXX_TRUE
='#'
4118 am__fastdepCXX_FALSE
=
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4130 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4135 macro_version
='2.4.2'
4136 macro_revision
='1.3337'
4150 ltmain
="$ac_aux_dir/ltmain.sh"
4152 # Make sure we can run config.sub.
4153 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4154 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4157 $as_echo_n "checking build system type... " >&6; }
4158 if ${ac_cv_build+:} false
; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_build_alias
=$build_alias
4162 test "x$ac_build_alias" = x
&&
4163 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4164 test "x$ac_build_alias" = x
&&
4165 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4166 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4167 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4171 $as_echo "$ac_cv_build" >&6; }
4172 case $ac_cv_build in
4174 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4177 ac_save_IFS
=$IFS; IFS
='-'
4183 # Remember, the first character of IFS is used to create $*,
4184 # except with old shells:
4187 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4191 $as_echo_n "checking host system type... " >&6; }
4192 if ${ac_cv_host+:} false
; then :
4193 $as_echo_n "(cached) " >&6
4195 if test "x$host_alias" = x
; then
4196 ac_cv_host
=$ac_cv_build
4198 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4199 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4204 $as_echo "$ac_cv_host" >&6; }
4207 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4210 ac_save_IFS
=$IFS; IFS
='-'
4216 # Remember, the first character of IFS is used to create $*,
4217 # except with old shells:
4220 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4223 # Backslashify metacharacters that are still active within
4224 # double-quoted strings.
4225 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4227 # Same as above, but do not quote variable references.
4228 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4230 # Sed substitution to delay expansion of an escaped shell variable in a
4231 # double_quote_subst'ed string.
4232 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4234 # Sed substitution to delay expansion of an escaped single quote.
4235 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4237 # Sed substitution to avoid accidental globbing in evaled expressions
4238 no_glob_subst
='s/\*/\\\*/g'
4240 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4241 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4242 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4245 $as_echo_n "checking how to print strings... " >&6; }
4246 # Test print first, because it will be a builtin if present.
4247 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4248 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4250 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4253 # Use this function as a fallback that always works.
4254 func_fallback_echo ()
4256 eval 'cat <<_LTECHO_EOF
4260 ECHO='func_fallback_echo
'
4263 # func_echo_all arg...
4264 # Invoke $ECHO with all args, space-separated.
4271 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4272 $as_echo "printf" >&6; } ;;
4273 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4274 $as_echo "print -r" >&6; } ;;
4275 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4276 $as_echo "cat" >&6; } ;;
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4293 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4294 if ${ac_cv_path_SED+:} false; then :
4295 $as_echo_n "(cached) " >&6
4297 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4298 for ac_i in 1 2 3 4 5 6 7; do
4299 ac_script="$ac_script$as_nl$ac_script"
4301 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4302 { ac_script=; unset ac_script;}
4303 if test -z "$SED"; then
4304 ac_path_SED_found=false
4305 # Loop through the user's path and
test for each of PROGNAME-LIST
4306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir
=.
4311 for ac_prog
in sed gsed
; do
4312 for ac_exec_ext
in '' $ac_executable_extensions; do
4313 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4314 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4315 # Check for GNU ac_path_SED and select it if it is found.
4316 # Check for GNU $ac_path_SED
4317 case `"$ac_path_SED" --version 2>&1` in
4319 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4322 $as_echo_n 0123456789 >"conftest.in"
4325 cat "conftest.in" "conftest.in" >"conftest.tmp"
4326 mv "conftest.tmp" "conftest.in"
4327 cp "conftest.in" "conftest.nl"
4328 $as_echo '' >> "conftest.nl"
4329 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4330 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4331 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4332 if test $ac_count -gt ${ac_path_SED_max-0}; then
4333 # Best one so far, save it but keep looking for a better one
4334 ac_cv_path_SED
="$ac_path_SED"
4335 ac_path_SED_max
=$ac_count
4337 # 10*(2^10) chars as input seems more than enough
4338 test $ac_count -gt 10 && break
4340 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4343 $ac_path_SED_found && break 3
4348 if test -z "$ac_cv_path_SED"; then
4349 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4357 $as_echo "$ac_cv_path_SED" >&6; }
4358 SED
="$ac_cv_path_SED"
4361 test -z "$SED" && SED
=sed
4362 Xsed
="$SED -e 1s/^X//"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4375 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4376 if ${ac_cv_path_GREP+:} false
; then :
4377 $as_echo_n "(cached) " >&6
4379 if test -z "$GREP"; then
4380 ac_path_GREP_found
=false
4381 # Loop through the user's path and test for each of PROGNAME-LIST
4382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4383 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4386 test -z "$as_dir" && as_dir
=.
4387 for ac_prog
in grep ggrep
; do
4388 for ac_exec_ext
in '' $ac_executable_extensions; do
4389 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4390 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4391 # Check for GNU ac_path_GREP and select it if it is found.
4392 # Check for GNU $ac_path_GREP
4393 case `"$ac_path_GREP" --version 2>&1` in
4395 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4398 $as_echo_n 0123456789 >"conftest.in"
4401 cat "conftest.in" "conftest.in" >"conftest.tmp"
4402 mv "conftest.tmp" "conftest.in"
4403 cp "conftest.in" "conftest.nl"
4404 $as_echo 'GREP' >> "conftest.nl"
4405 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4406 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4407 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4408 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4409 # Best one so far, save it but keep looking for a better one
4410 ac_cv_path_GREP
="$ac_path_GREP"
4411 ac_path_GREP_max
=$ac_count
4413 # 10*(2^10) chars as input seems more than enough
4414 test $ac_count -gt 10 && break
4416 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4419 $ac_path_GREP_found && break 3
4424 if test -z "$ac_cv_path_GREP"; then
4425 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4428 ac_cv_path_GREP
=$GREP
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4433 $as_echo "$ac_cv_path_GREP" >&6; }
4434 GREP
="$ac_cv_path_GREP"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4438 $as_echo_n "checking for egrep... " >&6; }
4439 if ${ac_cv_path_EGREP+:} false
; then :
4440 $as_echo_n "(cached) " >&6
4442 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4443 then ac_cv_path_EGREP
="$GREP -E"
4445 if test -z "$EGREP"; then
4446 ac_path_EGREP_found
=false
4447 # Loop through the user's path and test for each of PROGNAME-LIST
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_prog
in egrep; do
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4456 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4457 # Check for GNU ac_path_EGREP and select it if it is found.
4458 # Check for GNU $ac_path_EGREP
4459 case `"$ac_path_EGREP" --version 2>&1` in
4461 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4464 $as_echo_n 0123456789 >"conftest.in"
4467 cat "conftest.in" "conftest.in" >"conftest.tmp"
4468 mv "conftest.tmp" "conftest.in"
4469 cp "conftest.in" "conftest.nl"
4470 $as_echo 'EGREP' >> "conftest.nl"
4471 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4472 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4473 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4474 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4475 # Best one so far, save it but keep looking for a better one
4476 ac_cv_path_EGREP
="$ac_path_EGREP"
4477 ac_path_EGREP_max
=$ac_count
4479 # 10*(2^10) chars as input seems more than enough
4480 test $ac_count -gt 10 && break
4482 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4485 $ac_path_EGREP_found && break 3
4490 if test -z "$ac_cv_path_EGREP"; then
4491 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4494 ac_cv_path_EGREP
=$EGREP
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4500 $as_echo "$ac_cv_path_EGREP" >&6; }
4501 EGREP
="$ac_cv_path_EGREP"
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4505 $as_echo_n "checking for fgrep... " >&6; }
4506 if ${ac_cv_path_FGREP+:} false
; then :
4507 $as_echo_n "(cached) " >&6
4509 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4510 then ac_cv_path_FGREP
="$GREP -F"
4512 if test -z "$FGREP"; then
4513 ac_path_FGREP_found
=false
4514 # Loop through the user's path and test for each of PROGNAME-LIST
4515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4519 test -z "$as_dir" && as_dir
=.
4520 for ac_prog
in fgrep
; do
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4523 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4524 # Check for GNU ac_path_FGREP and select it if it is found.
4525 # Check for GNU $ac_path_FGREP
4526 case `"$ac_path_FGREP" --version 2>&1` in
4528 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4531 $as_echo_n 0123456789 >"conftest.in"
4534 cat "conftest.in" "conftest.in" >"conftest.tmp"
4535 mv "conftest.tmp" "conftest.in"
4536 cp "conftest.in" "conftest.nl"
4537 $as_echo 'FGREP' >> "conftest.nl"
4538 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4541 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4542 # Best one so far, save it but keep looking for a better one
4543 ac_cv_path_FGREP
="$ac_path_FGREP"
4544 ac_path_FGREP_max
=$ac_count
4546 # 10*(2^10) chars as input seems more than enough
4547 test $ac_count -gt 10 && break
4549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4552 $ac_path_FGREP_found && break 3
4557 if test -z "$ac_cv_path_FGREP"; then
4558 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4561 ac_cv_path_FGREP
=$FGREP
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4567 $as_echo "$ac_cv_path_FGREP" >&6; }
4568 FGREP
="$ac_cv_path_FGREP"
4571 test -z "$GREP" && GREP
=grep
4591 # Check whether --with-gnu-ld was given.
4592 if test "${with_gnu_ld+set}" = set; then :
4593 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4599 if test "$GCC" = yes; then
4600 # Check if gcc -print-prog-name=ld gives a path.
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4602 $as_echo_n "checking for ld used by $CC... " >&6; }
4605 # gcc leaves a trailing carriage return which upsets mingw
4606 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4608 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4611 # Accept absolute paths.
4613 re_direlt
='/[^/][^/]*/\.\./'
4614 # Canonicalize the pathname of ld
4615 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4616 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4617 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4619 test -z "$LD" && LD
="$ac_prog"
4622 # If it fails, then pretend we aren't using GCC.
4626 # If it is relative, then search for the first ld in PATH.
4630 elif test "$with_gnu_ld" = yes; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4632 $as_echo_n "checking for GNU ld... " >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4635 $as_echo_n "checking for non-GNU ld... " >&6; }
4637 if ${lt_cv_path_LD+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -z "$LD"; then
4641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4642 for ac_dir
in $PATH; do
4644 test -z "$ac_dir" && ac_dir
=.
4645 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4646 lt_cv_path_LD
="$ac_dir/$ac_prog"
4647 # Check to see if the program is GNU ld. I'd rather use --version,
4648 # but apparently some variants of GNU ld only accept -v.
4649 # Break only if it was the GNU/non-GNU ld that we prefer.
4650 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4651 *GNU
* |
*'with BFD'*)
4652 test "$with_gnu_ld" != no
&& break
4655 test "$with_gnu_ld" != yes && break
4662 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4667 if test -n "$LD"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4669 $as_echo "$LD" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4674 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4676 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4677 if ${lt_cv_prog_gnu_ld+:} false
; then :
4678 $as_echo_n "(cached) " >&6
4680 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4681 case `$LD -v 2>&1 </dev/null` in
4682 *GNU
* |
*'with BFD'*)
4683 lt_cv_prog_gnu_ld
=yes
4686 lt_cv_prog_gnu_ld
=no
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4691 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4692 with_gnu_ld
=$lt_cv_prog_gnu_ld
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4703 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4704 if ${lt_cv_path_NM+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$NM"; then
4708 # Let the user override the test.
4711 lt_nm_to_check
="${ac_tool_prefix}nm"
4712 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4713 lt_nm_to_check
="$lt_nm_to_check nm"
4715 for lt_tmp_nm
in $lt_nm_to_check; do
4716 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4717 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4719 test -z "$ac_dir" && ac_dir
=.
4720 tmp_nm
="$ac_dir/$lt_tmp_nm"
4721 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4722 # Check to see if the nm accepts a BSD-compat flag.
4723 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4724 # nm: unknown option "B" ignored
4725 # Tru64's nm complains that /dev/null is an invalid object file
4726 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4727 */dev
/null
* |
*'Invalid file or object type'*)
4728 lt_cv_path_NM
="$tmp_nm -B"
4732 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4734 lt_cv_path_NM
="$tmp_nm -p"
4738 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4739 continue # so that we can try to find one that supports BSD flags
4748 : ${lt_cv_path_NM=no}
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4752 $as_echo "$lt_cv_path_NM" >&6; }
4753 if test "$lt_cv_path_NM" != "no"; then
4756 # Didn't find any BSD compatible name lister, look for dumpbin.
4757 if test -n "$DUMPBIN"; then :
4758 # Let the user override the test.
4760 if test -n "$ac_tool_prefix"; then
4761 for ac_prog
in dumpbin
"link -dump"
4763 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4764 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$DUMPBIN"; then
4771 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 DUMPBIN
=$ac_cv_prog_DUMPBIN
4791 if test -n "$DUMPBIN"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4793 $as_echo "$DUMPBIN" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4800 test -n "$DUMPBIN" && break
4803 if test -z "$DUMPBIN"; then
4804 ac_ct_DUMPBIN
=$DUMPBIN
4805 for ac_prog
in dumpbin
"link -dump"
4807 # Extract the first word of "$ac_prog", so it can be a program name with args.
4808 set dummy
$ac_prog; ac_word
=$2
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 $as_echo_n "checking for $ac_word... " >&6; }
4811 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4812 $as_echo_n "(cached) " >&6
4814 if test -n "$ac_ct_DUMPBIN"; then
4815 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4821 test -z "$as_dir" && as_dir
=.
4822 for ac_exec_ext
in '' $ac_executable_extensions; do
4823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4835 if test -n "$ac_ct_DUMPBIN"; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4837 $as_echo "$ac_ct_DUMPBIN" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4844 test -n "$ac_ct_DUMPBIN" && break
4847 if test "x$ac_ct_DUMPBIN" = x
; then
4850 case $cross_compiling:$ac_tool_warned in
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854 ac_tool_warned
=yes ;;
4856 DUMPBIN
=$ac_ct_DUMPBIN
4860 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4862 DUMPBIN
="$DUMPBIN -symbols"
4870 if test "$DUMPBIN" != ":"; then
4874 test -z "$NM" && NM
=nm
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4882 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4883 if ${lt_cv_nm_interface+:} false
; then :
4884 $as_echo_n "(cached) " >&6
4886 lt_cv_nm_interface
="BSD nm"
4887 echo "int some_variable = 0;" > conftest.
$ac_ext
4888 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4889 (eval "$ac_compile" 2>conftest.err
)
4890 cat conftest.err
>&5
4891 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4892 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4893 cat conftest.err
>&5
4894 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4895 cat conftest.out
>&5
4896 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4897 lt_cv_nm_interface
="MS dumpbin"
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4902 $as_echo "$lt_cv_nm_interface" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4905 $as_echo_n "checking whether ln -s works... " >&6; }
4907 if test "$LN_S" = "ln -s"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4912 $as_echo "no, using $LN_S" >&6; }
4915 # find the maximum length of command line arguments
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4917 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4918 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4919 $as_echo_n "(cached) " >&6
4926 # On DJGPP, this test can blow up pretty badly due to problems in libc
4927 # (any single argument exceeding 2000 bytes causes a buffer overrun
4928 # during glob expansion). Even if it were fixed, the result of this
4929 # check would be larger than it should be.
4930 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4934 # Under GNU Hurd, this test is not required because there is
4935 # no limit to the length of command line arguments.
4936 # Libtool will interpret -1 as no limit whatsoever
4937 lt_cv_sys_max_cmd_len
=-1;
4940 cygwin
* | mingw
* | cegcc
*)
4941 # On Win9x/ME, this test blows up -- it succeeds, but takes
4942 # about 5 minutes as the teststring grows exponentially.
4943 # Worse, since 9x/ME are not pre-emptively multitasking,
4944 # you end up with a "frozen" computer, even though with patience
4945 # the test eventually succeeds (with a max line length of 256k).
4946 # Instead, let's just punt: use the minimum linelength reported by
4947 # all of the supported platforms: 8192 (on NT/2K/XP).
4948 lt_cv_sys_max_cmd_len
=8192;
4952 # On MiNT this can take a long time and run out of memory.
4953 lt_cv_sys_max_cmd_len
=8192;
4957 # On AmigaOS with pdksh, this test takes hours, literally.
4958 # So we just punt and use a minimum line length of 8192.
4959 lt_cv_sys_max_cmd_len
=8192;
4962 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4963 # This has been around since 386BSD, at least. Likely further.
4964 if test -x /sbin
/sysctl
; then
4965 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4966 elif test -x /usr
/sbin
/sysctl
; then
4967 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4969 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4971 # And add a safety zone
4972 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4973 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4977 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4978 lt_cv_sys_max_cmd_len
=196608
4982 # The test takes a long time on OS/2.
4983 lt_cv_sys_max_cmd_len
=8192
4987 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4988 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4989 # nice to cause kernel panics so lets avoid the loop below.
4990 # First set a reasonable default.
4991 lt_cv_sys_max_cmd_len
=16384
4993 if test -x /sbin
/sysconfig
; then
4994 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4995 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5000 lt_cv_sys_max_cmd_len
=102400
5002 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5003 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5004 if test -n "$kargmax"; then
5005 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5007 lt_cv_sys_max_cmd_len
=32768
5011 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5012 if test -n "$lt_cv_sys_max_cmd_len"; then
5013 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5014 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5016 # Make teststring a little bigger before we do anything with it.
5017 # a 1K string should be a reasonable start.
5018 for i
in 1 2 3 4 5 6 7 8 ; do
5019 teststring
=$teststring$teststring
5021 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5022 # If test is not a shell built-in, we'll probably end up computing a
5023 # maximum length that is only half of the actual maximum length, but
5025 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5026 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5027 test $i != 17 # 1/2 MB should be enough
5030 teststring
=$teststring$teststring
5032 # Only check the string length outside the loop.
5033 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5035 # Add a significant safety factor because C++ compilers can tack on
5036 # massive amounts of additional arguments before passing them to the
5037 # linker. It appears as though 1/2 is a usable value.
5038 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5045 if test -n $lt_cv_sys_max_cmd_len ; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5047 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5050 $as_echo "none" >&6; }
5052 max_cmd_len
=$lt_cv_sys_max_cmd_len
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5064 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5065 # Try some XSI features
5068 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5070 && eval 'test $(( 1 + 1 )) -eq 2 \
5071 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5074 $as_echo "$xsi_shell" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5078 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5080 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5082 && lt_shell_append=yes
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5084 $as_echo "$lt_shell_append" >&6; }
5087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5097 # test EBCDIC or ASCII
5098 case `echo X|tr X '\101'` in
5099 A) # ASCII based system
5100 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5101 lt_SP2NL='tr \040 \012'
5102 lt_NL2SP='tr \015\012 \040\040'
5104 *) # EBCDIC based system
5105 lt_SP2NL='tr \100 \n'
5106 lt_NL2SP='tr \r\n \100\100'
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5119 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5120 if ${lt_cv_to_host_file_cmd+:} false; then :
5121 $as_echo_n "(cached
) " >&6
5126 *-*-mingw* ) # actually msys
5127 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5130 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5132 * ) # otherwise, assume *nix
5133 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5139 *-*-mingw* ) # actually msys
5140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5143 lt_cv_to_host_file_cmd=func_convert_file_noop
5145 * ) # otherwise, assume *nix
5146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5150 * ) # unhandled hosts (and "normal
" native builds)
5151 lt_cv_to_host_file_cmd=func_convert_file_noop
5157 to_host_file_cmd=$lt_cv_to_host_file_cmd
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5159 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5166 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5167 if ${lt_cv_to_tool_file_cmd+:} false; then :
5168 $as_echo_n "(cached
) " >&6
5170 #assume ordinary cross tools, or native build.
5171 lt_cv_to_tool_file_cmd=func_convert_file_noop
5175 *-*-mingw* ) # actually msys
5176 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5184 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5186 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5193 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5194 if ${lt_cv_ld_reload_flag+:} false; then :
5195 $as_echo_n "(cached
) " >&6
5197 lt_cv_ld_reload_flag='-r'
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5200 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5201 reload_flag=$lt_cv_ld_reload_flag
5202 case $reload_flag in
5204 *) reload_flag=" $reload_flag" ;;
5206 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5208 cygwin* | mingw* | pw32* | cegcc*)
5209 if test "$GCC" != yes; then
5214 if test "$GCC" = yes; then
5215 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5217 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5230 if test -n "$ac_tool_prefix"; then
5231 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5232 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5234 $as_echo_n "checking
for $ac_word...
" >&6; }
5235 if ${ac_cv_prog_OBJDUMP+:} false; then :
5236 $as_echo_n "(cached
) " >&6
5238 if test -n "$OBJDUMP"; then
5239 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5258 OBJDUMP=$ac_cv_prog_OBJDUMP
5259 if test -n "$OBJDUMP"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5261 $as_echo "$OBJDUMP" >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5264 $as_echo "no
" >&6; }
5269 if test -z "$ac_cv_prog_OBJDUMP"; then
5270 ac_ct_OBJDUMP=$OBJDUMP
5271 # Extract the first word of "objdump
", so it can be a program name with args.
5272 set dummy objdump; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5274 $as_echo_n "checking
for $ac_word...
" >&6; }
5275 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5276 $as_echo_n "(cached
) " >&6
5278 if test -n "$ac_ct_OBJDUMP"; then
5279 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5298 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5299 if test -n "$ac_ct_OBJDUMP"; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5301 $as_echo "$ac_ct_OBJDUMP" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5304 $as_echo "no
" >&6; }
5307 if test "x
$ac_ct_OBJDUMP" = x; then
5310 case $cross_compiling:$ac_tool_warned in
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5313 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5314 ac_tool_warned=yes ;;
5316 OBJDUMP=$ac_ct_OBJDUMP
5319 OBJDUMP="$ac_cv_prog_OBJDUMP"
5322 test -z "$OBJDUMP" && OBJDUMP=objdump
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5333 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5334 if ${lt_cv_deplibs_check_method+:} false; then :
5335 $as_echo_n "(cached
) " >&6
5337 lt_cv_file_magic_cmd='$MAGIC_CMD'
5338 lt_cv_file_magic_test_file=
5339 lt_cv_deplibs_check_method='unknown'
5340 # Need to set the preceding variable on all platforms that support
5341 # interlibrary dependencies.
5342 # 'none' -- dependencies not supported.
5343 # `unknown' -- same as none, but documents that we really don't know.
5344 # 'pass_all' -- all dependencies passed with no checks.
5345 # 'test_compile' -- check by making test program.
5346 # 'file_magic [[regex]]' -- check by looking for files in library path
5347 # which responds to the $file_magic_cmd with a given extended regex.
5348 # If you have `file' or equivalent on your system and you're not sure
5349 # whether `pass_all' will *always* work, you probably want this one.
5353 lt_cv_deplibs_check_method=pass_all
5357 lt_cv_deplibs_check_method=pass_all
5361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5362 lt_cv_file_magic_cmd='/usr/bin/file -L'
5363 lt_cv_file_magic_test_file=/shlib/libc.so
5367 # func_win32_libid is a shell function defined in ltmain.sh
5368 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5369 lt_cv_file_magic_cmd='func_win32_libid'
5373 # Base MSYS/MinGW do not provide the 'file' command needed by
5374 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5375 # unless we find 'file', for example because we are cross-compiling.
5376 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5377 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5379 lt_cv_file_magic_cmd='func_win32_libid'
5381 # Keep this pattern in sync with the one in func_win32_libid.
5382 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5383 lt_cv_file_magic_cmd='$OBJDUMP -f'
5388 # use the weaker test based on 'objdump'. See mingw*.
5389 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5390 lt_cv_file_magic_cmd='$OBJDUMP -f'
5393 darwin* | rhapsody*)
5394 lt_cv_deplibs_check_method=pass_all
5397 freebsd* | dragonfly*)
5398 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5401 # Not sure whether the presence of OpenBSD here was a mistake.
5402 # Let's accept both of them until this is cleared up.
5403 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5404 lt_cv_file_magic_cmd=/usr/bin/file
5405 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5409 lt_cv_deplibs_check_method=pass_all
5414 lt_cv_deplibs_check_method=pass_all
5418 lt_cv_deplibs_check_method=pass_all
5421 hpux10.20* | hpux11*)
5422 lt_cv_file_magic_cmd=/usr/bin/file
5425 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5426 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5429 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]'
5430 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5433 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5434 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5440 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5444 irix5* | irix6* | nonstopux*)
5446 *-32|*"-32 ") libmagic=32-bit;;
5447 *-n32|*"-n32 ") libmagic=N32;;
5448 *-64|*"-64 ") libmagic=64-bit;;
5449 *) libmagic=never-match;;
5451 lt_cv_deplibs_check_method=pass_all
5454 # This must be glibc/ELF.
5455 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5456 lt_cv_deplibs_check_method=pass_all
5459 netbsd* | netbsdelf*-gnu)
5460 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5463 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5468 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5469 lt_cv_file_magic_cmd=/usr/bin/file
5470 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5474 lt_cv_deplibs_check_method=pass_all
5478 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5479 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5485 osf3* | osf4* | osf5*)
5486 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_deplibs_check_method=pass_all
5494 lt_cv_deplibs_check_method=pass_all
5497 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5498 lt_cv_deplibs_check_method=pass_all
5502 case $host_vendor in
5504 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]'
5505 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5508 lt_cv_deplibs_check_method=pass_all
5511 lt_cv_file_magic_cmd='/bin/file'
5512 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5515 lt_cv_file_magic_cmd='/bin/file'
5516 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5517 lt_cv_file_magic_test_file=/lib/libc.so
5520 lt_cv_deplibs_check_method=pass_all
5523 lt_cv_deplibs_check_method=pass_all
5529 lt_cv_deplibs_check_method=pass_all
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5535 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5539 if test "$build" = "$host"; then
5542 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5545 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5551 file_magic_cmd=$lt_cv_file_magic_cmd
5552 deplibs_check_method=$lt_cv_deplibs_check_method
5553 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5576 if test -n "$ac_tool_prefix"; then
5577 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5578 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5580 $as_echo_n "checking
for $ac_word...
" >&6; }
5581 if ${ac_cv_prog_DLLTOOL+:} false; then :
5582 $as_echo_n "(cached
) " >&6
5584 if test -n "$DLLTOOL"; then
5585 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5604 DLLTOOL=$ac_cv_prog_DLLTOOL
5605 if test -n "$DLLTOOL"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5607 $as_echo "$DLLTOOL" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5610 $as_echo "no
" >&6; }
5615 if test -z "$ac_cv_prog_DLLTOOL"; then
5616 ac_ct_DLLTOOL=$DLLTOOL
5617 # Extract the first word of "dlltool
", so it can be a program name with args.
5618 set dummy dlltool; ac_word=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5620 $as_echo_n "checking
for $ac_word...
" >&6; }
5621 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5622 $as_echo_n "(cached
) " >&6
5624 if test -n "$ac_ct_DLLTOOL"; then
5625 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5644 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5645 if test -n "$ac_ct_DLLTOOL"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5647 $as_echo "$ac_ct_DLLTOOL" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5650 $as_echo "no
" >&6; }
5653 if test "x
$ac_ct_DLLTOOL" = x; then
5656 case $cross_compiling:$ac_tool_warned in
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5659 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5660 ac_tool_warned=yes ;;
5662 DLLTOOL=$ac_ct_DLLTOOL
5665 DLLTOOL="$ac_cv_prog_DLLTOOL"
5668 test -z "$DLLTOOL" && DLLTOOL=dlltool
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5680 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5681 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5682 $as_echo_n "(cached
) " >&6
5684 lt_cv_sharedlib_from_linklib_cmd='unknown'
5687 cygwin* | mingw* | pw32* | cegcc*)
5688 # two different shell functions defined in ltmain.sh
5689 # decide which to use based on capabilities of $DLLTOOL
5690 case `$DLLTOOL --help 2>&1` in
5691 *--identify-strict*)
5692 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5695 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5700 # fallback: assume linklib IS sharedlib
5701 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5707 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5708 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5709 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5718 if test -n "$ac_tool_prefix"; then
5721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5724 $as_echo_n "checking
for $ac_word...
" >&6; }
5725 if ${ac_cv_prog_AR+:} false; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$AR"; then
5729 ac_cv_prog_AR="$AR" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5749 if test -n "$AR"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5751 $as_echo "$AR" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5754 $as_echo "no
" >&6; }
5758 test -n "$AR" && break
5761 if test -z "$AR"; then
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5768 $as_echo_n "checking
for $ac_word...
" >&6; }
5769 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5770 $as_echo_n "(cached
) " >&6
5772 if test -n "$ac_ct_AR"; then
5773 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5782 ac_cv_prog_ac_ct_AR="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5792 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5793 if test -n "$ac_ct_AR"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5795 $as_echo "$ac_ct_AR" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5798 $as_echo "no
" >&6; }
5802 test -n "$ac_ct_AR" && break
5805 if test "x
$ac_ct_AR" = x; then
5808 case $cross_compiling:$ac_tool_warned in
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5812 ac_tool_warned=yes ;;
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5832 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5833 if ${lt_cv_ar_at_file+:} false; then :
5834 $as_echo_n "(cached
) " >&6
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5848 if ac_fn_c_try_compile "$LINENO"; then :
5849 echo conftest.$ac_objext > conftest.lst
5850 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5851 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5852 (eval $lt_ar_try) 2>&5
5854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5855 test $ac_status = 0; }
5856 if test "$ac_status" -eq 0; then
5857 # Ensure the archiver fails upon bogus file names.
5858 rm -f conftest.$ac_objext libconftest.a
5859 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5860 (eval $lt_ar_try) 2>&5
5862 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5863 test $ac_status = 0; }
5864 if test "$ac_status" -ne 0; then
5868 rm -f conftest.* libconftest.a
5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5875 $as_echo "$lt_cv_ar_at_file" >&6; }
5877 if test "x
$lt_cv_ar_at_file" = xno; then
5880 archiver_list_spec=$lt_cv_ar_at_file
5889 if test -n "$ac_tool_prefix"; then
5890 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5891 set dummy ${ac_tool_prefix}strip; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5893 $as_echo_n "checking
for $ac_word...
" >&6; }
5894 if ${ac_cv_prog_STRIP+:} false; then :
5895 $as_echo_n "(cached
) " >&6
5897 if test -n "$STRIP"; then
5898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5917 STRIP=$ac_cv_prog_STRIP
5918 if test -n "$STRIP"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5920 $as_echo "$STRIP" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5923 $as_echo "no
" >&6; }
5928 if test -z "$ac_cv_prog_STRIP"; then
5930 # Extract the first word of "strip
", so it can be a program name with args.
5931 set dummy strip; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5933 $as_echo_n "checking
for $ac_word...
" >&6; }
5934 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5935 $as_echo_n "(cached
) " >&6
5937 if test -n "$ac_ct_STRIP"; then
5938 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_ac_ct_STRIP="strip
"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5957 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5958 if test -n "$ac_ct_STRIP"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5960 $as_echo "$ac_ct_STRIP" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5963 $as_echo "no
" >&6; }
5966 if test "x
$ac_ct_STRIP" = x; then
5969 case $cross_compiling:$ac_tool_warned in
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5973 ac_tool_warned=yes ;;
5978 STRIP="$ac_cv_prog_STRIP"
5981 test -z "$STRIP" && STRIP=:
5988 if test -n "$ac_tool_prefix"; then
5989 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5992 $as_echo_n "checking
for $ac_word...
" >&6; }
5993 if ${ac_cv_prog_RANLIB+:} false; then :
5994 $as_echo_n "(cached
) " >&6
5996 if test -n "$RANLIB"; then
5997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6016 RANLIB=$ac_cv_prog_RANLIB
6017 if test -n "$RANLIB"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6019 $as_echo "$RANLIB" >&6; }
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6022 $as_echo "no
" >&6; }
6027 if test -z "$ac_cv_prog_RANLIB"; then
6028 ac_ct_RANLIB=$RANLIB
6029 # Extract the first word of "ranlib
", so it can be a program name with args.
6030 set dummy ranlib; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6032 $as_echo_n "checking
for $ac_word...
" >&6; }
6033 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6034 $as_echo_n "(cached
) " >&6
6036 if test -n "$ac_ct_RANLIB"; then
6037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6057 if test -n "$ac_ct_RANLIB"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6059 $as_echo "$ac_ct_RANLIB" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6062 $as_echo "no
" >&6; }
6065 if test "x
$ac_ct_RANLIB" = x; then
6068 case $cross_compiling:$ac_tool_warned in
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6071 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6072 ac_tool_warned=yes ;;
6074 RANLIB=$ac_ct_RANLIB
6077 RANLIB="$ac_cv_prog_RANLIB"
6080 test -z "$RANLIB" && RANLIB=:
6087 # Determine commands to create old-style static archives.
6088 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6089 old_postinstall_cmds='chmod 644 $oldlib'
6090 old_postuninstall_cmds=
6092 if test -n "$RANLIB"; then
6095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6098 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6101 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6106 lock_old_archive_extraction=yes ;;
6108 lock_old_archive_extraction=no ;;
6149 # If no C compiler was specified, use CC.
6152 # If no C compiler flags were specified, use CFLAGS.
6153 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6155 # Allow CC to be a program name with arguments.
6159 # Check for command to grab the raw symbol name followed by C symbol from nm.
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6161 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6162 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6163 $as_echo_n "(cached
) " >&6
6166 # These are sane defaults that work on at least a few old systems.
6167 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6169 # Character class describing NM global symbol codes.
6170 symcode='[BCDEGRST]'
6172 # Regexp to match symbols that can be accessed directly from C.
6173 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6175 # Define system-specific variables.
6180 cygwin* | mingw* | pw32* | cegcc*)
6181 symcode='[ABCDGISTW]'
6184 if test "$host_cpu" = ia64; then
6185 symcode='[ABCDEGRST]'
6189 symcode='[BCDEGRST]'
6192 symcode='[BCDEGQRST]'
6203 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6211 # If we're using GNU nm, then use its standard symbol codes.
6212 case `$NM -V 2>&1` in
6213 *GNU* | *'with BFD'*)
6214 symcode='[ABCDGIRSTW]' ;;
6217 # Transform an extracted symbol line into a proper C declaration.
6218 # Some systems (esp. on ia64) link data and code symbols differently,
6219 # so use this general approach.
6220 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6222 # Transform an extracted symbol line into symbol name and symbol address
6223 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6224 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'"
6226 # Handle CRLF in mingw tool chain
6230 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6234 # Try without a prefix underscore, then with it.
6235 for ac_symprfx in "" "_
"; do
6237 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6238 symxfrm="\\1 $ac_symprfx\\2 \\2"
6240 # Write the raw and C identifiers.
6241 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6242 # Fake it for dumpbin and say T for any non-static function
6243 # and D for any global variable.
6244 # Also find C++ and __fastcall symbols from MSVC++,
6245 # which start with @ or ?.
6246 lt_cv_sys_global_symbol_pipe="$AWK '"\
6247 " {last_section=section; section=\$ 3};"\
6248 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6249 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6250 " \$ 0!~/External *\|/{next};"\
6251 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6252 " {if(hide[section]) next};"\
6253 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6254 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6255 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6256 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6257 " ' prfx
=^
$ac_symprfx"
6259 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6261 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6263 # Check to see that the pipe works correctly.
6267 cat > conftest.$ac_ext <<_LT_EOF
6272 void nm_test_func(void);
6273 void nm_test_func(void){}
6277 int main(){nm_test_var='a';nm_test_func();return(0);}
6280 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6281 (eval $ac_compile) 2>&5
6283 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6284 test $ac_status = 0; }; then
6285 # Now try to grab the symbols.
6287 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6288 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6290 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6291 test $ac_status = 0; } && test -s "$nlist"; then
6292 # Try sorting and uniquifying the output.
6293 if sort "$nlist" | uniq > "$nlist"T; then
6294 mv -f "$nlist"T "$nlist"
6299 # Make sure that we snagged all the symbols we need.
6300 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6301 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6302 cat <<_LT_EOF > conftest.$ac_ext
6303 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6304 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6305 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6306 relocations are performed -- see ld's documentation on pseudo-relocs. */
6307 # define LT_DLSYM_CONST
6308 #elif defined(__osf__)
6309 /* This system does not cope well with relocations in const data. */
6310 # define LT_DLSYM_CONST
6312 # define LT_DLSYM_CONST const
6320 # Now generate the symbol file.
6321 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6323 cat <<_LT_EOF >> conftest.$ac_ext
6325 /* The mapping between symbol names and symbols. */
6326 LT_DLSYM_CONST struct {
6330 lt__PROGRAM__LTX_preloaded_symbols[] =
6332 { "@PROGRAM@
", (void *) 0 },
6334 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6335 cat <<\_LT_EOF >> conftest.$ac_ext
6339 /* This works around a problem in FreeBSD linker */
6340 #ifdef FREEBSD_WORKAROUND
6341 static const void *lt_preloaded_setup() {
6342 return lt__PROGRAM__LTX_preloaded_symbols;
6350 # Now try linking the two files.
6351 mv conftest.$ac_objext conftstm.$ac_objext
6352 lt_globsym_save_LIBS=$LIBS
6353 lt_globsym_save_CFLAGS=$CFLAGS
6354 LIBS="conftstm.
$ac_objext"
6355 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6356 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6357 (eval $ac_link) 2>&5
6359 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6360 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6363 LIBS=$lt_globsym_save_LIBS
6364 CFLAGS=$lt_globsym_save_CFLAGS
6366 echo "cannot
find nm_test_func
in $nlist" >&5
6369 echo "cannot
find nm_test_var
in $nlist" >&5
6372 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6375 echo "$progname: failed program was
:" >&5
6376 cat conftest.$ac_ext >&5
6378 rm -rf conftest* conftst*
6380 # Do not use the global_symbol_pipe unless it works.
6381 if test "$pipe_works" = yes; then
6384 lt_cv_sys_global_symbol_pipe=
6390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6391 lt_cv_sys_global_symbol_to_cdecl=
6393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6395 $as_echo "failed
" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6398 $as_echo "ok
" >&6; }
6401 # Response file support.
6402 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6403 nm_file_list_spec='@'
6404 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6405 nm_file_list_spec='@'
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6435 $as_echo_n "checking
for sysroot...
" >&6; }
6437 # Check whether --with-sysroot was given.
6438 if test "${with_sysroot+set}" = set; then :
6439 withval=$with_sysroot;
6446 case ${with_sysroot} in #(
6448 if test "$GCC" = yes; then
6449 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6453 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6459 $as_echo "${with_sysroot}" >&6; }
6460 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6465 $as_echo "${lt_sysroot:-no}" >&6; }
6471 # Check whether --enable-libtool-lock was given.
6472 if test "${enable_libtool_lock+set}" = set; then :
6473 enableval=$enable_libtool_lock;
6476 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6478 # Some flags need to be propagated to the compiler or linker for good
6482 # Find out which ABI we are using.
6483 echo 'int i;' > conftest.$ac_ext
6484 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6485 (eval $ac_compile) 2>&5
6487 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6488 test $ac_status = 0; }; then
6489 case `/usr/bin/file conftest.$ac_objext` in
6501 # Find out which ABI we are using.
6502 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6503 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6504 (eval $ac_compile) 2>&5
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6507 test $ac_status = 0; }; then
6508 if test "$lt_cv_prog_gnu_ld" = yes; then
6509 case `/usr/bin/file conftest.$ac_objext` in
6511 LD="${LD-ld} -melf32bsmip"
6514 LD="${LD-ld} -melf32bmipn32"
6517 LD="${LD-ld} -melf64bmip"
6521 case `/usr/bin/file conftest.$ac_objext` in
6537 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6538 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6539 # Find out which ABI we are using.
6540 echo 'int i;' > conftest.$ac_ext
6541 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6542 (eval $ac_compile) 2>&5
6544 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6545 test $ac_status = 0; }; then
6546 case `/usr/bin/file conftest.o` in
6549 x86_64-*kfreebsd*-gnu)
6550 LD="${LD-ld} -m elf_i386_fbsd
"
6553 LD="${LD-ld} -m elf_i386
"
6555 ppc64-*linux*|powerpc64-*linux*)
6556 LD="${LD-ld} -m elf32ppclinux
"
6559 LD="${LD-ld} -m elf_s390
"
6562 LD="${LD-ld} -m elf32_sparc
"
6568 x86_64-*kfreebsd*-gnu)
6569 LD="${LD-ld} -m elf_x86_64_fbsd
"
6572 LD="${LD-ld} -m elf_x86_64
"
6574 ppc*-*linux*|powerpc*-*linux*)
6575 LD="${LD-ld} -m elf64ppc
"
6577 s390*-*linux*|s390*-*tpf*)
6578 LD="${LD-ld} -m elf64_s390
"
6581 LD="${LD-ld} -m elf64_sparc
"
6591 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6592 SAVE_CFLAGS="$CFLAGS"
6593 CFLAGS="$CFLAGS -belf"
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6595 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6596 if ${lt_cv_cc_needs_belf+:} false; then :
6597 $as_echo_n "(cached
) " >&6
6600 ac_cpp='$CPP $CPPFLAGS'
6601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6616 if ac_fn_c_try_link "$LINENO"; then :
6617 lt_cv_cc_needs_belf=yes
6619 lt_cv_cc_needs_belf=no
6621 rm -f core conftest.err conftest.$ac_objext \
6622 conftest$ac_exeext conftest.$ac_ext
6624 ac_cpp='$CPP $CPPFLAGS'
6625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6631 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6632 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6633 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6634 CFLAGS="$SAVE_CFLAGS"
6638 # Find out which ABI we are using.
6639 echo 'int i;' > conftest.$ac_ext
6640 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641 (eval $ac_compile) 2>&5
6643 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6644 test $ac_status = 0; }; then
6645 case `/usr/bin/file conftest.o` in
6647 case $lt_cv_prog_gnu_ld in
6651 LD="${LD-ld} -m elf_x86_64
"
6654 LD="${LD-ld} -m elf64_sparc
"
6657 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6658 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6663 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6675 need_locks="$enable_libtool_lock"
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6679 set dummy ${ac_tool_prefix}mt; ac_word=$2
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6681 $as_echo_n "checking
for $ac_word...
" >&6; }
6682 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6683 $as_echo_n "(cached
) " >&6
6685 if test -n "$MANIFEST_TOOL"; then
6686 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6705 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6706 if test -n "$MANIFEST_TOOL"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6708 $as_echo "$MANIFEST_TOOL" >&6; }
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6711 $as_echo "no
" >&6; }
6716 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6717 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6718 # Extract the first word of "mt
", so it can be a program name with args.
6719 set dummy mt; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$ac_ct_MANIFEST_TOOL"; then
6726 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6745 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6746 if test -n "$ac_ct_MANIFEST_TOOL"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6748 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6754 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6760 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6761 ac_tool_warned=yes ;;
6763 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6766 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6769 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6771 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6772 if ${lt_cv_path_mainfest_tool+:} false; then :
6773 $as_echo_n "(cached
) " >&6
6775 lt_cv_path_mainfest_tool=no
6776 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6777 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6778 cat conftest.err >&5
6779 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6780 lt_cv_path_mainfest_tool=yes
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6785 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6786 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6796 rhapsody* | darwin*)
6797 if test -n "$ac_tool_prefix"; then
6798 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6799 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$DSYMUTIL"; then
6806 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6826 if test -n "$DSYMUTIL"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6828 $as_echo "$DSYMUTIL" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6836 if test -z "$ac_cv_prog_DSYMUTIL"; then
6837 ac_ct_DSYMUTIL=$DSYMUTIL
6838 # Extract the first word of "dsymutil
", so it can be a program name with args.
6839 set dummy dsymutil; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6841 $as_echo_n "checking
for $ac_word...
" >&6; }
6842 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6843 $as_echo_n "(cached
) " >&6
6845 if test -n "$ac_ct_DSYMUTIL"; then
6846 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6865 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6866 if test -n "$ac_ct_DSYMUTIL"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6868 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6871 $as_echo "no
" >&6; }
6874 if test "x
$ac_ct_DSYMUTIL" = x; then
6877 case $cross_compiling:$ac_tool_warned in
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6880 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6881 ac_tool_warned=yes ;;
6883 DSYMUTIL=$ac_ct_DSYMUTIL
6886 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6893 $as_echo_n "checking
for $ac_word...
" >&6; }
6894 if ${ac_cv_prog_NMEDIT+:} false; then :
6895 $as_echo_n "(cached
) " >&6
6897 if test -n "$NMEDIT"; then
6898 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 NMEDIT=$ac_cv_prog_NMEDIT
6918 if test -n "$NMEDIT"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6920 $as_echo "$NMEDIT" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6923 $as_echo "no
" >&6; }
6928 if test -z "$ac_cv_prog_NMEDIT"; then
6929 ac_ct_NMEDIT=$NMEDIT
6930 # Extract the first word of "nmedit
", so it can be a program name with args.
6931 set dummy nmedit; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6933 $as_echo_n "checking
for $ac_word...
" >&6; }
6934 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6935 $as_echo_n "(cached
) " >&6
6937 if test -n "$ac_ct_NMEDIT"; then
6938 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6958 if test -n "$ac_ct_NMEDIT"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6960 $as_echo "$ac_ct_NMEDIT" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6963 $as_echo "no
" >&6; }
6966 if test "x
$ac_ct_NMEDIT" = x; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6973 ac_tool_warned=yes ;;
6975 NMEDIT=$ac_ct_NMEDIT
6978 NMEDIT="$ac_cv_prog_NMEDIT"
6981 if test -n "$ac_tool_prefix"; then
6982 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6983 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6985 $as_echo_n "checking
for $ac_word...
" >&6; }
6986 if ${ac_cv_prog_LIPO+:} false; then :
6987 $as_echo_n "(cached
) " >&6
6989 if test -n "$LIPO"; then
6990 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7009 LIPO=$ac_cv_prog_LIPO
7010 if test -n "$LIPO"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7012 $as_echo "$LIPO" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7015 $as_echo "no
" >&6; }
7020 if test -z "$ac_cv_prog_LIPO"; then
7022 # Extract the first word of "lipo
", so it can be a program name with args.
7023 set dummy lipo; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7025 $as_echo_n "checking
for $ac_word...
" >&6; }
7026 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7027 $as_echo_n "(cached
) " >&6
7029 if test -n "$ac_ct_LIPO"; then
7030 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_ac_ct_LIPO="lipo
"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7049 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7050 if test -n "$ac_ct_LIPO"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7052 $as_echo "$ac_ct_LIPO" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7055 $as_echo "no
" >&6; }
7058 if test "x
$ac_ct_LIPO" = x; then
7061 case $cross_compiling:$ac_tool_warned in
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7064 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7065 ac_tool_warned=yes ;;
7070 LIPO="$ac_cv_prog_LIPO"
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}otool; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7077 $as_echo_n "checking
for $ac_word...
" >&6; }
7078 if ${ac_cv_prog_OTOOL+:} false; then :
7079 $as_echo_n "(cached
) " >&6
7081 if test -n "$OTOOL"; then
7082 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir=.
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7101 OTOOL=$ac_cv_prog_OTOOL
7102 if test -n "$OTOOL"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7104 $as_echo "$OTOOL" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7107 $as_echo "no
" >&6; }
7112 if test -z "$ac_cv_prog_OTOOL"; then
7114 # Extract the first word of "otool
", so it can be a program name with args.
7115 set dummy otool; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7117 $as_echo_n "checking
for $ac_word...
" >&6; }
7118 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7119 $as_echo_n "(cached
) " >&6
7121 if test -n "$ac_ct_OTOOL"; then
7122 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_ac_ct_OTOOL="otool
"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7142 if test -n "$ac_ct_OTOOL"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7144 $as_echo "$ac_ct_OTOOL" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7147 $as_echo "no
" >&6; }
7150 if test "x
$ac_ct_OTOOL" = x; then
7153 case $cross_compiling:$ac_tool_warned in
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7156 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7157 ac_tool_warned=yes ;;
7162 OTOOL="$ac_cv_prog_OTOOL"
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7169 $as_echo_n "checking
for $ac_word...
" >&6; }
7170 if ${ac_cv_prog_OTOOL64+:} false; then :
7171 $as_echo_n "(cached
) " >&6
7173 if test -n "$OTOOL64"; then
7174 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7193 OTOOL64=$ac_cv_prog_OTOOL64
7194 if test -n "$OTOOL64"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7196 $as_echo "$OTOOL64" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7199 $as_echo "no
" >&6; }
7204 if test -z "$ac_cv_prog_OTOOL64"; then
7205 ac_ct_OTOOL64=$OTOOL64
7206 # Extract the first word of "otool64
", so it can be a program name with args.
7207 set dummy otool64; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7209 $as_echo_n "checking
for $ac_word...
" >&6; }
7210 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7211 $as_echo_n "(cached
) " >&6
7213 if test -n "$ac_ct_OTOOL64"; then
7214 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7233 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7234 if test -n "$ac_ct_OTOOL64"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7236 $as_echo "$ac_ct_OTOOL64" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7239 $as_echo "no
" >&6; }
7242 if test "x
$ac_ct_OTOOL64" = x; then
7245 case $cross_compiling:$ac_tool_warned in
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7248 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7249 ac_tool_warned=yes ;;
7251 OTOOL64=$ac_ct_OTOOL64
7254 OTOOL64="$ac_cv_prog_OTOOL64"
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7284 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7285 if ${lt_cv_apple_cc_single_mod+:} false; then :
7286 $as_echo_n "(cached
) " >&6
7288 lt_cv_apple_cc_single_mod=no
7289 if test -z "${LT_MULTI_MODULE}"; then
7290 # By default we will add the -single_module flag. You can override
7291 # by either setting the environment variable LT_MULTI_MODULE
7292 # non-empty at configure time, or by adding -multi_module to the
7294 rm -rf libconftest.dylib*
7295 echo "int foo
(void
){return 1;}" > conftest.c
7296 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7297 -dynamiclib -Wl,-single_module conftest.c
" >&5
7298 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7301 # If there is a non-empty error log, and "single_module
"
7302 # appears in it, assume the flag caused a linker warning
7303 if test -s conftest.err && $GREP single_module conftest.err; then
7304 cat conftest.err >&5
7305 # Otherwise, if the output was created with a 0 exit code from
7306 # the compiler, it worked.
7307 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7308 lt_cv_apple_cc_single_mod=yes
7310 cat conftest.err >&5
7312 rm -rf libconftest.dylib*
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7317 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7320 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7321 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7322 $as_echo_n "(cached
) " >&6
7324 lt_cv_ld_exported_symbols_list=no
7325 save_LDFLAGS=$LDFLAGS
7326 echo "_main
" > conftest.sym
7327 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7339 if ac_fn_c_try_link "$LINENO"; then :
7340 lt_cv_ld_exported_symbols_list=yes
7342 lt_cv_ld_exported_symbols_list=no
7344 rm -f core conftest.err conftest.$ac_objext \
7345 conftest$ac_exeext conftest.$ac_ext
7346 LDFLAGS="$save_LDFLAGS"
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7350 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7353 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7354 if ${lt_cv_ld_force_load+:} false; then :
7355 $as_echo_n "(cached
) " >&6
7357 lt_cv_ld_force_load=no
7358 cat > conftest.c << _LT_EOF
7359 int forced_loaded() { return 2;}
7361 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7362 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7363 echo "$AR cru libconftest.a conftest.o
" >&5
7364 $AR cru libconftest.a conftest.o 2>&5
7365 echo "$RANLIB libconftest.a
" >&5
7366 $RANLIB libconftest.a 2>&5
7367 cat > conftest.c << _LT_EOF
7368 int main() { return 0;}
7370 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7371 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7373 if test -s conftest.err && $GREP force_load conftest.err; then
7374 cat conftest.err >&5
7375 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7376 lt_cv_ld_force_load=yes
7378 cat conftest.err >&5
7380 rm -f conftest.err libconftest.a conftest conftest.c
7381 rm -rf conftest.dSYM
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7385 $as_echo "$lt_cv_ld_force_load" >&6; }
7387 rhapsody* | darwin1.[012])
7388 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7390 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7391 darwin*) # darwin 5.x on
7392 # if running on 10.5 or later, the deployment target defaults
7393 # to the OS version, if on x86, and 10.4, the deployment
7394 # target defaults to 10.4. Don't you love it?
7395 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7396 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7397 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7399 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7401 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7405 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7406 _lt_dar_single_mod='$single_module'
7408 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7409 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7411 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7413 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7414 _lt_dsymutil='~$DSYMUTIL $lib || :'
7422 ac_cpp='$CPP $CPPFLAGS'
7423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7427 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7428 # On Suns, sometimes $CPP names a directory.
7429 if test -n "$CPP" && test -d "$CPP"; then
7432 if test -z "$CPP"; then
7433 if ${ac_cv_prog_CPP+:} false; then :
7434 $as_echo_n "(cached
) " >&6
7436 # Double quotes because CPP needs to be expanded
7437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7440 for ac_c_preproc_warn_flag in '' yes
7442 # Use a header file that comes with gcc, so configuring glibc
7443 # with a fresh cross-compiler works.
7444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7445 # <limits.h> exists even on freestanding compilers.
7446 # On the NeXT, cc -E runs the code through the compiler's parser,
7447 # not just through cpp. "Syntax error
" is here to catch this case.
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449 /* end confdefs.h. */
7451 # include <limits.h>
7453 # include <assert.h>
7457 if ac_fn_c_try_cpp "$LINENO"; then :
7460 # Broken: fails on valid input.
7463 rm -f conftest.err conftest.i conftest.$ac_ext
7465 # OK, works on sane cases. Now check whether nonexistent headers
7466 # can be detected and how.
7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h. */
7469 #include <ac_nonexistent.h>
7471 if ac_fn_c_try_cpp "$LINENO"; then :
7472 # Broken: success on invalid input.
7475 # Passes both tests.
7479 rm -f conftest.err conftest.i conftest.$ac_ext
7482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7483 rm -f conftest.i conftest.err conftest.$ac_ext
7484 if $ac_preproc_ok; then :
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7497 $as_echo "$CPP" >&6; }
7499 for ac_c_preproc_warn_flag in '' yes
7501 # Use a header file that comes with gcc, so configuring glibc
7502 # with a fresh cross-compiler works.
7503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7504 # <limits.h> exists even on freestanding compilers.
7505 # On the NeXT, cc -E runs the code through the compiler's parser,
7506 # not just through cpp. "Syntax error
" is here to catch this case.
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7510 # include <limits.h>
7512 # include <assert.h>
7516 if ac_fn_c_try_cpp "$LINENO"; then :
7519 # Broken: fails on valid input.
7522 rm -f conftest.err conftest.i conftest.$ac_ext
7524 # OK, works on sane cases. Now check whether nonexistent headers
7525 # can be detected and how.
7526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7527 /* end confdefs.h. */
7528 #include <ac_nonexistent.h>
7530 if ac_fn_c_try_cpp "$LINENO"; then :
7531 # Broken: success on invalid input.
7534 # Passes both tests.
7538 rm -f conftest.err conftest.i conftest.$ac_ext
7541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7542 rm -f conftest.i conftest.err conftest.$ac_ext
7543 if $ac_preproc_ok; then :
7546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7548 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7549 See \`config.log' for more details
" "$LINENO" 5; }
7553 ac_cpp='$CPP $CPPFLAGS'
7554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7560 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7561 if ${ac_cv_header_stdc+:} false; then :
7562 $as_echo_n "(cached
) " >&6
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7579 if ac_fn_c_try_compile "$LINENO"; then :
7580 ac_cv_header_stdc=yes
7582 ac_cv_header_stdc=no
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 if test $ac_cv_header_stdc = yes; then
7587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7593 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7594 $EGREP "memchr
" >/dev/null 2>&1; then :
7597 ac_cv_header_stdc=no
7603 if test $ac_cv_header_stdc = yes; then
7604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606 /* end confdefs.h. */
7610 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7611 $EGREP "free
" >/dev/null 2>&1; then :
7614 ac_cv_header_stdc=no
7620 if test $ac_cv_header_stdc = yes; then
7621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7622 if test "$cross_compiling" = yes; then :
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7629 #if ((' ' & 0x0FF) == 0x020)
7630 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7631 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7633 # define ISLOWER(c) \
7634 (('a' <= (c) && (c) <= 'i') \
7635 || ('j' <= (c) && (c) <= 'r') \
7636 || ('s' <= (c) && (c) <= 'z'))
7637 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7640 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7645 for (i = 0; i < 256; i++)
7646 if (XOR (islower (i), ISLOWER (i))
7647 || toupper (i) != TOUPPER (i))
7652 if ac_fn_c_try_run "$LINENO"; then :
7655 ac_cv_header_stdc=no
7657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7658 conftest.$ac_objext conftest.beam conftest.$ac_ext
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7664 $as_echo "$ac_cv_header_stdc" >&6; }
7665 if test $ac_cv_header_stdc = yes; then
7667 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7671 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7672 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7673 inttypes.h stdint.h unistd.h
7675 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7676 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7678 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7679 cat >>confdefs.h
<<_ACEOF
7680 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7688 for ac_header
in dlfcn.h
7690 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7692 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7693 cat >>confdefs.h
<<_ACEOF
7694 #define HAVE_DLFCN_H 1
7704 func_stripname_cnf
()
7707 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7708 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7710 } # func_stripname_cnf
7724 # Check whether --enable-shared was given.
7725 if test "${enable_shared+set}" = set; then :
7726 enableval
=$enable_shared; p
=${PACKAGE-default}
7728 yes) enable_shared
=yes ;;
7729 no
) enable_shared
=no
;;
7732 # Look at the argument we got. We use all the common list separators.
7733 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7734 for pkg
in $enableval; do
7736 if test "X$pkg" = "X$p"; then
7755 # Check whether --enable-static was given.
7756 if test "${enable_static+set}" = set; then :
7757 enableval
=$enable_static; p
=${PACKAGE-default}
7759 yes) enable_static
=yes ;;
7760 no
) enable_static
=no
;;
7763 # Look at the argument we got. We use all the common list separators.
7764 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7765 for pkg
in $enableval; do
7767 if test "X$pkg" = "X$p"; then
7787 # Check whether --with-pic was given.
7788 if test "${with_pic+set}" = set; then :
7789 withval
=$with_pic; lt_p
=${PACKAGE-default}
7791 yes|no
) pic_mode
=$withval ;;
7794 # Look at the argument we got. We use all the common list separators.
7795 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7796 for lt_pkg
in $withval; do
7798 if test "X$lt_pkg" = "X$lt_p"; then
7810 test -z "$pic_mode" && pic_mode
=default
7818 # Check whether --enable-fast-install was given.
7819 if test "${enable_fast_install+set}" = set; then :
7820 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7822 yes) enable_fast_install
=yes ;;
7823 no
) enable_fast_install
=no
;;
7825 enable_fast_install
=no
7826 # Look at the argument we got. We use all the common list separators.
7827 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7828 for pkg
in $enableval; do
7830 if test "X$pkg" = "X$p"; then
7831 enable_fast_install
=yes
7838 enable_fast_install
=yes
7851 # This can be used to rebuild libtool when needed
7852 LIBTOOL_DEPS
="$ltmain"
7854 # Always use our own libtool.
7855 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7886 test -z "$LN_S" && LN_S
="ln -s"
7901 if test -n "${ZSH_VERSION+set}" ; then
7902 setopt NO_GLOB_SUBST
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7906 $as_echo_n "checking for objdir... " >&6; }
7907 if ${lt_cv_objdir+:} false
; then :
7908 $as_echo_n "(cached) " >&6
7910 rm -f .libs
2>/dev
/null
7911 mkdir .libs
2>/dev
/null
7912 if test -d .libs
; then
7915 # MS-DOS does not allow filenames that begin with a dot.
7918 rmdir .libs
2>/dev
/null
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7921 $as_echo "$lt_cv_objdir" >&6; }
7922 objdir
=$lt_cv_objdir
7928 cat >>confdefs.h
<<_ACEOF
7929 #define LT_OBJDIR "$lt_cv_objdir/"
7937 # AIX sometimes has problems with the GCC collect2 program. For some
7938 # reason, if we set the COLLECT_NAMES environment variable, the problems
7939 # vanish in a puff of smoke.
7940 if test "X${COLLECT_NAMES+set}" != Xset
; then
7942 export COLLECT_NAMES
7949 can_build_shared
=yes
7951 # All known linkers require a `.a' archive for static linking (except MSVC,
7952 # which needs '.lib').
7955 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7958 old_CFLAGS
="$CFLAGS"
7960 # Set sane defaults for various variables
7961 test -z "$CC" && CC
=cc
7962 test -z "$LTCC" && LTCC
=$CC
7963 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7964 test -z "$LD" && LD
=ld
7965 test -z "$ac_objext" && ac_objext
=o
7967 for cc_temp
in $compiler""; do
7969 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7970 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7975 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7978 # Only perform the check for file, if the check method requires it
7979 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7980 case $deplibs_check_method in
7982 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7984 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7985 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7990 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7993 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7994 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7995 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7996 for ac_dir
in $ac_dummy; do
7998 test -z "$ac_dir" && ac_dir
=.
7999 if test -f $ac_dir/${ac_tool_prefix}file; then
8000 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8001 if test -n "$file_magic_test_file"; then
8002 case $deplibs_check_method in
8004 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8005 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8006 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8007 $EGREP "$file_magic_regex" > /dev
/null
; then
8012 *** Warning: the command libtool uses to detect shared libraries,
8013 *** $file_magic_cmd, produces output that libtool cannot recognize.
8014 *** The result is that libtool may fail to recognize shared libraries
8015 *** as such. This will affect the creation of libtool libraries that
8016 *** depend on shared libraries, but programs linked with such libtool
8017 *** libraries will work regardless of this problem. Nevertheless, you
8018 *** may want to report the problem to your system manager and/or to
8019 *** bug-libtool@gnu.org
8029 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8034 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8035 if test -n "$MAGIC_CMD"; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8037 $as_echo "$MAGIC_CMD" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8047 if test -z "$lt_cv_path_MAGIC_CMD"; then
8048 if test -n "$ac_tool_prefix"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8050 $as_echo_n "checking for file... " >&6; }
8051 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8056 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8059 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8060 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8061 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8062 for ac_dir
in $ac_dummy; do
8064 test -z "$ac_dir" && ac_dir
=.
8065 if test -f $ac_dir/file; then
8066 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8067 if test -n "$file_magic_test_file"; then
8068 case $deplibs_check_method in
8070 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8071 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8072 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8073 $EGREP "$file_magic_regex" > /dev
/null
; then
8078 *** Warning: the command libtool uses to detect shared libraries,
8079 *** $file_magic_cmd, produces output that libtool cannot recognize.
8080 *** The result is that libtool may fail to recognize shared libraries
8081 *** as such. This will affect the creation of libtool libraries that
8082 *** depend on shared libraries, but programs linked with such libtool
8083 *** libraries will work regardless of this problem. Nevertheless, you
8084 *** may want to report the problem to your system manager and/or to
8085 *** bug-libtool@gnu.org
8095 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8100 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8101 if test -n "$MAGIC_CMD"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8103 $as_echo "$MAGIC_CMD" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8119 # Use C for the default configuration in the libtool script
8123 ac_cpp
='$CPP $CPPFLAGS'
8124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8129 # Source file extension for C test sources.
8132 # Object file extension for compiled C test sources.
8136 # Code to be used in simple compile tests
8137 lt_simple_compile_test_code
="int some_variable = 0;"
8139 # Code to be used in simple link tests
8140 lt_simple_link_test_code
='int main(){return(0);}'
8148 # If no C compiler was specified, use CC.
8151 # If no C compiler flags were specified, use CFLAGS.
8152 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8154 # Allow CC to be a program name with arguments.
8157 # Save the default compiler, since it gets overwritten when the other
8158 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8159 compiler_DEFAULT
=$CC
8161 # save warnings/boilerplate of simple test code
8162 ac_outfile
=conftest.
$ac_objext
8163 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8164 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8165 _lt_compiler_boilerplate
=`cat conftest.err`
8168 ac_outfile
=conftest.
$ac_objext
8169 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8170 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8171 _lt_linker_boilerplate
=`cat conftest.err`
8175 if test -n "$compiler"; then
8177 lt_prog_compiler_no_builtin_flag
=
8179 if test "$GCC" = yes; then
8180 case $cc_basename in
8182 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8184 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8188 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8189 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 lt_cv_prog_compiler_rtti_exceptions
=no
8193 ac_outfile
=conftest.
$ac_objext
8194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8195 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8196 # Insert the option either (1) after the last *FLAGS variable, or
8197 # (2) before a word containing "conftest.", or (3) at the end.
8198 # Note that $ac_compile itself does not contain backslashes and begins
8199 # with a dollar sign (not a hyphen), so the echo should work correctly.
8200 # The option is referenced via a variable to avoid confusing sed.
8201 lt_compile
=`echo "$ac_compile" | $SED \
8202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8204 -e 's:$: $lt_compiler_flag:'`
8205 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8206 (eval "$lt_compile" 2>conftest.err
)
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 if (exit $ac_status) && test -s "$ac_outfile"; then
8211 # The compiler can only warn and ignore the option if not recognized
8212 # So say no if there are warnings other than the usual output.
8213 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8214 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8215 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8216 lt_cv_prog_compiler_rtti_exceptions
=yes
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8223 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8225 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8226 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8238 lt_prog_compiler_wl
=
8239 lt_prog_compiler_pic
=
8240 lt_prog_compiler_static
=
8243 if test "$GCC" = yes; then
8244 lt_prog_compiler_wl
='-Wl,'
8245 lt_prog_compiler_static
='-static'
8249 # All AIX code is PIC.
8250 if test "$host_cpu" = ia64
; then
8251 # AIX 5 now supports IA64 processor
8252 lt_prog_compiler_static
='-Bstatic'
8259 # see comment about AmigaOS4 .so support
8260 lt_prog_compiler_pic
='-fPIC'
8263 # FIXME: we need at least 68020 code to build shared libraries, but
8264 # adding the `-m68020' flag to GCC prevents building anything better,
8266 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8271 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8272 # PIC is the default for these OSes.
8275 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8276 # This hack is so that the source file can tell whether it is being
8277 # built for inclusion in a dll (and should export symbols for example).
8278 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8279 # (--disable-auto-import) libraries
8280 lt_prog_compiler_pic
='-DDLL_EXPORT'
8283 darwin
* | rhapsody
*)
8284 # PIC is the default on this platform
8285 # Common symbols not allowed in MH_DYLIB files
8286 lt_prog_compiler_pic
='-fno-common'
8290 # PIC is the default for Haiku.
8291 # The "-static" flag exists, but is broken.
8292 lt_prog_compiler_static
=
8296 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8297 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8298 # sets the default TLS model and affects inlining.
8304 lt_prog_compiler_pic
='-fPIC'
8310 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8311 # Instead, we relocate shared libraries at runtime.
8315 # Just because we use GCC doesn't mean we suddenly get shared libraries
8316 # on systems that don't support them.
8317 lt_prog_compiler_can_build_shared
=no
8322 # QNX uses GNU C++, but need to define -shared option too, otherwise
8324 lt_prog_compiler_pic
='-fPIC -shared'
8328 if test -d /usr
/nec
; then
8329 lt_prog_compiler_pic
=-Kconform_pic
8334 lt_prog_compiler_pic
='-fPIC'
8338 case $cc_basename in
8339 nvcc
*) # Cuda Compiler Driver 2.2
8340 lt_prog_compiler_wl
='-Xlinker '
8341 if test -n "$lt_prog_compiler_pic"; then
8342 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8347 # PORTME Check for flag to pass linker flags through the system compiler.
8350 lt_prog_compiler_wl
='-Wl,'
8351 if test "$host_cpu" = ia64
; then
8352 # AIX 5 now supports IA64 processor
8353 lt_prog_compiler_static
='-Bstatic'
8355 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8359 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8360 # This hack is so that the source file can tell whether it is being
8361 # built for inclusion in a dll (and should export symbols for example).
8362 lt_prog_compiler_pic
='-DDLL_EXPORT'
8365 hpux9
* | hpux10
* | hpux11
*)
8366 lt_prog_compiler_wl
='-Wl,'
8367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8374 lt_prog_compiler_pic
='+Z'
8377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8378 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8381 irix5
* | irix6
* | nonstopux
*)
8382 lt_prog_compiler_wl
='-Wl,'
8383 # PIC (with -KPIC) is the default.
8384 lt_prog_compiler_static
='-non_shared'
8387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8388 case $cc_basename in
8389 # old Intel for x86_64 which still supported -KPIC.
8391 lt_prog_compiler_wl
='-Wl,'
8392 lt_prog_compiler_pic
='-KPIC'
8393 lt_prog_compiler_static
='-static'
8395 # icc used to be incompatible with GCC.
8396 # ICC 10 doesn't accept -KPIC any more.
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_pic
='-fPIC'
8400 lt_prog_compiler_static
='-static'
8402 # Lahey Fortran 8.1.
8404 lt_prog_compiler_wl
='-Wl,'
8405 lt_prog_compiler_pic
='--shared'
8406 lt_prog_compiler_static
='--static'
8409 # NAG Fortran compiler
8410 lt_prog_compiler_wl
='-Wl,-Wl,,'
8411 lt_prog_compiler_pic
='-PIC'
8412 lt_prog_compiler_static
='-Bstatic'
8414 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8415 # Portland Group compilers (*not* the Pentium gcc compiler,
8416 # which looks to be a dead project)
8417 lt_prog_compiler_wl
='-Wl,'
8418 lt_prog_compiler_pic
='-fpic'
8419 lt_prog_compiler_static
='-Bstatic'
8422 lt_prog_compiler_wl
='-Wl,'
8423 # All Alpha code is PIC.
8424 lt_prog_compiler_static
='-non_shared'
8426 xl
* | bgxl
* | bgf
* | mpixl
*)
8427 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8428 lt_prog_compiler_wl
='-Wl,'
8429 lt_prog_compiler_pic
='-qpic'
8430 lt_prog_compiler_static
='-qstaticlink'
8433 case `$CC -V 2>&1 | sed 5q` in
8434 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8436 lt_prog_compiler_pic
='-KPIC'
8437 lt_prog_compiler_static
='-Bstatic'
8438 lt_prog_compiler_wl
=''
8440 *Sun\ F
* |
*Sun
*Fortran
*)
8441 lt_prog_compiler_pic
='-KPIC'
8442 lt_prog_compiler_static
='-Bstatic'
8443 lt_prog_compiler_wl
='-Qoption ld '
8447 lt_prog_compiler_pic
='-KPIC'
8448 lt_prog_compiler_static
='-Bstatic'
8449 lt_prog_compiler_wl
='-Wl,'
8451 *Intel
*\
[CF
]*Compiler
*)
8452 lt_prog_compiler_wl
='-Wl,'
8453 lt_prog_compiler_pic
='-fPIC'
8454 lt_prog_compiler_static
='-static'
8457 lt_prog_compiler_wl
='-Wl,'
8458 lt_prog_compiler_pic
='-fpic'
8459 lt_prog_compiler_static
='-Bstatic'
8467 lt_prog_compiler_pic
='-KPIC'
8468 lt_prog_compiler_static
='-Bstatic'
8472 # QNX uses GNU C++, but need to define -shared option too, otherwise
8474 lt_prog_compiler_pic
='-fPIC -shared'
8477 osf3
* | osf4
* | osf5
*)
8478 lt_prog_compiler_wl
='-Wl,'
8479 # All OSF/1 code is PIC.
8480 lt_prog_compiler_static
='-non_shared'
8484 lt_prog_compiler_static
='-non_shared'
8488 lt_prog_compiler_pic
='-KPIC'
8489 lt_prog_compiler_static
='-Bstatic'
8490 case $cc_basename in
8491 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8492 lt_prog_compiler_wl
='-Qoption ld ';;
8494 lt_prog_compiler_wl
='-Wl,';;
8499 lt_prog_compiler_wl
='-Qoption ld '
8500 lt_prog_compiler_pic
='-PIC'
8501 lt_prog_compiler_static
='-Bstatic'
8504 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8505 lt_prog_compiler_wl
='-Wl,'
8506 lt_prog_compiler_pic
='-KPIC'
8507 lt_prog_compiler_static
='-Bstatic'
8511 if test -d /usr
/nec
;then
8512 lt_prog_compiler_pic
='-Kconform_pic'
8513 lt_prog_compiler_static
='-Bstatic'
8517 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8518 lt_prog_compiler_wl
='-Wl,'
8519 lt_prog_compiler_pic
='-KPIC'
8520 lt_prog_compiler_static
='-Bstatic'
8524 lt_prog_compiler_wl
='-Wl,'
8525 lt_prog_compiler_can_build_shared
=no
8529 lt_prog_compiler_pic
='-pic'
8530 lt_prog_compiler_static
='-Bstatic'
8534 lt_prog_compiler_can_build_shared
=no
8540 # For platforms which do not support PIC, -DPIC is meaningless:
8542 lt_prog_compiler_pic
=
8545 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8550 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8551 if ${lt_cv_prog_compiler_pic+:} false
; then :
8552 $as_echo_n "(cached) " >&6
8554 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8557 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8558 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8561 # Check to make sure the PIC flag actually works.
8563 if test -n "$lt_prog_compiler_pic"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8565 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8566 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8567 $as_echo_n "(cached) " >&6
8569 lt_cv_prog_compiler_pic_works
=no
8570 ac_outfile
=conftest.
$ac_objext
8571 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8572 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8573 # Insert the option either (1) after the last *FLAGS variable, or
8574 # (2) before a word containing "conftest.", or (3) at the end.
8575 # Note that $ac_compile itself does not contain backslashes and begins
8576 # with a dollar sign (not a hyphen), so the echo should work correctly.
8577 # The option is referenced via a variable to avoid confusing sed.
8578 lt_compile
=`echo "$ac_compile" | $SED \
8579 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8580 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8581 -e 's:$: $lt_compiler_flag:'`
8582 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8583 (eval "$lt_compile" 2>conftest.err
)
8585 cat conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 if (exit $ac_status) && test -s "$ac_outfile"; then
8588 # The compiler can only warn and ignore the option if not recognized
8589 # So say no if there are warnings other than the usual output.
8590 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8591 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8592 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8593 lt_cv_prog_compiler_pic_works
=yes
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8600 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8602 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8603 case $lt_prog_compiler_pic in
8605 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8608 lt_prog_compiler_pic
=
8609 lt_prog_compiler_can_build_shared
=no
8625 # Check to make sure the static flag actually works.
8627 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8629 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8630 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8631 $as_echo_n "(cached) " >&6
8633 lt_cv_prog_compiler_static_works
=no
8634 save_LDFLAGS
="$LDFLAGS"
8635 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8636 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8637 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8638 # The linker can only warn and ignore the option if not recognized
8639 # So say no if there are warnings
8640 if test -s conftest.err
; then
8641 # Append any errors to the config.log.
8642 cat conftest.err
1>&5
8643 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8645 if diff conftest.exp conftest.er2
>/dev
/null
; then
8646 lt_cv_prog_compiler_static_works
=yes
8649 lt_cv_prog_compiler_static_works
=yes
8653 LDFLAGS
="$save_LDFLAGS"
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8657 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8659 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8662 lt_prog_compiler_static
=
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8673 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8674 $as_echo_n "(cached) " >&6
8676 lt_cv_prog_compiler_c_o
=no
8677 $RM -r conftest
2>/dev
/null
8681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8683 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8684 # Insert the option either (1) after the last *FLAGS variable, or
8685 # (2) before a word containing "conftest.", or (3) at the end.
8686 # Note that $ac_compile itself does not contain backslashes and begins
8687 # with a dollar sign (not a hyphen), so the echo should work correctly.
8688 lt_compile
=`echo "$ac_compile" | $SED \
8689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8691 -e 's:$: $lt_compiler_flag:'`
8692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8693 (eval "$lt_compile" 2>out
/conftest.err
)
8695 cat out
/conftest.err
>&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8699 # The compiler can only warn and ignore the option if not recognized
8700 # So say no if there are warnings
8701 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8702 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8703 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8704 lt_cv_prog_compiler_c_o
=yes
8709 # SGI C++ compiler will create directory out/ii_files/ for
8710 # template instantiation
8711 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8712 $RM out
/* && rmdir out
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8719 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8727 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8728 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 lt_cv_prog_compiler_c_o
=no
8732 $RM -r conftest
2>/dev
/null
8736 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8738 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8739 # Insert the option either (1) after the last *FLAGS variable, or
8740 # (2) before a word containing "conftest.", or (3) at the end.
8741 # Note that $ac_compile itself does not contain backslashes and begins
8742 # with a dollar sign (not a hyphen), so the echo should work correctly.
8743 lt_compile
=`echo "$ac_compile" | $SED \
8744 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8745 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8746 -e 's:$: $lt_compiler_flag:'`
8747 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8748 (eval "$lt_compile" 2>out
/conftest.err
)
8750 cat out
/conftest.err
>&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8754 # The compiler can only warn and ignore the option if not recognized
8755 # So say no if there are warnings
8756 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8757 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8758 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8759 lt_cv_prog_compiler_c_o
=yes
8764 # SGI C++ compiler will create directory out/ii_files/ for
8765 # template instantiation
8766 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8767 $RM out
/* && rmdir out
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8774 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8779 hard_links
="nottested"
8780 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8781 # do not overwrite the value of need_locks provided by the user
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8783 $as_echo_n "checking if we can lock with hard links... " >&6; }
8786 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8788 ln conftest.a conftest.b
2>&5 || hard_links
=no
8789 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8791 $as_echo "$hard_links" >&6; }
8792 if test "$hard_links" = no
; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8794 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8807 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8810 allow_undefined_flag
=
8811 always_export_symbols
=no
8813 archive_expsym_cmds
=
8814 compiler_needs_object
=no
8815 enable_shared_with_static_runtimes
=no
8816 export_dynamic_flag_spec
=
8817 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8818 hardcode_automatic
=no
8820 hardcode_direct_absolute
=no
8821 hardcode_libdir_flag_spec
=
8822 hardcode_libdir_separator
=
8824 hardcode_shlibpath_var
=unsupported
8826 link_all_deplibs
=unknown
8829 old_archive_from_new_cmds
=
8830 old_archive_from_expsyms_cmds
=
8831 thread_safe_flag_spec
=
8832 whole_archive_flag_spec
=
8833 # include_expsyms should be a list of space-separated symbols to be *always*
8834 # included in the symbol list
8836 # exclude_expsyms can be an extended regexp of symbols to exclude
8837 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8838 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8839 # as well as any symbol that contains `d'.
8840 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8841 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8842 # platforms (ab)use it in PIC code, but their linkers get confused if
8843 # the symbol is explicitly referenced. Since portable code cannot
8844 # rely on this symbol name, it's probably fine to never include it in
8845 # preloaded symbol tables.
8846 # Exclude shared library initialization/finalization symbols.
8847 extract_expsyms_cmds
=
8850 cygwin
* | mingw
* | pw32
* | cegcc
*)
8851 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8852 # When not using gcc, we currently assume that we are using
8853 # Microsoft Visual C++.
8854 if test "$GCC" != yes; then
8859 # we just hope/assume this is gcc and not c89 (= MSVC++)
8865 linux
* | k
*bsd
*-gnu | gnu
*)
8872 # On some targets, GNU ld is compatible enough with the native linker
8873 # that we're better off using the native interface for both.
8874 lt_use_gnu_ld_interface
=no
8875 if test "$with_gnu_ld" = yes; then
8878 # The AIX port of GNU ld has always aspired to compatibility
8879 # with the native linker. However, as the warning in the GNU ld
8880 # block says, versions before 2.19.5* couldn't really create working
8881 # shared libraries, regardless of the interface used.
8882 case `$LD -v 2>&1` in
8883 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8884 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8885 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8887 lt_use_gnu_ld_interface
=yes
8892 lt_use_gnu_ld_interface
=yes
8897 if test "$lt_use_gnu_ld_interface" = yes; then
8898 # If archive_cmds runs LD, not CC, wlarc should be empty
8901 # Set some defaults for GNU ld with shared library support. These
8902 # are reset later if shared libraries are not supported. Putting them
8903 # here allows them to be overridden if necessary.
8904 runpath_var
=LD_RUN_PATH
8905 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8906 export_dynamic_flag_spec
='${wl}--export-dynamic'
8907 # ancient GNU ld didn't support --whole-archive et. al.
8908 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8909 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8911 whole_archive_flag_spec
=
8913 supports_anon_versioning
=no
8914 case `$LD -v 2>&1` in
8915 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8916 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8917 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8918 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8919 *\
2.11.
*) ;; # other 2.11 versions
8920 *) supports_anon_versioning
=yes ;;
8923 # See if GNU ld supports shared libraries.
8926 # On AIX/PPC, the GNU linker is very broken
8927 if test "$host_cpu" != ia64
; then
8931 *** Warning: the GNU linker, at least up to release 2.19, is reported
8932 *** to be unable to reliably create shared libraries on AIX.
8933 *** Therefore, libtool is disabling shared libraries support. If you
8934 *** really care for shared libraries, you may want to install binutils
8935 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8936 *** You will then need to restart the configuration process.
8945 # see comment about AmigaOS4 .so support
8946 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8947 archive_expsym_cmds
=''
8950 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)'
8951 hardcode_libdir_flag_spec
='-L$libdir'
8952 hardcode_minus_L
=yes
8958 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8959 allow_undefined_flag
=unsupported
8960 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8961 # support --undefined. This deserves some investigation. FIXME
8962 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 cygwin
* | mingw
* | pw32
* | cegcc
*)
8969 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8970 # as there is no search path for DLLs.
8971 hardcode_libdir_flag_spec
='-L$libdir'
8972 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8973 allow_undefined_flag
=unsupported
8974 always_export_symbols
=no
8975 enable_shared_with_static_runtimes
=yes
8976 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8977 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8979 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8980 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8981 # If the export-symbols file already is a .def file (1st line
8982 # is EXPORTS), use it as is; otherwise, prepend...
8983 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8984 cp $export_symbols $output_objdir/$soname.def;
8986 echo EXPORTS > $output_objdir/$soname.def;
8987 cat $export_symbols >> $output_objdir/$soname.def;
8989 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8996 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8997 link_all_deplibs
=yes
9002 hardcode_shlibpath_var
=no
9003 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9004 export_dynamic_flag_spec
='${wl}-E'
9005 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9006 # Instead, shared libraries are loaded at an image base (0x10000000 by
9007 # default) and relocated if they conflict, which is a slow very memory
9008 # consuming and fragmenting process. To avoid this, we pick a random,
9009 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9010 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9011 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9012 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'
9015 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9017 if test "$host_os" = linux-dietlibc
; then
9018 case $cc_basename in
9019 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9022 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9023 && test "$tmp_diet" = no
9025 tmp_addflag
=' $pic_flag'
9026 tmp_sharedflag
='-shared'
9027 case $cc_basename,$host_cpu in
9028 pgcc
*) # Portland Group C compiler
9029 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'
9030 tmp_addflag
=' $pic_flag'
9032 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9033 # Portland Group f77 and f90 compilers
9034 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'
9035 tmp_addflag
=' $pic_flag -Mnomain' ;;
9036 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9037 tmp_addflag
=' -i_dynamic' ;;
9038 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9039 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9040 ifc
* | ifort
*) # Intel Fortran compiler
9041 tmp_addflag
=' -nofor_main' ;;
9042 lf95
*) # Lahey Fortran 8.1
9043 whole_archive_flag_spec
=
9044 tmp_sharedflag
='--shared' ;;
9045 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9046 tmp_sharedflag
='-qmkshrobj'
9048 nvcc
*) # Cuda Compiler Driver 2.2
9049 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'
9050 compiler_needs_object
=yes
9053 case `$CC -V 2>&1 | sed 5q` in
9054 *Sun\ C
*) # Sun C 5.9
9055 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'
9056 compiler_needs_object
=yes
9057 tmp_sharedflag
='-G' ;;
9058 *Sun\ F
*) # Sun Fortran 8.3
9059 tmp_sharedflag
='-G' ;;
9061 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9063 if test "x$supports_anon_versioning" = xyes
; then
9064 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9065 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9066 echo "local: *; };" >> $output_objdir/$libname.ver~
9067 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9070 case $cc_basename in
9071 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9072 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9073 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9074 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9075 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9076 if test "x$supports_anon_versioning" = xyes
; then
9077 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9078 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9079 echo "local: *; };" >> $output_objdir/$libname.ver~
9080 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9089 netbsd
* | netbsdelf
*-gnu)
9090 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9091 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9094 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9095 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9100 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9104 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9105 *** create shared libraries on Solaris systems. Therefore, libtool
9106 *** is disabling shared libraries support. We urge you to upgrade GNU
9107 *** binutils to release 2.9.1 or newer. Another option is to modify
9108 *** your PATH or compiler configuration so that the native linker is
9109 *** used, and then restart.
9112 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9113 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9120 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9121 case `$LD -v 2>&1` in
9122 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9126 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9127 *** reliably create shared libraries on SCO systems. Therefore, libtool
9128 *** is disabling shared libraries support. We urge you to upgrade GNU
9129 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9130 *** your PATH or compiler configuration so that the native linker is
9131 *** used, and then restart.
9136 # For security reasons, it is highly recommended that you always
9137 # use absolute paths for naming shared libraries, and exclude the
9138 # DT_RUNPATH tag from executables and libraries. But doing so
9139 # requires that you compile everything twice, which is a pain.
9140 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9141 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9142 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9152 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9155 hardcode_shlibpath_var
=no
9159 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9160 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9168 if test "$ld_shlibs" = no
; then
9170 hardcode_libdir_flag_spec
=
9171 export_dynamic_flag_spec
=
9172 whole_archive_flag_spec
=
9175 # PORTME fill in a description of your system's linker (not GNU ld)
9178 allow_undefined_flag
=unsupported
9179 always_export_symbols
=yes
9180 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'
9181 # Note: this linker hardcodes the directories in LIBPATH if there
9182 # are no directories specified by -L.
9183 hardcode_minus_L
=yes
9184 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9185 # Neither direct hardcoding nor static linking is supported with a
9187 hardcode_direct
=unsupported
9192 if test "$host_cpu" = ia64
; then
9193 # On IA64, the linker does run time linking by default, so we don't
9194 # have to do anything special.
9195 aix_use_runtimelinking
=no
9196 exp_sym_flag
='-Bexport'
9199 # If we're using GNU nm, then we don't want the "-C" option.
9200 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9201 # Also, AIX nm treats weak defined symbols like other global
9202 # defined symbols, whereas GNU nm marks them as "W".
9203 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9204 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'
9206 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'
9208 aix_use_runtimelinking
=no
9210 # Test if we are trying to use run time linking or normal
9211 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9212 # need to do runtime linking.
9213 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9214 for ld_flag
in $LDFLAGS; do
9215 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9216 aix_use_runtimelinking
=yes
9223 exp_sym_flag
='-bexport'
9224 no_entry_flag
='-bnoentry'
9227 # When large executables or shared objects are built, AIX ld can
9228 # have problems creating the table of contents. If linking a library
9229 # or program results in "error TOC overflow" add -mminimal-toc to
9230 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9231 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9235 hardcode_direct_absolute
=yes
9236 hardcode_libdir_separator
=':'
9237 link_all_deplibs
=yes
9238 file_list_spec
='${wl}-f,'
9240 if test "$GCC" = yes; then
9241 case $host_os in aix4.
[012]|aix4.
[012].
*)
9242 # We only want to do this on AIX 4.2 and lower, the check
9243 # below for broken collect2 doesn't work under 4.3+
9244 collect2name
=`${CC} -print-prog-name=collect2`
9245 if test -f "$collect2name" &&
9246 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9248 # We have reworked collect2
9251 # We have old collect2
9252 hardcode_direct
=unsupported
9253 # It fails to find uninstalled libraries when the uninstalled
9254 # path is not listed in the libpath. Setting hardcode_minus_L
9255 # to unsupported forces relinking
9256 hardcode_minus_L
=yes
9257 hardcode_libdir_flag_spec
='-L$libdir'
9258 hardcode_libdir_separator
=
9262 shared_flag
='-shared'
9263 if test "$aix_use_runtimelinking" = yes; then
9264 shared_flag
="$shared_flag "'${wl}-G'
9269 if test "$host_cpu" = ia64
; then
9270 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9271 # chokes on -Wl,-G. The following line is correct:
9274 if test "$aix_use_runtimelinking" = yes; then
9275 shared_flag
='${wl}-G'
9277 shared_flag
='${wl}-bM:SRE'
9282 export_dynamic_flag_spec
='${wl}-bexpall'
9283 # It seems that -bexpall does not export symbols beginning with
9284 # underscore (_), so it is better to generate a list of symbols to export.
9285 always_export_symbols
=yes
9286 if test "$aix_use_runtimelinking" = yes; then
9287 # Warning - without using the other runtime loading flags (-brtl),
9288 # -berok will link without error, but may produce a broken library.
9289 allow_undefined_flag
='-berok'
9290 # Determine the default libpath from the value encoded in an
9292 if test "${lt_cv_aix_libpath+set}" = set; then
9293 aix_libpath
=$lt_cv_aix_libpath
9295 if ${lt_cv_aix_libpath_+:} false
; then :
9296 $as_echo_n "(cached) " >&6
9298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9309 if ac_fn_c_try_link
"$LINENO"; then :
9311 lt_aix_libpath_sed
='
9312 /Import File Strings/,/^$/ {
9314 s/^0 *\([^ ]*\) *$/\1/
9318 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9319 # Check for a 64-bit object if we didn't find anything.
9320 if test -z "$lt_cv_aix_libpath_"; then
9321 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9324 rm -f core conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 if test -z "$lt_cv_aix_libpath_"; then
9327 lt_cv_aix_libpath_
="/usr/lib:/lib"
9332 aix_libpath
=$lt_cv_aix_libpath_
9335 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9336 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"
9338 if test "$host_cpu" = ia64
; then
9339 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9340 allow_undefined_flag
="-z nodefs"
9341 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"
9343 # Determine the default libpath from the value encoded in an
9345 if test "${lt_cv_aix_libpath+set}" = set; then
9346 aix_libpath
=$lt_cv_aix_libpath
9348 if ${lt_cv_aix_libpath_+:} false
; then :
9349 $as_echo_n "(cached) " >&6
9351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9362 if ac_fn_c_try_link
"$LINENO"; then :
9364 lt_aix_libpath_sed
='
9365 /Import File Strings/,/^$/ {
9367 s/^0 *\([^ ]*\) *$/\1/
9371 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9372 # Check for a 64-bit object if we didn't find anything.
9373 if test -z "$lt_cv_aix_libpath_"; then
9374 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377 rm -f core conftest.err conftest.
$ac_objext \
9378 conftest
$ac_exeext conftest.
$ac_ext
9379 if test -z "$lt_cv_aix_libpath_"; then
9380 lt_cv_aix_libpath_
="/usr/lib:/lib"
9385 aix_libpath
=$lt_cv_aix_libpath_
9388 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9389 # Warning - without using the other run time loading flags,
9390 # -berok will link without error, but may produce a broken library.
9391 no_undefined_flag
=' ${wl}-bernotok'
9392 allow_undefined_flag
=' ${wl}-berok'
9393 if test "$with_gnu_ld" = yes; then
9394 # We only use this code for GNU lds that support --whole-archive.
9395 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9397 # Exported symbols can be pulled into shared objects from archives
9398 whole_archive_flag_spec
='$convenience'
9400 archive_cmds_need_lc
=yes
9401 # This is similar to how AIX traditionally builds its shared libraries.
9402 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'
9410 # see comment about AmigaOS4 .so support
9411 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 archive_expsym_cmds
=''
9415 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)'
9416 hardcode_libdir_flag_spec
='-L$libdir'
9417 hardcode_minus_L
=yes
9423 export_dynamic_flag_spec
=-rdynamic
9426 cygwin
* | mingw
* | pw32
* | cegcc
*)
9427 # When not using gcc, we currently assume that we are using
9428 # Microsoft Visual C++.
9429 # hardcode_libdir_flag_spec is actually meaningless, as there is
9430 # no search path for DLLs.
9431 case $cc_basename in
9434 hardcode_libdir_flag_spec
=' '
9435 allow_undefined_flag
=unsupported
9436 always_export_symbols
=yes
9438 # Tell ltmain to make .lib files, not .a files.
9440 # Tell ltmain to make .dll files, not .so files.
9442 # FIXME: Setting linknames here is a bad hack.
9443 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9444 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9445 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9447 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9449 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9451 # The linker will not automatically build a static lib if we build a DLL.
9452 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9453 enable_shared_with_static_runtimes
=yes
9454 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9455 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9457 old_postinstall_cmds
='chmod 644 $oldlib'
9458 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9459 lt_tool_outputfile="@TOOL_OUTPUT@"~
9460 case $lt_outputfile in
9463 lt_outputfile="$lt_outputfile.exe"
9464 lt_tool_outputfile="$lt_tool_outputfile.exe"
9467 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9468 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9469 $RM "$lt_outputfile.manifest";
9473 # Assume MSVC wrapper
9474 hardcode_libdir_flag_spec
=' '
9475 allow_undefined_flag
=unsupported
9476 # Tell ltmain to make .lib files, not .a files.
9478 # Tell ltmain to make .dll files, not .so files.
9480 # FIXME: Setting linknames here is a bad hack.
9481 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9482 # The linker will automatically build a .lib file if we build a DLL.
9483 old_archive_from_new_cmds
='true'
9484 # FIXME: Should let the user specify the lib program.
9485 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9486 enable_shared_with_static_runtimes
=yes
9491 darwin
* | rhapsody
*)
9494 archive_cmds_need_lc
=no
9496 hardcode_automatic
=yes
9497 hardcode_shlibpath_var
=unsupported
9498 if test "$lt_cv_ld_force_load" = "yes"; then
9499 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\"`'
9502 whole_archive_flag_spec
=''
9504 link_all_deplibs
=yes
9505 allow_undefined_flag
="$_lt_dar_allow_undefined"
9506 case $cc_basename in
9507 ifort
*) _lt_dar_can_shared
=yes ;;
9508 *) _lt_dar_can_shared
=$GCC ;;
9510 if test "$_lt_dar_can_shared" = "yes"; then
9511 output_verbose_link_cmd
=func_echo_all
9512 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9513 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9514 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}"
9515 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}"
9524 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9525 hardcode_libdir_flag_spec
='-L$libdir'
9526 hardcode_shlibpath_var
=no
9529 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9530 # support. Future versions do this automatically, but an explicit c++rt0.o
9531 # does not break anything, and helps significantly (at the cost of a little
9534 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9535 hardcode_libdir_flag_spec
='-R$libdir'
9537 hardcode_shlibpath_var
=no
9540 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9542 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9544 hardcode_minus_L
=yes
9545 hardcode_shlibpath_var
=no
9548 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9549 freebsd
* | dragonfly
*)
9550 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9551 hardcode_libdir_flag_spec
='-R$libdir'
9553 hardcode_shlibpath_var
=no
9557 if test "$GCC" = yes; then
9558 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9560 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'
9562 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_separator
=:
9566 # hardcode_minus_L: Not really in the search PATH,
9567 # but as the default location of the library.
9568 hardcode_minus_L
=yes
9569 export_dynamic_flag_spec
='${wl}-E'
9573 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9574 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9578 if test "$with_gnu_ld" = no
; then
9579 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9580 hardcode_libdir_separator
=:
9582 hardcode_direct_absolute
=yes
9583 export_dynamic_flag_spec
='${wl}-E'
9584 # hardcode_minus_L: Not really in the search PATH,
9585 # but as the default location of the library.
9586 hardcode_minus_L
=yes
9591 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9594 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9600 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9613 # Older versions of the 11.00 compiler do not understand -b yet
9614 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9616 $as_echo_n "checking if $CC understands -b... " >&6; }
9617 if ${lt_cv_prog_compiler__b+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9620 lt_cv_prog_compiler__b
=no
9621 save_LDFLAGS
="$LDFLAGS"
9622 LDFLAGS
="$LDFLAGS -b"
9623 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9624 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9625 # The linker can only warn and ignore the option if not recognized
9626 # So say no if there are warnings
9627 if test -s conftest.err
; then
9628 # Append any errors to the config.log.
9629 cat conftest.err
1>&5
9630 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9631 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9632 if diff conftest.exp conftest.er2
>/dev
/null
; then
9633 lt_cv_prog_compiler__b
=yes
9636 lt_cv_prog_compiler__b
=yes
9640 LDFLAGS
="$save_LDFLAGS"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9644 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9646 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9647 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9655 if test "$with_gnu_ld" = no
; then
9656 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9657 hardcode_libdir_separator
=:
9662 hardcode_shlibpath_var
=no
9666 hardcode_direct_absolute
=yes
9667 export_dynamic_flag_spec
='${wl}-E'
9669 # hardcode_minus_L: Not really in the search PATH,
9670 # but as the default location of the library.
9671 hardcode_minus_L
=yes
9677 irix5
* | irix6
* | nonstopux
*)
9678 if test "$GCC" = yes; then
9679 archive_cmds
='$CC -shared $pic_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'
9680 # Try to use the -exported_symbol ld option, if it does not
9681 # work, assume that -exports_file does not work either and
9682 # implicitly export all symbols.
9683 # This should be the same for all languages, so no per-tag cache variable.
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9685 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9686 if ${lt_cv_irix_exported_symbol+:} false
; then :
9687 $as_echo_n "(cached) " >&6
9689 save_LDFLAGS
="$LDFLAGS"
9690 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9693 int foo (void) { return 0; }
9695 if ac_fn_c_try_link
"$LINENO"; then :
9696 lt_cv_irix_exported_symbol
=yes
9698 lt_cv_irix_exported_symbol
=no
9700 rm -f core conftest.err conftest.
$ac_objext \
9701 conftest
$ac_exeext conftest.
$ac_ext
9702 LDFLAGS
="$save_LDFLAGS"
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9705 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9706 if test "$lt_cv_irix_exported_symbol" = yes; then
9707 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9710 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'
9711 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'
9713 archive_cmds_need_lc
='no'
9714 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9715 hardcode_libdir_separator
=:
9717 link_all_deplibs
=yes
9720 netbsd
* | netbsdelf
*-gnu)
9721 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9722 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9724 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9726 hardcode_libdir_flag_spec
='-R$libdir'
9728 hardcode_shlibpath_var
=no
9732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9735 hardcode_libdir_separator
=:
9736 hardcode_shlibpath_var
=no
9743 if test -f /usr
/libexec
/ld.so
; then
9745 hardcode_shlibpath_var
=no
9746 hardcode_direct_absolute
=yes
9747 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9748 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9749 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9750 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9751 export_dynamic_flag_spec
='${wl}-E'
9754 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9755 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec
='-R$libdir'
9759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9760 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9770 hardcode_libdir_flag_spec
='-L$libdir'
9771 hardcode_minus_L
=yes
9772 allow_undefined_flag
=unsupported
9773 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'
9774 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9778 if test "$GCC" = yes; then
9779 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9780 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'
9782 allow_undefined_flag
=' -expect_unresolved \*'
9783 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'
9785 archive_cmds_need_lc
='no'
9786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9787 hardcode_libdir_separator
=:
9790 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9791 if test "$GCC" = yes; then
9792 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9793 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
9794 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9796 allow_undefined_flag
=' -expect_unresolved \*'
9797 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'
9798 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~
9799 $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'
9801 # Both c and cxx compiler support -rpath directly
9802 hardcode_libdir_flag_spec
='-rpath $libdir'
9804 archive_cmds_need_lc
='no'
9805 hardcode_libdir_separator
=:
9809 no_undefined_flag
=' -z defs'
9810 if test "$GCC" = yes; then
9812 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9813 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9814 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9816 case `$CC -V 2>&1` in
9819 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9821 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9825 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9827 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9831 hardcode_libdir_flag_spec
='-R$libdir'
9832 hardcode_shlibpath_var
=no
9834 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9836 # The compiler driver will combine and reorder linker options,
9837 # but understands `-z linker_flag'. GCC discards it without `$wl',
9838 # but is careful enough not to reorder.
9839 # Supported since Solaris 2.6 (maybe 2.5.1?)
9840 if test "$GCC" = yes; then
9841 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9843 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9847 link_all_deplibs
=yes
9851 if test "x$host_vendor" = xsequent
; then
9852 # Use $CC to link under sequent, because it throws in some extra .o
9853 # files that make .init and .fini sections work.
9854 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9856 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_libdir_flag_spec
='-L$libdir'
9860 hardcode_minus_L
=yes
9861 hardcode_shlibpath_var
=no
9865 case $host_vendor in
9867 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9868 hardcode_direct
=yes # is this really true???
9871 ## LD is ld it makes a PLAMLIB
9872 ## CC just makes a GrossModule.
9873 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9874 reload_cmds
='$CC -r -o $output$reload_objs'
9878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9879 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9882 runpath_var
='LD_RUN_PATH'
9883 hardcode_shlibpath_var
=no
9887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_shlibpath_var
=no
9889 export_dynamic_flag_spec
='-Bexport'
9893 if test -d /usr
/nec
; then
9894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895 hardcode_shlibpath_var
=no
9896 runpath_var
=LD_RUN_PATH
9897 hardcode_runpath_var
=yes
9902 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9903 no_undefined_flag
='${wl}-z,text'
9904 archive_cmds_need_lc
=no
9905 hardcode_shlibpath_var
=no
9906 runpath_var
='LD_RUN_PATH'
9908 if test "$GCC" = yes; then
9909 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 sysv5
* | sco3.2v5
* | sco5v6
*)
9918 # Note: We can NOT use -z defs as we might desire, because we do not
9919 # link with -lc, and that would cause any symbols used from libc to
9920 # always be unresolved, which means just about no library would
9921 # ever link correctly. If we're not using GNU ld we use -z text
9922 # though, which does catch some bad symbols but isn't as heavy-handed
9924 no_undefined_flag
='${wl}-z,text'
9925 allow_undefined_flag
='${wl}-z,nodefs'
9926 archive_cmds_need_lc
=no
9927 hardcode_shlibpath_var
=no
9928 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9929 hardcode_libdir_separator
=':'
9930 link_all_deplibs
=yes
9931 export_dynamic_flag_spec
='${wl}-Bexport'
9932 runpath_var
='LD_RUN_PATH'
9934 if test "$GCC" = yes; then
9935 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9945 hardcode_libdir_flag_spec
='-L$libdir'
9946 hardcode_shlibpath_var
=no
9954 if test x
$host_vendor = xsni
; then
9956 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9957 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9964 $as_echo "$ld_shlibs" >&6; }
9965 test "$ld_shlibs" = no
&& can_build_shared
=no
9967 with_gnu_ld
=$with_gnu_ld
9984 # Do we need to explicitly link libc?
9986 case "x$archive_cmds_need_lc" in
9988 # Assume -lc should be added
9989 archive_cmds_need_lc
=yes
9991 if test "$enable_shared" = yes && test "$GCC" = yes; then
9992 case $archive_cmds in
9994 # FIXME: we may have to deal with multi-command sequences.
9997 # Test whether the compiler implicitly links with -lc since on some
9998 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9999 # to ld, don't add -lc before -lgcc.
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10001 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10002 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10003 $as_echo_n "(cached) " >&6
10006 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10009 (eval $ac_compile) 2>&5
10011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10012 test $ac_status = 0; } 2>conftest.err
; then
10015 libobjs
=conftest.
$ac_objext
10017 wl
=$lt_prog_compiler_wl
10018 pic_flag
=$lt_prog_compiler_pic
10024 lt_save_allow_undefined_flag
=$allow_undefined_flag
10025 allow_undefined_flag
=
10026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10027 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10030 test $ac_status = 0; }
10032 lt_cv_archive_cmds_need_lc
=no
10034 lt_cv_archive_cmds_need_lc
=yes
10036 allow_undefined_flag
=$lt_save_allow_undefined_flag
10038 cat conftest.err
1>&5
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10044 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10045 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10204 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10206 if test "$GCC" = yes; then
10208 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10209 *) lt_awk_arg
="/^libraries:/" ;;
10212 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10213 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10215 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10216 case $lt_search_path_spec in
10218 # if the path contains ";" then we assume it to be the separator
10219 # otherwise default to the standard path separator (i.e. ":") - it is
10220 # assumed that no part of a normal pathname contains ";" but that should
10221 # okay in the real world where ";" in dirpaths is itself problematic.
10222 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10225 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10228 # Ok, now we have the path, separated by spaces, we can step through it
10229 # and add multilib dir if necessary.
10230 lt_tmp_lt_search_path_spec
=
10231 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10232 for lt_sys_path
in $lt_search_path_spec; do
10233 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10234 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10236 test -d "$lt_sys_path" && \
10237 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10240 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10241 BEGIN {RS=" "; FS="/|\n";} {
10244 for (lt_i = NF; lt_i > 0; lt_i--) {
10245 if ($lt_i != "" && $lt_i != ".") {
10246 if ($lt_i == "..") {
10249 if (lt_count == 0) {
10250 lt_foo="/" $lt_i lt_foo;
10257 if (lt_foo != "") { lt_freq[lt_foo]++; }
10258 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10260 # AWK program above erroneously prepends '/' to C:/dos/paths
10263 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10264 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10266 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10268 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10270 library_names_spec
=
10271 libname_spec
='lib$name'
10275 postuninstall_cmds
=
10279 shlibpath_overrides_runpath
=unknown
10281 dynamic_linker
="$host_os ld.so"
10282 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10283 need_lib_prefix
=unknown
10284 hardcode_into_libs
=no
10286 # when you set need_version to no, make sure it does not cause -set_version
10287 # flags to be left without arguments
10288 need_version
=unknown
10292 version_type
=linux
# correct to gnu/linux during the next big refactor
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10294 shlibpath_var
=LIBPATH
10296 # AIX 3 has no versioning support, so we append a major version to the name.
10297 soname_spec
='${libname}${release}${shared_ext}$major'
10301 version_type
=linux
# correct to gnu/linux during the next big refactor
10304 hardcode_into_libs
=yes
10305 if test "$host_cpu" = ia64
; then
10306 # AIX 5 supports IA64
10307 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10308 shlibpath_var
=LD_LIBRARY_PATH
10310 # With GCC up to 2.95.x, collect2 would create an import file
10311 # for dependence libraries. The import file would start with
10312 # the line `#! .'. This would cause the generated library to
10313 # depend on `.', always an invalid library. This was fixed in
10314 # development snapshots of GCC prior to 3.0.
10316 aix4 | aix4.
[01] | aix4.
[01].
*)
10317 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10319 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10322 can_build_shared
=no
10326 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10327 # soname into executable. Probably we can add versioning support to
10328 # collect2, so additional links can be useful in future.
10329 if test "$aix_use_runtimelinking" = yes; then
10330 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10331 # instead of lib<name>.a to let people know that these are not
10332 # typical AIX shared libraries.
10333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 # We preserve .a as extension for shared libraries through AIX4.2
10336 # and later when we are not doing run time linking.
10337 library_names_spec
='${libname}${release}.a $libname.a'
10338 soname_spec
='${libname}${release}${shared_ext}$major'
10340 shlibpath_var
=LIBPATH
10347 # Since July 2007 AmigaOS4 officially supports .so libraries.
10348 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352 library_names_spec
='$libname.ixlibrary $libname.a'
10353 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10354 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'
10360 library_names_spec
='${libname}${shared_ext}'
10361 dynamic_linker
="$host_os ld.so"
10362 shlibpath_var
=LIBRARY_PATH
10366 version_type
=linux
# correct to gnu/linux during the next big refactor
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369 soname_spec
='${libname}${release}${shared_ext}$major'
10370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10371 shlibpath_var
=LD_LIBRARY_PATH
10372 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10373 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10374 # the default ld.so.conf also contains /usr/contrib/lib and
10375 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10376 # libtool to hard-code these into programs
10379 cygwin
* | mingw
* | pw32
* | cegcc
*)
10380 version_type
=windows
10385 case $GCC,$cc_basename in
10388 library_names_spec
='$libname.dll.a'
10389 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10390 postinstall_cmds
='base_file=`basename \${file}`~
10391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10392 dldir=$destdir/`dirname \$dlpath`~
10393 test -d \$dldir || mkdir -p \$dldir~
10394 $install_prog $dir/$dlname \$dldir/$dlname~
10395 chmod a+x \$dldir/$dlname~
10396 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10397 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10399 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10400 dlpath=$dir/\$dldll~
10402 shlibpath_overrides_runpath
=yes
10406 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10407 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10412 # MinGW DLLs use traditional 'lib' prefix
10413 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10416 # pw32 DLLs use 'pw' prefix rather than 'lib'
10417 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420 dynamic_linker
='Win32 ld.exe'
10425 libname_spec
='$name'
10426 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10427 library_names_spec
='${libname}.dll.lib'
10431 sys_lib_search_path_spec
=
10434 for lt_path
in $LIB
10437 # Let DOS variable expansion print the short 8.3 style file name.
10438 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10439 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10442 # Convert to MSYS style.
10443 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10446 # Convert to unix form, then to dos form, then back to unix form
10447 # but this time dos style (no spaces!) so that the unix form looks
10448 # like /cygdrive/c/PROGRA~1:/cygdr...
10449 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10450 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10451 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10454 sys_lib_search_path_spec
="$LIB"
10455 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10456 # It is most probably a Windows format PATH.
10457 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10459 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10461 # FIXME: find the short name or the path components, as spaces are
10462 # common. (e.g. "Program Files" -> "PROGRA~1")
10466 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10467 postinstall_cmds
='base_file=`basename \${file}`~
10468 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10469 dldir=$destdir/`dirname \$dlpath`~
10470 test -d \$dldir || mkdir -p \$dldir~
10471 $install_prog $dir/$dlname \$dldir/$dlname'
10472 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10473 dlpath=$dir/\$dldll~
10475 shlibpath_overrides_runpath
=yes
10476 dynamic_linker
='Win32 link.exe'
10480 # Assume MSVC wrapper
10481 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10482 dynamic_linker
='Win32 ld.exe'
10485 # FIXME: first we should search . and the directory the executable is in
10489 darwin
* | rhapsody
*)
10490 dynamic_linker
="$host_os dyld"
10491 version_type
=darwin
10494 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10495 soname_spec
='${libname}${release}${major}$shared_ext'
10496 shlibpath_overrides_runpath
=yes
10497 shlibpath_var
=DYLD_LIBRARY_PATH
10498 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10500 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10501 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10505 version_type
=linux
# correct to gnu/linux during the next big refactor
10508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10509 soname_spec
='${libname}${release}${shared_ext}$major'
10510 shlibpath_var
=LD_LIBRARY_PATH
10513 freebsd
* | dragonfly
*)
10514 # DragonFly does not have aout. When/if they implement a new
10515 # versioning mechanism, adjust this.
10516 if test -x /usr
/bin
/objformat
; then
10517 objformat
=`/usr/bin/objformat`
10520 freebsd
[23].
*) objformat
=aout
;;
10521 *) objformat
=elf
;;
10524 version_type
=freebsd-
$objformat
10525 case $version_type in
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10532 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10536 shlibpath_var
=LD_LIBRARY_PATH
10539 shlibpath_overrides_runpath
=yes
10541 freebsd3.
[01]* | freebsdelf3.
[01]*)
10542 shlibpath_overrides_runpath
=yes
10543 hardcode_into_libs
=yes
10545 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10546 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10547 shlibpath_overrides_runpath
=no
10548 hardcode_into_libs
=yes
10550 *) # from 4.6 on, and DragonFly
10551 shlibpath_overrides_runpath
=yes
10552 hardcode_into_libs
=yes
10558 version_type
=linux
# correct to gnu/linux during the next big refactor
10561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10562 soname_spec
='${libname}${release}${shared_ext}$major'
10563 shlibpath_var
=LD_LIBRARY_PATH
10564 shlibpath_overrides_runpath
=no
10565 hardcode_into_libs
=yes
10569 version_type
=linux
# correct to gnu/linux during the next big refactor
10572 dynamic_linker
="$host_os runtime_loader"
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10578 hardcode_into_libs
=yes
10581 hpux9
* | hpux10
* | hpux11
*)
10582 # Give a soname corresponding to the major version so that dld.sl refuses to
10583 # link against other versions.
10590 hardcode_into_libs
=yes
10591 dynamic_linker
="$host_os dld.so"
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 if test "X$HPUX_IA64_MODE" = X32
; then
10597 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10599 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10601 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10605 hardcode_into_libs
=yes
10606 dynamic_linker
="$host_os dld.sl"
10607 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10608 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec
='${libname}${release}${shared_ext}$major'
10611 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10612 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10616 dynamic_linker
="$host_os dld.sl"
10617 shlibpath_var
=SHLIB_PATH
10618 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 soname_spec
='${libname}${release}${shared_ext}$major'
10623 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10624 postinstall_cmds
='chmod 555 $lib'
10625 # or fails outright, so override atomically:
10626 install_override_mode
=555
10630 version_type
=linux
# correct to gnu/linux during the next big refactor
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10634 soname_spec
='${libname}${release}${shared_ext}$major'
10635 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10636 shlibpath_var
=LD_LIBRARY_PATH
10637 shlibpath_overrides_runpath
=no
10638 hardcode_into_libs
=yes
10641 irix5
* | irix6
* | nonstopux
*)
10643 nonstopux
*) version_type
=nonstopux
;;
10645 if test "$lt_cv_prog_gnu_ld" = yes; then
10646 version_type
=linux
# correct to gnu/linux during the next big refactor
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10656 irix5
* | nonstopux
*)
10657 libsuff
= shlibsuff
=
10660 case $LD in # libtool.m4 will add one of these switches to LD
10661 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10662 libsuff
= shlibsuff
= libmagic
=32-bit;;
10663 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10664 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10665 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10666 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10667 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10671 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10672 shlibpath_overrides_runpath
=no
10673 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10674 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10675 hardcode_into_libs
=yes
10678 # No shared lib support for Linux oldld, aout, or coff.
10679 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10683 # This must be glibc/ELF.
10684 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10685 version_type
=linux
# correct to gnu/linux during the next big refactor
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec
='${libname}${release}${shared_ext}$major'
10690 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10691 shlibpath_var
=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath
=no
10694 # Some binutils ld are patched to set DT_RUNPATH
10695 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10696 $as_echo_n "(cached) " >&6
10698 lt_cv_shlibpath_overrides_runpath
=no
10699 save_LDFLAGS
=$LDFLAGS
10700 save_libdir
=$libdir
10701 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10702 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10714 if ac_fn_c_try_link
"$LINENO"; then :
10715 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10716 lt_cv_shlibpath_overrides_runpath
=yes
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 LDFLAGS
=$save_LDFLAGS
10722 libdir
=$save_libdir
10726 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10728 # This implies no fast_install, which is unacceptable.
10729 # Some rework will be needed to allow for fast_install
10730 # before this can be enabled.
10731 hardcode_into_libs
=yes
10733 # Append ld.so.conf contents to the search path
10734 if test -f /etc
/ld.so.conf
; then
10735 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' ' '`
10736 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10739 # We used to test for /lib/ld.so.1 and disable shared libraries on
10740 # powerpc, because MkLinux only supported shared libraries with the
10741 # GNU dynamic linker. Since this was broken with cross compilers,
10742 # most powerpc-linux boxes support dynamic linking these days and
10743 # people can always --disable-shared, the test was removed, and we
10744 # assume the GNU/Linux dynamic linker is in use.
10745 dynamic_linker
='GNU/Linux ld.so'
10752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10753 soname_spec
='${libname}${release}${shared_ext}$major'
10754 shlibpath_var
=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath
=no
10756 hardcode_into_libs
=yes
10757 dynamic_linker
='NetBSD ld.elf_so'
10764 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10767 dynamic_linker
='NetBSD (a.out) ld.so'
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10770 soname_spec
='${libname}${release}${shared_ext}$major'
10771 dynamic_linker
='NetBSD ld.elf_so'
10773 shlibpath_var
=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath
=yes
10775 hardcode_into_libs
=yes
10779 version_type
=linux
# correct to gnu/linux during the next big refactor
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10781 shlibpath_var
=LD_LIBRARY_PATH
10782 shlibpath_overrides_runpath
=yes
10789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec
='${libname}${release}${shared_ext}$major'
10791 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=no
10793 hardcode_into_libs
=yes
10794 dynamic_linker
='ldqnx.so'
10799 sys_lib_dlsearch_path_spec
="/usr/lib"
10801 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10803 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10804 *) need_version
=no
;;
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10807 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10808 shlibpath_var
=LD_LIBRARY_PATH
10809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10811 openbsd2.
[89] | openbsd2.
[89].
*)
10812 shlibpath_overrides_runpath
=no
10815 shlibpath_overrides_runpath
=yes
10819 shlibpath_overrides_runpath
=yes
10824 libname_spec
='$name'
10827 library_names_spec
='$libname${shared_ext} $libname.a'
10828 dynamic_linker
='OS/2 ld.exe'
10829 shlibpath_var
=LIBPATH
10832 osf3
* | osf4
* | osf5
*)
10836 soname_spec
='${libname}${release}${shared_ext}$major'
10837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 shlibpath_var
=LD_LIBRARY_PATH
10839 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10840 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10848 version_type
=linux
# correct to gnu/linux during the next big refactor
10851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec
='${libname}${release}${shared_ext}$major'
10853 shlibpath_var
=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath
=yes
10855 hardcode_into_libs
=yes
10856 # ldd complains unless libraries are executable
10857 postinstall_cmds
='chmod +x $lib'
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10863 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath
=yes
10866 if test "$with_gnu_ld" = yes; then
10873 version_type
=linux
# correct to gnu/linux during the next big refactor
10874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 soname_spec
='${libname}${release}${shared_ext}$major'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 case $host_vendor in
10879 shlibpath_overrides_runpath
=no
10881 runpath_var
=LD_RUN_PATH
10889 shlibpath_overrides_runpath
=no
10890 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10896 if test -d /usr
/nec
;then
10897 version_type
=linux
# correct to gnu/linux during the next big refactor
10898 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10899 soname_spec
='$libname${shared_ext}.$major'
10900 shlibpath_var
=LD_LIBRARY_PATH
10904 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10905 version_type
=freebsd-elf
10908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10909 soname_spec
='${libname}${release}${shared_ext}$major'
10910 shlibpath_var
=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath
=yes
10912 hardcode_into_libs
=yes
10913 if test "$with_gnu_ld" = yes; then
10914 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10916 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10919 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10923 sys_lib_dlsearch_path_spec
='/usr/lib'
10927 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10928 version_type
=linux
# correct to gnu/linux during the next big refactor
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 shlibpath_var
=LD_LIBRARY_PATH
10933 shlibpath_overrides_runpath
=no
10934 hardcode_into_libs
=yes
10938 version_type
=linux
# correct to gnu/linux during the next big refactor
10939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec
='${libname}${release}${shared_ext}$major'
10941 shlibpath_var
=LD_LIBRARY_PATH
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10949 $as_echo "$dynamic_linker" >&6; }
10950 test "$dynamic_linker" = no
&& can_build_shared
=no
10952 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10953 if test "$GCC" = yes; then
10954 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10958 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10960 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10961 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11056 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11058 if test -n "$hardcode_libdir_flag_spec" ||
11059 test -n "$runpath_var" ||
11060 test "X$hardcode_automatic" = "Xyes" ; then
11062 # We can hardcode non-existent directories.
11063 if test "$hardcode_direct" != no
&&
11064 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11065 # have to relink, otherwise we might link with an installed library
11066 # when we should be linking with a yet-to-be-installed one
11067 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11068 test "$hardcode_minus_L" != no
; then
11069 # Linking always hardcodes the temporary library directory.
11070 hardcode_action
=relink
11072 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11073 hardcode_action
=immediate
11076 # We cannot hardcode anything, or else we can only hardcode existing
11078 hardcode_action
=unsupported
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11081 $as_echo "$hardcode_action" >&6; }
11083 if test "$hardcode_action" = relink ||
11084 test "$inherit_rpath" = yes; then
11085 # Fast installation is not supported
11086 enable_fast_install
=no
11087 elif test "$shlibpath_overrides_runpath" = yes ||
11088 test "$enable_shared" = no
; then
11089 # Fast installation is not necessary
11090 enable_fast_install
=needless
11098 if test "x$enable_dlopen" != xyes
; then
11099 enable_dlopen
=unknown
11100 enable_dlopen_self
=unknown
11101 enable_dlopen_self_static
=unknown
11108 lt_cv_dlopen
="load_add_on"
11110 lt_cv_dlopen_self
=yes
11113 mingw
* | pw32
* | cegcc
*)
11114 lt_cv_dlopen
="LoadLibrary"
11119 lt_cv_dlopen
="dlopen"
11124 # if libdl is installed we need to link against it
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11126 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11127 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11128 $as_echo_n "(cached) " >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11150 if ac_fn_c_try_link
"$LINENO"; then :
11151 ac_cv_lib_dl_dlopen
=yes
11153 ac_cv_lib_dl_dlopen
=no
11155 rm -f core conftest.err conftest.
$ac_objext \
11156 conftest
$ac_exeext conftest.
$ac_ext
11157 LIBS
=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11160 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11161 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11162 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11165 lt_cv_dlopen
="dyld"
11167 lt_cv_dlopen_self
=yes
11174 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11175 if test "x$ac_cv_func_shl_load" = xyes
; then :
11176 lt_cv_dlopen
="shl_load"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11179 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11180 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS
=$LIBS
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11198 return shl_load ();
11203 if ac_fn_c_try_link
"$LINENO"; then :
11204 ac_cv_lib_dld_shl_load
=yes
11206 ac_cv_lib_dld_shl_load
=no
11208 rm -f core conftest.err conftest.
$ac_objext \
11209 conftest
$ac_exeext conftest.
$ac_ext
11210 LIBS
=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11213 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11214 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11215 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11217 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11218 if test "x$ac_cv_func_dlopen" = xyes
; then :
11219 lt_cv_dlopen
="dlopen"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11222 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11223 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_lib_save_LIBS
=$LIBS
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11246 if ac_fn_c_try_link
"$LINENO"; then :
11247 ac_cv_lib_dl_dlopen
=yes
11249 ac_cv_lib_dl_dlopen
=no
11251 rm -f core conftest.err conftest.
$ac_objext \
11252 conftest
$ac_exeext conftest.
$ac_ext
11253 LIBS
=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11256 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11257 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11258 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11261 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11262 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11263 $as_echo_n "(cached) " >&6
11265 ac_check_lib_save_LIBS
=$LIBS
11266 LIBS
="-lsvld $LIBS"
11267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11285 if ac_fn_c_try_link
"$LINENO"; then :
11286 ac_cv_lib_svld_dlopen
=yes
11288 ac_cv_lib_svld_dlopen
=no
11290 rm -f core conftest.err conftest.
$ac_objext \
11291 conftest
$ac_exeext conftest.
$ac_ext
11292 LIBS
=$ac_check_lib_save_LIBS
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11295 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11296 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11297 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11300 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11301 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11302 $as_echo_n "(cached) " >&6
11304 ac_check_lib_save_LIBS
=$LIBS
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11319 return dld_link ();
11324 if ac_fn_c_try_link
"$LINENO"; then :
11325 ac_cv_lib_dld_dld_link
=yes
11327 ac_cv_lib_dld_dld_link
=no
11329 rm -f core conftest.err conftest.
$ac_objext \
11330 conftest
$ac_exeext conftest.
$ac_ext
11331 LIBS
=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11334 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11335 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11336 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11357 if test "x$lt_cv_dlopen" != xno
; then
11363 case $lt_cv_dlopen in
11365 save_CPPFLAGS
="$CPPFLAGS"
11366 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11368 save_LDFLAGS
="$LDFLAGS"
11369 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11372 LIBS
="$lt_cv_dlopen_libs $LIBS"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11375 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11376 if ${lt_cv_dlopen_self+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 if test "$cross_compiling" = yes; then :
11380 lt_cv_dlopen_self
=cross
11382 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11383 lt_status
=$lt_dlunknown
11384 cat > conftest.
$ac_ext <<_LT_EOF
11385 #line $LINENO "configure"
11386 #include "confdefs.h"
11395 # define LT_DLGLOBAL RTLD_GLOBAL
11398 # define LT_DLGLOBAL DL_GLOBAL
11400 # define LT_DLGLOBAL 0
11404 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11405 find out it does not work in some platform. */
11406 #ifndef LT_DLLAZY_OR_NOW
11408 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11411 # define LT_DLLAZY_OR_NOW DL_LAZY
11414 # define LT_DLLAZY_OR_NOW RTLD_NOW
11417 # define LT_DLLAZY_OR_NOW DL_NOW
11419 # define LT_DLLAZY_OR_NOW 0
11426 /* When -fvisbility=hidden is used, assume the code has been annotated
11427 correspondingly for the symbols needed. */
11428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11429 int fnord () __attribute__((visibility("default")));
11432 int fnord () { return 42; }
11435 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11436 int status = $lt_dlunknown;
11440 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11443 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11444 else puts (dlerror ());
11446 /* dlclose (self); */
11454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11455 (eval $ac_link) 2>&5
11457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11458 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11459 (.
/conftest
; exit; ) >&5 2>/dev
/null
11461 case x
$lt_status in
11462 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11463 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11464 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11467 # compilation failed
11468 lt_cv_dlopen_self
=no
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11476 $as_echo "$lt_cv_dlopen_self" >&6; }
11478 if test "x$lt_cv_dlopen_self" = xyes
; then
11479 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11481 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11482 if ${lt_cv_dlopen_self_static+:} false
; then :
11483 $as_echo_n "(cached) " >&6
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self_static
=cross
11488 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11489 lt_status
=$lt_dlunknown
11490 cat > conftest.
$ac_ext <<_LT_EOF
11491 #line $LINENO "configure"
11492 #include "confdefs.h"
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11506 # define LT_DLGLOBAL 0
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11525 # define LT_DLLAZY_OR_NOW 0
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 int fnord () __attribute__((visibility("default")));
11538 int fnord () { return 42; }
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11565 (.
/conftest
; exit; ) >&5 2>/dev
/null
11567 case x
$lt_status in
11568 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11569 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11570 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11573 # compilation failed
11574 lt_cv_dlopen_self_static
=no
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11582 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11585 CPPFLAGS
="$save_CPPFLAGS"
11586 LDFLAGS
="$save_LDFLAGS"
11591 case $lt_cv_dlopen_self in
11592 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11593 *) enable_dlopen_self
=unknown
;;
11596 case $lt_cv_dlopen_self_static in
11597 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11598 *) enable_dlopen_self_static
=unknown
;;
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11621 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11622 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11623 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11624 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11626 $as_echo "yes" >&6; }
11628 # FIXME - insert some real tests, host_os isn't really good enough
11631 if test -n "$STRIP" ; then
11632 striplib
="$STRIP -x"
11633 old_striplib
="$STRIP -S"
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11635 $as_echo "yes" >&6; }
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11638 $as_echo "no" >&6; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11643 $as_echo "no" >&6; }
11659 # Report which library types will actually be built
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11661 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11663 $as_echo "$can_build_shared" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11666 $as_echo_n "checking whether to build shared libraries... " >&6; }
11667 test "$can_build_shared" = "no" && enable_shared
=no
11669 # On AIX, shared libraries and static libraries use the same namespace, and
11670 # are all built from PIC.
11673 test "$enable_shared" = yes && enable_static
=no
11674 if test -n "$RANLIB"; then
11675 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11676 postinstall_cmds
='$RANLIB $lib'
11681 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11682 test "$enable_shared" = yes && enable_static
=no
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11687 $as_echo "$enable_shared" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11690 $as_echo_n "checking whether to build static libraries... " >&6; }
11691 # Make sure either enable_shared or enable_static is yes.
11692 test "$enable_shared" = yes || enable_static
=yes
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11694 $as_echo "$enable_static" >&6; }
11701 ac_cpp
='$CPP $CPPFLAGS'
11702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11708 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11709 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11710 (test "X$CXX" != "Xg++"))) ; then
11712 ac_cpp
='$CXXCPP $CPPFLAGS'
11713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11717 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11718 if test -z "$CXXCPP"; then
11719 if ${ac_cv_prog_CXXCPP+:} false
; then :
11720 $as_echo_n "(cached) " >&6
11722 # Double quotes because CXXCPP needs to be expanded
11723 for CXXCPP
in "$CXX -E" "/lib/cpp"
11725 ac_preproc_ok
=false
11726 for ac_cxx_preproc_warn_flag
in '' yes
11728 # Use a header file that comes with gcc, so configuring glibc
11729 # with a fresh cross-compiler works.
11730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11731 # <limits.h> exists even on freestanding compilers.
11732 # On the NeXT, cc -E runs the code through the compiler's parser,
11733 # not just through cpp. "Syntax error" is here to catch this case.
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 # include <limits.h>
11739 # include <assert.h>
11743 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11746 # Broken: fails on valid input.
11749 rm -f conftest.err conftest.i conftest.
$ac_ext
11751 # OK, works on sane cases. Now check whether nonexistent headers
11752 # can be detected and how.
11753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11755 #include <ac_nonexistent.h>
11757 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11758 # Broken: success on invalid input.
11761 # Passes both tests.
11765 rm -f conftest.err conftest.i conftest.
$ac_ext
11768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11769 rm -f conftest.i conftest.err conftest.
$ac_ext
11770 if $ac_preproc_ok; then :
11775 ac_cv_prog_CXXCPP
=$CXXCPP
11778 CXXCPP
=$ac_cv_prog_CXXCPP
11780 ac_cv_prog_CXXCPP
=$CXXCPP
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11783 $as_echo "$CXXCPP" >&6; }
11784 ac_preproc_ok
=false
11785 for ac_cxx_preproc_warn_flag
in '' yes
11787 # Use a header file that comes with gcc, so configuring glibc
11788 # with a fresh cross-compiler works.
11789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11790 # <limits.h> exists even on freestanding compilers.
11791 # On the NeXT, cc -E runs the code through the compiler's parser,
11792 # not just through cpp. "Syntax error" is here to catch this case.
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 # include <limits.h>
11798 # include <assert.h>
11802 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11805 # Broken: fails on valid input.
11808 rm -f conftest.err conftest.i conftest.
$ac_ext
11810 # OK, works on sane cases. Now check whether nonexistent headers
11811 # can be detected and how.
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 #include <ac_nonexistent.h>
11816 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11817 # Broken: success on invalid input.
11820 # Passes both tests.
11824 rm -f conftest.err conftest.i conftest.
$ac_ext
11827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11828 rm -f conftest.i conftest.err conftest.
$ac_ext
11829 if $ac_preproc_ok; then :
11832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11834 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11835 See \`config.log' for more details" "$LINENO" 5; }
11839 ac_cpp
='$CPP $CPPFLAGS'
11840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11845 _lt_caught_CXX_error
=yes
11849 ac_cpp
='$CXXCPP $CPPFLAGS'
11850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11854 archive_cmds_need_lc_CXX
=no
11855 allow_undefined_flag_CXX
=
11856 always_export_symbols_CXX
=no
11857 archive_expsym_cmds_CXX
=
11858 compiler_needs_object_CXX
=no
11859 export_dynamic_flag_spec_CXX
=
11860 hardcode_direct_CXX
=no
11861 hardcode_direct_absolute_CXX
=no
11862 hardcode_libdir_flag_spec_CXX
=
11863 hardcode_libdir_separator_CXX
=
11864 hardcode_minus_L_CXX
=no
11865 hardcode_shlibpath_var_CXX
=unsupported
11866 hardcode_automatic_CXX
=no
11867 inherit_rpath_CXX
=no
11869 module_expsym_cmds_CXX
=
11870 link_all_deplibs_CXX
=unknown
11871 old_archive_cmds_CXX
=$old_archive_cmds
11872 reload_flag_CXX
=$reload_flag
11873 reload_cmds_CXX
=$reload_cmds
11874 no_undefined_flag_CXX
=
11875 whole_archive_flag_spec_CXX
=
11876 enable_shared_with_static_runtimes_CXX
=no
11878 # Source file extension for C++ test sources.
11881 # Object file extension for compiled C++ test sources.
11885 # No sense in running all these tests if we already determined that
11886 # the CXX compiler isn't working. Some variables (like enable_shared)
11887 # are currently assumed to apply to all compilers on this platform,
11888 # and will be corrupted by setting them based on a non-working compiler.
11889 if test "$_lt_caught_CXX_error" != yes; then
11890 # Code to be used in simple compile tests
11891 lt_simple_compile_test_code
="int some_variable = 0;"
11893 # Code to be used in simple link tests
11894 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11903 # If no C compiler was specified, use CC.
11906 # If no C compiler flags were specified, use CFLAGS.
11907 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11909 # Allow CC to be a program name with arguments.
11913 # save warnings/boilerplate of simple test code
11914 ac_outfile
=conftest.
$ac_objext
11915 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11916 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11917 _lt_compiler_boilerplate
=`cat conftest.err`
11920 ac_outfile
=conftest.
$ac_objext
11921 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11922 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11923 _lt_linker_boilerplate
=`cat conftest.err`
11927 # Allow CC to be a program name with arguments.
11929 lt_save_CFLAGS
=$CFLAGS
11933 lt_save_with_gnu_ld
=$with_gnu_ld
11934 lt_save_path_LD
=$lt_cv_path_LD
11935 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11936 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11938 $as_unset lt_cv_prog_gnu_ld
11940 if test -n "${lt_cv_path_LDCXX+set}"; then
11941 lt_cv_path_LD
=$lt_cv_path_LDCXX
11943 $as_unset lt_cv_path_LD
11945 test -z "${LDCXX+set}" || LD
=$LDCXX
11950 for cc_temp
in $compiler""; do
11952 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11953 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11958 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11961 if test -n "$compiler"; then
11962 # We don't want -fno-exception when compiling C++ code, so set the
11963 # no_builtin_flag separately
11964 if test "$GXX" = yes; then
11965 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11967 lt_prog_compiler_no_builtin_flag_CXX
=
11970 if test "$GXX" = yes; then
11971 # Set up default GNU C++ configuration
11975 # Check whether --with-gnu-ld was given.
11976 if test "${with_gnu_ld+set}" = set; then :
11977 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11983 if test "$GCC" = yes; then
11984 # Check if gcc -print-prog-name=ld gives a path.
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11986 $as_echo_n "checking for ld used by $CC... " >&6; }
11989 # gcc leaves a trailing carriage return which upsets mingw
11990 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11992 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11995 # Accept absolute paths.
11997 re_direlt
='/[^/][^/]*/\.\./'
11998 # Canonicalize the pathname of ld
11999 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12000 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12001 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12003 test -z "$LD" && LD
="$ac_prog"
12006 # If it fails, then pretend we aren't using GCC.
12010 # If it is relative, then search for the first ld in PATH.
12011 with_gnu_ld
=unknown
12014 elif test "$with_gnu_ld" = yes; then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12016 $as_echo_n "checking for GNU ld... " >&6; }
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12019 $as_echo_n "checking for non-GNU ld... " >&6; }
12021 if ${lt_cv_path_LD+:} false
; then :
12022 $as_echo_n "(cached) " >&6
12024 if test -z "$LD"; then
12025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12026 for ac_dir
in $PATH; do
12028 test -z "$ac_dir" && ac_dir
=.
12029 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12030 lt_cv_path_LD
="$ac_dir/$ac_prog"
12031 # Check to see if the program is GNU ld. I'd rather use --version,
12032 # but apparently some variants of GNU ld only accept -v.
12033 # Break only if it was the GNU/non-GNU ld that we prefer.
12034 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12035 *GNU
* |
*'with BFD'*)
12036 test "$with_gnu_ld" != no
&& break
12039 test "$with_gnu_ld" != yes && break
12046 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12050 LD
="$lt_cv_path_LD"
12051 if test -n "$LD"; then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12053 $as_echo "$LD" >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12058 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12060 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12061 if ${lt_cv_prog_gnu_ld+:} false
; then :
12062 $as_echo_n "(cached) " >&6
12064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12065 case `$LD -v 2>&1 </dev/null` in
12066 *GNU
* |
*'with BFD'*)
12067 lt_cv_prog_gnu_ld
=yes
12070 lt_cv_prog_gnu_ld
=no
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12075 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12076 with_gnu_ld
=$lt_cv_prog_gnu_ld
12084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12085 # archiving commands below assume that GNU ld is being used.
12086 if test "$with_gnu_ld" = yes; then
12087 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12088 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12091 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12093 # If archive_cmds runs LD, not CC, wlarc should be empty
12094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12095 # investigate it a little bit more. (MM)
12098 # ancient GNU ld didn't support --whole-archive et. al.
12099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12100 $GREP 'no-whole-archive' > /dev
/null
; then
12101 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12103 whole_archive_flag_spec_CXX
=
12109 # A generic and very simple default shared library creation
12110 # command for GNU C++ for the case where it uses the native
12111 # linker, instead of GNU ld. If possible, this setting should
12112 # overridden to take advantage of the native linker features on
12113 # the platform it is being used on.
12114 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12117 # Commands to make compiler produce verbose output that lists
12118 # what "hidden" libraries, object files and flags are used when
12119 # linking a shared library.
12120 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12128 # PORTME: fill in a description of your system's C++ link characteristics
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12130 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12134 # FIXME: insert proper C++ library support
12138 if test "$host_cpu" = ia64
; then
12139 # On IA64, the linker does run time linking by default, so we don't
12140 # have to do anything special.
12141 aix_use_runtimelinking
=no
12142 exp_sym_flag
='-Bexport'
12145 aix_use_runtimelinking
=no
12147 # Test if we are trying to use run time linking or normal
12148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12149 # need to do runtime linking.
12150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12151 for ld_flag
in $LDFLAGS; do
12154 aix_use_runtimelinking
=yes
12162 exp_sym_flag
='-bexport'
12163 no_entry_flag
='-bnoentry'
12166 # When large executables or shared objects are built, AIX ld can
12167 # have problems creating the table of contents. If linking a library
12168 # or program results in "error TOC overflow" add -mminimal-toc to
12169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12172 archive_cmds_CXX
=''
12173 hardcode_direct_CXX
=yes
12174 hardcode_direct_absolute_CXX
=yes
12175 hardcode_libdir_separator_CXX
=':'
12176 link_all_deplibs_CXX
=yes
12177 file_list_spec_CXX
='${wl}-f,'
12179 if test "$GXX" = yes; then
12180 case $host_os in aix4.
[012]|aix4.
[012].
*)
12181 # We only want to do this on AIX 4.2 and lower, the check
12182 # below for broken collect2 doesn't work under 4.3+
12183 collect2name
=`${CC} -print-prog-name=collect2`
12184 if test -f "$collect2name" &&
12185 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12187 # We have reworked collect2
12190 # We have old collect2
12191 hardcode_direct_CXX
=unsupported
12192 # It fails to find uninstalled libraries when the uninstalled
12193 # path is not listed in the libpath. Setting hardcode_minus_L
12194 # to unsupported forces relinking
12195 hardcode_minus_L_CXX
=yes
12196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12197 hardcode_libdir_separator_CXX
=
12200 shared_flag
='-shared'
12201 if test "$aix_use_runtimelinking" = yes; then
12202 shared_flag
="$shared_flag "'${wl}-G'
12206 if test "$host_cpu" = ia64
; then
12207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12208 # chokes on -Wl,-G. The following line is correct:
12211 if test "$aix_use_runtimelinking" = yes; then
12212 shared_flag
='${wl}-G'
12214 shared_flag
='${wl}-bM:SRE'
12219 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12220 # It seems that -bexpall does not export symbols beginning with
12221 # underscore (_), so it is better to generate a list of symbols to
12223 always_export_symbols_CXX
=yes
12224 if test "$aix_use_runtimelinking" = yes; then
12225 # Warning - without using the other runtime loading flags (-brtl),
12226 # -berok will link without error, but may produce a broken library.
12227 allow_undefined_flag_CXX
='-berok'
12228 # Determine the default libpath from the value encoded in an empty
12230 if test "${lt_cv_aix_libpath+set}" = set; then
12231 aix_libpath
=$lt_cv_aix_libpath
12233 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12234 $as_echo_n "(cached) " >&6
12236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12247 if ac_fn_cxx_try_link
"$LINENO"; then :
12249 lt_aix_libpath_sed
='
12250 /Import File Strings/,/^$/ {
12252 s/^0 *\([^ ]*\) *$/\1/
12256 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12257 # Check for a 64-bit object if we didn't find anything.
12258 if test -z "$lt_cv_aix_libpath__CXX"; then
12259 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12262 rm -f core conftest.err conftest.
$ac_objext \
12263 conftest
$ac_exeext conftest.
$ac_ext
12264 if test -z "$lt_cv_aix_libpath__CXX"; then
12265 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12270 aix_libpath
=$lt_cv_aix_libpath__CXX
12273 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12275 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"
12277 if test "$host_cpu" = ia64
; then
12278 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12279 allow_undefined_flag_CXX
="-z nodefs"
12280 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"
12282 # Determine the default libpath from the value encoded in an
12283 # empty executable.
12284 if test "${lt_cv_aix_libpath+set}" = set; then
12285 aix_libpath
=$lt_cv_aix_libpath
12287 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12301 if ac_fn_cxx_try_link
"$LINENO"; then :
12303 lt_aix_libpath_sed
='
12304 /Import File Strings/,/^$/ {
12306 s/^0 *\([^ ]*\) *$/\1/
12310 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12311 # Check for a 64-bit object if we didn't find anything.
12312 if test -z "$lt_cv_aix_libpath__CXX"; then
12313 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 if test -z "$lt_cv_aix_libpath__CXX"; then
12319 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12324 aix_libpath
=$lt_cv_aix_libpath__CXX
12327 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12328 # Warning - without using the other run time loading flags,
12329 # -berok will link without error, but may produce a broken library.
12330 no_undefined_flag_CXX
=' ${wl}-bernotok'
12331 allow_undefined_flag_CXX
=' ${wl}-berok'
12332 if test "$with_gnu_ld" = yes; then
12333 # We only use this code for GNU lds that support --whole-archive.
12334 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12336 # Exported symbols can be pulled into shared objects from archives
12337 whole_archive_flag_spec_CXX
='$convenience'
12339 archive_cmds_need_lc_CXX
=yes
12340 # This is similar to how AIX traditionally builds its shared
12342 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'
12348 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12349 allow_undefined_flag_CXX
=unsupported
12350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12351 # support --undefined. This deserves some investigation. FIXME
12352 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12359 case $cc_basename in
12361 # FIXME: insert proper C++ library support
12367 cygwin
* | mingw
* | pw32
* | cegcc
*)
12368 case $GXX,$cc_basename in
12371 # hardcode_libdir_flag_spec is actually meaningless, as there is
12372 # no search path for DLLs.
12373 hardcode_libdir_flag_spec_CXX
=' '
12374 allow_undefined_flag_CXX
=unsupported
12375 always_export_symbols_CXX
=yes
12376 file_list_spec_CXX
='@'
12377 # Tell ltmain to make .lib files, not .a files.
12379 # Tell ltmain to make .dll files, not .so files.
12381 # FIXME: Setting linknames here is a bad hack.
12382 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12383 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12384 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12386 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12388 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12390 # The linker will not automatically build a static lib if we build a DLL.
12391 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12392 enable_shared_with_static_runtimes_CXX
=yes
12394 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12395 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12396 lt_tool_outputfile="@TOOL_OUTPUT@"~
12397 case $lt_outputfile in
12400 lt_outputfile="$lt_outputfile.exe"
12401 lt_tool_outputfile="$lt_tool_outputfile.exe"
12404 func_to_tool_file "$lt_outputfile"~
12405 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12406 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12407 $RM "$lt_outputfile.manifest";
12412 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12413 # as there is no search path for DLLs.
12414 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12415 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12416 allow_undefined_flag_CXX
=unsupported
12417 always_export_symbols_CXX
=no
12418 enable_shared_with_static_runtimes_CXX
=yes
12420 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12421 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'
12422 # If the export-symbols file already is a .def file (1st line
12423 # is EXPORTS), use it as is; otherwise, prepend...
12424 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12425 cp $export_symbols $output_objdir/$soname.def;
12427 echo EXPORTS > $output_objdir/$soname.def;
12428 cat $export_symbols >> $output_objdir/$soname.def;
12430 $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'
12437 darwin
* | rhapsody
*)
12440 archive_cmds_need_lc_CXX
=no
12441 hardcode_direct_CXX
=no
12442 hardcode_automatic_CXX
=yes
12443 hardcode_shlibpath_var_CXX
=unsupported
12444 if test "$lt_cv_ld_force_load" = "yes"; then
12445 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\"`'
12448 whole_archive_flag_spec_CXX
=''
12450 link_all_deplibs_CXX
=yes
12451 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12452 case $cc_basename in
12453 ifort
*) _lt_dar_can_shared
=yes ;;
12454 *) _lt_dar_can_shared
=$GCC ;;
12456 if test "$_lt_dar_can_shared" = "yes"; then
12457 output_verbose_link_cmd
=func_echo_all
12458 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}"
12459 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12460 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}"
12461 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}"
12462 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12463 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}"
12464 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}"
12474 case $cc_basename in
12476 # FIXME: insert proper C++ library support
12480 # Green Hills C++ Compiler
12481 # FIXME: insert proper C++ library support
12485 # FIXME: insert proper C++ library support
12492 # C++ shared libraries reported to be fairly broken before
12498 archive_cmds_need_lc_CXX
=no
12501 freebsd
* | dragonfly
*)
12502 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12511 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12512 link_all_deplibs_CXX
=yes
12516 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12517 hardcode_libdir_separator_CXX
=:
12518 export_dynamic_flag_spec_CXX
='${wl}-E'
12519 hardcode_direct_CXX
=yes
12520 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12521 # but as the default
12522 # location of the library.
12524 case $cc_basename in
12526 # FIXME: insert proper C++ library support
12530 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'
12531 # Commands to make compiler produce verbose output that lists
12532 # what "hidden" libraries, object files and flags are used when
12533 # linking a shared library.
12535 # There doesn't appear to be a way to prevent this compiler from
12536 # explicitly linking system object files so we need to strip them
12537 # from the output so that they don't get included in the library
12539 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"'
12542 if test "$GXX" = yes; then
12543 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
12545 # FIXME: insert proper C++ library support
12553 if test $with_gnu_ld = no
; then
12554 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX
=:
12561 export_dynamic_flag_spec_CXX
='${wl}-E'
12567 hardcode_direct_CXX
=no
12568 hardcode_shlibpath_var_CXX
=no
12571 hardcode_direct_CXX
=yes
12572 hardcode_direct_absolute_CXX
=yes
12573 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12574 # but as the default
12575 # location of the library.
12579 case $cc_basename in
12581 # FIXME: insert proper C++ library support
12587 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12590 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12593 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12596 # Commands to make compiler produce verbose output that lists
12597 # what "hidden" libraries, object files and flags are used when
12598 # linking a shared library.
12600 # There doesn't appear to be a way to prevent this compiler from
12601 # explicitly linking system object files so we need to strip them
12602 # from the output so that they don't get included in the library
12604 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"'
12607 if test "$GXX" = yes; then
12608 if test $with_gnu_ld = no
; then
12611 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12614 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12617 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12622 # FIXME: insert proper C++ library support
12630 hardcode_direct_CXX
=no
12631 hardcode_shlibpath_var_CXX
=no
12632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12633 export_dynamic_flag_spec_CXX
='${wl}-E'
12634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12635 # Instead, shared libraries are loaded at an image base (0x10000000 by
12636 # default) and relocated if they conflict, which is a slow very memory
12637 # consuming and fragmenting process. To avoid this, we pick a random,
12638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12639 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12640 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'
12641 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'
12644 case $cc_basename in
12647 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'
12649 # Archives containing C++ object files must be created using
12650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12651 # necessary to make sure instantiated templates are included
12653 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12656 if test "$GXX" = yes; then
12657 if test "$with_gnu_ld" = no
; then
12658 archive_cmds_CXX
='$CC -shared $pic_flag -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'
12660 archive_cmds_CXX
='$CC -shared $pic_flag -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'
12663 link_all_deplibs_CXX
=yes
12666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12667 hardcode_libdir_separator_CXX
=:
12668 inherit_rpath_CXX
=yes
12671 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12672 case $cc_basename in
12674 # Kuck and Associates, Inc. (KAI) C++ Compiler
12676 # KCC will only create a shared library if the output file
12677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12678 # to its proper name (with version) after linking.
12679 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'
12680 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'
12681 # Commands to make compiler produce verbose output that lists
12682 # what "hidden" libraries, object files and flags are used when
12683 # linking a shared library.
12685 # There doesn't appear to be a way to prevent this compiler from
12686 # explicitly linking system object files so we need to strip them
12687 # from the output so that they don't get included in the library
12689 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"'
12691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12692 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12694 # Archives containing C++ object files must be created using
12695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12696 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12701 # version 8.0 and above of icpc choke on multiply defined symbols
12702 # if we add $predep_objects and $postdep_objects, however 7.1 and
12703 # earlier do not add the objects themselves.
12704 case `$CC -V 2>&1` in
12706 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12707 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'
12709 *) # Version 8.0 or newer
12712 ia64
*) tmp_idyn
=' -i_dynamic';;
12714 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12715 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'
12718 archive_cmds_need_lc_CXX
=no
12719 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12720 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12721 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12724 # Portland Group C++ compiler
12726 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12727 prelink_cmds_CXX
='tpldir=Template.dir~
12729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12730 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12731 old_archive_cmds_CXX
='tpldir=Template.dir~
12733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12736 archive_cmds_CXX
='tpldir=Template.dir~
12738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12740 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12743 $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'
12745 *) # Version 6 and above use weak symbols
12746 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12747 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'
12751 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12752 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12753 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'
12757 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12758 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'
12760 runpath_var
=LD_RUN_PATH
12761 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12762 hardcode_libdir_separator_CXX
=:
12764 # Commands to make compiler produce verbose output that lists
12765 # what "hidden" libraries, object files and flags are used when
12766 # linking a shared library.
12768 # There doesn't appear to be a way to prevent this compiler from
12769 # explicitly linking system object files so we need to strip them
12770 # from the output so that they don't get included in the library
12772 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'
12774 xl
* | mpixl
* | bgxl
*)
12775 # IBM XL 8.0 on PPC, with GNU ld
12776 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12777 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12778 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12779 if test "x$supports_anon_versioning" = xyes
; then
12780 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12782 echo "local: *; };" >> $output_objdir/$libname.ver~
12783 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12787 case `$CC -V 2>&1 | sed 5q` in
12790 no_undefined_flag_CXX
=' -zdefs'
12791 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12792 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'
12793 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12794 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'
12795 compiler_needs_object_CXX
=yes
12797 # Not sure whether something based on
12798 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12800 output_verbose_link_cmd
='func_echo_all'
12802 # Archives containing C++ object files must be created using
12803 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12804 # necessary to make sure instantiated templates are included
12806 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12814 # FIXME: insert proper C++ library support
12819 # FIXME: insert proper C++ library support
12824 case $cc_basename in
12826 # FIXME: insert proper C++ library support
12830 # FIXME: insert proper C++ library support
12837 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12838 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12840 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12841 hardcode_direct_CXX
=yes
12842 hardcode_shlibpath_var_CXX
=no
12844 # Workaround some broken pre-1.5 toolchains
12845 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12853 # C++ shared libraries are fairly broken
12858 if test -f /usr
/libexec
/ld.so
; then
12859 hardcode_direct_CXX
=yes
12860 hardcode_shlibpath_var_CXX
=no
12861 hardcode_direct_absolute_CXX
=yes
12862 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12863 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12864 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12865 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12866 export_dynamic_flag_spec_CXX
='${wl}-E'
12867 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12869 output_verbose_link_cmd
=func_echo_all
12875 osf3
* | osf4
* | osf5
*)
12876 case $cc_basename in
12878 # Kuck and Associates, Inc. (KAI) C++ Compiler
12880 # KCC will only create a shared library if the output file
12881 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12882 # to its proper name (with version) after linking.
12883 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'
12885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12886 hardcode_libdir_separator_CXX
=:
12888 # Archives containing C++ object files must be created using
12889 # the KAI C++ compiler.
12891 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12892 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12896 # Rational C++ 2.4.1
12897 # FIXME: insert proper C++ library support
12903 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12904 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'
12905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12908 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12909 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'
12910 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12911 echo "-hidden">> $lib.exp~
12912 $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~
12914 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12918 hardcode_libdir_separator_CXX
=:
12920 # Commands to make compiler produce verbose output that lists
12921 # what "hidden" libraries, object files and flags are used when
12922 # linking a shared library.
12924 # There doesn't appear to be a way to prevent this compiler from
12925 # explicitly linking system object files so we need to strip them
12926 # from the output so that they don't get included in the library
12928 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"'
12931 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12932 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12935 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'
12938 archive_cmds_CXX
='$CC -shared $pic_flag -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'
12942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12943 hardcode_libdir_separator_CXX
=:
12945 # Commands to make compiler produce verbose output that lists
12946 # what "hidden" libraries, object files and flags are used when
12947 # linking a shared library.
12948 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12951 # FIXME: insert proper C++ library support
12959 # FIXME: insert proper C++ library support
12964 case $cc_basename in
12967 # FIXME: insert proper C++ library support
12972 # FIXME: insert proper C++ library support
12976 # FIXME: insert proper C++ library support
12983 case $cc_basename in
12985 # Sun C++ 4.2, 5.x and Centerline C++
12986 archive_cmds_need_lc_CXX
=yes
12987 no_undefined_flag_CXX
=' -zdefs'
12988 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12989 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12990 $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'
12992 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12993 hardcode_shlibpath_var_CXX
=no
12995 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12997 # The compiler driver will combine and reorder linker options,
12998 # but understands `-z linker_flag'.
12999 # Supported since Solaris 2.6 (maybe 2.5.1?)
13000 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13003 link_all_deplibs_CXX
=yes
13005 output_verbose_link_cmd
='func_echo_all'
13007 # Archives containing C++ object files must be created using
13008 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13009 # necessary to make sure instantiated templates are included
13011 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13014 # Green Hills C++ Compiler
13015 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13017 # The C++ compiler must be used to create the archive.
13018 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13021 # GNU C++ compiler with Solaris linker
13022 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13023 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13024 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13025 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13026 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13027 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13029 # Commands to make compiler produce verbose output that lists
13030 # what "hidden" libraries, object files and flags are used when
13031 # linking a shared library.
13032 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13034 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13036 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13037 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13038 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13040 # Commands to make compiler produce verbose output that lists
13041 # what "hidden" libraries, object files and flags are used when
13042 # linking a shared library.
13043 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13046 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13048 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13050 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13058 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13059 no_undefined_flag_CXX
='${wl}-z,text'
13060 archive_cmds_need_lc_CXX
=no
13061 hardcode_shlibpath_var_CXX
=no
13062 runpath_var
='LD_RUN_PATH'
13064 case $cc_basename in
13066 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13067 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13070 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13076 sysv5
* | sco3.2v5
* | sco5v6
*)
13077 # Note: We can NOT use -z defs as we might desire, because we do not
13078 # link with -lc, and that would cause any symbols used from libc to
13079 # always be unresolved, which means just about no library would
13080 # ever link correctly. If we're not using GNU ld we use -z text
13081 # though, which does catch some bad symbols but isn't as heavy-handed
13083 no_undefined_flag_CXX
='${wl}-z,text'
13084 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13085 archive_cmds_need_lc_CXX
=no
13086 hardcode_shlibpath_var_CXX
=no
13087 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13088 hardcode_libdir_separator_CXX
=':'
13089 link_all_deplibs_CXX
=yes
13090 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13091 runpath_var
='LD_RUN_PATH'
13093 case $cc_basename in
13095 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13097 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13098 '"$old_archive_cmds_CXX"
13099 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13100 '"$reload_cmds_CXX"
13103 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 case $cc_basename in
13112 # NonStop-UX NCC 3.20
13113 # FIXME: insert proper C++ library support
13117 # FIXME: insert proper C++ library support
13124 # FIXME: insert proper C++ library support
13129 # FIXME: insert proper C++ library support
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13135 $as_echo "$ld_shlibs_CXX" >&6; }
13136 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13142 ## There is no encapsulation within the following macros, do not change
13143 ## the running order or otherwise move them around unless you know exactly
13144 ## what you are doing...
13145 # Dependencies to place before and after the object being linked:
13146 predep_objects_CXX
=
13147 postdep_objects_CXX
=
13150 compiler_lib_search_path_CXX
=
13152 cat > conftest.
$ac_ext <<_LT_EOF
13156 Foo (void) { a = 0; }
13163 _lt_libdeps_save_CFLAGS
=$CFLAGS
13164 case "$CC $CFLAGS " in #(
13165 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13166 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13167 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
13170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13171 (eval $ac_compile) 2>&5
13173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13174 test $ac_status = 0; }; then
13175 # Parse the compiler output and extract the necessary
13176 # objects, libraries and library flags.
13178 # Sentinel used to keep track of whether or not we are before
13179 # the conftest object file.
13180 pre_test_object_deps_done
=no
13182 for p
in `eval "$output_verbose_link_cmd"`; do
13183 case ${prev}${p} in
13186 # Some compilers place space between "-{L,R}" and the path.
13187 # Remove the space.
13188 if test $p = "-L" ||
13189 test $p = "-R"; then
13194 # Expand the sysroot to ease extracting the directories later.
13195 if test -z "$prev"; then
13197 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13198 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13199 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13203 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13205 if test "$pre_test_object_deps_done" = no
; then
13208 # Internal compiler library paths should come after those
13209 # provided the user. The postdeps already come after the
13210 # user supplied libs so there is no need to process them.
13211 if test -z "$compiler_lib_search_path_CXX"; then
13212 compiler_lib_search_path_CXX
="${prev}${p}"
13214 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13217 # The "-l" case would never come before the object being
13218 # linked, so don't bother handling this case.
13221 if test -z "$postdeps_CXX"; then
13222 postdeps_CXX
="${prev}${p}"
13224 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13230 *.lto.
$objext) ;; # Ignore GCC LTO objects
13232 # This assumes that the test object file only shows up
13233 # once in the compiler output.
13234 if test "$p" = "conftest.$objext"; then
13235 pre_test_object_deps_done
=yes
13239 if test "$pre_test_object_deps_done" = no
; then
13240 if test -z "$predep_objects_CXX"; then
13241 predep_objects_CXX
="$p"
13243 predep_objects_CXX
="$predep_objects_CXX $p"
13246 if test -z "$postdep_objects_CXX"; then
13247 postdep_objects_CXX
="$p"
13249 postdep_objects_CXX
="$postdep_objects_CXX $p"
13254 *) ;; # Ignore the rest.
13262 echo "libtool.m4: error: problem compiling CXX test program"
13265 $RM -f confest.
$objext
13266 CFLAGS
=$_lt_libdeps_save_CFLAGS
13268 # PORTME: override above test on systems where it is broken
13271 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13272 # hack all around it, let's just trust "g++" to DTRT.
13273 predep_objects_CXX
=
13274 postdep_objects_CXX
=
13279 case `$CC -V 2>&1 | sed 5q` in
13283 # The more standards-conforming stlport4 library is
13284 # incompatible with the Cstd library. Avoid specifying
13285 # it if it's in CXXFLAGS. Ignore libCrun as
13286 # -library=stlport4 depends on it.
13287 case " $CXX $CXXFLAGS " in
13288 *" -library=stlport4 "*)
13289 solaris_use_stlport4
=yes
13293 if test "$solaris_use_stlport4" != yes; then
13294 postdeps_CXX
='-library=Cstd -library=Crun'
13301 case $cc_basename in
13303 # The more standards-conforming stlport4 library is
13304 # incompatible with the Cstd library. Avoid specifying
13305 # it if it's in CXXFLAGS. Ignore libCrun as
13306 # -library=stlport4 depends on it.
13307 case " $CXX $CXXFLAGS " in
13308 *" -library=stlport4 "*)
13309 solaris_use_stlport4
=yes
13313 # Adding this requires a known-good setup of shared libraries for
13314 # Sun compiler versions before 5.6, else PIC objects from an old
13315 # archive will be linked into the output, leading to subtle bugs.
13316 if test "$solaris_use_stlport4" != yes; then
13317 postdeps_CXX
='-library=Cstd -library=Crun'
13325 case " $postdeps_CXX " in
13326 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13328 compiler_lib_search_dirs_CXX
=
13329 if test -n "${compiler_lib_search_path_CXX}"; then
13330 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13363 lt_prog_compiler_wl_CXX
=
13364 lt_prog_compiler_pic_CXX
=
13365 lt_prog_compiler_static_CXX
=
13368 # C++ specific cases for pic, static, wl, etc.
13369 if test "$GXX" = yes; then
13370 lt_prog_compiler_wl_CXX
='-Wl,'
13371 lt_prog_compiler_static_CXX
='-static'
13375 # All AIX code is PIC.
13376 if test "$host_cpu" = ia64
; then
13377 # AIX 5 now supports IA64 processor
13378 lt_prog_compiler_static_CXX
='-Bstatic'
13385 # see comment about AmigaOS4 .so support
13386 lt_prog_compiler_pic_CXX
='-fPIC'
13389 # FIXME: we need at least 68020 code to build shared libraries, but
13390 # adding the `-m68020' flag to GCC prevents building anything better,
13392 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13397 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13398 # PIC is the default for these OSes.
13400 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13401 # This hack is so that the source file can tell whether it is being
13402 # built for inclusion in a dll (and should export symbols for example).
13403 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13404 # (--disable-auto-import) libraries
13405 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13407 darwin
* | rhapsody
*)
13408 # PIC is the default on this platform
13409 # Common symbols not allowed in MH_DYLIB files
13410 lt_prog_compiler_pic_CXX
='-fno-common'
13413 # DJGPP does not support shared libraries at all
13414 lt_prog_compiler_pic_CXX
=
13417 # PIC is the default for Haiku.
13418 # The "-static" flag exists, but is broken.
13419 lt_prog_compiler_static_CXX
=
13422 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13423 # Instead, we relocate shared libraries at runtime.
13426 if test -d /usr
/nec
; then
13427 lt_prog_compiler_pic_CXX
=-Kconform_pic
13431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13433 # sets the default TLS model and affects inlining.
13438 lt_prog_compiler_pic_CXX
='-fPIC'
13443 # QNX uses GNU C++, but need to define -shared option too, otherwise
13444 # it will coredump.
13445 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13448 lt_prog_compiler_pic_CXX
='-fPIC'
13454 # All AIX code is PIC.
13455 if test "$host_cpu" = ia64
; then
13456 # AIX 5 now supports IA64 processor
13457 lt_prog_compiler_static_CXX
='-Bstatic'
13459 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13463 case $cc_basename in
13465 # Green Hills C++ Compiler
13466 # _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"
13470 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13471 # This hack is so that the source file can tell whether it is being
13472 # built for inclusion in a dll (and should export symbols for example).
13473 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13476 case $cc_basename in
13478 lt_prog_compiler_pic_CXX
='-KPIC'
13481 # Green Hills C++ Compiler
13482 lt_prog_compiler_pic_CXX
='-pic'
13488 freebsd
* | dragonfly
*)
13489 # FreeBSD uses GNU C++
13491 hpux9
* | hpux10
* | hpux11
*)
13492 case $cc_basename in
13494 lt_prog_compiler_wl_CXX
='-Wl,'
13495 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13496 if test "$host_cpu" != ia64
; then
13497 lt_prog_compiler_pic_CXX
='+Z'
13501 lt_prog_compiler_wl_CXX
='-Wl,'
13502 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13508 lt_prog_compiler_pic_CXX
='+Z'
13517 # This is c89, which is MS Visual C++ (no shared libs)
13518 # Anyone wants to do a port?
13520 irix5
* | irix6
* | nonstopux
*)
13521 case $cc_basename in
13523 lt_prog_compiler_wl_CXX
='-Wl,'
13524 lt_prog_compiler_static_CXX
='-non_shared'
13525 # CC pic flag -KPIC is the default.
13531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13532 case $cc_basename in
13535 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13536 lt_prog_compiler_pic_CXX
='-fPIC'
13539 # old Intel C++ for x86_64 which still supported -KPIC.
13540 lt_prog_compiler_wl_CXX
='-Wl,'
13541 lt_prog_compiler_pic_CXX
='-KPIC'
13542 lt_prog_compiler_static_CXX
='-static'
13545 # Intel C++, used to be incompatible with GCC.
13546 # ICC 10 doesn't accept -KPIC any more.
13547 lt_prog_compiler_wl_CXX
='-Wl,'
13548 lt_prog_compiler_pic_CXX
='-fPIC'
13549 lt_prog_compiler_static_CXX
='-static'
13552 # Portland Group C++ compiler
13553 lt_prog_compiler_wl_CXX
='-Wl,'
13554 lt_prog_compiler_pic_CXX
='-fpic'
13555 lt_prog_compiler_static_CXX
='-Bstatic'
13559 # Make sure the PIC flag is empty. It appears that all Alpha
13560 # Linux and Compaq Tru64 Unix objects are PIC.
13561 lt_prog_compiler_pic_CXX
=
13562 lt_prog_compiler_static_CXX
='-non_shared'
13564 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13565 # IBM XL 8.0, 9.0 on PPC and BlueGene
13566 lt_prog_compiler_wl_CXX
='-Wl,'
13567 lt_prog_compiler_pic_CXX
='-qpic'
13568 lt_prog_compiler_static_CXX
='-qstaticlink'
13571 case `$CC -V 2>&1 | sed 5q` in
13574 lt_prog_compiler_pic_CXX
='-KPIC'
13575 lt_prog_compiler_static_CXX
='-Bstatic'
13576 lt_prog_compiler_wl_CXX
='-Qoption ld '
13587 case $cc_basename in
13589 lt_prog_compiler_pic_CXX
='-W c,exportall'
13595 netbsd
* | netbsdelf
*-gnu)
13598 # QNX uses GNU C++, but need to define -shared option too, otherwise
13599 # it will coredump.
13600 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13602 osf3
* | osf4
* | osf5
*)
13603 case $cc_basename in
13605 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13608 # Rational C++ 2.4.1
13609 lt_prog_compiler_pic_CXX
='-pic'
13612 # Digital/Compaq C++
13613 lt_prog_compiler_wl_CXX
='-Wl,'
13614 # Make sure the PIC flag is empty. It appears that all Alpha
13615 # Linux and Compaq Tru64 Unix objects are PIC.
13616 lt_prog_compiler_pic_CXX
=
13617 lt_prog_compiler_static_CXX
='-non_shared'
13626 case $cc_basename in
13628 # Sun C++ 4.2, 5.x and Centerline C++
13629 lt_prog_compiler_pic_CXX
='-KPIC'
13630 lt_prog_compiler_static_CXX
='-Bstatic'
13631 lt_prog_compiler_wl_CXX
='-Qoption ld '
13634 # Green Hills C++ Compiler
13635 lt_prog_compiler_pic_CXX
='-PIC'
13642 case $cc_basename in
13645 lt_prog_compiler_pic_CXX
='-pic'
13646 lt_prog_compiler_static_CXX
='-Bstatic'
13650 lt_prog_compiler_pic_CXX
='-pic'
13656 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13657 case $cc_basename in
13659 lt_prog_compiler_wl_CXX
='-Wl,'
13660 lt_prog_compiler_pic_CXX
='-KPIC'
13661 lt_prog_compiler_static_CXX
='-Bstatic'
13666 case $cc_basename in
13668 # NonStop-UX NCC 3.20
13669 lt_prog_compiler_pic_CXX
='-KPIC'
13678 lt_prog_compiler_can_build_shared_CXX
=no
13684 # For platforms which do not support PIC, -DPIC is meaningless:
13686 lt_prog_compiler_pic_CXX
=
13689 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13694 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13695 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13696 $as_echo_n "(cached) " >&6
13698 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13701 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13702 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13705 # Check to make sure the PIC flag actually works.
13707 if test -n "$lt_prog_compiler_pic_CXX"; then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13709 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13710 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13711 $as_echo_n "(cached) " >&6
13713 lt_cv_prog_compiler_pic_works_CXX
=no
13714 ac_outfile
=conftest.
$ac_objext
13715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13716 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13717 # Insert the option either (1) after the last *FLAGS variable, or
13718 # (2) before a word containing "conftest.", or (3) at the end.
13719 # Note that $ac_compile itself does not contain backslashes and begins
13720 # with a dollar sign (not a hyphen), so the echo should work correctly.
13721 # The option is referenced via a variable to avoid confusing sed.
13722 lt_compile
=`echo "$ac_compile" | $SED \
13723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13725 -e 's:$: $lt_compiler_flag:'`
13726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13727 (eval "$lt_compile" 2>conftest.err
)
13729 cat conftest.err
>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 if (exit $ac_status) && test -s "$ac_outfile"; then
13732 # The compiler can only warn and ignore the option if not recognized
13733 # So say no if there are warnings other than the usual output.
13734 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13736 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13737 lt_cv_prog_compiler_pic_works_CXX
=yes
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13744 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13746 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13747 case $lt_prog_compiler_pic_CXX in
13749 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13752 lt_prog_compiler_pic_CXX
=
13753 lt_prog_compiler_can_build_shared_CXX
=no
13763 # Check to make sure the static flag actually works.
13765 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13767 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13768 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 lt_cv_prog_compiler_static_works_CXX
=no
13772 save_LDFLAGS
="$LDFLAGS"
13773 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13774 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13775 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13776 # The linker can only warn and ignore the option if not recognized
13777 # So say no if there are warnings
13778 if test -s conftest.err
; then
13779 # Append any errors to the config.log.
13780 cat conftest.err
1>&5
13781 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13783 if diff conftest.exp conftest.er2
>/dev
/null
; then
13784 lt_cv_prog_compiler_static_works_CXX
=yes
13787 lt_cv_prog_compiler_static_works_CXX
=yes
13791 LDFLAGS
="$save_LDFLAGS"
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13795 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13797 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13800 lt_prog_compiler_static_CXX
=
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13807 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13808 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 lt_cv_prog_compiler_c_o_CXX
=no
13812 $RM -r conftest
2>/dev
/null
13816 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13818 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13819 # Insert the option either (1) after the last *FLAGS variable, or
13820 # (2) before a word containing "conftest.", or (3) at the end.
13821 # Note that $ac_compile itself does not contain backslashes and begins
13822 # with a dollar sign (not a hyphen), so the echo should work correctly.
13823 lt_compile
=`echo "$ac_compile" | $SED \
13824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13826 -e 's:$: $lt_compiler_flag:'`
13827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13828 (eval "$lt_compile" 2>out
/conftest.err
)
13830 cat out
/conftest.err
>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13834 # The compiler can only warn and ignore the option if not recognized
13835 # So say no if there are warnings
13836 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13837 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13838 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13839 lt_cv_prog_compiler_c_o_CXX
=yes
13844 # SGI C++ compiler will create directory out/ii_files/ for
13845 # template instantiation
13846 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13847 $RM out
/* && rmdir out
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13854 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13859 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13860 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13861 $as_echo_n "(cached) " >&6
13863 lt_cv_prog_compiler_c_o_CXX
=no
13864 $RM -r conftest
2>/dev
/null
13868 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13870 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13871 # Insert the option either (1) after the last *FLAGS variable, or
13872 # (2) before a word containing "conftest.", or (3) at the end.
13873 # Note that $ac_compile itself does not contain backslashes and begins
13874 # with a dollar sign (not a hyphen), so the echo should work correctly.
13875 lt_compile
=`echo "$ac_compile" | $SED \
13876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13878 -e 's:$: $lt_compiler_flag:'`
13879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13880 (eval "$lt_compile" 2>out
/conftest.err
)
13882 cat out
/conftest.err
>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13886 # The compiler can only warn and ignore the option if not recognized
13887 # So say no if there are warnings
13888 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13889 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13890 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13891 lt_cv_prog_compiler_c_o_CXX
=yes
13896 # SGI C++ compiler will create directory out/ii_files/ for
13897 # template instantiation
13898 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13899 $RM out
/* && rmdir out
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13906 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13911 hard_links
="nottested"
13912 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13913 # do not overwrite the value of need_locks provided by the user
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13915 $as_echo_n "checking if we can lock with hard links... " >&6; }
13918 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13920 ln conftest.a conftest.b
2>&5 || hard_links
=no
13921 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13923 $as_echo "$hard_links" >&6; }
13924 if test "$hard_links" = no
; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13926 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13936 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13938 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13939 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13942 # If we're using GNU nm, then we don't want the "-C" option.
13943 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13944 # Also, AIX nm treats weak defined symbols like other global defined
13945 # symbols, whereas GNU nm marks them as "W".
13946 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13947 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'
13949 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'
13953 export_symbols_cmds_CXX
="$ltdll_cmds"
13955 cygwin
* | mingw
* | cegcc
*)
13956 case $cc_basename in
13958 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13961 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13962 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13966 linux
* | k
*bsd
*-gnu | gnu
*)
13967 link_all_deplibs_CXX
=no
13970 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13975 $as_echo "$ld_shlibs_CXX" >&6; }
13976 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13978 with_gnu_ld_CXX
=$with_gnu_ld
13986 # Do we need to explicitly link libc?
13988 case "x$archive_cmds_need_lc_CXX" in
13990 # Assume -lc should be added
13991 archive_cmds_need_lc_CXX
=yes
13993 if test "$enable_shared" = yes && test "$GCC" = yes; then
13994 case $archive_cmds_CXX in
13996 # FIXME: we may have to deal with multi-command sequences.
13999 # Test whether the compiler implicitly links with -lc since on some
14000 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14001 # to ld, don't add -lc before -lgcc.
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14003 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14004 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14005 $as_echo_n "(cached) " >&6
14008 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14011 (eval $ac_compile) 2>&5
14013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14014 test $ac_status = 0; } 2>conftest.err
; then
14017 libobjs
=conftest.
$ac_objext
14019 wl
=$lt_prog_compiler_wl_CXX
14020 pic_flag
=$lt_prog_compiler_pic_CXX
14026 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14027 allow_undefined_flag_CXX
=
14028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14029 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14032 test $ac_status = 0; }
14034 lt_cv_archive_cmds_need_lc_CXX
=no
14036 lt_cv_archive_cmds_need_lc_CXX
=yes
14038 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14040 cat conftest.err
1>&5
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14046 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14047 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14116 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14118 library_names_spec
=
14119 libname_spec
='lib$name'
14123 postuninstall_cmds
=
14127 shlibpath_overrides_runpath
=unknown
14129 dynamic_linker
="$host_os ld.so"
14130 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14131 need_lib_prefix
=unknown
14132 hardcode_into_libs
=no
14134 # when you set need_version to no, make sure it does not cause -set_version
14135 # flags to be left without arguments
14136 need_version
=unknown
14140 version_type
=linux
# correct to gnu/linux during the next big refactor
14141 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14142 shlibpath_var
=LIBPATH
14144 # AIX 3 has no versioning support, so we append a major version to the name.
14145 soname_spec
='${libname}${release}${shared_ext}$major'
14149 version_type
=linux
# correct to gnu/linux during the next big refactor
14152 hardcode_into_libs
=yes
14153 if test "$host_cpu" = ia64
; then
14154 # AIX 5 supports IA64
14155 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14156 shlibpath_var
=LD_LIBRARY_PATH
14158 # With GCC up to 2.95.x, collect2 would create an import file
14159 # for dependence libraries. The import file would start with
14160 # the line `#! .'. This would cause the generated library to
14161 # depend on `.', always an invalid library. This was fixed in
14162 # development snapshots of GCC prior to 3.0.
14164 aix4 | aix4.
[01] | aix4.
[01].
*)
14165 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14167 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14170 can_build_shared
=no
14174 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14175 # soname into executable. Probably we can add versioning support to
14176 # collect2, so additional links can be useful in future.
14177 if test "$aix_use_runtimelinking" = yes; then
14178 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14179 # instead of lib<name>.a to let people know that these are not
14180 # typical AIX shared libraries.
14181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14183 # We preserve .a as extension for shared libraries through AIX4.2
14184 # and later when we are not doing run time linking.
14185 library_names_spec
='${libname}${release}.a $libname.a'
14186 soname_spec
='${libname}${release}${shared_ext}$major'
14188 shlibpath_var
=LIBPATH
14195 # Since July 2007 AmigaOS4 officially supports .so libraries.
14196 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14200 library_names_spec
='$libname.ixlibrary $libname.a'
14201 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14202 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'
14208 library_names_spec
='${libname}${shared_ext}'
14209 dynamic_linker
="$host_os ld.so"
14210 shlibpath_var
=LIBRARY_PATH
14214 version_type
=linux
# correct to gnu/linux during the next big refactor
14216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14217 soname_spec
='${libname}${release}${shared_ext}$major'
14218 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14219 shlibpath_var
=LD_LIBRARY_PATH
14220 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14221 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14222 # the default ld.so.conf also contains /usr/contrib/lib and
14223 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14224 # libtool to hard-code these into programs
14227 cygwin
* | mingw
* | pw32
* | cegcc
*)
14228 version_type
=windows
14233 case $GCC,$cc_basename in
14236 library_names_spec
='$libname.dll.a'
14237 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14238 postinstall_cmds
='base_file=`basename \${file}`~
14239 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14240 dldir=$destdir/`dirname \$dlpath`~
14241 test -d \$dldir || mkdir -p \$dldir~
14242 $install_prog $dir/$dlname \$dldir/$dlname~
14243 chmod a+x \$dldir/$dlname~
14244 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14245 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14247 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14248 dlpath=$dir/\$dldll~
14250 shlibpath_overrides_runpath
=yes
14254 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14255 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 # MinGW DLLs use traditional 'lib' prefix
14260 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14263 # pw32 DLLs use 'pw' prefix rather than 'lib'
14264 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14267 dynamic_linker
='Win32 ld.exe'
14272 libname_spec
='$name'
14273 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14274 library_names_spec
='${libname}.dll.lib'
14278 sys_lib_search_path_spec
=
14281 for lt_path
in $LIB
14284 # Let DOS variable expansion print the short 8.3 style file name.
14285 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14286 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14289 # Convert to MSYS style.
14290 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14293 # Convert to unix form, then to dos form, then back to unix form
14294 # but this time dos style (no spaces!) so that the unix form looks
14295 # like /cygdrive/c/PROGRA~1:/cygdr...
14296 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14297 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14298 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14301 sys_lib_search_path_spec
="$LIB"
14302 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14303 # It is most probably a Windows format PATH.
14304 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14306 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14308 # FIXME: find the short name or the path components, as spaces are
14309 # common. (e.g. "Program Files" -> "PROGRA~1")
14313 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14314 postinstall_cmds
='base_file=`basename \${file}`~
14315 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14316 dldir=$destdir/`dirname \$dlpath`~
14317 test -d \$dldir || mkdir -p \$dldir~
14318 $install_prog $dir/$dlname \$dldir/$dlname'
14319 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14320 dlpath=$dir/\$dldll~
14322 shlibpath_overrides_runpath
=yes
14323 dynamic_linker
='Win32 link.exe'
14327 # Assume MSVC wrapper
14328 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14329 dynamic_linker
='Win32 ld.exe'
14332 # FIXME: first we should search . and the directory the executable is in
14336 darwin
* | rhapsody
*)
14337 dynamic_linker
="$host_os dyld"
14338 version_type
=darwin
14341 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14342 soname_spec
='${libname}${release}${major}$shared_ext'
14343 shlibpath_overrides_runpath
=yes
14344 shlibpath_var
=DYLD_LIBRARY_PATH
14345 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14347 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14351 version_type
=linux
# correct to gnu/linux during the next big refactor
14354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14355 soname_spec
='${libname}${release}${shared_ext}$major'
14356 shlibpath_var
=LD_LIBRARY_PATH
14359 freebsd
* | dragonfly
*)
14360 # DragonFly does not have aout. When/if they implement a new
14361 # versioning mechanism, adjust this.
14362 if test -x /usr
/bin
/objformat
; then
14363 objformat
=`/usr/bin/objformat`
14366 freebsd
[23].
*) objformat
=aout
;;
14367 *) objformat
=elf
;;
14370 version_type
=freebsd-
$objformat
14371 case $version_type in
14373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14378 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14382 shlibpath_var
=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath
=yes
14387 freebsd3.
[01]* | freebsdelf3.
[01]*)
14388 shlibpath_overrides_runpath
=yes
14389 hardcode_into_libs
=yes
14391 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14392 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14393 shlibpath_overrides_runpath
=no
14394 hardcode_into_libs
=yes
14396 *) # from 4.6 on, and DragonFly
14397 shlibpath_overrides_runpath
=yes
14398 hardcode_into_libs
=yes
14404 version_type
=linux
# correct to gnu/linux during the next big refactor
14407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14408 soname_spec
='${libname}${release}${shared_ext}$major'
14409 shlibpath_var
=LD_LIBRARY_PATH
14410 shlibpath_overrides_runpath
=no
14411 hardcode_into_libs
=yes
14415 version_type
=linux
# correct to gnu/linux during the next big refactor
14418 dynamic_linker
="$host_os runtime_loader"
14419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14420 soname_spec
='${libname}${release}${shared_ext}$major'
14421 shlibpath_var
=LIBRARY_PATH
14422 shlibpath_overrides_runpath
=yes
14423 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14424 hardcode_into_libs
=yes
14427 hpux9
* | hpux10
* | hpux11
*)
14428 # Give a soname corresponding to the major version so that dld.sl refuses to
14429 # link against other versions.
14436 hardcode_into_libs
=yes
14437 dynamic_linker
="$host_os dld.so"
14438 shlibpath_var
=LD_LIBRARY_PATH
14439 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441 soname_spec
='${libname}${release}${shared_ext}$major'
14442 if test "X$HPUX_IA64_MODE" = X32
; then
14443 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14445 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14447 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14451 hardcode_into_libs
=yes
14452 dynamic_linker
="$host_os dld.sl"
14453 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14454 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14456 soname_spec
='${libname}${release}${shared_ext}$major'
14457 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14458 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14462 dynamic_linker
="$host_os dld.sl"
14463 shlibpath_var
=SHLIB_PATH
14464 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14466 soname_spec
='${libname}${release}${shared_ext}$major'
14469 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14470 postinstall_cmds
='chmod 555 $lib'
14471 # or fails outright, so override atomically:
14472 install_override_mode
=555
14476 version_type
=linux
# correct to gnu/linux during the next big refactor
14479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14480 soname_spec
='${libname}${release}${shared_ext}$major'
14481 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14482 shlibpath_var
=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath
=no
14484 hardcode_into_libs
=yes
14487 irix5
* | irix6
* | nonstopux
*)
14489 nonstopux
*) version_type
=nonstopux
;;
14491 if test "$lt_cv_prog_gnu_ld" = yes; then
14492 version_type
=linux
# correct to gnu/linux during the next big refactor
14499 soname_spec
='${libname}${release}${shared_ext}$major'
14500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14502 irix5
* | nonstopux
*)
14503 libsuff
= shlibsuff
=
14506 case $LD in # libtool.m4 will add one of these switches to LD
14507 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14508 libsuff
= shlibsuff
= libmagic
=32-bit;;
14509 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14510 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14511 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14512 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14513 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14517 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14518 shlibpath_overrides_runpath
=no
14519 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14520 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14521 hardcode_into_libs
=yes
14524 # No shared lib support for Linux oldld, aout, or coff.
14525 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14529 # This must be glibc/ELF.
14530 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14531 version_type
=linux
# correct to gnu/linux during the next big refactor
14534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14535 soname_spec
='${libname}${release}${shared_ext}$major'
14536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14537 shlibpath_var
=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath
=no
14540 # Some binutils ld are patched to set DT_RUNPATH
14541 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14542 $as_echo_n "(cached) " >&6
14544 lt_cv_shlibpath_overrides_runpath
=no
14545 save_LDFLAGS
=$LDFLAGS
14546 save_libdir
=$libdir
14547 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14548 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14560 if ac_fn_cxx_try_link
"$LINENO"; then :
14561 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14562 lt_cv_shlibpath_overrides_runpath
=yes
14565 rm -f core conftest.err conftest.
$ac_objext \
14566 conftest
$ac_exeext conftest.
$ac_ext
14567 LDFLAGS
=$save_LDFLAGS
14568 libdir
=$save_libdir
14572 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14574 # This implies no fast_install, which is unacceptable.
14575 # Some rework will be needed to allow for fast_install
14576 # before this can be enabled.
14577 hardcode_into_libs
=yes
14579 # Append ld.so.conf contents to the search path
14580 if test -f /etc
/ld.so.conf
; then
14581 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' ' '`
14582 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14585 # We used to test for /lib/ld.so.1 and disable shared libraries on
14586 # powerpc, because MkLinux only supported shared libraries with the
14587 # GNU dynamic linker. Since this was broken with cross compilers,
14588 # most powerpc-linux boxes support dynamic linking these days and
14589 # people can always --disable-shared, the test was removed, and we
14590 # assume the GNU/Linux dynamic linker is in use.
14591 dynamic_linker
='GNU/Linux ld.so'
14598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14599 soname_spec
='${libname}${release}${shared_ext}$major'
14600 shlibpath_var
=LD_LIBRARY_PATH
14601 shlibpath_overrides_runpath
=no
14602 hardcode_into_libs
=yes
14603 dynamic_linker
='NetBSD ld.elf_so'
14610 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14613 dynamic_linker
='NetBSD (a.out) ld.so'
14615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14616 soname_spec
='${libname}${release}${shared_ext}$major'
14617 dynamic_linker
='NetBSD ld.elf_so'
14619 shlibpath_var
=LD_LIBRARY_PATH
14620 shlibpath_overrides_runpath
=yes
14621 hardcode_into_libs
=yes
14625 version_type
=linux
# correct to gnu/linux during the next big refactor
14626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 shlibpath_var
=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath
=yes
14635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14636 soname_spec
='${libname}${release}${shared_ext}$major'
14637 shlibpath_var
=LD_LIBRARY_PATH
14638 shlibpath_overrides_runpath
=no
14639 hardcode_into_libs
=yes
14640 dynamic_linker
='ldqnx.so'
14645 sys_lib_dlsearch_path_spec
="/usr/lib"
14647 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14649 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14650 *) need_version
=no
;;
14652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14654 shlibpath_var
=LD_LIBRARY_PATH
14655 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14657 openbsd2.
[89] | openbsd2.
[89].
*)
14658 shlibpath_overrides_runpath
=no
14661 shlibpath_overrides_runpath
=yes
14665 shlibpath_overrides_runpath
=yes
14670 libname_spec
='$name'
14673 library_names_spec
='$libname${shared_ext} $libname.a'
14674 dynamic_linker
='OS/2 ld.exe'
14675 shlibpath_var
=LIBPATH
14678 osf3
* | osf4
* | osf5
*)
14682 soname_spec
='${libname}${release}${shared_ext}$major'
14683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 shlibpath_var
=LD_LIBRARY_PATH
14685 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14686 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14694 version_type
=linux
# correct to gnu/linux during the next big refactor
14697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698 soname_spec
='${libname}${release}${shared_ext}$major'
14699 shlibpath_var
=LD_LIBRARY_PATH
14700 shlibpath_overrides_runpath
=yes
14701 hardcode_into_libs
=yes
14702 # ldd complains unless libraries are executable
14703 postinstall_cmds
='chmod +x $lib'
14708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14709 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14710 shlibpath_var
=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath
=yes
14712 if test "$with_gnu_ld" = yes; then
14719 version_type
=linux
# correct to gnu/linux during the next big refactor
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 soname_spec
='${libname}${release}${shared_ext}$major'
14722 shlibpath_var
=LD_LIBRARY_PATH
14723 case $host_vendor in
14725 shlibpath_overrides_runpath
=no
14727 runpath_var
=LD_RUN_PATH
14735 shlibpath_overrides_runpath
=no
14736 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14742 if test -d /usr
/nec
;then
14743 version_type
=linux
# correct to gnu/linux during the next big refactor
14744 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14745 soname_spec
='$libname${shared_ext}.$major'
14746 shlibpath_var
=LD_LIBRARY_PATH
14750 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14751 version_type
=freebsd-elf
14754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14755 soname_spec
='${libname}${release}${shared_ext}$major'
14756 shlibpath_var
=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath
=yes
14758 hardcode_into_libs
=yes
14759 if test "$with_gnu_ld" = yes; then
14760 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14762 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14765 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14769 sys_lib_dlsearch_path_spec
='/usr/lib'
14773 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14774 version_type
=linux
# correct to gnu/linux during the next big refactor
14777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14778 shlibpath_var
=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath
=no
14780 hardcode_into_libs
=yes
14784 version_type
=linux
# correct to gnu/linux during the next big refactor
14785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786 soname_spec
='${libname}${release}${shared_ext}$major'
14787 shlibpath_var
=LD_LIBRARY_PATH
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14795 $as_echo "$dynamic_linker" >&6; }
14796 test "$dynamic_linker" = no
&& can_build_shared
=no
14798 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14799 if test "$GCC" = yes; then
14800 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14803 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14804 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14806 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14807 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14848 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14849 hardcode_action_CXX
=
14850 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14851 test -n "$runpath_var_CXX" ||
14852 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14854 # We can hardcode non-existent directories.
14855 if test "$hardcode_direct_CXX" != no
&&
14856 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14857 # have to relink, otherwise we might link with an installed library
14858 # when we should be linking with a yet-to-be-installed one
14859 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14860 test "$hardcode_minus_L_CXX" != no
; then
14861 # Linking always hardcodes the temporary library directory.
14862 hardcode_action_CXX
=relink
14864 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14865 hardcode_action_CXX
=immediate
14868 # We cannot hardcode anything, or else we can only hardcode existing
14870 hardcode_action_CXX
=unsupported
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14873 $as_echo "$hardcode_action_CXX" >&6; }
14875 if test "$hardcode_action_CXX" = relink ||
14876 test "$inherit_rpath_CXX" = yes; then
14877 # Fast installation is not supported
14878 enable_fast_install
=no
14879 elif test "$shlibpath_overrides_runpath" = yes ||
14880 test "$enable_shared" = no
; then
14881 # Fast installation is not necessary
14882 enable_fast_install
=needless
14891 fi # test -n "$compiler"
14894 CFLAGS
=$lt_save_CFLAGS
14898 with_gnu_ld
=$lt_save_with_gnu_ld
14899 lt_cv_path_LDCXX
=$lt_cv_path_LD
14900 lt_cv_path_LD
=$lt_save_path_LD
14901 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14902 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14903 fi # test "$_lt_caught_CXX_error" != yes
14906 ac_cpp
='$CPP $CPPFLAGS'
14907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14925 ac_config_commands
="$ac_config_commands libtool"
14930 # Only expand once:
14937 # Default to --enable-multilib
14938 # Check whether --enable-multilib was given.
14939 if test "${enable_multilib+set}" = set; then :
14940 enableval
=$enable_multilib; case "$enableval" in
14941 yes) multilib
=yes ;;
14943 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
14950 # We may get other options which we leave undocumented:
14951 # --with-target-subdir, --with-multisrctop, --with-multisubdir
14952 # See config-ml.in if you want the gory details.
14954 if test "$srcdir" = "."; then
14955 if test "$with_target_subdir" != "."; then
14956 multi_basedir
="$srcdir/$with_multisrctop../.."
14958 multi_basedir
="$srcdir/$with_multisrctop.."
14961 multi_basedir
="$srcdir/.."
14965 # Even if the default multilib is not a cross compilation,
14966 # it may be that some of the other multilibs are.
14967 if test $cross_compiling = no
&& test $multilib = yes \
14968 && test "x${with_multisubdir}" != x
; then
14969 cross_compiling
=maybe
14972 ac_config_commands
="$ac_config_commands default-1"
14974 target_alias
=${target_alias-$host_alias}
14977 # Calculate toolexeclibdir
14978 # Also toolexecdir, though it's only used in toolexeclibdir
14979 case ${version_specific_libs} in
14981 # Need the gcc compiler version to know where to install libraries
14982 # and header files if --enable-version-specific-runtime-libs option
14984 toolexecdir
='$(libdir)/gcc/$(target_alias)'
14985 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14988 if test -n "$with_cross_host" &&
14989 test x
"$with_cross_host" != x
"no"; then
14990 # Install a library built with a cross compiler in tooldir, not libdir.
14991 toolexecdir
='$(exec_prefix)/$(target_alias)'
14992 toolexeclibdir
='$(toolexecdir)/lib'
14994 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
14995 toolexeclibdir
='$(libdir)'
14997 multi_os_directory
=`$CC -print-multi-os-directory`
14998 case $multi_os_directory in
14999 .
) ;; # Avoid trailing /.
15000 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
15008 ac_config_files
="$ac_config_files Makefile"
15010 cat >confcache
<<\_ACEOF
15011 # This file is a shell script that caches the results of configure
15012 # tests run on this system so they can be shared between configure
15013 # scripts and configure runs, see configure's option --config-cache.
15014 # It is not useful on other systems. If it contains results you don't
15015 # want to keep, you may remove or edit it.
15017 # config.status only pays attention to the cache file if you give it
15018 # the --recheck option to rerun configure.
15020 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15022 # following values.
15026 # The following way of writing the cache mishandles newlines in values,
15027 # but we know of no workaround that is simple, portable, and efficient.
15028 # So, we kill variables containing newlines.
15029 # Ultrix sh set writes to stderr and can't be redirected directly,
15030 # and sets the high bit in the cache file unless we assign to the vars.
15032 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15033 eval ac_val
=\$
$ac_var
15037 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15041 _ | IFS | as_nl
) ;; #(
15042 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15043 *) { eval $ac_var=; unset $ac_var;} ;;
15049 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15050 *${as_nl}ac_space
=\
*)
15051 # `set' does not quote correctly, so add quotes: double-quote
15052 # substitution turns \\\\ into \\, and sed turns \\ into \.
15055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15058 # `set' quotes correctly as required by POSIX, so do not add quotes.
15059 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15070 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15072 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15073 if test -w "$cache_file"; then
15074 if test "x$cache_file" != "x/dev/null"; then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15076 $as_echo "$as_me: updating cache $cache_file" >&6;}
15077 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15078 cat confcache
>"$cache_file"
15080 case $cache_file in #(
15082 mv -f confcache
"$cache_file"$$
&&
15083 mv -f "$cache_file"$$
"$cache_file" ;; #(
15085 mv -f confcache
"$cache_file" ;;
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15091 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15096 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15097 # Let make expand exec_prefix.
15098 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15100 # Transform confdefs.h into DEFS.
15101 # Protect against shell expansion while executing Makefile rules.
15102 # Protect against Makefile macro expansion.
15104 # If the first sed substitution is executed (which looks for macros that
15105 # take arguments), then branch to the quote section. Otherwise,
15106 # look for a macro that doesn't take arguments.
15116 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15118 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15122 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15135 DEFS
=`sed -n "$ac_script" confdefs.h`
15141 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15142 # 1. Remove the extension, and $U if already installed.
15143 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15144 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15145 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15146 # will be set to the directory where LIBOBJS objects are built.
15147 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15148 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15150 LIBOBJS
=$ac_libobjs
15152 LTLIBOBJS
=$ac_ltlibobjs
15155 if test -n "$EXEEXT"; then
15157 am__EXEEXT_FALSE
='#'
15159 am__EXEEXT_TRUE
='#'
15163 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15164 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15167 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15168 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15171 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15172 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
15173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15176 : "${CONFIG_STATUS=./config.status}"
15178 ac_clean_files_save
=$ac_clean_files
15179 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15181 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15183 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15185 # Generated by $as_me.
15186 # Run this file to recreate the current configuration.
15187 # Compiler output produced by configure, useful for debugging
15188 # configure, is in config.log if it exists.
15191 ac_cs_recheck=false
15194 SHELL=\${CONFIG_SHELL-$SHELL}
15197 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15198 ## -------------------- ##
15199 ## M4sh Initialization. ##
15200 ## -------------------- ##
15202 # Be more Bourne compatible
15203 DUALCASE
=1; export DUALCASE
# for MKS sh
15204 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15207 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15208 # is contrary to our usage. Disable this feature.
15209 alias -g '${1+"$@"}'='"$@"'
15210 setopt NO_GLOB_SUBST
15212 case `(set -o) 2>/dev/null` in #(
15224 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15225 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15226 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15227 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15228 # Prefer a ksh shell builtin over an external printf program on Solaris,
15229 # but without wasting forks for bash or zsh.
15230 if test -z "$BASH_VERSION$ZSH_VERSION" \
15231 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15232 as_echo='print
-r --'
15233 as_echo_n='print
-rn --'
15234 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15235 as_echo='printf %s
\n'
15236 as_echo_n='printf %s
'
15238 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15239 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15240 as_echo_n='/usr
/ucb
/echo -n'
15242 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15243 as_echo_n_body='eval
15247 expr "X$arg" : "X\\(.*\\)$as_nl";
15248 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15250 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15252 export as_echo_n_body
15253 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15255 export as_echo_body
15256 as_echo='sh
-c $as_echo_body as_echo
'
15259 # The user is always right.
15260 if test "${PATH_SEPARATOR+set}" != set; then
15262 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15263 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15270 # We need space, tab and new line, in precisely that order. Quoting is
15271 # there to prevent editors from complaining about space-tab.
15272 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15273 # splitting by setting IFS to empty value.)
15276 # Find who we are. Look in the path if we contain no directory separator.
15279 *[\\/]* ) as_myself=$0 ;;
15280 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15284 test -z "$as_dir" && as_dir=.
15285 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15291 # We did not find ourselves, most probably we were run as `sh COMMAND'
15292 # in which case we are not to be found in the path.
15293 if test "x$as_myself" = x
; then
15296 if test ! -f "$as_myself"; then
15297 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15301 # Unset variables that we do not need and which cause bugs (e.g. in
15302 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15303 # suppresses any "Segmentation fault" message there. '((' could
15304 # trigger a bug in pdksh 5.2.14.
15305 for as_var
in BASH_ENV ENV MAIL MAILPATH
15306 do eval test x\
${$as_var+set} = xset \
15307 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15320 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15323 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15324 # ----------------------------------------
15325 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15326 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15327 # script with STATUS, using 1 if that was 0.
15330 as_status
=$1; test $as_status -eq 0 && as_status
=1
15332 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15333 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15335 $as_echo "$as_me: error: $2" >&2
15336 as_fn_exit
$as_status
15340 # as_fn_set_status STATUS
15341 # -----------------------
15342 # Set $? to STATUS, without forking.
15343 as_fn_set_status
()
15346 } # as_fn_set_status
15348 # as_fn_exit STATUS
15349 # -----------------
15350 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15354 as_fn_set_status
$1
15360 # Portably unset VAR.
15363 { eval $1=; unset $1;}
15365 as_unset
=as_fn_unset
15366 # as_fn_append VAR VALUE
15367 # ----------------------
15368 # Append the text in VALUE to the end of the definition contained in VAR. Take
15369 # advantage of any shell optimizations that allow amortized linear growth over
15370 # repeated appends, instead of the typical quadratic growth present in naive
15372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15373 eval 'as_fn_append ()
15384 # as_fn_arith ARG...
15385 # ------------------
15386 # Perform arithmetic evaluation on the ARGs, and store the result in the
15387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15388 # must be portable across $(()) and expr.
15389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15390 eval 'as_fn_arith ()
15397 as_val
=`expr "$@" || test $? -eq 1`
15402 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15403 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15409 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15410 as_basename
=basename
15415 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15421 as_me
=`$as_basename -- "$0" ||
15422 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15423 X"$0" : 'X\(//\)$' \| \
15424 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15426 sed '/^.*\/\([^/][^/]*\)\/*$/{
15440 # Avoid depending upon Character Ranges.
15441 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15442 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15443 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15444 as_cr_digits
='0123456789'
15445 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15447 ECHO_C
= ECHO_N
= ECHO_T
=
15448 case `echo -n x` in #(((((
15450 case `echo 'xy\c'` in
15451 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15453 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15460 rm -f conf$$ conf$$.exe conf$$.
file
15461 if test -d conf$$.dir
; then
15462 rm -f conf$$.dir
/conf$$.
file
15465 mkdir conf$$.dir
2>/dev
/null
15467 if (echo >conf$$.
file) 2>/dev
/null
; then
15468 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15470 # ... but there are two gotchas:
15471 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15472 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15473 # In both cases, we have to default to `cp -p'.
15474 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15476 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15484 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15485 rmdir conf$$.dir
2>/dev
/null
15490 # Create "$as_dir" as a directory, including parents if necessary.
15495 -*) as_dir
=.
/$as_dir;;
15497 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15501 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15502 *) as_qdir
=$as_dir;;
15504 as_dirs
="'$as_qdir' $as_dirs"
15505 as_dir
=`$as_dirname -- "$as_dir" ||
15506 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15507 X"$as_dir" : 'X\(//\)[^/]' \| \
15508 X"$as_dir" : 'X\(//\)$' \| \
15509 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15510 $as_echo X"$as_dir" |
15511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15515 /^X\(\/\/\)[^/].*/{
15528 test -d "$as_dir" && break
15530 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15531 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15535 if mkdir
-p .
2>/dev
/null
; then
15536 as_mkdir_p
='mkdir -p "$as_dir"'
15538 test -d .
/-p && rmdir .
/-p
15542 if test -x / >/dev
/null
2>&1; then
15543 as_test_x
='test -x'
15545 if ls -dL / >/dev
/null
2>&1; then
15552 if test -d "$1"; then
15558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15559 ???[sx]*):;;*)false;;esac;fi
15563 as_executable_p
=$as_test_x
15565 # Sed expression to map a string onto a valid CPP name.
15566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15568 # Sed expression to map a string onto a valid variable name.
15569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15573 ## ----------------------------------- ##
15574 ## Main body of $CONFIG_STATUS script. ##
15575 ## ----------------------------------- ##
15577 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15580 # Save the log message, to keep $0 and so on meaningful, and to
15581 # report actual input values of CONFIG_FILES etc. instead of their
15582 # values after options handling.
15584 This file was extended by package-unused $as_me version-unused, which was
15585 generated by GNU Autoconf 2.68. Invocation command line was
15587 CONFIG_FILES = $CONFIG_FILES
15588 CONFIG_HEADERS = $CONFIG_HEADERS
15589 CONFIG_LINKS = $CONFIG_LINKS
15590 CONFIG_COMMANDS = $CONFIG_COMMANDS
15593 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15598 case $ac_config_files in *"
15599 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15605 # Files that config.status was made for.
15606 config_files="$ac_config_files"
15607 config_commands="$ac_config_commands"
15611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15613 \`$as_me' instantiates files and other configuration actions
15614 from templates according to the current configuration. Unless the files
15615 and actions are specified as TAGs, all are instantiated by default.
15617 Usage: $0 [OPTION]... [TAG]...
15619 -h, --help print this help, then exit
15620 -V, --version print version number and configuration settings, then exit
15621 --config print configuration, then exit
15622 -q, --quiet, --silent
15623 do not print progress messages
15624 -d, --debug don't remove temporary files
15625 --recheck update $as_me by reconfiguring in the same conditions
15626 --file=FILE[:TEMPLATE]
15627 instantiate the configuration file FILE
15629 Configuration files:
15632 Configuration commands:
15635 Report bugs to <libasan>."
15638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15639 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15641 package-unused config.status version-unused
15642 configured by $0, generated by GNU Autoconf 2.68,
15643 with options \\"\$ac_cs_config\\"
15645 Copyright (C) 2010 Free Software Foundation, Inc.
15646 This config.status script is free software; the Free Software Foundation
15647 gives unlimited permission to copy, distribute and modify it."
15654 test -n "\$AWK" || AWK=awk
15657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15658 # The default lists apply if the user does not specify any file.
15664 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15665 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15669 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15681 # Handling of the options.
15682 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15684 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15685 $as_echo "$ac_cs_version"; exit ;;
15686 --config |
--confi |
--conf |
--con |
--co |
--c )
15687 $as_echo "$ac_cs_config"; exit ;;
15688 --debug |
--debu |
--deb |
--de |
--d |
-d )
15690 --file |
--fil |
--fi |
--f )
15693 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15694 '') as_fn_error $?
"missing file argument" ;;
15696 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15697 ac_need_defaults
=false
;;
15698 --he |
--h |
--help |
--hel |
-h )
15699 $as_echo "$ac_cs_usage"; exit ;;
15700 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15701 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15704 # This is an error.
15705 -*) as_fn_error $?
"unrecognized option: \`$1'
15706 Try \`$0 --help' for more information." ;;
15708 *) as_fn_append ac_config_targets
" $1"
15709 ac_need_defaults
=false
;;
15715 ac_configure_extra_args
=
15717 if $ac_cs_silent; then
15719 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15724 if \$ac_cs_recheck; then
15725 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15727 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15728 CONFIG_SHELL='$SHELL'
15729 export CONFIG_SHELL
15734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15739 ## Running $as_me. ##
15745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15749 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15752 # The HP-UX ksh and POSIX shell print the target directory to stdout
15753 # if CDPATH is set.
15754 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15756 sed_quote_subst='$sed_quote_subst'
15757 double_quote_subst='$double_quote_subst'
15758 delay_variable_subst='$delay_variable_subst'
15759 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15760 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15761 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15762 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15763 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15764 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15765 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15766 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15767 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15768 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15769 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15770 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15771 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15772 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15773 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15774 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15775 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15776 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15777 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15778 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15779 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15780 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15781 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15782 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15783 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15784 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15785 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15786 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15787 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15788 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15789 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15790 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15791 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15792 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15793 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15794 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15795 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15796 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15797 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15798 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15799 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15800 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15801 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15802 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15803 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15804 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15805 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15806 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15807 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15808 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15809 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15810 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15811 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15812 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15813 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15814 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15815 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"`'
15816 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15817 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15818 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15819 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15820 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15821 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15822 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15823 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15824 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15825 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15826 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15827 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15828 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15829 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15830 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15831 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15832 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15833 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15834 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15835 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15836 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15837 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15838 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15839 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15840 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15841 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15842 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15843 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15844 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15845 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15846 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15847 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15848 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15849 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15850 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15851 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15852 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15853 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15854 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15855 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15856 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15857 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15858 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15859 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15860 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15861 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15862 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15863 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15864 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15865 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15866 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15867 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15868 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15869 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15870 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15871 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15872 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15873 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15874 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15875 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15876 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15877 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15878 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15879 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15880 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15881 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15882 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15883 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15884 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15885 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15886 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15887 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15888 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15889 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15890 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15891 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15892 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15893 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15894 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15895 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15896 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15897 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15898 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15899 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15900 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15901 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15902 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15903 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15904 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15905 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15906 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15907 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15908 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15909 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15910 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15911 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15912 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15913 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15914 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15915 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15916 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15917 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15918 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15919 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15920 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15921 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15922 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15923 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15924 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15925 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15926 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15927 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15928 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15929 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15930 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15931 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15932 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15933 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15934 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15935 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15936 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15937 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15938 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15939 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15940 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15941 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15942 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15945 LTCFLAGS='$LTCFLAGS'
15946 compiler='$compiler_DEFAULT'
15948 # A function that is used when there is no print builtin or printf.
15949 func_fallback_echo ()
15951 eval 'cat <<_LTECHO_EOF
15956 # Quote evaled strings.
15971 deplibs_check_method \
15976 sharedlib_from_linklib_cmd \
15979 archiver_list_spec \
15985 lt_cv_sys_global_symbol_pipe \
15986 lt_cv_sys_global_symbol_to_cdecl \
15987 lt_cv_sys_global_symbol_to_c_name_address \
15988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15989 nm_file_list_spec \
15990 lt_prog_compiler_no_builtin_flag \
15991 lt_prog_compiler_pic \
15992 lt_prog_compiler_wl \
15993 lt_prog_compiler_static \
15994 lt_cv_prog_compiler_c_o \
16003 export_dynamic_flag_spec \
16004 whole_archive_flag_spec \
16005 compiler_needs_object \
16007 allow_undefined_flag \
16008 no_undefined_flag \
16009 hardcode_libdir_flag_spec \
16010 hardcode_libdir_separator \
16014 variables_saved_for_relink \
16016 library_names_spec \
16018 install_override_mode \
16022 compiler_lib_search_dirs \
16027 compiler_lib_search_path \
16031 lt_prog_compiler_no_builtin_flag_CXX \
16032 lt_prog_compiler_pic_CXX \
16033 lt_prog_compiler_wl_CXX \
16034 lt_prog_compiler_static_CXX \
16035 lt_cv_prog_compiler_c_o_CXX \
16036 export_dynamic_flag_spec_CXX \
16037 whole_archive_flag_spec_CXX \
16038 compiler_needs_object_CXX \
16040 allow_undefined_flag_CXX \
16041 no_undefined_flag_CXX \
16042 hardcode_libdir_flag_spec_CXX \
16043 hardcode_libdir_separator_CXX \
16044 exclude_expsyms_CXX \
16045 include_expsyms_CXX \
16046 file_list_spec_CXX \
16047 compiler_lib_search_dirs_CXX \
16048 predep_objects_CXX \
16049 postdep_objects_CXX \
16052 compiler_lib_search_path_CXX; do
16053 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16054 *[\\\\\\\`\\"\\\$]*)
16055 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16058 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16063 # Double-quote double-evaled strings.
16064 for var in reload_cmds \
16065 old_postinstall_cmds \
16066 old_postuninstall_cmds \
16068 extract_expsyms_cmds \
16069 old_archive_from_new_cmds \
16070 old_archive_from_expsyms_cmds \
16072 archive_expsym_cmds \
16074 module_expsym_cmds \
16075 export_symbols_cmds \
16079 postuninstall_cmds \
16081 sys_lib_search_path_spec \
16082 sys_lib_dlsearch_path_spec \
16084 old_archive_cmds_CXX \
16085 old_archive_from_new_cmds_CXX \
16086 old_archive_from_expsyms_cmds_CXX \
16088 archive_expsym_cmds_CXX \
16090 module_expsym_cmds_CXX \
16091 export_symbols_cmds_CXX \
16093 postlink_cmds_CXX; do
16094 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16095 *[\\\\\\\`\\"\\\$]*)
16096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16104 ac_aux_dir='$ac_aux_dir'
16105 xsi_shell='$xsi_shell'
16106 lt_shell_append='$lt_shell_append'
16108 # See if we are running on zsh, and set the options which allow our
16109 # commands through without removal of \ escapes INIT.
16110 if test -n "\${ZSH_VERSION+set}" ; then
16111 setopt NO_GLOB_SUBST
16117 TIMESTAMP='$TIMESTAMP'
16129 with_multisubdir="$with_multisubdir"
16130 with_multisrctop="$with_multisrctop"
16131 with_target_subdir="$with_target_subdir"
16132 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16133 multi_basedir="$multi_basedir"
16134 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16141 # Handling of arguments.
16142 for ac_config_target
in $ac_config_targets
16144 case $ac_config_target in
16145 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16146 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16147 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16148 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16150 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16155 # If the user did not use the arguments to specify the items to instantiate,
16156 # then the envvar interface is used. Set only those that are not.
16157 # We use the long form for the default assignment because of an extremely
16158 # bizarre bug on SunOS 4.1.3.
16159 if $ac_need_defaults; then
16160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16164 # Have a temporary directory for convenience. Make it in the build tree
16165 # simply because there is no reason against having it here, and in addition,
16166 # creating and moving files from /tmp can sometimes cause problems.
16167 # Hook for its removal unless debugging.
16168 # Note that there is a small window in which the directory will not be cleaned:
16169 # after its creation but before its name has been assigned to `$tmp'.
16173 trap 'exit_status=$?
16174 : "${ac_tmp:=$tmp}"
16175 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16177 trap 'as_fn_exit 1' 1 2 13 15
16179 # Create a (secure) tmp directory for tmp files.
16182 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16186 tmp
=.
/conf$$
-$RANDOM
16187 (umask 077 && mkdir
"$tmp")
16188 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16191 # Set up the scripts for CONFIG_FILES section.
16192 # No need to generate them if there are no CONFIG_FILES.
16193 # This happens for instance with `./config.status config.h'.
16194 if test -n "$CONFIG_FILES"; then
16197 ac_cr
=`echo X | tr X '\015'`
16198 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16199 # But we know of no other shell where ac_cr would be empty at this
16200 # point, so we can use a bashism as a fallback.
16201 if test "x$ac_cr" = x
; then
16202 eval ac_cr
=\$
\'\\r
\'
16204 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16205 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16208 ac_cs_awk_cr
=$ac_cr
16211 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16216 echo "cat >conf$$subs.awk <<_ACEOF" &&
16217 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16219 } >conf$$subs.sh ||
16220 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16221 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16223 for ac_last_try in false false false false false :; do
16224 . ./conf$$subs.sh ||
16225 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16227 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16228 if test $ac_delim_n = $ac_delim_num; then
16230 elif $ac_last_try; then
16231 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16233 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16236 rm -f conf$$subs.sh
16238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16239 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16243 s/^/S["/; s
/!.
*/"]=/
16253 s/\(.\{148\}\)..*/\1/
16255 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16260 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16267 s/\(.\{148\}\)..*/\1/
16269 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16273 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16278 ' <conf$$subs.awk | sed '
16283 ' >>$CONFIG_STATUS || ac_write_fail=1
16284 rm -f conf$$subs.awk
16285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16287 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16288 for (key in S) S_is_set[key] = 1
16294 nfields = split(line, field, "@
")
16296 len = length(field[1])
16297 for (i = 2; i < nfields; i++) {
16299 keylen = length(key)
16300 if (S_is_set[key]) {
16302 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16303 len += length(value) + length(field[++i])
16314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16315 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16316 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16319 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16320 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16323 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16324 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16325 # trailing colons and then remove the whole line if VPATH becomes empty
16326 # (actually we leave an empty line to preserve line numbers).
16327 if test "x
$srcdir" = x.; then
16328 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16347 fi # test -n "$CONFIG_FILES"
16350 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
16355 :[FHLC]) ac_mode=$ac_tag; continue;;
16357 case $ac_mode$ac_tag in
16359 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16360 :[FH]-) ac_tag=-:-;;
16361 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16378 -) ac_f="$ac_tmp/stdin";;
16379 *) # Look for the file first in the build tree, then in the source tree
16380 # (if the path is not absolute). The absolute path cannot be DOS-style,
16381 # because $ac_f cannot contain `:'.
16385 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16387 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16389 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16390 as_fn_append ac_file_inputs " '$ac_f'"
16393 # Let's still pretend it is `configure' which instantiates (i.e., don't
16394 # use $as_me), people would be surprised to read:
16395 # /* config.h. Generated by config.status. */
16396 configure_input='Generated from '`
16397 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16399 if test x"$ac_file" != x-; then
16400 configure_input="$ac_file.
$configure_input"
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16402 $as_echo "$as_me: creating
$ac_file" >&6;}
16404 # Neutralize special characters interpreted by sed in replacement strings.
16405 case $configure_input in #(
16406 *\&* | *\|* | *\\* )
16407 ac_sed_conf_input=`$as_echo "$configure_input" |
16408 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16409 *) ac_sed_conf_input=$configure_input;;
16413 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16414 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16419 ac_dir=`$as_dirname -- "$ac_file" ||
16420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16421 X"$ac_file" : 'X\(//\)[^/]' \| \
16422 X"$ac_file" : 'X\(//\)$' \| \
16423 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16424 $as_echo X"$ac_file" |
16425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16429 /^X\(\/\/\)[^/].*/{
16442 as_dir="$ac_dir"; as_fn_mkdir_p
16446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16449 # A "..
" for each directory in $ac_dir_suffix.
16450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16451 case $ac_top_builddir_sub in
16452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16456 ac_abs_top_builddir=$ac_pwd
16457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16458 # for backward compatibility:
16459 ac_top_builddir=$ac_top_build_prefix
16462 .) # We are building in place.
16464 ac_top_srcdir=$ac_top_builddir_sub
16465 ac_abs_top_srcdir=$ac_pwd ;;
16466 [\\/]* | ?:[\\/]* ) # Absolute name.
16467 ac_srcdir=$srcdir$ac_dir_suffix;
16468 ac_top_srcdir=$srcdir
16469 ac_abs_top_srcdir=$srcdir ;;
16470 *) # Relative name.
16471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16472 ac_top_srcdir=$ac_top_build_prefix$srcdir
16473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16485 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16486 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16488 ac_MKDIR_P=$MKDIR_P
16490 [\\/$]* | ?:[\\/]* ) ;;
16491 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16496 # If the template does not know about datarootdir, expand it.
16497 # FIXME: This hack should be removed a few years after 2.60.
16498 ac_datarootdir_hack=; ac_datarootdir_seen=
16509 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16510 *datarootdir*) ac_datarootdir_seen=yes;;
16511 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16513 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16516 ac_datarootdir_hack='
16517 s&@datadir@&$datadir&g
16518 s&@docdir@&$docdir&g
16519 s&@infodir@&$infodir&g
16520 s&@localedir@&$localedir&g
16521 s&@mandir@&$mandir&g
16522 s&\\\${datarootdir}&$datarootdir&g' ;;
16526 # Neutralize VPATH when `$srcdir' = `.'.
16527 # Shell code in configure.ac might set extrasub.
16528 # FIXME: do we really want to maintain this feature?
16529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16530 ac_sed_extra="$ac_vpsub
16533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16535 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16536 s|@configure_input@|
$ac_sed_conf_input|
;t t
16537 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16538 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16539 s
&@srcdir@
&$ac_srcdir&;t t
16540 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16541 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16542 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16543 s
&@builddir@
&$ac_builddir&;t t
16544 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16545 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16546 s
&@INSTALL@
&$ac_INSTALL&;t t
16547 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16548 $ac_datarootdir_hack
16550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16551 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16554 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16556 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16558 which seems to be undefined. Please make sure it is defined" >&5
16559 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16560 which seems to be undefined. Please make sure it is defined" >&2;}
16562 rm -f "$ac_tmp/stdin"
16564 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16565 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16571 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16572 $as_echo "$as_me: executing $ac_file commands" >&6;}
16577 case $ac_file$ac_mode in
16578 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16579 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16580 # are listed without --file. Let's play safe and only
enable the
eval
16581 # if we detect the quoting.
16582 case $CONFIG_FILES in
16583 *\'*) eval set x
"$CONFIG_FILES" ;;
16584 *) set x
$CONFIG_FILES ;;
16589 # Strip MF so we end up with the name of the file.
16590 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16591 # Check whether this is an Automake generated Makefile or not.
16592 # We used to match only the files named `Makefile.in', but
16593 # some people rename them; so instead we look at the file content.
16594 # Grep'ing the first line is not enough: some people post-process
16595 # each Makefile.in and add a new line on top of each file to say so.
16596 # Grep'ing the whole file is not good either: AIX grep has a line
16597 # limit of 2048, but all sed's we know have understand at least 4000.
16598 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16599 dirpart
=`$as_dirname -- "$mf" ||
16600 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16601 X"$mf" : 'X\(//\)[^/]' \| \
16602 X"$mf" : 'X\(//\)$' \| \
16603 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16609 /^X\(\/\/\)[^/].*/{
16625 # Extract the definition of DEPDIR, am__include, and am__quote
16626 # from the Makefile without running `make'.
16627 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16628 test -z "$DEPDIR" && continue
16629 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16630 test -z "am__include" && continue
16631 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16632 # When using ansi2knr, U may be empty or an underscore; expand it
16633 U
=`sed -n 's/^U = //p' < "$mf"`
16634 # Find all dependency output files, they are included files with
16635 # $(DEPDIR) in their names. We invoke sed twice because it is the
16636 # simplest approach to changing $(DEPDIR) to its actual value in the
16638 for file in `sed -n "
16639 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16640 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16641 # Make sure the directory exists.
16642 test -f "$dirpart/$file" && continue
16643 fdir
=`$as_dirname -- "$file" ||
16644 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16645 X"$file" : 'X\(//\)[^/]' \| \
16646 X"$file" : 'X\(//\)$' \| \
16647 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16648 $as_echo X"$file" |
16649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16653 /^X\(\/\/\)[^/].*/{
16666 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16667 # echo "creating $dirpart/$file"
16668 echo '# dummy' > "$dirpart/$file"
16675 # See if we are running on zsh, and set the options which allow our
16676 # commands through without removal of \ escapes.
16677 if test -n "${ZSH_VERSION+set}" ; then
16678 setopt NO_GLOB_SUBST
16681 cfgfile
="${ofile}T"
16682 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16685 cat <<_LT_EOF >> "$cfgfile"
16688 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16689 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16690 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16691 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16693 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16694 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16696 # Written by Gordon Matzigkeit, 1996
16698 # This file is part of GNU Libtool.
16700 # GNU Libtool is free software; you can redistribute it and/or
16701 # modify it under the terms of the GNU General Public License as
16702 # published by the Free Software Foundation; either version 2 of
16703 # the License, or (at your option) any later version.
16705 # As a special exception to the GNU General Public License,
16706 # if you distribute this file as part of a program or library that
16707 # is built using GNU Libtool, you may include this file under the
16708 # same distribution terms that you use for the rest of that program.
16710 # GNU Libtool is distributed in the hope that it will be useful,
16711 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16712 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16713 # GNU General Public License for more details.
16715 # You should have received a copy of the GNU General Public License
16716 # along with GNU Libtool; see the file COPYING. If not, a copy
16717 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16718 # obtained by writing to the Free Software Foundation, Inc.,
16719 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16722 # The names of the tagged configurations supported by this script.
16723 available_tags="CXX "
16725 # ### BEGIN LIBTOOL CONFIG
16727 # Which release of libtool.m4 was used?
16728 macro_version=$macro_version
16729 macro_revision=$macro_revision
16731 # Whether or not to build shared libraries.
16732 build_libtool_libs=$enable_shared
16734 # Whether or not to build static libraries.
16735 build_old_libs=$enable_static
16737 # What type of objects to build.
16740 # Whether or not to optimize for fast installation.
16741 fast_install=$enable_fast_install
16743 # Shell to use when invoking shell scripts.
16746 # An echo program that protects backslashes.
16749 # The PATH separator for the build system.
16750 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16753 host_alias=$host_alias
16757 # The build system.
16758 build_alias=$build_alias
16762 # A sed program that does not truncate output.
16765 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16766 Xsed="\$SED -e 1s/^X//"
16768 # A grep program that handles long lines.
16774 # A literal string matcher.
16777 # A BSD- or MS-compatible name lister.
16780 # Whether we need soft or hard links.
16783 # What is the maximum length of a command?
16784 max_cmd_len=$max_cmd_len
16786 # Object file suffix (normally "o").
16789 # Executable file suffix (normally "").
16792 # whether the shell understands "unset".
16795 # turn spaces into newlines.
16798 # turn newlines into spaces.
16801 # convert \$build file names to \$host format.
16802 to_host_file_cmd=$lt_cv_to_host_file_cmd
16804 # convert \$build files to toolchain format.
16805 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16807 # An object symbol dumper.
16808 OBJDUMP=$lt_OBJDUMP
16810 # Method to check whether dependent libraries are shared objects.
16811 deplibs_check_method=$lt_deplibs_check_method
16813 # Command to use when deplibs_check_method = "file_magic".
16814 file_magic_cmd=$lt_file_magic_cmd
16816 # How to find potential files when deplibs_check_method = "file_magic".
16817 file_magic_glob=$lt_file_magic_glob
16819 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16820 want_nocaseglob=$lt_want_nocaseglob
16822 # DLL creation program.
16823 DLLTOOL=$lt_DLLTOOL
16825 # Command to associate shared and link libraries.
16826 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16831 # Flags to create an archive.
16832 AR_FLAGS=$lt_AR_FLAGS
16834 # How to feed a file listing to the archiver.
16835 archiver_list_spec=$lt_archiver_list_spec
16837 # A symbol stripping program.
16840 # Commands used to install an old-style archive.
16842 old_postinstall_cmds=$lt_old_postinstall_cmds
16843 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16845 # Whether to use a lock for old archive extraction.
16846 lock_old_archive_extraction=$lock_old_archive_extraction
16851 # LTCC compiler flags.
16852 LTCFLAGS=$lt_CFLAGS
16854 # Take the output of nm and produce a listing of raw symbols and C names.
16855 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16857 # Transform the output of nm in a proper C declaration.
16858 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16860 # Transform the output of nm in a C name address pair.
16861 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16863 # Transform the output of nm in a C name address pair when lib prefix is needed.
16864 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16866 # Specify filename containing input files for \$NM.
16867 nm_file_list_spec=$lt_nm_file_list_spec
16869 # The root where to search for dependent libraries,and in which our libraries should be installed.
16870 lt_sysroot=$lt_sysroot
16872 # The name of the directory that contains temporary libtool files.
16875 # Used to examine libraries when file_magic_cmd begins with "file".
16876 MAGIC_CMD=$MAGIC_CMD
16878 # Must we lock files when doing compilation?
16879 need_locks=$lt_need_locks
16882 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16884 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16885 DSYMUTIL=$lt_DSYMUTIL
16887 # Tool to change global to local symbols on Mac OS X.
16890 # Tool to manipulate fat objects and archives on Mac OS X.
16893 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16896 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16897 OTOOL64=$lt_OTOOL64
16899 # Old archive suffix (normally "a").
16902 # Shared library suffix (normally ".so").
16903 shrext_cmds=$lt_shrext_cmds
16905 # The commands to extract the exported symbol list from a shared archive.
16906 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16908 # Variables whose values should be saved in libtool wrapper scripts and
16909 # restored at link time.
16910 variables_saved_for_relink=$lt_variables_saved_for_relink
16912 # Do we need the "lib" prefix for modules?
16913 need_lib_prefix=$need_lib_prefix
16915 # Do we need a version for libraries?
16916 need_version=$need_version
16918 # Library versioning type.
16919 version_type=$version_type
16921 # Shared library runtime path variable.
16922 runpath_var=$runpath_var
16924 # Shared library path variable.
16925 shlibpath_var=$shlibpath_var
16927 # Is shlibpath searched before the hard-coded library search path?
16928 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16930 # Format of library name prefix.
16931 libname_spec=$lt_libname_spec
16933 # List of archive names. First name is the real one, the rest are links.
16934 # The last name is the one that the linker finds with -lNAME
16935 library_names_spec=$lt_library_names_spec
16937 # The coded name of the library, if different from the real name.
16938 soname_spec=$lt_soname_spec
16940 # Permission mode override for installation of shared libraries.
16941 install_override_mode=$lt_install_override_mode
16943 # Command to use after installation of a shared archive.
16944 postinstall_cmds=$lt_postinstall_cmds
16946 # Command to use after uninstallation of a shared archive.
16947 postuninstall_cmds=$lt_postuninstall_cmds
16949 # Commands used to finish a libtool library installation in a directory.
16950 finish_cmds=$lt_finish_cmds
16952 # As "finish_cmds", except a single script fragment to be evaled but
16954 finish_eval=$lt_finish_eval
16956 # Whether we should hardcode library paths into libraries.
16957 hardcode_into_libs=$hardcode_into_libs
16959 # Compile-time system search path for libraries.
16960 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16962 # Run-time system search path for libraries.
16963 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16965 # Whether dlopen is supported.
16966 dlopen_support=$enable_dlopen
16968 # Whether dlopen of programs is supported.
16969 dlopen_self=$enable_dlopen_self
16971 # Whether dlopen of statically linked programs is supported.
16972 dlopen_self_static=$enable_dlopen_self_static
16974 # Commands to strip libraries.
16975 old_striplib=$lt_old_striplib
16976 striplib=$lt_striplib
16979 # The linker used to build libraries.
16982 # How to create reloadable object files.
16983 reload_flag=$lt_reload_flag
16984 reload_cmds=$lt_reload_cmds
16986 # Commands used to build an old-style archive.
16987 old_archive_cmds=$lt_old_archive_cmds
16989 # A language specific compiler.
16992 # Is the compiler the GNU compiler?
16995 # Compiler flag to turn off builtin functions.
16996 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16998 # Additional compiler flags for building library objects.
16999 pic_flag=$lt_lt_prog_compiler_pic
17001 # How to pass a linker flag through the compiler.
17002 wl=$lt_lt_prog_compiler_wl
17004 # Compiler flag to prevent dynamic linking.
17005 link_static_flag=$lt_lt_prog_compiler_static
17007 # Does compiler simultaneously support -c and -o options?
17008 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17010 # Whether or not to add -lc for building shared libraries.
17011 build_libtool_need_lc=$archive_cmds_need_lc
17013 # Whether or not to disallow shared libs when runtime libs are static.
17014 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17016 # Compiler flag to allow reflexive dlopens.
17017 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17019 # Compiler flag to generate shared objects directly from archives.
17020 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17022 # Whether the compiler copes with passing no objects directly.
17023 compiler_needs_object=$lt_compiler_needs_object
17025 # Create an old-style archive from a shared archive.
17026 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17028 # Create a temporary old-style archive to link instead of a shared archive.
17029 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17031 # Commands used to build a shared archive.
17032 archive_cmds=$lt_archive_cmds
17033 archive_expsym_cmds=$lt_archive_expsym_cmds
17035 # Commands used to build a loadable module if different from building
17036 # a shared archive.
17037 module_cmds=$lt_module_cmds
17038 module_expsym_cmds=$lt_module_expsym_cmds
17040 # Whether we are building with GNU ld or not.
17041 with_gnu_ld=$lt_with_gnu_ld
17043 # Flag that allows shared libraries with undefined symbols to be built.
17044 allow_undefined_flag=$lt_allow_undefined_flag
17046 # Flag that enforces no undefined symbols.
17047 no_undefined_flag=$lt_no_undefined_flag
17049 # Flag to hardcode \$libdir into a binary during linking.
17050 # This must work even if \$libdir does not exist
17051 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17053 # Whether we need a single "-rpath" flag with a separated argument.
17054 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17057 # DIR into the resulting binary.
17058 hardcode_direct=$hardcode_direct
17060 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17061 # DIR into the resulting binary and the resulting library dependency is
17062 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17063 # library is relocated.
17064 hardcode_direct_absolute=$hardcode_direct_absolute
17066 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17067 # into the resulting binary.
17068 hardcode_minus_L=$hardcode_minus_L
17070 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17071 # into the resulting binary.
17072 hardcode_shlibpath_var=$hardcode_shlibpath_var
17074 # Set to "yes" if building a shared library automatically hardcodes DIR
17075 # into the library and all subsequent libraries and executables linked
17077 hardcode_automatic=$hardcode_automatic
17079 # Set to yes if linker adds runtime paths of dependent libraries
17080 # to runtime path list.
17081 inherit_rpath=$inherit_rpath
17083 # Whether libtool must link a program against all its dependency libraries.
17084 link_all_deplibs=$link_all_deplibs
17086 # Set to "yes" if exported symbols are required.
17087 always_export_symbols=$always_export_symbols
17089 # The commands to list exported symbols.
17090 export_symbols_cmds=$lt_export_symbols_cmds
17092 # Symbols that should not be listed in the preloaded symbols.
17093 exclude_expsyms=$lt_exclude_expsyms
17095 # Symbols that must always be exported.
17096 include_expsyms=$lt_include_expsyms
17098 # Commands necessary for linking programs (against libraries) with templates.
17099 prelink_cmds=$lt_prelink_cmds
17101 # Commands necessary for finishing linking programs.
17102 postlink_cmds=$lt_postlink_cmds
17104 # Specify filename containing input files.
17105 file_list_spec=$lt_file_list_spec
17107 # How to hardcode a shared library path into an executable.
17108 hardcode_action=$hardcode_action
17110 # The directories searched by this compiler when creating a shared library.
17111 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17113 # Dependencies to place before and after the objects being linked to
17114 # create a shared library.
17115 predep_objects=$lt_predep_objects
17116 postdep_objects=$lt_postdep_objects
17117 predeps=$lt_predeps
17118 postdeps=$lt_postdeps
17120 # The library search path used internally by the compiler when linking
17121 # a shared library.
17122 compiler_lib_search_path=$lt_compiler_lib_search_path
17124 # ### END LIBTOOL CONFIG
17130 cat <<\_LT_EOF
>> "$cfgfile"
17131 # AIX sometimes has problems with the GCC collect2 program. For some
17132 # reason, if we set the COLLECT_NAMES environment variable, the problems
17133 # vanish in a puff of smoke.
17134 if test "X${COLLECT_NAMES+set}" != Xset
; then
17136 export COLLECT_NAMES
17143 ltmain
="$ac_aux_dir/ltmain.sh"
17146 # We use sed instead of cat because bash on DJGPP gets confused if
17147 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17148 # text mode, it properly converts lines to CR/LF. This bash problem
17149 # is reportedly fixed, but why not run on old versions too?
17150 sed '$q' "$ltmain" >> "$cfgfile" \
17151 ||
(rm -f "$cfgfile"; exit 1)
17153 if test x
"$xsi_shell" = xyes
; then
17154 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17158 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17159 \ * ) func_dirname_result="${3}" ;;\
17161 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17162 && mv -f "$cfgfile.tmp" "$cfgfile" \
17163 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17164 test 0 -eq $? || _lt_function_replace_fail
=:
17167 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17170 \ func_basename_result="${1##*/}"\
17171 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17172 && mv -f "$cfgfile.tmp" "$cfgfile" \
17173 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17174 test 0 -eq $? || _lt_function_replace_fail
=:
17177 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17178 func_dirname_and_basename ()\
17181 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17182 \ * ) func_dirname_result="${3}" ;;\
17184 \ func_basename_result="${1##*/}"\
17185 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17186 && mv -f "$cfgfile.tmp" "$cfgfile" \
17187 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17188 test 0 -eq $? || _lt_function_replace_fail
=:
17191 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17194 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17195 \ # positional parameters, so assign one to ordinary parameter first.\
17196 \ func_stripname_result=${3}\
17197 \ func_stripname_result=${func_stripname_result#"${1}"}\
17198 \ func_stripname_result=${func_stripname_result%"${2}"}\
17199 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17200 && mv -f "$cfgfile.tmp" "$cfgfile" \
17201 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17202 test 0 -eq $? || _lt_function_replace_fail
=:
17205 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17206 func_split_long_opt ()\
17208 \ func_split_long_opt_name=${1%%=*}\
17209 \ func_split_long_opt_arg=${1#*=}\
17210 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17211 && mv -f "$cfgfile.tmp" "$cfgfile" \
17212 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17213 test 0 -eq $? || _lt_function_replace_fail
=:
17216 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17217 func_split_short_opt ()\
17219 \ func_split_short_opt_arg=${1#??}\
17220 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17221 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17222 && mv -f "$cfgfile.tmp" "$cfgfile" \
17223 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17224 test 0 -eq $? || _lt_function_replace_fail
=:
17227 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17231 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17232 \ *) func_lo2o_result=${1} ;;\
17234 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17235 && mv -f "$cfgfile.tmp" "$cfgfile" \
17236 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17237 test 0 -eq $? || _lt_function_replace_fail
=:
17240 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17243 func_xform_result=${1%.*}.lo\
17244 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17245 && mv -f "$cfgfile.tmp" "$cfgfile" \
17246 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17247 test 0 -eq $? || _lt_function_replace_fail
=:
17250 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17253 func_arith_result=$(( $* ))\
17254 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17255 && mv -f "$cfgfile.tmp" "$cfgfile" \
17256 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17257 test 0 -eq $? || _lt_function_replace_fail
=:
17260 sed -e '/^func_len ()$/,/^} # func_len /c\
17263 func_len_result=${#1}\
17264 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17265 && mv -f "$cfgfile.tmp" "$cfgfile" \
17266 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17267 test 0 -eq $? || _lt_function_replace_fail
=:
17271 if test x
"$lt_shell_append" = xyes
; then
17272 sed -e '/^func_append ()$/,/^} # func_append /c\
17275 eval "${1}+=\\${2}"\
17276 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17277 && mv -f "$cfgfile.tmp" "$cfgfile" \
17278 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17279 test 0 -eq $? || _lt_function_replace_fail
=:
17282 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17283 func_append_quoted ()\
17285 \ func_quote_for_eval "${2}"\
17286 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17287 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17288 && mv -f "$cfgfile.tmp" "$cfgfile" \
17289 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17290 test 0 -eq $? || _lt_function_replace_fail
=:
17293 # Save a `func_append' function call where possible by direct use of '+='
17294 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17295 && mv -f "$cfgfile.tmp" "$cfgfile" \
17296 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17297 test 0 -eq $? || _lt_function_replace_fail
=:
17299 # Save a `func_append' function call even when '+=' is not available
17300 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17301 && mv -f "$cfgfile.tmp" "$cfgfile" \
17302 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17303 test 0 -eq $? || _lt_function_replace_fail
=:
17306 if test x
"$_lt_function_replace_fail" = x
":"; then
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17308 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17312 mv -f "$cfgfile" "$ofile" ||
17313 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17317 cat <<_LT_EOF >> "$ofile"
17319 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17321 # The linker used to build libraries.
17324 # How to create reloadable object files.
17325 reload_flag=$lt_reload_flag_CXX
17326 reload_cmds=$lt_reload_cmds_CXX
17328 # Commands used to build an old-style archive.
17329 old_archive_cmds=$lt_old_archive_cmds_CXX
17331 # A language specific compiler.
17332 CC=$lt_compiler_CXX
17334 # Is the compiler the GNU compiler?
17337 # Compiler flag to turn off builtin functions.
17338 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17340 # Additional compiler flags for building library objects.
17341 pic_flag=$lt_lt_prog_compiler_pic_CXX
17343 # How to pass a linker flag through the compiler.
17344 wl=$lt_lt_prog_compiler_wl_CXX
17346 # Compiler flag to prevent dynamic linking.
17347 link_static_flag=$lt_lt_prog_compiler_static_CXX
17349 # Does compiler simultaneously support -c and -o options?
17350 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17352 # Whether or not to add -lc for building shared libraries.
17353 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17355 # Whether or not to disallow shared libs when runtime libs are static.
17356 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17358 # Compiler flag to allow reflexive dlopens.
17359 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17361 # Compiler flag to generate shared objects directly from archives.
17362 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17364 # Whether the compiler copes with passing no objects directly.
17365 compiler_needs_object=$lt_compiler_needs_object_CXX
17367 # Create an old-style archive from a shared archive.
17368 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17370 # Create a temporary old-style archive to link instead of a shared archive.
17371 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17373 # Commands used to build a shared archive.
17374 archive_cmds=$lt_archive_cmds_CXX
17375 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17377 # Commands used to build a loadable module if different from building
17378 # a shared archive.
17379 module_cmds=$lt_module_cmds_CXX
17380 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17382 # Whether we are building with GNU ld or not.
17383 with_gnu_ld=$lt_with_gnu_ld_CXX
17385 # Flag that allows shared libraries with undefined symbols to be built.
17386 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17388 # Flag that enforces no undefined symbols.
17389 no_undefined_flag=$lt_no_undefined_flag_CXX
17391 # Flag to hardcode \$libdir into a binary during linking.
17392 # This must work even if \$libdir does not exist
17393 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17395 # Whether we need a single "-rpath" flag with a separated argument.
17396 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17399 # DIR into the resulting binary.
17400 hardcode_direct=$hardcode_direct_CXX
17402 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17403 # DIR into the resulting binary and the resulting library dependency is
17404 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17405 # library is relocated.
17406 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17408 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17409 # into the resulting binary.
17410 hardcode_minus_L=$hardcode_minus_L_CXX
17412 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17413 # into the resulting binary.
17414 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17416 # Set to "yes" if building a shared library automatically hardcodes DIR
17417 # into the library and all subsequent libraries and executables linked
17419 hardcode_automatic=$hardcode_automatic_CXX
17421 # Set to yes if linker adds runtime paths of dependent libraries
17422 # to runtime path list.
17423 inherit_rpath=$inherit_rpath_CXX
17425 # Whether libtool must link a program against all its dependency libraries.
17426 link_all_deplibs=$link_all_deplibs_CXX
17428 # Set to "yes" if exported symbols are required.
17429 always_export_symbols=$always_export_symbols_CXX
17431 # The commands to list exported symbols.
17432 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17434 # Symbols that should not be listed in the preloaded symbols.
17435 exclude_expsyms=$lt_exclude_expsyms_CXX
17437 # Symbols that must always be exported.
17438 include_expsyms=$lt_include_expsyms_CXX
17440 # Commands necessary for linking programs (against libraries) with templates.
17441 prelink_cmds=$lt_prelink_cmds_CXX
17443 # Commands necessary for finishing linking programs.
17444 postlink_cmds=$lt_postlink_cmds_CXX
17446 # Specify filename containing input files.
17447 file_list_spec=$lt_file_list_spec_CXX
17449 # How to hardcode a shared library path into an executable.
17450 hardcode_action=$hardcode_action_CXX
17452 # The directories searched by this compiler when creating a shared library.
17453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17455 # Dependencies to place before and after the objects being linked to
17456 # create a shared library.
17457 predep_objects=$lt_predep_objects_CXX
17458 postdep_objects=$lt_postdep_objects_CXX
17459 predeps=$lt_predeps_CXX
17460 postdeps=$lt_postdeps_CXX
17462 # The library search path used internally by the compiler when linking
17463 # a shared library.
17464 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17466 # ### END LIBTOOL TAG CONFIG: CXX
17471 # Only add multilib support code if we just rebuilt the top-level
17473 case " $CONFIG_FILES " in
17475 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17485 ac_clean_files
=$ac_clean_files_save
17487 test $ac_write_fail = 0 ||
17488 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17491 # configure is writing to config.log, and then calls config.status.
17492 # config.status does its own redirection, appending to config.log.
17493 # Unfortunately, on DOS this fails, as config.log is still kept open
17494 # by configure, so config.status won't be able to write to it; its
17495 # output is simply discarded. So we exec the FD to /dev/null,
17496 # effectively closing config.log, so it can be properly (re)opened and
17497 # appended to by config.status. When coming back to configure, we
17498 # need to make the FD available again.
17499 if test "$no_create" != yes; then
17501 ac_config_status_args
=
17502 test "$silent" = yes &&
17503 ac_config_status_args
="$ac_config_status_args --quiet"
17505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17508 # would make configure fail if this is the last instruction.
17509 $ac_cs_success || as_fn_exit
1
17511 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17513 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}