2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev
/null
; then :
188 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
193 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir
=.
200 for as_base
in sh bash ksh sh5
; do
201 # Try only shells that exist, to save several forks.
202 as_shell
=$as_dir/$as_base
203 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$as_shell as_have_required
=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
214 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
216 CONFIG_SHELL
=$SHELL as_have_required
=yes
221 if test "x$CONFIG_SHELL" != x
; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
240 $0: your system, including any error possibly output before
241 $0: this message. Then install a modern shell, or manually
242 $0: run the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status
=$?
; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL
=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
559 PACKAGE_NAME
='package-unused'
560 PACKAGE_TARNAME
='package-unused'
561 PACKAGE_VERSION
='version-unused'
562 PACKAGE_STRING
='package-unused version-unused'
563 PACKAGE_BUGREPORT
='libsanitizer'
566 ac_unique_file
="include/sanitizer/common_interface_defs.h"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars
='am__EXEEXT_FALSE
607 TSAN_TARGET_DEPENDENT_OBJECTS
608 LIBBACKTRACE_SUPPORTED_FALSE
609 LIBBACKTRACE_SUPPORTED_TRUE
612 BACKTRACE_SUPPORTS_THREADS
613 BACKTRACE_USES_MALLOC
618 SANITIZER_SUPPORTED_FALSE
619 SANITIZER_SUPPORTED_TRUE
620 USING_MAC_INTERPOSE_FALSE
621 USING_MAC_INTERPOSE_TRUE
649 am__fastdepCCAS_FALSE
663 MAINTAINER_MODE_FALSE
683 INSTALL_STRIP_PROGRAM
698 LIBSTDCXX_RAW_CXX_LDFLAGS
699 LIBSTDCXX_RAW_CXX_CXXFLAGS
751 program_transform_name
764 enable_option_checking
766 enable_version_specific_runtime_libs
767 enable_dependency_tracking
768 enable_maintainer_mode
776 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information."
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246 If a cross compiler is detected then cross compile mode will be used." >&2
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive
) echo "Configuration of package-unused version-unused:";;
1408 --disable-option-checking ignore unrecognized
--enable/--with options
1409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1411 --enable-multilib build many library versions
(default
)
1412 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1413 --disable-dependency-tracking speeds up one-time build
1414 --enable-dependency-tracking do not reject slow dependency extractors
1415 --enable-maintainer-mode enable make rules and dependencies not useful
1416 (and sometimes confusing
) to the casual installer
1417 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1418 --enable-static[=PKGS
] build static libraries
[default
=yes]
1419 --enable-fast-install[=PKGS
]
1420 optimize
for fast installation
[default
=yes]
1421 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1424 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1425 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1426 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1428 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1430 Some influential environment variables
:
1431 CC C compiler
command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1434 nonstandard directory
<lib dir
>
1435 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1436 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1437 you have headers
in a nonstandard directory
<include dir
>
1439 CXX C
++ compiler
command
1440 CXXFLAGS C
++ compiler flags
1441 CCAS assembler compiler
command (defaults to CC
)
1442 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1443 CXXCPP C
++ preprocessor
1445 Use these variables to override the choices made by
`configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to <libsanitizer>.
1453 if test "$ac_init_help" = "recursive"; then
1454 # If there are subdirs, report their specific --help.
1455 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456 test -d "$ac_dir" ||
1457 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1465 # A ".." for each directory in $ac_dir_suffix.
1466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1467 case $ac_top_builddir_sub in
1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472 ac_abs_top_builddir=$ac_pwd
1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474 # for backward compatibility:
1475 ac_top_builddir=$ac_top_build_prefix
1478 .) # We are building in place.
1480 ac_top_srcdir=$ac_top_builddir_sub
1481 ac_abs_top_srcdir=$ac_pwd ;;
1482 [\\/]* | ?:[\\/]* ) # Absolute name.
1483 ac_srcdir=$srcdir$ac_dir_suffix;
1484 ac_top_srcdir=$srcdir
1485 ac_abs_top_srcdir=$srcdir ;;
1487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488 ac_top_srcdir=$ac_top_build_prefix$srcdir
1489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1493 cd "$ac_dir" || { ac_status=$?; continue; }
1494 # Check for guested configure.
1495 if test -f "$ac_srcdir/configure.gnu"; then
1497 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1498 elif test -f "$ac_srcdir/configure"; then
1500 $SHELL "$ac_srcdir/configure" --help=recursive
1502 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504 cd "$ac_pwd" || { ac_status=$?; break; }
1508 test -n "$ac_init_help" && exit $ac_status
1509 if $ac_init_version; then
1511 package-unused configure version-unused
1512 generated by GNU Autoconf 2.64
1514 Copyright (C) 2009 Free Software Foundation, Inc.
1515 This configure script is free software; the Free Software Foundation
1516 gives unlimited permission to copy, distribute and modify it.
1521 ## ------------------------ ##
1522 ## Autoconf initialization. ##
1523 ## ------------------------ ##
1525 # ac_fn_c_try_compile LINENO
1526 # --------------------------
1527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1528 ac_fn_c_try_compile ()
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 rm -f conftest.$ac_objext
1532 if { { ac_try="$ac_compile"
1534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1535 *) ac_try_echo
=$ac_try;;
1537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_compile") 2>conftest.err
1541 if test -s conftest.err
; then
1542 grep -v '^ *+' conftest.err
>conftest.er1
1543 cat conftest.er1
>&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } && {
1548 test -z "$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1550 } && test -s conftest.
$ac_objext; then :
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.
$ac_ext >&5
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1561 } # ac_fn_c_try_compile
1563 # ac_fn_c_try_cpp LINENO
1564 # ----------------------
1565 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1569 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1578 if test -s conftest.err; then
1579 grep -v '^ *+' conftest.err >conftest.er1
1580 cat conftest.er1 >&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } >/dev/null && {
1585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1601 # -------------------------------------------------------
1602 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1603 # the include files in INCLUDES and setting the cache variable VAR
1605 ac_fn_c_check_header_mongrel ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1612 $as_echo_n "(cached) " >&6
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1618 # Is the header compilable?
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1620 $as_echo_n "checking $2 usability... " >&6; }
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1626 if ac_fn_c_try_compile "$LINENO"; then :
1627 ac_header_compiler=yes
1629 ac_header_compiler=no
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1633 $as_echo "$ac_header_compiler" >&6; }
1635 # Is the header present?
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1637 $as_echo_n "checking $2 presence... " >&6; }
1638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639 /* end confdefs.h. */
1642 if ac_fn_c_try_cpp "$LINENO"; then :
1643 ac_header_preproc=yes
1645 ac_header_preproc=no
1647 rm -f conftest.err conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1649 $as_echo "$ac_header_preproc" >&6; }
1651 # So? What about this header?
1652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1655 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1661 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1663 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1665 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1667 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1671 ## --------------------------- ##
1672 ## Report this to libsanitizer ##
1673 ## --------------------------- ##
1675 ) | sed "s/^/$as_me: WARNING: /" >&2
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1681 $as_echo_n "(cached) " >&6
1683 eval "$3=\$ac_header_compiler"
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691 } # ac_fn_c_check_header_mongrel
1693 # ac_fn_c_try_run LINENO
1694 # ----------------------
1695 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1696 # that executables *can* be run.
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 if { { ac_try="$ac_link"
1702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1703 *) ac_try_echo
=$ac_try;;
1705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>&5
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1711 { { case "(($ac_try" in
1712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_try") 2>&5
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; }; }; then :
1723 $as_echo "$as_me: program exited with status $ac_status" >&5
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1727 ac_retval=$ac_status
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_cxx_try_compile LINENO
1767 # ----------------------------
1768 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1769 ac_fn_cxx_try_compile ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 rm -f conftest.$ac_objext
1773 if { { ac_try="$ac_compile"
1775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1776 *) ac_try_echo
=$ac_try;;
1778 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_compile") 2>conftest.err
1782 if test -s conftest.err
; then
1783 grep -v '^ *+' conftest.err
>conftest.er1
1784 cat conftest.er1
>&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && {
1789 test -z "$ac_cxx_werror_flag" ||
1790 test ! -s conftest.err
1791 } && test -s conftest.
$ac_objext; then :
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.
$ac_ext >&5
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1802 } # ac_fn_cxx_try_compile
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1810 rm -f conftest.
$ac_objext conftest
$ac_exeext
1811 if { { ac_try
="$ac_link"
1813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_func LINENO FUNC VAR
1851 # ----------------------------------
1852 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1853 ac_fn_c_check_func ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1863 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1865 #define $2 innocuous_$2
1867 /* System header to define __stub macros and hopefully few prototypes,
1868 which can conflict with char $2 (); below.
1869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1870 <limits.h> exists even on freestanding compilers. */
1873 # include <limits.h>
1875 # include <assert.h>
1880 /* Override any GCC internal prototype to avoid an error.
1881 Use char because int might match the return type of a GCC
1882 builtin and then its argument prototype would still apply. */
1887 /* The GNU C library defines this for functions which it implements
1888 to always fail with ENOSYS. Some functions are actually named
1889 something starting with __ and the normal name is an alias. */
1890 #if defined __stub_$2 || defined __stub___$2
1902 if ac_fn_c_try_link "$LINENO"; then :
1907 rm -f core conftest.err conftest.$ac_objext \
1908 conftest$ac_exeext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1915 } # ac_fn_c_check_func
1917 # ac_fn_cxx_try_cpp LINENO
1918 # ------------------------
1919 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_cpp ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 if { { ac_try="$ac_cpp conftest.$ac_ext"
1925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } >/dev
/null
&& {
1939 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1952 } # ac_fn_cxx_try_cpp
1954 # ac_fn_cxx_try_link LINENO
1955 # -------------------------
1956 # Try to link conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_link
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 rm -f conftest.
$ac_objext conftest
$ac_exeext
1961 if { { ac_try
="$ac_link"
1963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1964 *) ac_try_echo=$ac_try;;
1966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_link") 2>conftest.err
1970 if test -s conftest.err; then
1971 grep -v '^ *+' conftest.err >conftest.er1
1972 cat conftest.er1 >&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } && {
1977 test -z "$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1979 } && test -s conftest$ac_exeext && {
1980 test "$cross_compiling" = yes ||
1981 $as_test_x conftest$ac_exeext
1985 $as_echo "$as_me: failed program was:" >&5
1986 sed 's/^/| /' conftest.$ac_ext >&5
1990 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1991 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1992 # interfere with the next link command; also delete a directory that is
1993 # left behind by Apple's compiler. We do this before executing the actions.
1994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_cxx_try_link
2000 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2001 # --------------------------------------------
2002 # Tries to find the compile-time value of EXPR in a program that includes
2003 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2005 ac_fn_c_compute_int ()
2007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008 if test "$cross_compiling" = yes; then
2009 # Depending upon the size, compute the lo and hi bounds.
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2016 static int test_array [1 - 2 * !(($2) >= 0)];
2023 if ac_fn_c_try_compile "$LINENO"; then :
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040 ac_hi=$ac_mid; break
2042 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2043 if test $ac_lo -le $ac_mid; then
2047 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 static int test_array [1 - 2 * !(($2) < 0)];
2065 if ac_fn_c_try_compile "$LINENO"; then :
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2081 if ac_fn_c_try_compile "$LINENO"; then :
2082 ac_lo=$ac_mid; break
2084 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2085 if test $ac_mid -le $ac_hi; then
2089 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099 # Binary search between lo and hi bounds.
2100 while test "x$ac_lo" != "x$ac_hi"; do
2101 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2108 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2115 if ac_fn_c_try_compile "$LINENO"; then :
2118 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2130 static long int longval () { return $2; }
2131 static unsigned long int ulongval () { return $2; }
2138 FILE *f = fopen ("conftest.val", "w");
2143 long int i = longval ();
2146 fprintf (f, "%ld", i);
2150 unsigned long int i = ulongval ();
2153 fprintf (f, "%lu", i);
2155 /* Do not output a trailing newline, as this causes \r\n confusion
2156 on some platforms. */
2157 return ferror (f) || fclose (f) != 0;
2163 if ac_fn_c_try_run "$LINENO"; then :
2164 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2169 conftest.$ac_objext conftest.beam conftest.$ac_ext
2173 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2176 } # ac_fn_c_compute_int
2178 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2179 # -------------------------------------------
2180 # Tests whether TYPE exists after having included INCLUDES, setting cache
2181 # variable VAR accordingly.
2182 ac_fn_c_check_type ()
2184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2186 $as_echo_n "checking for $2... " >&6; }
2187 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2188 $as_echo_n "(cached) " >&6
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2203 if ac_fn_c_try_compile "$LINENO"; then :
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2216 if ac_fn_c_try_compile "$LINENO"; then :
2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_c_check_type
2232 # ac_fn_c_check_decl LINENO SYMBOL VAR
2233 # ------------------------------------
2234 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2235 ac_fn_c_check_decl ()
2237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2239 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2241 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2242 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2243 $as_echo_n "(cached) " >&6
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2251 #ifndef $as_decl_name
2253 (void) $as_decl_use;
2255 (void) $as_decl_name;
2263 if ac_fn_c_try_compile "$LINENO"; then :
2268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272 $as_echo "$ac_res" >&6; }
2273 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2275 } # ac_fn_c_check_decl
2276 cat >config.log <<_ACEOF
2277 This file contains any messages produced by compilers while
2278 running configure, to aid debugging if configure makes a mistake.
2280 It was created by package-unused $as_me version-unused, which was
2281 generated by GNU Autoconf 2.64. Invocation command line was
2293 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2294 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2295 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2296 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2297 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2299 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2300 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2302 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2303 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2304 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2305 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2306 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2307 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2308 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 $as_echo "PATH: $as_dir"
2333 # Keep a trace of the command line.
2334 # Strip out --no-create and --no-recursion so they do not pile up.
2335 # Strip out --silent because we don't want to record it for future runs.
2336 # Also quote any args containing shell meta-characters.
2337 # Make two passes to allow for proper duplicate-argument suppression.
2341 ac_must_keep_next=false
2347 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2349 | -silent | --silent | --silen | --sile | --sil)
2352 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2355 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2357 as_fn_append ac_configure_args1 " '$ac_arg'"
2358 if test $ac_must_keep_next = true; then
2359 ac_must_keep_next=false # Got value, back to normal.
2362 *=* | --config-cache | -C | -disable-* | --disable-* \
2363 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2364 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2365 | -with-* | --with-* | -without-* | --without-* | --x)
2366 case "$ac_configure_args0 " in
2367 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2370 -* ) ac_must_keep_next=true ;;
2373 as_fn_append ac_configure_args " '$ac_arg'"
2378 { ac_configure_args0=; unset ac_configure_args0;}
2379 { ac_configure_args1=; unset ac_configure_args1;}
2381 # When interrupted or exit'd, cleanup temporary files, and complete
2382 # config.log. We remove comments because anyway the quotes in there
2383 # would cause problems or look ugly.
2384 # WARNING: Use '\'' to represent an apostrophe within the trap.
2385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2386 trap 'exit_status=$?
2387 # Save into config.log some information that might help in debugging.
2392 ## ---------------- ##
2393 ## Cache variables. ##
2394 ## ---------------- ##
2397 # The following way of writing the cache mishandles newlines in values,
2399 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2400 eval ac_val=\$$ac_var
2404 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2408 _ | IFS | as_nl) ;; #(
2409 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2410 *) { eval $ac_var=; unset $ac_var;} ;;
2415 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2416 *${as_nl}ac_space=\ *)
2418 "s/'\''/'\''\\\\'\'''\''/g;
2419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2422 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2430 ## ----------------- ##
2431 ## Output variables. ##
2432 ## ----------------- ##
2435 for ac_var in $ac_subst_vars
2437 eval ac_val=\$$ac_var
2439 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2441 $as_echo "$ac_var='\''$ac_val'\''"
2445 if test -n "$ac_subst_files"; then
2447 ## ------------------- ##
2448 ## File substitutions. ##
2449 ## ------------------- ##
2452 for ac_var in $ac_subst_files
2454 eval ac_val=\$$ac_var
2456 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2458 $as_echo "$ac_var='\''$ac_val'\''"
2463 if test -s confdefs.h; then
2473 test "$ac_signal" != 0 &&
2474 $as_echo "$as_me: caught signal $ac_signal"
2475 $as_echo "$as_me: exit $exit_status"
2477 rm -f core *.core core.conftest.* &&
2478 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2481 for ac_signal in 1 2 13 15; do
2482 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2487 rm -f -r conftest* confdefs.h
2489 $as_echo "/* confdefs.h */" > confdefs.h
2491 # Predefined preprocessor variables.
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_NAME "$PACKAGE_NAME"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_STRING "$PACKAGE_STRING"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2513 cat >>confdefs.h <<_ACEOF
2514 #define PACKAGE_URL "$PACKAGE_URL"
2518 # Let the site file select an alternate cache file if it wants to.
2519 # Prefer an explicitly selected file to automatically selected ones.
2522 if test -n "$CONFIG_SITE"; then
2523 ac_site_file1=$CONFIG_SITE
2524 elif test "x$prefix" != xNONE; then
2525 ac_site_file1=$prefix/share/config.site
2526 ac_site_file2=$prefix/etc/config.site
2528 ac_site_file1=$ac_default_prefix/share/config.site
2529 ac_site_file2=$ac_default_prefix/etc/config.site
2531 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2533 test "x$ac_site_file" = xNONE && continue
2534 if test -r "$ac_site_file"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2536 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2537 sed 's/^/| /' "$ac_site_file" >&5
2542 if test -r "$cache_file"; then
2543 # Some versions of bash will fail to source /dev/null (special
2544 # files actually), so we avoid doing that.
2545 if test -f "$cache_file"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2547 $as_echo "$as_me: loading cache $cache_file" >&6;}
2549 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2550 *) . "./$cache_file";;
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2555 $as_echo "$as_me: creating cache $cache_file" >&6;}
2559 # Check that the precious variables saved in the cache have kept the same
2561 ac_cache_corrupted=false
2562 for ac_var in $ac_precious_vars; do
2563 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2564 eval ac_new_set=\$ac_env_${ac_var}_set
2565 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2566 eval ac_new_val=\$ac_env_${ac_var}_value
2567 case $ac_old_set,$ac_new_set in
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2570 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2571 ac_cache_corrupted=: ;;
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2574 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2575 ac_cache_corrupted=: ;;
2578 if test "x$ac_old_val" != "x$ac_new_val"; then
2579 # differences in whitespace do not lead to failure.
2580 ac_old_val_w=`echo x
$ac_old_val`
2581 ac_new_val_w=`echo x
$ac_new_val`
2582 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2584 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2585 ac_cache_corrupted=:
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2588 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2589 eval $ac_var=\$ac_old_val
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2592 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2594 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2597 # Pass precious variables to config.status.
2598 if test "$ac_new_set" = set; then
2600 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2601 *) ac_arg=$ac_var=$ac_new_val ;;
2603 case " $ac_configure_args " in
2604 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2605 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2609 if $ac_cache_corrupted; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2613 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2614 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2616 ## -------------------- ##
2617 ## Main body of script. ##
2618 ## -------------------- ##
2621 ac_cpp='$CPP $CPPFLAGS'
2622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632 # Default to --enable-multilib
2633 # Check whether --enable-multilib was given.
2634 if test "${enable_multilib+set}" = set; then :
2635 enableval=$enable_multilib; case "$enableval" in
2636 yes) multilib=yes ;;
2638 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2645 # We may get other options which we leave undocumented:
2646 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2647 # See config-ml.in if you want the gory details.
2649 if test "$srcdir" = "."; then
2650 if test "$with_target_subdir" != "."; then
2651 multi_basedir="$srcdir/$with_multisrctop../.."
2653 multi_basedir="$srcdir/$with_multisrctop.."
2656 multi_basedir="$srcdir/.."
2660 # Even if the default multilib is not a cross compilation,
2661 # it may be that some of the other multilibs are.
2662 if test $cross_compiling = no && test $multilib = yes \
2663 && test "x${with_multisubdir}" != x ; then
2664 cross_compiling=maybe
2667 ac_config_commands="$ac_config_commands default-1"
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2671 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2672 # Check whether --enable-version-specific-runtime-libs was given.
2673 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2674 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2675 yes) version_specific_libs=yes ;;
2676 no) version_specific_libs=no ;;
2677 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2680 version_specific_libs=no
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2684 $as_echo "$version_specific_libs" >&6; }
2687 ac_cpp='$CPP $CPPFLAGS'
2688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2693 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if test "${ac_cv_prog_CC+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$CC"; then
2700 ac_cv_prog_CC="$CC" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$CC"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722 $as_echo "$CC" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2730 if test -z "$ac_cv_prog_CC"; then
2732 # Extract the first word of "gcc", so it can be a program name with args.
2733 set dummy gcc; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$ac_ct_CC"; then
2740 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_ac_ct_CC="gcc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2760 if test -n "$ac_ct_CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2762 $as_echo "$ac_ct_CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2768 if test "x$ac_ct_CC" = x; then
2771 case $cross_compiling:$ac_tool_warned in
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775 ac_tool_warned=yes ;;
2783 if test -z "$CC"; then
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2786 set dummy ${ac_tool_prefix}cc; ac_word=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if test "${ac_cv_prog_CC+set}" = set; then :
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC="$CC" # Let the user override the test.
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 ac_cv_prog_CC="${ac_tool_prefix}cc"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2824 if test -z "$CC"; then
2825 # Extract the first word of "cc", so it can be a program name with args.
2826 set dummy cc; ac_word=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if test "${ac_cv_prog_CC+set}" = set; then :
2830 $as_echo_n "(cached) " >&6
2832 if test -n "$CC"; then
2833 ac_cv_prog_CC="$CC" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2844 ac_prog_rejected=yes
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 if test $ac_prog_rejected = yes; then
2856 # We found a bogon in the path, so make sure we never use it.
2857 set dummy $ac_cv_prog_CC
2859 if test $# != 0; then
2860 # We chose a different compiler from the bogus one.
2861 # However, it has the same basename, so the bogon will be chosen
2862 # first if we set CC to just the basename; use the full file name.
2864 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2870 if test -n "$CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2880 if test -z "$CC"; then
2881 if test -n "$ac_tool_prefix"; then
2882 for ac_prog in cl.exe
2884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_CC+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC="$CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2921 test -n "$CC" && break
2924 if test -z "$CC"; then
2926 for ac_prog in cl.exe
2928 # Extract the first word of "$ac_prog", so it can be a program name with args.
2929 set dummy $ac_prog; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_CC"; then
2936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_ac_ct_CC="$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2956 if test -n "$ac_ct_CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2958 $as_echo "$ac_ct_CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$ac_ct_CC" && break
2968 if test "x$ac_ct_CC" = x; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned=yes ;;
2984 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 as_fn_error "no acceptable C compiler found
in \
$PATH
2987 See \
`config.log' for more details." "$LINENO" 5; }
2989 # Provide some information about the compiler.
2990 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2993 for ac_option in --version -v -V -qversion; do
2994 { { ac_try="$ac_compiler $ac_option >&5"
2996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2997 *) ac_try_echo
=$ac_try;;
2999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3003 if test -s conftest.err
; then
3005 ... rest of stderr output deleted ...
3006 10q' conftest.err
>conftest.er1
3007 cat conftest.er1
>&5
3008 rm -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }
3014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3025 ac_clean_files_save
=$ac_clean_files
3026 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3027 # Try to create an executable without -o first, disregard a.out.
3028 # It will help us diagnose broken compilers, and finding out an intuition
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3031 $as_echo_n "checking for C compiler default output file name... " >&6; }
3032 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3034 # The possible output files:
3035 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3038 for ac_file
in $ac_files
3041 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3042 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3047 if { { ac_try
="$ac_link_default"
3049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link_default") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3059 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3061 # so that the user can short-circuit this test for compilers unknown to
3063 for ac_file in $ac_files ''
3065 test -f "$ac_file" || continue
3067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3070 # We found the default executable, but exeext='' is most
3074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3076 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3078 # We set ac_cv_exeext here because the later test for it is not
3079 # safe: cross compilers may not add the suffix if given an `-o'
3080 # argument, so we may need to know it at that point already.
3081 # Even if this section looks crufty: it has the advantage of
3088 test "$ac_cv_exeext" = no && ac_cv_exeext=
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3094 $as_echo "$ac_file" >&6; }
3095 if test -z "$ac_file"; then :
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's
/^
/|
/' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3101 { as_fn_set_status 77
3102 as_fn_error "C compiler cannot create executables
3103 See \`config.log
' for more details." "$LINENO" 5; }; }
3105 ac_exeext=$ac_cv_exeext
3107 # Check that the compiler produces executables we can run. If not, either
3108 # the compiler is broken, or we cross compile.
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3110 $as_echo_n "checking whether the C compiler works... " >&6; }
3111 # If not cross compiling, check that we can run a simple program.
3112 if test "$cross_compiling" != yes; then
3113 if { ac_try='.
/$ac_file'
3114 { { case "(($ac_try" in
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_try") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; }; then
3126 if test "$cross_compiling" = maybe; then
3129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3131 as_fn_error "cannot run C compiled programs.
3132 If you meant to cross compile, use \`--host'.
3133 See \`config.log' for more details.
" "$LINENO" 5; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3138 $as_echo "yes" >&6; }
3140 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3141 ac_clean_files=$ac_clean_files_save
3142 # Check that the compiler produces executables we can run. If not, either
3143 # the compiler is broken, or we cross compile.
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3145 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3147 $as_echo "$cross_compiling" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3150 $as_echo_n "checking
for suffix of executables...
" >&6; }
3151 if { { ac_try="$ac_link"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_link") 2>&5
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3161 test $ac_status = 0; }; then :
3162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3164 # work properly (i.e., refer to `conftest.exe'), while it won't with
3166 for ac_file in conftest.exe conftest conftest.*; do
3167 test -f "$ac_file" || continue
3169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3170 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error "cannot compute suffix of executables: cannot compile and link
3179 See \`config.log' for more details.
" "$LINENO" 5; }
3181 rm -f conftest$ac_cv_exeext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3183 $as_echo "$ac_cv_exeext" >&6; }
3185 rm -f conftest.$ac_ext
3186 EXEEXT=$ac_cv_exeext
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3189 $as_echo_n "checking
for suffix of object files...
" >&6; }
3190 if test "${ac_cv_objext+set}" = set; then :
3191 $as_echo_n "(cached
) " >&6
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3204 rm -f conftest.o conftest.obj
3205 if { { ac_try="$ac_compile"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compile") 2>&5
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3215 test $ac_status = 0; }; then :
3216 for ac_file in conftest.o conftest.obj conftest.*; do
3217 test -f "$ac_file" || continue;
3219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3220 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3225 $as_echo "$as_me: failed program was
:" >&5
3226 sed 's/^/| /' conftest.$ac_ext >&5
3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error "cannot compute suffix of object files: cannot compile
3231 See \`config.log' for more details.
" "$LINENO" 5; }
3233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3236 $as_echo "$ac_cv_objext" >&6; }
3237 OBJEXT=$ac_cv_objext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3240 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3241 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3242 $as_echo_n "(cached
) " >&6
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3268 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3269 if test $ac_compiler_gnu = yes; then
3274 ac_test_CFLAGS=${CFLAGS+set}
3275 ac_save_CFLAGS=$CFLAGS
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3277 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3278 if test "${ac_cv_prog_cc_g+set}" = set; then :
3279 $as_echo_n "(cached
) " >&6
3281 ac_save_c_werror_flag=$ac_c_werror_flag
3282 ac_c_werror_flag=yes
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3296 if ac_fn_c_try_compile "$LINENO"; then :
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 if ac_fn_c_try_compile "$LINENO"; then :
3314 ac_c_werror_flag=$ac_save_c_werror_flag
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3327 if ac_fn_c_try_compile "$LINENO"; then :
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 ac_c_werror_flag=$ac_save_c_werror_flag
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3338 $as_echo "$ac_cv_prog_cc_g" >&6; }
3339 if test "$ac_test_CFLAGS" = set; then
3340 CFLAGS=$ac_save_CFLAGS
3341 elif test $ac_cv_prog_cc_g = yes; then
3342 if test "$GCC" = yes; then
3348 if test "$GCC" = yes; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3355 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3356 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3357 $as_echo_n "(cached
) " >&6
3359 ac_cv_prog_cc_c89=no
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 #include <sys/types.h>
3366 #include <sys/stat.h>
3367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3368 struct buf { int x; };
3369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3370 static char *e (p, i)
3376 static char *f (char * (*g) (char **, int), char **p, ...)
3381 s = g (p, va_arg (v,int));
3386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3387 function prototypes and stuff, but not '\xHH' hex character constants.
3388 These don't provoke an error unfortunately, instead are silently treated
3389 as 'x'. The following induces an error, until -std is added to get
3390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3391 array size at least. It's necessary to write '\x00'==0 to get something
3392 that's true only with -std. */
3393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3396 inside strings and character constants. */
3398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3400 int test (int i, double x);
3401 struct s1 {int (*f) (int a);};
3402 struct s2 {int (*f) (double a);};
3403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3417 CC="$ac_save_CC $ac_arg"
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 ac_cv_prog_cc_c89=$ac_arg
3421 rm -f core conftest.err conftest.$ac_objext
3422 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3424 rm -f conftest.$ac_ext
3429 case "x
$ac_cv_prog_cc_c89" in
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3432 $as_echo "none needed
" >&6; } ;;
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3435 $as_echo "unsupported
" >&6; } ;;
3437 CC="$CC $ac_cv_prog_cc_c89"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3441 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3446 ac_cpp='$CPP $CPPFLAGS'
3447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3458 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then :
3465 $as_echo_n "(cached
) " >&6
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser,
3478 # not just through cpp. "Syntax error
" is here to catch this case.
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3482 # include <limits.h>
3484 # include <assert.h>
3488 if ac_fn_c_try_cpp "$LINENO"; then :
3491 # Broken: fails on valid input.
3494 rm -f conftest.err conftest.$ac_ext
3496 # OK, works on sane cases. Now check whether nonexistent headers
3497 # can be detected and how.
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3500 #include <ac_nonexistent.h>
3502 if ac_fn_c_try_cpp "$LINENO"; then :
3503 # Broken: success on invalid input.
3506 # Passes both tests.
3510 rm -f conftest.err conftest.$ac_ext
3513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3514 rm -f conftest.err conftest.$ac_ext
3515 if $ac_preproc_ok; then :
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3528 $as_echo "$CPP" >&6; }
3530 for ac_c_preproc_warn_flag in '' yes
3532 # Use a header file that comes with gcc, so configuring glibc
3533 # with a fresh cross-compiler works.
3534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3535 # <limits.h> exists even on freestanding compilers.
3536 # On the NeXT, cc -E runs the code through the compiler's parser,
3537 # not just through cpp. "Syntax error
" is here to catch this case.
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3541 # include <limits.h>
3543 # include <assert.h>
3547 if ac_fn_c_try_cpp "$LINENO"; then :
3550 # Broken: fails on valid input.
3553 rm -f conftest.err conftest.$ac_ext
3555 # OK, works on sane cases. Now check whether nonexistent headers
3556 # can be detected and how.
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3559 #include <ac_nonexistent.h>
3561 if ac_fn_c_try_cpp "$LINENO"; then :
3562 # Broken: success on invalid input.
3565 # Passes both tests.
3569 rm -f conftest.err conftest.$ac_ext
3572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3573 rm -f conftest.err conftest.$ac_ext
3574 if $ac_preproc_ok; then :
3577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3580 See \`config.log' for more details.
" "$LINENO" 5; }
3584 ac_cpp='$CPP $CPPFLAGS'
3585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3591 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3592 if test "${ac_cv_path_GREP+set}" = set; then :
3593 $as_echo_n "(cached
) " >&6
3595 if test -z "$GREP"; then
3596 ac_path_GREP_found=false
3597 # Loop through the user's path and test for each of PROGNAME-LIST
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3602 test -z "$as_dir" && as_dir=.
3603 for ac_prog in grep ggrep; do
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3606 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3607 # Check for GNU ac_path_GREP and select it if it is found.
3608 # Check for GNU $ac_path_GREP
3609 case `"$ac_path_GREP" --version 2>&1` in
3611 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3614 $as_echo_n 0123456789 >"conftest.
in"
3617 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3618 mv "conftest.tmp
" "conftest.
in"
3619 cp "conftest.
in" "conftest.
nl"
3620 $as_echo 'GREP' >> "conftest.
nl"
3621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3622 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3623 as_fn_arith $ac_count + 1 && ac_count=$as_val
3624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3625 # Best one so far, save it but keep looking for a better one
3626 ac_cv_path_GREP="$ac_path_GREP"
3627 ac_path_GREP_max=$ac_count
3629 # 10*(2^10) chars as input seems more than enough
3630 test $ac_count -gt 10 && break
3632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3635 $ac_path_GREP_found && break 3
3640 if test -z "$ac_cv_path_GREP"; then
3641 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3644 ac_cv_path_GREP=$GREP
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3649 $as_echo "$ac_cv_path_GREP" >&6; }
3650 GREP="$ac_cv_path_GREP"
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3654 $as_echo_n "checking
for egrep...
" >&6; }
3655 if test "${ac_cv_path_EGREP+set}" = set; then :
3656 $as_echo_n "(cached
) " >&6
3658 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3659 then ac_cv_path_EGREP="$GREP -E"
3661 if test -z "$EGREP"; then
3662 ac_path_EGREP_found=false
3663 # Loop through the user's path and test for each of PROGNAME-LIST
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3668 test -z "$as_dir" && as_dir=.
3669 for ac_prog in egrep; do
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3672 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3673 # Check for GNU ac_path_EGREP and select it if it is found.
3674 # Check for GNU $ac_path_EGREP
3675 case `"$ac_path_EGREP" --version 2>&1` in
3677 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3680 $as_echo_n 0123456789 >"conftest.
in"
3683 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3684 mv "conftest.tmp
" "conftest.
in"
3685 cp "conftest.
in" "conftest.
nl"
3686 $as_echo 'EGREP' >> "conftest.
nl"
3687 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3688 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3689 as_fn_arith $ac_count + 1 && ac_count=$as_val
3690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3691 # Best one so far, save it but keep looking for a better one
3692 ac_cv_path_EGREP="$ac_path_EGREP"
3693 ac_path_EGREP_max=$ac_count
3695 # 10*(2^10) chars as input seems more than enough
3696 test $ac_count -gt 10 && break
3698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3701 $ac_path_EGREP_found && break 3
3706 if test -z "$ac_cv_path_EGREP"; then
3707 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3710 ac_cv_path_EGREP=$EGREP
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3716 $as_echo "$ac_cv_path_EGREP" >&6; }
3717 EGREP="$ac_cv_path_EGREP"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3721 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3722 if test "${ac_cv_header_stdc+set}" = set; then :
3723 $as_echo_n "(cached
) " >&6
3725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741 ac_cv_header_stdc=yes
3743 ac_cv_header_stdc=no
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 if test $ac_cv_header_stdc = yes; then
3748 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3754 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3755 $EGREP "memchr
" >/dev/null 2>&1; then :
3758 ac_cv_header_stdc=no
3764 if test $ac_cv_header_stdc = yes; then
3765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3771 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3772 $EGREP "free
" >/dev/null 2>&1; then :
3775 ac_cv_header_stdc=no
3781 if test $ac_cv_header_stdc = yes; then
3782 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3783 if test "$cross_compiling" = yes; then :
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3790 #if ((' ' & 0x0FF) == 0x020)
3791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3794 # define ISLOWER(c) \
3795 (('a' <= (c) && (c) <= 'i') \
3796 || ('j' <= (c) && (c) <= 'r') \
3797 || ('s' <= (c) && (c) <= 'z'))
3798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3806 for (i = 0; i < 256; i++)
3807 if (XOR (islower (i), ISLOWER (i))
3808 || toupper (i) != TOUPPER (i))
3813 if ac_fn_c_try_run "$LINENO"; then :
3816 ac_cv_header_stdc=no
3818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3819 conftest.$ac_objext conftest.beam conftest.$ac_ext
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3825 $as_echo "$ac_cv_header_stdc" >&6; }
3826 if test $ac_cv_header_stdc = yes; then
3828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3833 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3834 inttypes.h stdint.h unistd.h
3836 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3837 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3839 eval as_val
=\$
$as_ac_Header
3840 if test "x$as_val" = x
""yes; then :
3841 cat >>confdefs.h
<<_ACEOF
3842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3851 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3852 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3859 if test "$MINIX" = yes; then
3861 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3864 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3867 $as_echo "#define _MINIX 1" >>confdefs.h
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3873 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3874 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3880 # define __EXTENSIONS__ 1
3881 $ac_includes_default
3890 if ac_fn_c_try_compile
"$LINENO"; then :
3891 ac_cv_safe_to_define___extensions__
=yes
3893 ac_cv_safe_to_define___extensions__
=no
3895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3898 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3899 test $ac_cv_safe_to_define___extensions__ = yes &&
3900 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3902 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3904 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3906 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3908 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3912 # Do not delete or change the following two lines. For why, see
3913 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3915 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3916 for ac_t
in install-sh
install.sh shtool
; do
3917 if test -f "$ac_dir/$ac_t"; then
3919 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3924 if test -z "$ac_aux_dir"; then
3925 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3928 # These three variables are undocumented and unsupported,
3929 # and are intended to be withdrawn in a future Autoconf release.
3930 # They can cause serious problems if a builder's source tree is in a directory
3931 # whose full name contains unusual characters.
3932 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3933 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3934 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3937 # Make sure we can run config.sub.
3938 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3939 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3942 $as_echo_n "checking build system type... " >&6; }
3943 if test "${ac_cv_build+set}" = set; then :
3944 $as_echo_n "(cached) " >&6
3946 ac_build_alias
=$build_alias
3947 test "x$ac_build_alias" = x
&&
3948 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3949 test "x$ac_build_alias" = x
&&
3950 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3951 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3952 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3956 $as_echo "$ac_cv_build" >&6; }
3957 case $ac_cv_build in
3959 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3962 ac_save_IFS
=$IFS; IFS
='-'
3968 # Remember, the first character of IFS is used to create $*,
3969 # except with old shells:
3972 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3976 $as_echo_n "checking host system type... " >&6; }
3977 if test "${ac_cv_host+set}" = set; then :
3978 $as_echo_n "(cached) " >&6
3980 if test "x$host_alias" = x
; then
3981 ac_cv_host
=$ac_cv_build
3983 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3984 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3989 $as_echo "$ac_cv_host" >&6; }
3992 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3995 ac_save_IFS
=$IFS; IFS
='-'
4001 # Remember, the first character of IFS is used to create $*,
4002 # except with old shells:
4005 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4009 $as_echo_n "checking target system type... " >&6; }
4010 if test "${ac_cv_target+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if test "x$target_alias" = x
; then
4014 ac_cv_target
=$ac_cv_host
4016 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4017 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4022 $as_echo "$ac_cv_target" >&6; }
4023 case $ac_cv_target in
4025 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4027 target
=$ac_cv_target
4028 ac_save_IFS
=$IFS; IFS
='-'
4034 # Remember, the first character of IFS is used to create $*,
4035 # except with old shells:
4038 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4041 # The aliases save the names the user supplied, while $host etc.
4042 # will get canonicalized.
4043 test -n "$target_alias" &&
4044 test "$program_prefix$program_suffix$program_transform_name" = \
4046 program_prefix
=${target_alias}-
4048 target_alias
=${target_alias-$host_alias}
4050 case ${build_alias} in
4051 "") build_noncanonical
=${build} ;;
4052 *) build_noncanonical
=${build_alias} ;;
4055 case ${host_alias} in
4056 "") host_noncanonical
=${build_noncanonical} ;;
4057 *) host_noncanonical
=${host_alias} ;;
4060 case ${target_alias} in
4061 "") target_noncanonical
=${host_noncanonical} ;;
4062 *) target_noncanonical
=${target_alias} ;;
4069 LIBSTDCXX_RAW_CXX_CXXFLAGS
="\
4070 -I\$(top_builddir)/../libstdc++-v3/include \
4071 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
4072 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
4073 LIBSTDCXX_RAW_CXX_LDFLAGS
="\
4074 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
4079 am__api_version
='1.11'
4081 # Find a good install program. We prefer a C program (faster),
4082 # so one script is as good as another. But avoid the broken or
4083 # incompatible versions:
4084 # SysV /etc/install, /usr/sbin/install
4085 # SunOS /usr/etc/install
4086 # IRIX /sbin/install
4088 # AmigaOS /C/install, which installs bootblocks on floppy discs
4089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4092 # OS/2's system install, which has a completely different semantic
4093 # ./install, which can be erroneously created by make from ./install.sh.
4094 # Reject install programs that cannot install multiple files.
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4096 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4097 if test -z "$INSTALL"; then
4098 if test "${ac_cv_path_install+set}" = set; then :
4099 $as_echo_n "(cached) " >&6
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 # Account for people who put trailing slashes in PATH elements.
4107 case $as_dir/ in #((
4108 .
/ | .
// |
/[cC
]/* | \
4109 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4110 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4113 # OSF1 and SCO ODT 3.0 have their own names for install.
4114 # Don't use installbsd from OSF since it installs stuff as root
4116 for ac_prog
in ginstall scoinst
install; do
4117 for ac_exec_ext
in '' $ac_executable_extensions; do
4118 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4119 if test $ac_prog = install &&
4120 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4121 # AIX install. It has an incompatible calling convention.
4123 elif test $ac_prog = install &&
4124 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4125 # program-specific install script used by HP pwplus--don't use.
4128 rm -rf conftest.one conftest.two conftest.dir
4129 echo one
> conftest.one
4130 echo two
> conftest.two
4132 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4133 test -s conftest.one
&& test -s conftest.two
&&
4134 test -s conftest.dir
/conftest.one
&&
4135 test -s conftest.dir
/conftest.two
4137 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4150 rm -rf conftest.one conftest.two conftest.dir
4153 if test "${ac_cv_path_install+set}" = set; then
4154 INSTALL
=$ac_cv_path_install
4156 # As a last resort, use the slow shell script. Don't cache a
4157 # value for INSTALL within a source directory, because that will
4158 # break other packages using the cache if that directory is
4159 # removed, or if the value is a relative name.
4160 INSTALL
=$ac_install_sh
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4164 $as_echo "$INSTALL" >&6; }
4166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4167 # It thinks the first close brace ends the variable substitution.
4168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4172 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4175 $as_echo_n "checking whether build environment is sane... " >&6; }
4178 echo timestamp
> conftest.
file
4179 # Reject unsafe characters in $srcdir or the absolute working directory
4180 # name. Accept space and tab only in the latter.
4184 *[\\\"\
#\$\&\'\`$am_lf]*)
4185 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4188 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4189 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4192 # Do `set' in a subshell so we don't clobber the current shell's
4193 # arguments. Must try -L first in case configure is actually a
4194 # symlink; some systems play weird games with the mod time of symlinks
4195 # (eg FreeBSD returns the mod time of the symlink's containing
4198 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4199 if test "$*" = "X"; then
4201 set X
`ls -t "$srcdir/configure" conftest.file`
4204 if test "$*" != "X $srcdir/configure conftest.file" \
4205 && test "$*" != "X conftest.file $srcdir/configure"; then
4207 # If neither matched, then we have a broken ls. This can happen
4208 # if, for instance, CONFIG_SHELL is bash and it inherits a
4209 # broken ls alias from the environment. This has actually
4210 # happened. Such a system could not be considered "sane".
4211 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4212 alias in your environment" "$LINENO" 5
4215 test "$2" = conftest.
file
4221 as_fn_error
"newly created file is older than distributed files!
4222 Check your system clock" "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4226 test "$program_prefix" != NONE
&&
4227 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4228 # Use a double $ so make ignores it.
4229 test "$program_suffix" != NONE
&&
4230 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4231 # Double any \ or $.
4232 # By default was `s,x,x', remove it if useless.
4233 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4234 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4236 # expand $ac_aux_dir to an absolute path
4237 am_aux_dir
=`cd $ac_aux_dir && pwd`
4239 if test x
"${MISSING+set}" != xset
; then
4242 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4244 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4247 # Use eval to expand $SHELL
4248 if eval "$MISSING --run true"; then
4249 am_missing_run
="$MISSING --run "
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4253 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4256 if test x
"${install_sh}" != xset
; then
4259 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4261 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4265 # Installed binaries are usually stripped using `strip' when the user
4266 # run `make install-strip'. However `strip' might not be the right
4267 # tool to use in cross-compilation environments, therefore Automake
4268 # will honor the `STRIP' environment variable to overrule this program.
4269 if test "$cross_compiling" != no
; then
4270 if test -n "$ac_tool_prefix"; then
4271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4272 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if test "${ac_cv_prog_STRIP+set}" = set; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$STRIP"; then
4279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 STRIP
=$ac_cv_prog_STRIP
4299 if test -n "$STRIP"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4301 $as_echo "$STRIP" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4309 if test -z "$ac_cv_prog_STRIP"; then
4311 # Extract the first word of "strip", so it can be a program name with args.
4312 set dummy strip
; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$ac_ct_STRIP"; then
4319 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_prog_ac_ct_STRIP
="strip"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4339 if test -n "$ac_ct_STRIP"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4341 $as_echo "$ac_ct_STRIP" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4347 if test "x$ac_ct_STRIP" = x
; then
4350 case $cross_compiling:$ac_tool_warned in
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354 ac_tool_warned
=yes ;;
4359 STRIP
="$ac_cv_prog_STRIP"
4363 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4366 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4367 if test -z "$MKDIR_P"; then
4368 if test "${ac_cv_path_mkdir+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_prog
in mkdir gmkdir
; do
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4379 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4380 'mkdir (GNU coreutils) '* | \
4381 'mkdir (coreutils) '* | \
4382 'mkdir (fileutils) '4.1*)
4383 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4393 if test "${ac_cv_path_mkdir+set}" = set; then
4394 MKDIR_P
="$ac_cv_path_mkdir -p"
4396 # As a last resort, use the slow shell script. Don't cache a
4397 # value for MKDIR_P within a source directory, because that will
4398 # break other packages using the cache if that directory is
4399 # removed, or if the value is a relative name.
4400 test -d .
/--version && rmdir .
/--version
4401 MKDIR_P
="$ac_install_sh -d"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4405 $as_echo "$MKDIR_P" >&6; }
4409 [\\/$
]* | ?
:[\\/]*) ;;
4410 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4413 for ac_prog
in gawk mawk nawk
awk
4415 # Extract the first word of "$ac_prog", so it can be a program name with args.
4416 set dummy
$ac_prog; ac_word
=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if test "${ac_cv_prog_AWK+set}" = set; then :
4420 $as_echo_n "(cached) " >&6
4422 if test -n "$AWK"; then
4423 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir
=.
4430 for ac_exec_ext
in '' $ac_executable_extensions; do
4431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4432 ac_cv_prog_AWK
="$ac_prog"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 if test -n "$AWK"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4445 $as_echo "$AWK" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4452 test -n "$AWK" && break
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4456 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4458 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4459 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4460 $as_echo_n "(cached) " >&6
4462 cat >conftest.
make <<\_ACEOF
4465 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4467 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4468 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4470 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4472 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4476 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4478 $as_echo "yes" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4483 SET_MAKE
="MAKE=${MAKE-make}"
4486 rm -rf .tst
2>/dev
/null
4487 mkdir .tst
2>/dev
/null
4488 if test -d .tst
; then
4493 rmdir .tst
2>/dev
/null
4495 DEPDIR
="${am__leading_dot}deps"
4497 ac_config_commands
="$ac_config_commands depfiles"
4500 am_make
=${MAKE-make}
4501 cat > confinc
<< 'END'
4503 @
echo this is the am__doit target
4506 # If we don't find an include directive, just comment out the code.
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4508 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4512 # First try GNU make style include.
4513 echo "include confinc" > confmf
4514 # Ignore all kinds of additional output from `make'.
4515 case `$am_make -s -f confmf 2> /dev/null` in #(
4516 *the\ am__doit\ target
*)
4522 # Now try BSD make style include.
4523 if test "$am__include" = "#"; then
4524 echo '.include "confinc"' > confmf
4525 case `$am_make -s -f confmf 2> /dev/null` in #(
4526 *the\ am__doit\ target
*)
4527 am__include
=.include
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4536 $as_echo "$_am_result" >&6; }
4537 rm -f confinc confmf
4539 # Check whether --enable-dependency-tracking was given.
4540 if test "${enable_dependency_tracking+set}" = set; then :
4541 enableval
=$enable_dependency_tracking;
4544 if test "x$enable_dependency_tracking" != xno
; then
4545 am_depcomp
="$ac_aux_dir/depcomp"
4549 if test "x$enable_dependency_tracking" != xno; then
4558 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4559 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4560 # is not polluted with repeated "-I."
4561 am__isrc
=' -I$(srcdir)'
4562 # test to see if srcdir already configured
4563 if test -f $srcdir/config.status
; then
4564 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4568 # test whether we have cygpath
4569 if test -z "$CYGPATH_W"; then
4570 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4571 CYGPATH_W
='cygpath -w'
4578 # Define the identity of the package.
4579 PACKAGE
='package-unused'
4580 VERSION
='version-unused'
4583 cat >>confdefs.h
<<_ACEOF
4584 #define PACKAGE "$PACKAGE"
4588 cat >>confdefs.h
<<_ACEOF
4589 #define VERSION "$VERSION"
4592 # Some tools Automake needs.
4594 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4597 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4600 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4603 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4606 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4608 # We need awk for the "check" target. The system "awk" is bad on
4610 # Always define AMTAR for backward compatibility. Yes, it's still used
4611 # in the wild :-( We should find a proper way to deprecate it ...
4614 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4619 depcc
="$CC" am_compiler_list
=
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4622 $as_echo_n "checking dependency style of $depcc... " >&6; }
4623 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4627 # We make a subdir and do the tests there. Otherwise we can end up
4628 # making bogus files that we don't know about and never remove. For
4629 # instance it was reported that on HP-UX the gcc test will end up
4630 # making a dummy file named `D' -- because `-MD' means `put the output
4634 # Copy depcomp to subdir because otherwise we won't find it if we're
4635 # using a relative directory.
4636 cp "$am_depcomp" conftest.dir
4638 # We will build objects and dependencies in a subdirectory because
4639 # it helps to detect inapplicable dependency modes. For instance
4640 # both Tru64's cc and ICC support -MD to output dependencies as a
4641 # side effect of compilation, but ICC will put the dependencies in
4642 # the current directory while Tru64 will put them in the object
4646 am_cv_CC_dependencies_compiler_type
=none
4647 if test "$am_compiler_list" = ""; then
4648 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4651 case " $depcc " in #(
4652 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4655 for depmode
in $am_compiler_list; do
4656 # Setup a source with many dependencies, because some compilers
4657 # like to wrap large dependency lists on column 80 (with \), and
4658 # we should not choose a depcomp mode which is confused by this.
4660 # We need to recreate these files for each test, as the compiler may
4661 # overwrite some of them when testing with obscure command lines.
4662 # This happens at least with the AIX C compiler.
4664 for i
in 1 2 3 4 5 6; do
4665 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4666 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4667 # Solaris 8's {/usr,}/bin/sh.
4668 touch sub
/conftst
$i.h
4670 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4672 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4673 # mode. It turns out that the SunPro C++ compiler does not properly
4674 # handle `-M -o', and we need to detect this. Also, some Intel
4675 # versions had trouble with output in subdirs
4676 am__obj
=sub
/conftest.
${OBJEXT-o}
4677 am__minus_obj
="-o $am__obj"
4680 # This depmode causes a compiler race in universal mode.
4681 test "$am__universal" = false ||
continue
4684 # after this tag, mechanisms are not by side-effect, so they'll
4685 # only be used when explicitly requested
4686 if test "x$enable_dependency_tracking" = xyes
; then
4692 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4693 # This compiler won't grok `-c -o', but also, the minuso test has
4694 # not run yet. These depmodes are late enough in the game, and
4695 # so weak that their functioning should not be impacted.
4696 am__obj
=conftest.
${OBJEXT-o}
4701 if depmode
=$depmode \
4702 source=sub
/conftest.c object
=$am__obj \
4703 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4704 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4705 >/dev
/null
2>conftest.err
&&
4706 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4707 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4708 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4709 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4710 # icc doesn't choke on unknown options, it will just issue warnings
4711 # or remarks (even with -Werror). So we grep stderr for any message
4712 # that says an option was ignored or not supported.
4713 # When given -MP, icc 7.0 and 7.1 complain thusly:
4714 # icc: Command line warning: ignoring option '-M'; no argument required
4715 # The diagnosis changed in icc 8.0:
4716 # icc: Command line remark: option '-MP' not supported
4717 if (grep 'ignoring option' conftest.err ||
4718 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4719 am_cv_CC_dependencies_compiler_type
=$depmode
4728 am_cv_CC_dependencies_compiler_type
=none
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4733 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4734 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4737 test "x$enable_dependency_tracking" != xno \
4738 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4740 am__fastdepCC_FALSE
='#'
4742 am__fastdepCC_TRUE
='#'
4743 am__fastdepCC_FALSE
=
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4750 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4751 # Check whether --enable-maintainer-mode was given.
4752 if test "${enable_maintainer_mode+set}" = set; then :
4753 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4755 USE_MAINTAINER_MODE
=no
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4759 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4760 if test $USE_MAINTAINER_MODE = yes; then
4761 MAINTAINER_MODE_TRUE
=
4762 MAINTAINER_MODE_FALSE
='#'
4764 MAINTAINER_MODE_TRUE
='#'
4765 MAINTAINER_MODE_FALSE
=
4768 MAINT
=$MAINTAINER_MODE_TRUE
4772 # Calculate toolexeclibdir
4773 # Also toolexecdir, though it's only used in toolexeclibdir
4774 case ${version_specific_libs} in
4776 # Need the gcc compiler version to know where to install libraries
4777 # and header files if --enable-version-specific-runtime-libs option
4779 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4780 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4783 if test -n "$with_cross_host" &&
4784 test x
"$with_cross_host" != x
"no"; then
4785 # Install a library built with a cross compiler in tooldir, not libdir.
4786 toolexecdir
='$(exec_prefix)/$(target_alias)'
4787 toolexeclibdir
='$(toolexecdir)/lib'
4789 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4790 toolexeclibdir
='$(libdir)'
4792 multi_os_directory
=`$CC -print-multi-os-directory`
4793 case $multi_os_directory in
4794 .
) ;; # Avoid trailing /.
4795 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4802 # Checks for programs.
4804 ac_cpp
='$CPP $CPPFLAGS'
4805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4810 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if test "${ac_cv_prog_CC+set}" = set; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$CC"; then
4817 ac_cv_prog_CC
="$CC" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 if test -n "$CC"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4839 $as_echo "$CC" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4847 if test -z "$ac_cv_prog_CC"; then
4849 # Extract the first word of "gcc", so it can be a program name with args.
4850 set dummy gcc
; ac_word
=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$ac_ct_CC"; then
4857 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_ac_ct_CC
="gcc"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4877 if test -n "$ac_ct_CC"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4879 $as_echo "$ac_ct_CC" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4885 if test "x$ac_ct_CC" = x
; then
4888 case $cross_compiling:$ac_tool_warned in
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4892 ac_tool_warned
=yes ;;
4900 if test -z "$CC"; then
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4903 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if test "${ac_cv_prog_CC+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$CC"; then
4910 ac_cv_prog_CC
="$CC" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 if test -n "$CC"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4932 $as_echo "$CC" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4941 if test -z "$CC"; then
4942 # Extract the first word of "cc", so it can be a program name with args.
4943 set dummy cc
; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if test "${ac_cv_prog_CC+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$CC"; then
4950 ac_cv_prog_CC
="$CC" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4961 ac_prog_rejected
=yes
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 if test $ac_prog_rejected = yes; then
4973 # We found a bogon in the path, so make sure we never use it.
4974 set dummy
$ac_cv_prog_CC
4976 if test $# != 0; then
4977 # We chose a different compiler from the bogus one.
4978 # However, it has the same basename, so the bogon will be chosen
4979 # first if we set CC to just the basename; use the full file name.
4981 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4987 if test -n "$CC"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4989 $as_echo "$CC" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4997 if test -z "$CC"; then
4998 if test -n "$ac_tool_prefix"; then
4999 for ac_prog
in cl.exe
5001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if test "${ac_cv_prog_CC+set}" = set; then :
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$CC"; then
5009 ac_cv_prog_CC
="$CC" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$CC"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5031 $as_echo "$CC" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$CC" && break
5041 if test -z "$CC"; then
5043 for ac_prog
in cl.exe
5045 # Extract the first word of "$ac_prog", so it can be a program name with args.
5046 set dummy
$ac_prog; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$ac_ct_CC"; then
5053 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_ac_ct_CC
="$ac_prog"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5073 if test -n "$ac_ct_CC"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5075 $as_echo "$ac_ct_CC" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 test -n "$ac_ct_CC" && break
5085 if test "x$ac_ct_CC" = x
; then
5088 case $cross_compiling:$ac_tool_warned in
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned
=yes ;;
5101 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5103 as_fn_error
"no acceptable C compiler found in \$PATH
5104 See \`config.log' for more details." "$LINENO" 5; }
5106 # Provide some information about the compiler.
5107 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5110 for ac_option
in --version -v -V -qversion; do
5111 { { ac_try
="$ac_compiler $ac_option >&5"
5113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5117 $as_echo "$ac_try_echo"; } >&5
5118 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5120 if test -s conftest.err; then
5122 ... rest of stderr output deleted ...
5123 10q' conftest.err >conftest.er1
5124 cat conftest.er1 >&5
5125 rm -f conftest.er1 conftest.err
5127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5132 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5133 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5150 if ac_fn_c_try_compile "$LINENO"; then :
5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5160 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5161 if test $ac_compiler_gnu = yes; then
5166 ac_test_CFLAGS=${CFLAGS+set}
5167 ac_save_CFLAGS=$CFLAGS
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5169 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5170 if test "${ac_cv_prog_cc_g+set}" = set; then :
5171 $as_echo_n "(cached) " >&6
5173 ac_save_c_werror_flag=$ac_c_werror_flag
5174 ac_c_werror_flag=yes
5177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5188 if ac_fn_c_try_compile "$LINENO"; then :
5192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5203 if ac_fn_c_try_compile "$LINENO"; then :
5206 ac_c_werror_flag=$ac_save_c_werror_flag
5208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5209 /* end confdefs.h. */
5219 if ac_fn_c_try_compile "$LINENO"; then :
5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5227 ac_c_werror_flag=$ac_save_c_werror_flag
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5230 $as_echo "$ac_cv_prog_cc_g" >&6; }
5231 if test "$ac_test_CFLAGS" = set; then
5232 CFLAGS=$ac_save_CFLAGS
5233 elif test $ac_cv_prog_cc_g = yes; then
5234 if test "$GCC" = yes; then
5240 if test "$GCC" = yes; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5247 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5248 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5251 ac_cv_prog_cc_c89=no
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5257 #include <sys/types.h>
5258 #include <sys/stat.h>
5259 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5260 struct buf { int x; };
5261 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5262 static char *e (p, i)
5268 static char *f (char * (*g) (char **, int), char **p, ...)
5273 s = g (p, va_arg (v,int));
5278 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5279 function prototypes and stuff, but not '\xHH' hex character constants.
5280 These don't provoke an error unfortunately, instead are silently treated
5281 as 'x'. The following induces an error, until -std is added to get
5282 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5283 array size at least. It's necessary to write '\x00'==0 to get something
5284 that's true only with -std. */
5285 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5287 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5288 inside strings and character constants. */
5290 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5292 int test (int i, double x);
5293 struct s1 {int (*f) (int a);};
5294 struct s2 {int (*f) (double a);};
5295 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5301 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5306 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5307 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5309 CC="$ac_save_CC $ac_arg"
5310 if ac_fn_c_try_compile "$LINENO"; then :
5311 ac_cv_prog_cc_c89=$ac_arg
5313 rm -f core conftest.err conftest.$ac_objext
5314 test "x$ac_cv_prog_cc_c89" != "xno" && break
5316 rm -f conftest.$ac_ext
5321 case "x$ac_cv_prog_cc_c89" in
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5324 $as_echo "none needed" >&6; } ;;
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5327 $as_echo "unsupported" >&6; } ;;
5329 CC="$CC $ac_cv_prog_cc_c89"
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5331 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5333 if test "x$ac_cv_prog_cc_c89" != xno; then :
5338 ac_cpp='$CPP $CPPFLAGS'
5339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5344 ac_cpp='$CXXCPP $CPPFLAGS'
5345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5348 if test -z "$CXX"; then
5349 if test -n "$CCC"; then
5352 if test -n "$ac_tool_prefix"; then
5353 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if test "${ac_cv_prog_CXX+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$CXX"; then
5363 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 if test -n "$CXX"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5385 $as_echo "$CXX" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5392 test -n "$CXX" && break
5395 if test -z "$CXX"; then
5397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5399 # Extract the first word of "$ac_prog", so it can be a program name with args.
5400 set dummy $ac_prog; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5404 $as_echo_n "(cached) " >&6
5406 if test -n "$ac_ct_CXX"; then
5407 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5416 ac_cv_prog_ac_ct_CXX="$ac_prog"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5427 if test -n "$ac_ct_CXX"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5429 $as_echo "$ac_ct_CXX" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5436 test -n "$ac_ct_CXX" && break
5439 if test "x$ac_ct_CXX" = x; then
5442 case $cross_compiling:$ac_tool_warned in
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5446 ac_tool_warned=yes ;;
5454 # Provide some information about the compiler.
5455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5458 for ac_option in --version -v -V -qversion; do
5459 { { ac_try="$ac_compiler $ac_option >&5"
5461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5462 *) ac_try_echo
=$ac_try;;
5464 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5465 $as_echo "$ac_try_echo"; } >&5
5466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5468 if test -s conftest.err
; then
5470 ... rest of stderr output deleted ...
5471 10q' conftest.err
>conftest.er1
5472 cat conftest.er1
>&5
5473 rm -f conftest.er1 conftest.err
5475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5476 test $ac_status = 0; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5480 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5481 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5485 /* end confdefs.h. */
5498 if ac_fn_cxx_try_compile
"$LINENO"; then :
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5508 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5509 if test $ac_compiler_gnu = yes; then
5514 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5515 ac_save_CXXFLAGS
=$CXXFLAGS
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5517 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5518 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5522 ac_cxx_werror_flag
=yes
5525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5536 if ac_fn_cxx_try_compile
"$LINENO"; then :
5537 ac_cv_prog_cxx_g
=yes
5540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5551 if ac_fn_cxx_try_compile
"$LINENO"; then :
5554 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5567 if ac_fn_cxx_try_compile
"$LINENO"; then :
5568 ac_cv_prog_cxx_g
=yes
5570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5575 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5578 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5579 if test "$ac_test_CXXFLAGS" = set; then
5580 CXXFLAGS
=$ac_save_CXXFLAGS
5581 elif test $ac_cv_prog_cxx_g = yes; then
5582 if test "$GXX" = yes; then
5588 if test "$GXX" = yes; then
5595 ac_cpp
='$CPP $CPPFLAGS'
5596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5600 depcc
="$CXX" am_compiler_list
=
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5603 $as_echo_n "checking dependency style of $depcc... " >&6; }
5604 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5608 # We make a subdir and do the tests there. Otherwise we can end up
5609 # making bogus files that we don't know about and never remove. For
5610 # instance it was reported that on HP-UX the gcc test will end up
5611 # making a dummy file named `D' -- because `-MD' means `put the output
5615 # Copy depcomp to subdir because otherwise we won't find it if we're
5616 # using a relative directory.
5617 cp "$am_depcomp" conftest.dir
5619 # We will build objects and dependencies in a subdirectory because
5620 # it helps to detect inapplicable dependency modes. For instance
5621 # both Tru64's cc and ICC support -MD to output dependencies as a
5622 # side effect of compilation, but ICC will put the dependencies in
5623 # the current directory while Tru64 will put them in the object
5627 am_cv_CXX_dependencies_compiler_type
=none
5628 if test "$am_compiler_list" = ""; then
5629 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5632 case " $depcc " in #(
5633 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5636 for depmode
in $am_compiler_list; do
5637 # Setup a source with many dependencies, because some compilers
5638 # like to wrap large dependency lists on column 80 (with \), and
5639 # we should not choose a depcomp mode which is confused by this.
5641 # We need to recreate these files for each test, as the compiler may
5642 # overwrite some of them when testing with obscure command lines.
5643 # This happens at least with the AIX C compiler.
5645 for i
in 1 2 3 4 5 6; do
5646 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5647 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5648 # Solaris 8's {/usr,}/bin/sh.
5649 touch sub
/conftst
$i.h
5651 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5653 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5654 # mode. It turns out that the SunPro C++ compiler does not properly
5655 # handle `-M -o', and we need to detect this. Also, some Intel
5656 # versions had trouble with output in subdirs
5657 am__obj
=sub
/conftest.
${OBJEXT-o}
5658 am__minus_obj
="-o $am__obj"
5661 # This depmode causes a compiler race in universal mode.
5662 test "$am__universal" = false ||
continue
5665 # after this tag, mechanisms are not by side-effect, so they'll
5666 # only be used when explicitly requested
5667 if test "x$enable_dependency_tracking" = xyes
; then
5673 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5674 # This compiler won't grok `-c -o', but also, the minuso test has
5675 # not run yet. These depmodes are late enough in the game, and
5676 # so weak that their functioning should not be impacted.
5677 am__obj
=conftest.
${OBJEXT-o}
5682 if depmode
=$depmode \
5683 source=sub
/conftest.c object
=$am__obj \
5684 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5685 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5686 >/dev
/null
2>conftest.err
&&
5687 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5688 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5689 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5690 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5691 # icc doesn't choke on unknown options, it will just issue warnings
5692 # or remarks (even with -Werror). So we grep stderr for any message
5693 # that says an option was ignored or not supported.
5694 # When given -MP, icc 7.0 and 7.1 complain thusly:
5695 # icc: Command line warning: ignoring option '-M'; no argument required
5696 # The diagnosis changed in icc 8.0:
5697 # icc: Command line remark: option '-MP' not supported
5698 if (grep 'ignoring option' conftest.err ||
5699 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5700 am_cv_CXX_dependencies_compiler_type
=$depmode
5709 am_cv_CXX_dependencies_compiler_type
=none
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5714 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5715 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5718 test "x$enable_dependency_tracking" != xno \
5719 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5720 am__fastdepCXX_TRUE
=
5721 am__fastdepCXX_FALSE
='#'
5723 am__fastdepCXX_TRUE
='#'
5724 am__fastdepCXX_FALSE
=
5728 # By default we simply use the C compiler to build assembly code.
5730 test "${CCAS+set}" = set || CCAS
=$CC
5731 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
5735 depcc
="$CCAS" am_compiler_list
=
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5738 $as_echo_n "checking dependency style of $depcc... " >&6; }
5739 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5740 $as_echo_n "(cached) " >&6
5742 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5743 # We make a subdir and do the tests there. Otherwise we can end up
5744 # making bogus files that we don't know about and never remove. For
5745 # instance it was reported that on HP-UX the gcc test will end up
5746 # making a dummy file named `D' -- because `-MD' means `put the output
5750 # Copy depcomp to subdir because otherwise we won't find it if we're
5751 # using a relative directory.
5752 cp "$am_depcomp" conftest.dir
5754 # We will build objects and dependencies in a subdirectory because
5755 # it helps to detect inapplicable dependency modes. For instance
5756 # both Tru64's cc and ICC support -MD to output dependencies as a
5757 # side effect of compilation, but ICC will put the dependencies in
5758 # the current directory while Tru64 will put them in the object
5762 am_cv_CCAS_dependencies_compiler_type
=none
5763 if test "$am_compiler_list" = ""; then
5764 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5769 for depmode
in $am_compiler_list; do
5770 # Setup a source with many dependencies, because some compilers
5771 # like to wrap large dependency lists on column 80 (with \), and
5772 # we should not choose a depcomp mode which is confused by this.
5774 # We need to recreate these files for each test, as the compiler may
5775 # overwrite some of them when testing with obscure command lines.
5776 # This happens at least with the AIX C compiler.
5778 for i
in 1 2 3 4 5 6; do
5779 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5780 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5781 # Solaris 8's {/usr,}/bin/sh.
5782 touch sub
/conftst
$i.h
5784 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5786 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5787 # mode. It turns out that the SunPro C++ compiler does not properly
5788 # handle `-M -o', and we need to detect this. Also, some Intel
5789 # versions had trouble with output in subdirs
5790 am__obj
=sub
/conftest.
${OBJEXT-o}
5791 am__minus_obj
="-o $am__obj"
5794 # This depmode causes a compiler race in universal mode.
5795 test "$am__universal" = false ||
continue
5798 # after this tag, mechanisms are not by side-effect, so they'll
5799 # only be used when explicitly requested
5800 if test "x$enable_dependency_tracking" = xyes
; then
5806 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5807 # This compiler won't grok `-c -o', but also, the minuso test has
5808 # not run yet. These depmodes are late enough in the game, and
5809 # so weak that their functioning should not be impacted.
5810 am__obj
=conftest.
${OBJEXT-o}
5815 if depmode
=$depmode \
5816 source=sub
/conftest.c object
=$am__obj \
5817 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5818 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5819 >/dev
/null
2>conftest.err
&&
5820 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5821 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5822 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5823 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5824 # icc doesn't choke on unknown options, it will just issue warnings
5825 # or remarks (even with -Werror). So we grep stderr for any message
5826 # that says an option was ignored or not supported.
5827 # When given -MP, icc 7.0 and 7.1 complain thusly:
5828 # icc: Command line warning: ignoring option '-M'; no argument required
5829 # The diagnosis changed in icc 8.0:
5830 # icc: Command line remark: option '-MP' not supported
5831 if (grep 'ignoring option' conftest.err ||
5832 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5833 am_cv_CCAS_dependencies_compiler_type
=$depmode
5842 am_cv_CCAS_dependencies_compiler_type
=none
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5847 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5848 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5851 test "x$enable_dependency_tracking" != xno \
5852 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5853 am__fastdepCCAS_TRUE
=
5854 am__fastdepCCAS_FALSE
='#'
5856 am__fastdepCCAS_TRUE
='#'
5857 am__fastdepCCAS_FALSE
=
5861 if test -n "$ac_tool_prefix"; then
5862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$RANLIB"; then
5870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 RANLIB
=$ac_cv_prog_RANLIB
5890 if test -n "$RANLIB"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5892 $as_echo "$RANLIB" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 if test -z "$ac_cv_prog_RANLIB"; then
5901 ac_ct_RANLIB
=$RANLIB
5902 # Extract the first word of "ranlib", so it can be a program name with args.
5903 set dummy ranlib
; ac_word
=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$ac_ct_RANLIB"; then
5910 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_exec_ext
in '' $ac_executable_extensions; do
5918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5930 if test -n "$ac_ct_RANLIB"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5932 $as_echo "$ac_ct_RANLIB" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5938 if test "x$ac_ct_RANLIB" = x
; then
5941 case $cross_compiling:$ac_tool_warned in
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned
=yes ;;
5947 RANLIB
=$ac_ct_RANLIB
5950 RANLIB
="$ac_cv_prog_RANLIB"
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5961 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5966 macro_version
='2.2.7a'
5967 macro_revision
='1.3134'
5981 ltmain
="$ac_aux_dir/ltmain.sh"
5983 # Backslashify metacharacters that are still active within
5984 # double-quoted strings.
5985 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5987 # Same as above, but do not quote variable references.
5988 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5990 # Sed substitution to delay expansion of an escaped shell variable in a
5991 # double_quote_subst'ed string.
5992 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5994 # Sed substitution to delay expansion of an escaped single quote.
5995 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5997 # Sed substitution to avoid accidental globbing in evaled expressions
5998 no_glob_subst
='s/\*/\\\*/g'
6000 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6001 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6005 $as_echo_n "checking how to print strings... " >&6; }
6006 # Test print first, because it will be a builtin if present.
6007 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6008 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6010 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6013 # Use this function as a fallback that always works.
6014 func_fallback_echo ()
6016 eval 'cat <<_LTECHO_EOF
6020 ECHO='func_fallback_echo
'
6023 # func_echo_all arg...
6024 # Invoke $ECHO with all args, space-separated.
6031 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6032 $as_echo "printf" >&6; } ;;
6033 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6034 $as_echo "print -r" >&6; } ;;
6035 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6036 $as_echo "cat" >&6; } ;;
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6053 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6054 if test "${ac_cv_path_SED+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6057 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6058 for ac_i in 1 2 3 4 5 6 7; do
6059 ac_script="$ac_script$as_nl$ac_script"
6061 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6062 { ac_script=; unset ac_script;}
6063 if test -z "$SED"; then
6064 ac_path_SED_found=false
6065 # Loop through the user's path and
test for each of PROGNAME-LIST
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_prog
in sed gsed
; do
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6074 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6075 # Check for GNU ac_path_SED and select it if it is found.
6076 # Check for GNU $ac_path_SED
6077 case `"$ac_path_SED" --version 2>&1` in
6079 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6082 $as_echo_n 0123456789 >"conftest.in"
6085 cat "conftest.in" "conftest.in" >"conftest.tmp"
6086 mv "conftest.tmp" "conftest.in"
6087 cp "conftest.in" "conftest.nl"
6088 $as_echo '' >> "conftest.nl"
6089 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6090 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6091 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6092 if test $ac_count -gt ${ac_path_SED_max-0}; then
6093 # Best one so far, save it but keep looking for a better one
6094 ac_cv_path_SED
="$ac_path_SED"
6095 ac_path_SED_max
=$ac_count
6097 # 10*(2^10) chars as input seems more than enough
6098 test $ac_count -gt 10 && break
6100 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6103 $ac_path_SED_found && break 3
6108 if test -z "$ac_cv_path_SED"; then
6109 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6117 $as_echo "$ac_cv_path_SED" >&6; }
6118 SED
="$ac_cv_path_SED"
6121 test -z "$SED" && SED
=sed
6122 Xsed
="$SED -e 1s/^X//"
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6135 $as_echo_n "checking for fgrep... " >&6; }
6136 if test "${ac_cv_path_FGREP+set}" = set; then :
6137 $as_echo_n "(cached) " >&6
6139 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6140 then ac_cv_path_FGREP
="$GREP -F"
6142 if test -z "$FGREP"; then
6143 ac_path_FGREP_found
=false
6144 # Loop through the user's path and test for each of PROGNAME-LIST
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6146 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_prog
in fgrep
; do
6151 for ac_exec_ext
in '' $ac_executable_extensions; do
6152 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6153 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6154 # Check for GNU ac_path_FGREP and select it if it is found.
6155 # Check for GNU $ac_path_FGREP
6156 case `"$ac_path_FGREP" --version 2>&1` in
6158 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6161 $as_echo_n 0123456789 >"conftest.in"
6164 cat "conftest.in" "conftest.in" >"conftest.tmp"
6165 mv "conftest.tmp" "conftest.in"
6166 cp "conftest.in" "conftest.nl"
6167 $as_echo 'FGREP' >> "conftest.nl"
6168 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6169 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6170 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6171 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6172 # Best one so far, save it but keep looking for a better one
6173 ac_cv_path_FGREP
="$ac_path_FGREP"
6174 ac_path_FGREP_max
=$ac_count
6176 # 10*(2^10) chars as input seems more than enough
6177 test $ac_count -gt 10 && break
6179 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6182 $ac_path_FGREP_found && break 3
6187 if test -z "$ac_cv_path_FGREP"; then
6188 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6191 ac_cv_path_FGREP
=$FGREP
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6197 $as_echo "$ac_cv_path_FGREP" >&6; }
6198 FGREP
="$ac_cv_path_FGREP"
6201 test -z "$GREP" && GREP
=grep
6221 # Check whether --with-gnu-ld was given.
6222 if test "${with_gnu_ld+set}" = set; then :
6223 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6229 if test "$GCC" = yes; then
6230 # Check if gcc -print-prog-name=ld gives a path.
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6232 $as_echo_n "checking for ld used by $CC... " >&6; }
6235 # gcc leaves a trailing carriage return which upsets mingw
6236 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6238 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6241 # Accept absolute paths.
6243 re_direlt
='/[^/][^/]*/\.\./'
6244 # Canonicalize the pathname of ld
6245 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6246 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6247 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6249 test -z "$LD" && LD
="$ac_prog"
6252 # If it fails, then pretend we aren't using GCC.
6256 # If it is relative, then search for the first ld in PATH.
6260 elif test "$with_gnu_ld" = yes; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6262 $as_echo_n "checking for GNU ld... " >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6265 $as_echo_n "checking for non-GNU ld... " >&6; }
6267 if test "${lt_cv_path_LD+set}" = set; then :
6268 $as_echo_n "(cached) " >&6
6270 if test -z "$LD"; then
6271 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6272 for ac_dir
in $PATH; do
6274 test -z "$ac_dir" && ac_dir
=.
6275 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6276 lt_cv_path_LD
="$ac_dir/$ac_prog"
6277 # Check to see if the program is GNU ld. I'd rather use --version,
6278 # but apparently some variants of GNU ld only accept -v.
6279 # Break only if it was the GNU/non-GNU ld that we prefer.
6280 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6281 *GNU
* |
*'with BFD'*)
6282 test "$with_gnu_ld" != no
&& break
6285 test "$with_gnu_ld" != yes && break
6292 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6297 if test -n "$LD"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6299 $as_echo "$LD" >&6; }
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6304 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6306 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6307 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6308 $as_echo_n "(cached) " >&6
6310 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6311 case `$LD -v 2>&1 </dev/null` in
6312 *GNU
* |
*'with BFD'*)
6313 lt_cv_prog_gnu_ld
=yes
6316 lt_cv_prog_gnu_ld
=no
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6321 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6322 with_gnu_ld
=$lt_cv_prog_gnu_ld
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6333 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6334 if test "${lt_cv_path_NM+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -n "$NM"; then
6338 # Let the user override the test.
6341 lt_nm_to_check
="${ac_tool_prefix}nm"
6342 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6343 lt_nm_to_check
="$lt_nm_to_check nm"
6345 for lt_tmp_nm
in $lt_nm_to_check; do
6346 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6347 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6349 test -z "$ac_dir" && ac_dir
=.
6350 tmp_nm
="$ac_dir/$lt_tmp_nm"
6351 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6352 # Check to see if the nm accepts a BSD-compat flag.
6353 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6354 # nm: unknown option "B" ignored
6355 # Tru64's nm complains that /dev/null is an invalid object file
6356 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6357 */dev
/null
* |
*'Invalid file or object type'*)
6358 lt_cv_path_NM
="$tmp_nm -B"
6362 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6364 lt_cv_path_NM
="$tmp_nm -p"
6368 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6369 continue # so that we can try to find one that supports BSD flags
6378 : ${lt_cv_path_NM=no}
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382 $as_echo "$lt_cv_path_NM" >&6; }
6383 if test "$lt_cv_path_NM" != "no"; then
6386 # Didn't find any BSD compatible name lister, look for dumpbin.
6387 if test -n "$DUMPBIN"; then :
6388 # Let the user override the test.
6390 if test -n "$ac_tool_prefix"; then
6391 for ac_prog
in dumpbin
"link -dump"
6393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6398 $as_echo_n "(cached) " >&6
6400 if test -n "$DUMPBIN"; then
6401 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir
=.
6408 for ac_exec_ext
in '' $ac_executable_extensions; do
6409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420 DUMPBIN
=$ac_cv_prog_DUMPBIN
6421 if test -n "$DUMPBIN"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423 $as_echo "$DUMPBIN" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$DUMPBIN" && break
6433 if test -z "$DUMPBIN"; then
6434 ac_ct_DUMPBIN
=$DUMPBIN
6435 for ac_prog
in dumpbin
"link -dump"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy
$ac_prog; ac_word
=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_DUMPBIN"; then
6445 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir
=.
6452 for ac_exec_ext
in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6465 if test -n "$ac_ct_DUMPBIN"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467 $as_echo "$ac_ct_DUMPBIN" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$ac_ct_DUMPBIN" && break
6477 if test "x$ac_ct_DUMPBIN" = x
; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned
=yes ;;
6486 DUMPBIN
=$ac_ct_DUMPBIN
6490 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6492 DUMPBIN
="$DUMPBIN -symbols"
6500 if test "$DUMPBIN" != ":"; then
6504 test -z "$NM" && NM
=nm
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513 if test "${lt_cv_nm_interface+set}" = set; then :
6514 $as_echo_n "(cached) " >&6
6516 lt_cv_nm_interface
="BSD nm"
6517 echo "int some_variable = 0;" > conftest.
$ac_ext
6518 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519 (eval "$ac_compile" 2>conftest.err
)
6520 cat conftest.err
>&5
6521 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6523 cat conftest.err
>&5
6524 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525 cat conftest.out
>&5
6526 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6527 lt_cv_nm_interface
="MS dumpbin"
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532 $as_echo "$lt_cv_nm_interface" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6535 $as_echo_n "checking whether ln -s works... " >&6; }
6537 if test "$LN_S" = "ln -s"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6539 $as_echo "yes" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6542 $as_echo "no, using $LN_S" >&6; }
6545 # find the maximum length of command line arguments
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6547 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6548 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6549 $as_echo_n "(cached) " >&6
6556 # On DJGPP, this test can blow up pretty badly due to problems in libc
6557 # (any single argument exceeding 2000 bytes causes a buffer overrun
6558 # during glob expansion). Even if it were fixed, the result of this
6559 # check would be larger than it should be.
6560 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6564 # Under GNU Hurd, this test is not required because there is
6565 # no limit to the length of command line arguments.
6566 # Libtool will interpret -1 as no limit whatsoever
6567 lt_cv_sys_max_cmd_len
=-1;
6570 cygwin
* | mingw
* | cegcc
*)
6571 # On Win9x/ME, this test blows up -- it succeeds, but takes
6572 # about 5 minutes as the teststring grows exponentially.
6573 # Worse, since 9x/ME are not pre-emptively multitasking,
6574 # you end up with a "frozen" computer, even though with patience
6575 # the test eventually succeeds (with a max line length of 256k).
6576 # Instead, let's just punt: use the minimum linelength reported by
6577 # all of the supported platforms: 8192 (on NT/2K/XP).
6578 lt_cv_sys_max_cmd_len
=8192;
6582 # On MiNT this can take a long time and run out of memory.
6583 lt_cv_sys_max_cmd_len
=8192;
6587 # On AmigaOS with pdksh, this test takes hours, literally.
6588 # So we just punt and use a minimum line length of 8192.
6589 lt_cv_sys_max_cmd_len
=8192;
6592 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6593 # This has been around since 386BSD, at least. Likely further.
6594 if test -x /sbin
/sysctl
; then
6595 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6596 elif test -x /usr
/sbin
/sysctl
; then
6597 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6599 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6601 # And add a safety zone
6602 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6603 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6607 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6608 lt_cv_sys_max_cmd_len
=196608
6612 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6613 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6614 # nice to cause kernel panics so lets avoid the loop below.
6615 # First set a reasonable default.
6616 lt_cv_sys_max_cmd_len
=16384
6618 if test -x /sbin
/sysconfig
; then
6619 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6620 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6625 lt_cv_sys_max_cmd_len
=102400
6627 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6628 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6629 if test -n "$kargmax"; then
6630 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6632 lt_cv_sys_max_cmd_len
=32768
6636 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6637 if test -n "$lt_cv_sys_max_cmd_len"; then
6638 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6639 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6641 # Make teststring a little bigger before we do anything with it.
6642 # a 1K string should be a reasonable start.
6643 for i
in 1 2 3 4 5 6 7 8 ; do
6644 teststring
=$teststring$teststring
6646 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6647 # If test is not a shell built-in, we'll probably end up computing a
6648 # maximum length that is only half of the actual maximum length, but
6650 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6651 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6652 test $i != 17 # 1/2 MB should be enough
6655 teststring
=$teststring$teststring
6657 # Only check the string length outside the loop.
6658 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6660 # Add a significant safety factor because C++ compilers can tack on
6661 # massive amounts of additional arguments before passing them to the
6662 # linker. It appears as though 1/2 is a usable value.
6663 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6670 if test -n $lt_cv_sys_max_cmd_len ; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6672 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6675 $as_echo "none" >&6; }
6677 max_cmd_len
=$lt_cv_sys_max_cmd_len
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6689 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6690 # Try some XSI features
6693 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6695 && eval 'test $(( 1 + 1 )) -eq 2 \
6696 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6699 $as_echo "$xsi_shell" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6703 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6705 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6707 && lt_shell_append=yes
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6709 $as_echo "$lt_shell_append" >&6; }
6712 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6722 # test EBCDIC or ASCII
6723 case `echo X|tr X '\101'` in
6724 A) # ASCII based system
6725 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6726 lt_SP2NL='tr \040 \012'
6727 lt_NL2SP='tr \015\012 \040\040'
6729 *) # EBCDIC based system
6730 lt_SP2NL='tr \100 \n'
6731 lt_NL2SP='tr \r\n \100\100'
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6744 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6745 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6746 $as_echo_n "(cached
) " >&6
6748 lt_cv_ld_reload_flag='-r'
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6751 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6752 reload_flag=$lt_cv_ld_reload_flag
6753 case $reload_flag in
6755 *) reload_flag=" $reload_flag" ;;
6757 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6760 if test "$GCC" = yes; then
6761 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6763 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6776 if test -n "$ac_tool_prefix"; then
6777 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6778 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6780 $as_echo_n "checking
for $ac_word...
" >&6; }
6781 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6782 $as_echo_n "(cached
) " >&6
6784 if test -n "$OBJDUMP"; then
6785 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6794 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6804 OBJDUMP=$ac_cv_prog_OBJDUMP
6805 if test -n "$OBJDUMP"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6807 $as_echo "$OBJDUMP" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6810 $as_echo "no
" >&6; }
6815 if test -z "$ac_cv_prog_OBJDUMP"; then
6816 ac_ct_OBJDUMP=$OBJDUMP
6817 # Extract the first word of "objdump
", so it can be a program name with args.
6818 set dummy objdump; ac_word=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6820 $as_echo_n "checking
for $ac_word...
" >&6; }
6821 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6822 $as_echo_n "(cached
) " >&6
6824 if test -n "$ac_ct_OBJDUMP"; then
6825 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir=.
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6834 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6845 if test -n "$ac_ct_OBJDUMP"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6847 $as_echo "$ac_ct_OBJDUMP" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6850 $as_echo "no
" >&6; }
6853 if test "x
$ac_ct_OBJDUMP" = x; then
6856 case $cross_compiling:$ac_tool_warned in
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6859 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6860 ac_tool_warned=yes ;;
6862 OBJDUMP=$ac_ct_OBJDUMP
6865 OBJDUMP="$ac_cv_prog_OBJDUMP"
6868 test -z "$OBJDUMP" && OBJDUMP=objdump
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6879 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6880 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6881 $as_echo_n "(cached
) " >&6
6883 lt_cv_file_magic_cmd='$MAGIC_CMD'
6884 lt_cv_file_magic_test_file=
6885 lt_cv_deplibs_check_method='unknown'
6886 # Need to set the preceding variable on all platforms that support
6887 # interlibrary dependencies.
6888 # 'none' -- dependencies not supported.
6889 # `unknown' -- same as none, but documents that we really don't know.
6890 # 'pass_all' -- all dependencies passed with no checks.
6891 # 'test_compile' -- check by making test program.
6892 # 'file_magic [[regex]]' -- check by looking for files in library path
6893 # which responds to the $file_magic_cmd with a given extended regex.
6894 # If you have `file' or equivalent on your system and you're not sure
6895 # whether `pass_all' will *always* work, you probably want this one.
6899 lt_cv_deplibs_check_method=pass_all
6903 lt_cv_deplibs_check_method=pass_all
6907 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6908 lt_cv_file_magic_cmd='/usr/bin/file -L'
6909 lt_cv_file_magic_test_file=/shlib/libc.so
6913 # func_win32_libid is a shell function defined in ltmain.sh
6914 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6915 lt_cv_file_magic_cmd='func_win32_libid'
6919 # Base MSYS/MinGW do not provide the 'file' command needed by
6920 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6921 # unless we find 'file', for example because we are cross-compiling.
6922 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6923 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6925 lt_cv_file_magic_cmd='func_win32_libid'
6927 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6928 lt_cv_file_magic_cmd='$OBJDUMP -f'
6933 # use the weaker test based on 'objdump'. See mingw*.
6934 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6935 lt_cv_file_magic_cmd='$OBJDUMP -f'
6938 darwin* | rhapsody*)
6939 lt_cv_deplibs_check_method=pass_all
6942 freebsd* | dragonfly*)
6943 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6946 # Not sure whether the presence of OpenBSD here was a mistake.
6947 # Let's accept both of them until this is cleared up.
6948 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6949 lt_cv_file_magic_cmd=/usr/bin/file
6950 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6954 lt_cv_deplibs_check_method=pass_all
6959 lt_cv_deplibs_check_method=pass_all
6963 lt_cv_deplibs_check_method=pass_all
6966 hpux10.20* | hpux11*)
6967 lt_cv_file_magic_cmd=/usr/bin/file
6970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6971 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6974 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]'
6975 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6978 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6979 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6985 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6986 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6989 irix5* | irix6* | nonstopux*)
6991 *-32|*"-32 ") libmagic=32-bit;;
6992 *-n32|*"-n32 ") libmagic=N32;;
6993 *-64|*"-64 ") libmagic=64-bit;;
6994 *) libmagic=never-match;;
6996 lt_cv_deplibs_check_method=pass_all
6999 # This must be Linux ELF.
7000 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7001 lt_cv_deplibs_check_method=pass_all
7005 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7013 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7014 lt_cv_file_magic_cmd=/usr/bin/file
7015 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7019 lt_cv_deplibs_check_method=pass_all
7023 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7030 osf3* | osf4* | osf5*)
7031 lt_cv_deplibs_check_method=pass_all
7035 lt_cv_deplibs_check_method=pass_all
7039 lt_cv_deplibs_check_method=pass_all
7042 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7043 lt_cv_deplibs_check_method=pass_all
7047 case $host_vendor in
7049 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]'
7050 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7053 lt_cv_deplibs_check_method=pass_all
7056 lt_cv_file_magic_cmd='/bin/file'
7057 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7060 lt_cv_file_magic_cmd='/bin/file'
7061 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7062 lt_cv_file_magic_test_file=/lib/libc.so
7065 lt_cv_deplibs_check_method=pass_all
7068 lt_cv_deplibs_check_method=pass_all
7074 lt_cv_deplibs_check_method=pass_all
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7080 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7081 file_magic_cmd=$lt_cv_file_magic_cmd
7082 deplibs_check_method=$lt_cv_deplibs_check_method
7083 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}ar; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7100 $as_echo_n "checking
for $ac_word...
" >&6; }
7101 if test "${ac_cv_prog_AR+set}" = set; then :
7102 $as_echo_n "(cached
) " >&6
7104 if test -n "$AR"; then
7105 ac_cv_prog_AR="$AR" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_AR="${ac_tool_prefix}ar"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7125 if test -n "$AR"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7127 $as_echo "$AR" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7130 $as_echo "no
" >&6; }
7135 if test -z "$ac_cv_prog_AR"; then
7137 # Extract the first word of "ar", so it can be a program name with args.
7138 set dummy ar; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$ac_ct_AR"; then
7145 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154 ac_cv_prog_ac_ct_AR="ar"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7165 if test -n "$ac_ct_AR"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7167 $as_echo "$ac_ct_AR" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7173 if test "x
$ac_ct_AR" = x; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7180 ac_tool_warned=yes ;;
7188 test -z "$AR" && AR=ar
7189 test -z "$AR_FLAGS" && AR_FLAGS=cru
7201 if test -n "$ac_tool_prefix"; then
7202 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7203 set dummy ${ac_tool_prefix}strip; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7205 $as_echo_n "checking
for $ac_word...
" >&6; }
7206 if test "${ac_cv_prog_STRIP+set}" = set; then :
7207 $as_echo_n "(cached
) " >&6
7209 if test -n "$STRIP"; then
7210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7219 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7229 STRIP=$ac_cv_prog_STRIP
7230 if test -n "$STRIP"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7232 $as_echo "$STRIP" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7235 $as_echo "no
" >&6; }
7240 if test -z "$ac_cv_prog_STRIP"; then
7242 # Extract the first word of "strip
", so it can be a program name with args.
7243 set dummy strip; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7245 $as_echo_n "checking
for $ac_word...
" >&6; }
7246 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7247 $as_echo_n "(cached
) " >&6
7249 if test -n "$ac_ct_STRIP"; then
7250 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_ac_ct_STRIP="strip
"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7270 if test -n "$ac_ct_STRIP"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7272 $as_echo "$ac_ct_STRIP" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7275 $as_echo "no
" >&6; }
7278 if test "x
$ac_ct_STRIP" = x; then
7281 case $cross_compiling:$ac_tool_warned in
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7284 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7285 ac_tool_warned=yes ;;
7290 STRIP="$ac_cv_prog_STRIP"
7293 test -z "$STRIP" && STRIP=:
7300 if test -n "$ac_tool_prefix"; then
7301 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7304 $as_echo_n "checking
for $ac_word...
" >&6; }
7305 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7306 $as_echo_n "(cached
) " >&6
7308 if test -n "$RANLIB"; then
7309 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 test -z "$as_dir" && as_dir=.
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7328 RANLIB=$ac_cv_prog_RANLIB
7329 if test -n "$RANLIB"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7331 $as_echo "$RANLIB" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7334 $as_echo "no
" >&6; }
7339 if test -z "$ac_cv_prog_RANLIB"; then
7340 ac_ct_RANLIB=$RANLIB
7341 # Extract the first word of "ranlib
", so it can be a program name with args.
7342 set dummy ranlib; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7344 $as_echo_n "checking
for $ac_word...
" >&6; }
7345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7346 $as_echo_n "(cached
) " >&6
7348 if test -n "$ac_ct_RANLIB"; then
7349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7358 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7369 if test -n "$ac_ct_RANLIB"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7371 $as_echo "$ac_ct_RANLIB" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7374 $as_echo "no
" >&6; }
7377 if test "x
$ac_ct_RANLIB" = x; then
7380 case $cross_compiling:$ac_tool_warned in
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7383 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7384 ac_tool_warned=yes ;;
7386 RANLIB=$ac_ct_RANLIB
7389 RANLIB="$ac_cv_prog_RANLIB"
7392 test -z "$RANLIB" && RANLIB=:
7399 # Determine commands to create old-style static archives.
7400 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7401 old_postinstall_cmds='chmod 644 $oldlib'
7402 old_postuninstall_cmds=
7404 if test -n "$RANLIB"; then
7407 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7410 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7413 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7418 lock_old_archive_extraction=yes ;;
7420 lock_old_archive_extraction=no ;;
7461 # If no C compiler was specified, use CC.
7464 # If no C compiler flags were specified, use CFLAGS.
7465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7467 # Allow CC to be a program name with arguments.
7471 # Check for command to grab the raw symbol name followed by C symbol from nm.
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7473 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7474 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7475 $as_echo_n "(cached
) " >&6
7478 # These are sane defaults that work on at least a few old systems.
7479 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7481 # Character class describing NM global symbol codes.
7482 symcode='[BCDEGRST]'
7484 # Regexp to match symbols that can be accessed directly from C.
7485 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7487 # Define system-specific variables.
7492 cygwin* | mingw* | pw32* | cegcc*)
7493 symcode='[ABCDGISTW]'
7496 if test "$host_cpu" = ia64; then
7497 symcode='[ABCDEGRST]'
7501 symcode='[BCDEGRST]'
7504 symcode='[BCDEGQRST]'
7515 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7523 # If we're using GNU nm, then use its standard symbol codes.
7524 case `$NM -V 2>&1` in
7525 *GNU* | *'with BFD'*)
7526 symcode='[ABCDGIRSTW]' ;;
7529 # Transform an extracted symbol line into a proper C declaration.
7530 # Some systems (esp. on ia64) link data and code symbols differently,
7531 # so use this general approach.
7532 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7534 # Transform an extracted symbol line into symbol name and symbol address
7535 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7536 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'"
7538 # Handle CRLF in mingw tool chain
7542 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7546 # Try without a prefix underscore, then with it.
7547 for ac_symprfx in "" "_
"; do
7549 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7550 symxfrm="\\1 $ac_symprfx\\2 \\2"
7552 # Write the raw and C identifiers.
7553 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7554 # Fake it for dumpbin and say T for any non-static function
7555 # and D for any global variable.
7556 # Also find C++ and __fastcall symbols from MSVC++,
7557 # which start with @ or ?.
7558 lt_cv_sys_global_symbol_pipe="$AWK '"\
7559 " {last_section=section; section=\$ 3};"\
7560 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7561 " \$ 0!~/External *\|/{next};"\
7562 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7563 " {if(hide[section]) next};"\
7564 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7565 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7566 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7567 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7568 " ' prfx
=^
$ac_symprfx"
7570 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7573 # Check to see that the pipe works correctly.
7577 cat > conftest.$ac_ext <<_LT_EOF
7582 void nm_test_func(void);
7583 void nm_test_func(void){}
7587 int main(){nm_test_var='a';nm_test_func();return(0);}
7590 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7591 (eval $ac_compile) 2>&5
7593 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7594 test $ac_status = 0; }; then
7595 # Now try to grab the symbols.
7597 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7598 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7600 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7601 test $ac_status = 0; } && test -s "$nlist"; then
7602 # Try sorting and uniquifying the output.
7603 if sort "$nlist" | uniq > "$nlist"T; then
7604 mv -f "$nlist"T "$nlist"
7609 # Make sure that we snagged all the symbols we need.
7610 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7611 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7612 cat <<_LT_EOF > conftest.$ac_ext
7618 # Now generate the symbol file.
7619 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7621 cat <<_LT_EOF >> conftest.$ac_ext
7623 /* The mapping between symbol names and symbols. */
7628 lt__PROGRAM__LTX_preloaded_symbols[] =
7630 { "@PROGRAM@
", (void *) 0 },
7632 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7633 cat <<\_LT_EOF >> conftest.$ac_ext
7637 /* This works around a problem in FreeBSD linker */
7638 #ifdef FREEBSD_WORKAROUND
7639 static const void *lt_preloaded_setup() {
7640 return lt__PROGRAM__LTX_preloaded_symbols;
7648 # Now try linking the two files.
7649 mv conftest.$ac_objext conftstm.$ac_objext
7650 lt_save_LIBS="$LIBS"
7651 lt_save_CFLAGS="$CFLAGS"
7652 LIBS="conftstm.
$ac_objext"
7653 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7654 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7655 (eval $ac_link) 2>&5
7657 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7658 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7661 LIBS="$lt_save_LIBS"
7662 CFLAGS="$lt_save_CFLAGS"
7664 echo "cannot
find nm_test_func
in $nlist" >&5
7667 echo "cannot
find nm_test_var
in $nlist" >&5
7670 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7673 echo "$progname: failed program was
:" >&5
7674 cat conftest.$ac_ext >&5
7676 rm -rf conftest* conftst*
7678 # Do not use the global_symbol_pipe unless it works.
7679 if test "$pipe_works" = yes; then
7682 lt_cv_sys_global_symbol_pipe=
7688 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7689 lt_cv_sys_global_symbol_to_cdecl=
7691 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7693 $as_echo "failed
" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7696 $as_echo "ok
" >&6; }
7720 # Check whether --enable-libtool-lock was given.
7721 if test "${enable_libtool_lock+set}" = set; then :
7722 enableval=$enable_libtool_lock;
7725 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7727 # Some flags need to be propagated to the compiler or linker for good
7731 # Find out which ABI we are using.
7732 echo 'int i;' > conftest.$ac_ext
7733 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 case `/usr/bin/file conftest.$ac_objext` in
7750 # Find out which ABI we are using.
7751 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7752 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7753 (eval $ac_compile) 2>&5
7755 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7756 test $ac_status = 0; }; then
7757 if test "$lt_cv_prog_gnu_ld" = yes; then
7758 case `/usr/bin/file conftest.$ac_objext` in
7760 LD="${LD-ld} -melf32bsmip"
7763 LD="${LD-ld} -melf32bmipn32"
7766 LD="${LD-ld} -melf64bmip"
7770 case `/usr/bin/file conftest.$ac_objext` in
7786 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7787 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7788 # Find out which ABI we are using.
7789 echo 'int i;' > conftest.$ac_ext
7790 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7791 (eval $ac_compile) 2>&5
7793 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7794 test $ac_status = 0; }; then
7795 case `/usr/bin/file conftest.o` in
7798 x86_64-*kfreebsd*-gnu)
7799 LD="${LD-ld} -m elf_i386_fbsd
"
7802 case `/usr/bin/file conftest.o` in
7804 LD="${LD-ld} -m elf32_x86_64
"
7807 LD="${LD-ld} -m elf_i386
"
7811 powerpc64le-*linux*)
7812 LD="${LD-ld} -m elf32lppclinux
"
7815 LD="${LD-ld} -m elf32ppclinux
"
7818 LD="${LD-ld} -m elf_s390
"
7821 LD="${LD-ld} -m elf32_sparc
"
7827 x86_64-*kfreebsd*-gnu)
7828 LD="${LD-ld} -m elf_x86_64_fbsd
"
7831 LD="${LD-ld} -m elf_x86_64
"
7834 LD="${LD-ld} -m elf64lppc
"
7837 LD="${LD-ld} -m elf64ppc
"
7839 s390*-*linux*|s390*-*tpf*)
7840 LD="${LD-ld} -m elf64_s390
"
7843 LD="${LD-ld} -m elf64_sparc
"
7853 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7854 SAVE_CFLAGS="$CFLAGS"
7855 CFLAGS="$CFLAGS -belf"
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7857 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7858 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7859 $as_echo_n "(cached
) " >&6
7862 ac_cpp='$CPP $CPPFLAGS'
7863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7878 if ac_fn_c_try_link "$LINENO"; then :
7879 lt_cv_cc_needs_belf=yes
7881 lt_cv_cc_needs_belf=no
7883 rm -f core conftest.err conftest.$ac_objext \
7884 conftest$ac_exeext conftest.$ac_ext
7886 ac_cpp='$CPP $CPPFLAGS'
7887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7893 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7894 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7895 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7896 CFLAGS="$SAVE_CFLAGS"
7900 # Find out which ABI we are using.
7901 echo 'int i;' > conftest.$ac_ext
7902 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7903 (eval $ac_compile) 2>&5
7905 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7906 test $ac_status = 0; }; then
7907 case `/usr/bin/file conftest.o` in
7909 case $lt_cv_prog_gnu_ld in
7910 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7912 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7924 need_locks="$enable_libtool_lock"
7928 rhapsody* | darwin*)
7929 if test -n "$ac_tool_prefix"; then
7930 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7931 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7933 $as_echo_n "checking
for $ac_word...
" >&6; }
7934 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7935 $as_echo_n "(cached
) " >&6
7937 if test -n "$DSYMUTIL"; then
7938 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7957 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7958 if test -n "$DSYMUTIL"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7960 $as_echo "$DSYMUTIL" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7963 $as_echo "no
" >&6; }
7968 if test -z "$ac_cv_prog_DSYMUTIL"; then
7969 ac_ct_DSYMUTIL=$DSYMUTIL
7970 # Extract the first word of "dsymutil
", so it can be a program name with args.
7971 set dummy dsymutil; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7973 $as_echo_n "checking
for $ac_word...
" >&6; }
7974 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7975 $as_echo_n "(cached
) " >&6
7977 if test -n "$ac_ct_DSYMUTIL"; then
7978 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7987 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7998 if test -n "$ac_ct_DSYMUTIL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8000 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8003 $as_echo "no
" >&6; }
8006 if test "x
$ac_ct_DSYMUTIL" = x; then
8009 case $cross_compiling:$ac_tool_warned in
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8012 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8013 ac_tool_warned=yes ;;
8015 DSYMUTIL=$ac_ct_DSYMUTIL
8018 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8021 if test -n "$ac_tool_prefix"; then
8022 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8023 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8025 $as_echo_n "checking
for $ac_word...
" >&6; }
8026 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8027 $as_echo_n "(cached
) " >&6
8029 if test -n "$NMEDIT"; then
8030 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8049 NMEDIT=$ac_cv_prog_NMEDIT
8050 if test -n "$NMEDIT"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8052 $as_echo "$NMEDIT" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8055 $as_echo "no
" >&6; }
8060 if test -z "$ac_cv_prog_NMEDIT"; then
8061 ac_ct_NMEDIT=$NMEDIT
8062 # Extract the first word of "nmedit
", so it can be a program name with args.
8063 set dummy nmedit; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8065 $as_echo_n "checking
for $ac_word...
" >&6; }
8066 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8067 $as_echo_n "(cached
) " >&6
8069 if test -n "$ac_ct_NMEDIT"; then
8070 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8089 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8090 if test -n "$ac_ct_NMEDIT"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8092 $as_echo "$ac_ct_NMEDIT" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8095 $as_echo "no
" >&6; }
8098 if test "x
$ac_ct_NMEDIT" = x; then
8101 case $cross_compiling:$ac_tool_warned in
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8104 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8105 ac_tool_warned=yes ;;
8107 NMEDIT=$ac_ct_NMEDIT
8110 NMEDIT="$ac_cv_prog_NMEDIT"
8113 if test -n "$ac_tool_prefix"; then
8114 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8115 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8117 $as_echo_n "checking
for $ac_word...
" >&6; }
8118 if test "${ac_cv_prog_LIPO+set}" = set; then :
8119 $as_echo_n "(cached
) " >&6
8121 if test -n "$LIPO"; then
8122 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir=.
8129 for ac_exec_ext in '' $ac_executable_extensions; do
8130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8141 LIPO=$ac_cv_prog_LIPO
8142 if test -n "$LIPO"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8144 $as_echo "$LIPO" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8147 $as_echo "no
" >&6; }
8152 if test -z "$ac_cv_prog_LIPO"; then
8154 # Extract the first word of "lipo
", so it can be a program name with args.
8155 set dummy lipo; ac_word=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8157 $as_echo_n "checking
for $ac_word...
" >&6; }
8158 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8159 $as_echo_n "(cached
) " >&6
8161 if test -n "$ac_ct_LIPO"; then
8162 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir=.
8169 for ac_exec_ext in '' $ac_executable_extensions; do
8170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171 ac_cv_prog_ac_ct_LIPO="lipo
"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8181 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8182 if test -n "$ac_ct_LIPO"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8184 $as_echo "$ac_ct_LIPO" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8187 $as_echo "no
" >&6; }
8190 if test "x
$ac_ct_LIPO" = x; then
8193 case $cross_compiling:$ac_tool_warned in
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8196 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8197 ac_tool_warned=yes ;;
8202 LIPO="$ac_cv_prog_LIPO"
8205 if test -n "$ac_tool_prefix"; then
8206 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8207 set dummy ${ac_tool_prefix}otool; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8209 $as_echo_n "checking
for $ac_word...
" >&6; }
8210 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8211 $as_echo_n "(cached
) " >&6
8213 if test -n "$OTOOL"; then
8214 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8223 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8233 OTOOL=$ac_cv_prog_OTOOL
8234 if test -n "$OTOOL"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8236 $as_echo "$OTOOL" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8239 $as_echo "no
" >&6; }
8244 if test -z "$ac_cv_prog_OTOOL"; then
8246 # Extract the first word of "otool
", so it can be a program name with args.
8247 set dummy otool; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8249 $as_echo_n "checking
for $ac_word...
" >&6; }
8250 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8251 $as_echo_n "(cached
) " >&6
8253 if test -n "$ac_ct_OTOOL"; then
8254 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 ac_cv_prog_ac_ct_OTOOL="otool
"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8273 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8274 if test -n "$ac_ct_OTOOL"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8276 $as_echo "$ac_ct_OTOOL" >&6; }
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8279 $as_echo "no
" >&6; }
8282 if test "x
$ac_ct_OTOOL" = x; then
8285 case $cross_compiling:$ac_tool_warned in
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8288 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8289 ac_tool_warned=yes ;;
8294 OTOOL="$ac_cv_prog_OTOOL"
8297 if test -n "$ac_tool_prefix"; then
8298 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8299 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8301 $as_echo_n "checking
for $ac_word...
" >&6; }
8302 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8303 $as_echo_n "(cached
) " >&6
8305 if test -n "$OTOOL64"; then
8306 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8315 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8325 OTOOL64=$ac_cv_prog_OTOOL64
8326 if test -n "$OTOOL64"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8328 $as_echo "$OTOOL64" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8331 $as_echo "no
" >&6; }
8336 if test -z "$ac_cv_prog_OTOOL64"; then
8337 ac_ct_OTOOL64=$OTOOL64
8338 # Extract the first word of "otool64
", so it can be a program name with args.
8339 set dummy otool64; ac_word=$2
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8341 $as_echo_n "checking
for $ac_word...
" >&6; }
8342 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8343 $as_echo_n "(cached
) " >&6
8345 if test -n "$ac_ct_OTOOL64"; then
8346 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 test -z "$as_dir" && as_dir=.
8353 for ac_exec_ext in '' $ac_executable_extensions; do
8354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8365 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8366 if test -n "$ac_ct_OTOOL64"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8368 $as_echo "$ac_ct_OTOOL64" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8371 $as_echo "no
" >&6; }
8374 if test "x
$ac_ct_OTOOL64" = x; then
8377 case $cross_compiling:$ac_tool_warned in
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8380 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8381 ac_tool_warned=yes ;;
8383 OTOOL64=$ac_ct_OTOOL64
8386 OTOOL64="$ac_cv_prog_OTOOL64"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8416 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8417 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8418 $as_echo_n "(cached
) " >&6
8420 lt_cv_apple_cc_single_mod=no
8421 if test -z "${LT_MULTI_MODULE}"; then
8422 # By default we will add the -single_module flag. You can override
8423 # by either setting the environment variable LT_MULTI_MODULE
8424 # non-empty at configure time, or by adding -multi_module to the
8426 rm -rf libconftest.dylib*
8427 echo "int foo
(void
){return 1;}" > conftest.c
8428 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8429 -dynamiclib -Wl,-single_module conftest.c
" >&5
8430 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8431 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8433 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8434 lt_cv_apple_cc_single_mod=yes
8436 cat conftest.err >&5
8438 rm -rf libconftest.dylib*
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8443 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8445 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8446 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8447 $as_echo_n "(cached
) " >&6
8449 lt_cv_ld_exported_symbols_list=no
8450 save_LDFLAGS=$LDFLAGS
8451 echo "_main
" > conftest.sym
8452 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 lt_cv_ld_exported_symbols_list=yes
8467 lt_cv_ld_exported_symbols_list=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 LDFLAGS="$save_LDFLAGS"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8475 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8477 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8478 if test "${lt_cv_ld_force_load+set}" = set; then :
8479 $as_echo_n "(cached
) " >&6
8481 lt_cv_ld_force_load=no
8482 cat > conftest.c << _LT_EOF
8483 int forced_loaded() { return 2;}
8485 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8486 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8487 echo "$AR cru libconftest.a conftest.o
" >&5
8488 $AR cru libconftest.a conftest.o 2>&5
8489 cat > conftest.c << _LT_EOF
8490 int main() { return 0;}
8492 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8493 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8495 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8496 lt_cv_ld_force_load=yes
8498 cat conftest.err >&5
8500 rm -f conftest.err libconftest.a conftest conftest.c
8501 rm -rf conftest.dSYM
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8505 $as_echo "$lt_cv_ld_force_load" >&6; }
8507 rhapsody* | darwin1.[012])
8508 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8510 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8511 darwin*) # darwin 5.x on
8512 # if running on 10.5 or later, the deployment target defaults
8513 # to the OS version, if on x86, and 10.4, the deployment
8514 # target defaults to 10.4. Don't you love it?
8515 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8516 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8517 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8519 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8521 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8525 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8526 _lt_dar_single_mod='$single_module'
8528 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8529 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8531 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8533 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8534 _lt_dsymutil='~$DSYMUTIL $lib || :'
8541 for ac_header in dlfcn.h
8543 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8545 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8546 cat >>confdefs.h <<_ACEOF
8547 #define HAVE_DLFCN_H 1
8567 # Check whether --enable-shared was given.
8568 if test "${enable_shared+set}" = set; then :
8569 enableval=$enable_shared; p=${PACKAGE-default}
8571 yes) enable_shared=yes ;;
8572 no) enable_shared=no ;;
8575 # Look at the argument we got. We use all the common list separators.
8576 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8577 for pkg in $enableval; do
8579 if test "X
$pkg" = "X
$p"; then
8598 # Check whether --enable-static was given.
8599 if test "${enable_static+set}" = set; then :
8600 enableval=$enable_static; p=${PACKAGE-default}
8602 yes) enable_static=yes ;;
8603 no) enable_static=no ;;
8606 # Look at the argument we got. We use all the common list separators.
8607 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8608 for pkg in $enableval; do
8610 if test "X
$pkg" = "X
$p"; then
8630 # Check whether --with-pic was given.
8631 if test "${with_pic+set}" = set; then :
8632 withval=$with_pic; pic_mode="$withval"
8638 test -z "$pic_mode" && pic_mode=default
8646 # Check whether --enable-fast-install was given.
8647 if test "${enable_fast_install+set}" = set; then :
8648 enableval=$enable_fast_install; p=${PACKAGE-default}
8650 yes) enable_fast_install=yes ;;
8651 no) enable_fast_install=no ;;
8653 enable_fast_install=no
8654 # Look at the argument we got. We use all the common list separators.
8655 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8656 for pkg in $enableval; do
8658 if test "X
$pkg" = "X
$p"; then
8659 enable_fast_install=yes
8666 enable_fast_install=yes
8679 # This can be used to rebuild libtool when needed
8680 LIBTOOL_DEPS="$ltmain"
8682 # Always use our own libtool.
8683 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8710 test -z "$LN_S" && LN_S="ln -s"
8725 if test -n "${ZSH_VERSION+set}" ; then
8726 setopt NO_GLOB_SUBST
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8730 $as_echo_n "checking
for objdir...
" >&6; }
8731 if test "${lt_cv_objdir+set}" = set; then :
8732 $as_echo_n "(cached
) " >&6
8734 rm -f .libs 2>/dev/null
8735 mkdir .libs 2>/dev/null
8736 if test -d .libs; then
8739 # MS-DOS does not allow filenames that begin with a dot.
8742 rmdir .libs 2>/dev/null
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8745 $as_echo "$lt_cv_objdir" >&6; }
8746 objdir=$lt_cv_objdir
8752 cat >>confdefs.h <<_ACEOF
8753 #define LT_OBJDIR "$lt_cv_objdir/"
8761 # AIX sometimes has problems with the GCC collect2 program. For some
8762 # reason, if we set the COLLECT_NAMES environment variable, the problems
8763 # vanish in a puff of smoke.
8764 if test "X
${COLLECT_NAMES+set}" != Xset; then
8766 export COLLECT_NAMES
8773 can_build_shared=yes
8775 # All known linkers require a `.a' archive for static linking (except MSVC,
8776 # which needs '.lib').
8779 with_gnu_ld="$lt_cv_prog_gnu_ld"
8782 old_CFLAGS="$CFLAGS"
8784 # Set sane defaults for various variables
8785 test -z "$CC" && CC=cc
8786 test -z "$LTCC" && LTCC=$CC
8787 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8788 test -z "$LD" && LD=ld
8789 test -z "$ac_objext" && ac_objext=o
8791 for cc_temp in $compiler""; do
8793 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8794 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8799 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8802 # Only perform the check for file, if the check method requires it
8803 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8804 case $deplibs_check_method in
8806 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8808 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8809 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8810 $as_echo_n "(cached
) " >&6
8814 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8817 lt_save_MAGIC_CMD="$MAGIC_CMD"
8818 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8819 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8820 for ac_dir in $ac_dummy; do
8822 test -z "$ac_dir" && ac_dir=.
8823 if test -f $ac_dir/${ac_tool_prefix}file; then
8824 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8825 if test -n "$file_magic_test_file"; then
8826 case $deplibs_check_method in
8828 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8829 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8830 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8831 $EGREP "$file_magic_regex" > /dev/null; then
8836 *** Warning: the command libtool uses to detect shared libraries,
8837 *** $file_magic_cmd, produces output that libtool cannot recognize.
8838 *** The result is that libtool may fail to recognize shared libraries
8839 *** as such. This will affect the creation of libtool libraries that
8840 *** depend on shared libraries, but programs linked with such libtool
8841 *** libraries will work regardless of this problem. Nevertheless, you
8842 *** may want to report the problem to your system manager and/or to
8843 *** bug-libtool@gnu.org
8853 MAGIC_CMD="$lt_save_MAGIC_CMD"
8858 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8859 if test -n "$MAGIC_CMD"; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8861 $as_echo "$MAGIC_CMD" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8864 $as_echo "no
" >&6; }
8871 if test -z "$lt_cv_path_MAGIC_CMD"; then
8872 if test -n "$ac_tool_prefix"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8874 $as_echo_n "checking
for file...
" >&6; }
8875 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8876 $as_echo_n "(cached
) " >&6
8880 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8883 lt_save_MAGIC_CMD="$MAGIC_CMD"
8884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8885 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8886 for ac_dir in $ac_dummy; do
8888 test -z "$ac_dir" && ac_dir=.
8889 if test -f $ac_dir/file; then
8890 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8891 if test -n "$file_magic_test_file"; then
8892 case $deplibs_check_method in
8894 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8895 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8896 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8897 $EGREP "$file_magic_regex" > /dev/null; then
8902 *** Warning: the command libtool uses to detect shared libraries,
8903 *** $file_magic_cmd, produces output that libtool cannot recognize.
8904 *** The result is that libtool may fail to recognize shared libraries
8905 *** as such. This will affect the creation of libtool libraries that
8906 *** depend on shared libraries, but programs linked with such libtool
8907 *** libraries will work regardless of this problem. Nevertheless, you
8908 *** may want to report the problem to your system manager and/or to
8909 *** bug-libtool@gnu.org
8919 MAGIC_CMD="$lt_save_MAGIC_CMD"
8924 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8925 if test -n "$MAGIC_CMD"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8927 $as_echo "$MAGIC_CMD" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8930 $as_echo "no
" >&6; }
8943 # Use C for the default configuration in the libtool script
8947 ac_cpp='$CPP $CPPFLAGS'
8948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8953 # Source file extension for C test sources.
8956 # Object file extension for compiled C test sources.
8960 # Code to be used in simple compile tests
8961 lt_simple_compile_test_code="int some_variable
= 0;"
8963 # Code to be used in simple link tests
8964 lt_simple_link_test_code='int main(){return(0);}'
8972 # If no C compiler was specified, use CC.
8975 # If no C compiler flags were specified, use CFLAGS.
8976 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8978 # Allow CC to be a program name with arguments.
8981 # Save the default compiler, since it gets overwritten when the other
8982 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8983 compiler_DEFAULT=$CC
8985 # save warnings/boilerplate of simple test code
8986 ac_outfile=conftest.$ac_objext
8987 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8988 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8989 _lt_compiler_boilerplate=`cat conftest.err`
8992 ac_outfile=conftest.$ac_objext
8993 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8994 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8995 _lt_linker_boilerplate=`cat conftest.err`
9000 ## There is no encapsulation within the following macros, do not change
9001 ## the running order or otherwise move them around unless you know exactly
9002 ## what you are doing...
9003 if test -n "$compiler"; then
9005 lt_prog_compiler_no_builtin_flag=
9007 if test "$GCC" = yes; then
9008 case $cc_basename in
9010 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9012 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9016 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9017 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9018 $as_echo_n "(cached
) " >&6
9020 lt_cv_prog_compiler_rtti_exceptions=no
9021 ac_outfile=conftest.$ac_objext
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-fno-rtti -fno-exceptions"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.
", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 # The option is referenced via a variable to avoid confusing sed.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>conftest.err)
9036 cat conftest.err >&5
9037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9038 if (exit $ac_status) && test -s "$ac_outfile"; then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings other than the usual output.
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9042 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9043 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_rtti_exceptions=yes
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9051 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9053 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9054 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9066 lt_prog_compiler_wl=
9067 lt_prog_compiler_pic=
9068 lt_prog_compiler_static=
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9071 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9073 if test "$GCC" = yes; then
9074 lt_prog_compiler_wl='-Wl,'
9075 lt_prog_compiler_static='-static'
9079 # All AIX code is PIC.
9080 if test "$host_cpu" = ia64; then
9081 # AIX 5 now supports IA64 processor
9082 lt_prog_compiler_static='-Bstatic'
9084 lt_prog_compiler_pic='-fPIC'
9090 # see comment about AmigaOS4 .so support
9091 lt_prog_compiler_pic='-fPIC'
9094 # FIXME: we need at least 68020 code to build shared libraries, but
9095 # adding the `-m68020' flag to GCC prevents building anything better,
9097 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9102 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9103 # PIC is the default for these OSes.
9106 mingw* | cygwin* | pw32* | os2* | cegcc*)
9107 # This hack is so that the source file can tell whether it is being
9108 # built for inclusion in a dll (and should export symbols for example).
9109 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9110 # (--disable-auto-import) libraries
9111 lt_prog_compiler_pic='-DDLL_EXPORT'
9114 darwin* | rhapsody*)
9115 # PIC is the default on this platform
9116 # Common symbols not allowed in MH_DYLIB files
9117 lt_prog_compiler_pic='-fno-common'
9121 # PIC is the default for Haiku.
9122 # The "-static" flag exists, but is broken.
9123 lt_prog_compiler_static=
9127 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9128 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9129 # sets the default TLS model and affects inlining.
9135 lt_prog_compiler_pic='-fPIC'
9141 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9142 # Instead, we relocate shared libraries at runtime.
9146 # Just because we use GCC doesn't mean we suddenly get shared libraries
9147 # on systems that don't support them.
9148 lt_prog_compiler_can_build_shared=no
9153 # QNX uses GNU C++, but need to define -shared option too, otherwise
9155 lt_prog_compiler_pic='-fPIC -shared'
9159 if test -d /usr/nec; then
9160 lt_prog_compiler_pic=-Kconform_pic
9165 lt_prog_compiler_pic='-fPIC'
9169 case $cc_basename in
9170 nvcc*) # Cuda Compiler Driver 2.2
9171 lt_prog_compiler_wl='-Xlinker '
9172 lt_prog_compiler_pic='-Xcompiler -fPIC'
9176 # PORTME Check for flag to pass linker flags through the system compiler.
9179 lt_prog_compiler_wl='-Wl,'
9180 if test "$host_cpu" = ia64; then
9181 # AIX 5 now supports IA64 processor
9182 lt_prog_compiler_static='-Bstatic'
9184 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9188 mingw* | cygwin* | pw32* | os2* | cegcc*)
9189 # This hack is so that the source file can tell whether it is being
9190 # built for inclusion in a dll (and should export symbols for example).
9191 lt_prog_compiler_pic='-DDLL_EXPORT'
9194 hpux9* | hpux10* | hpux11*)
9195 lt_prog_compiler_wl='-Wl,'
9196 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9203 lt_prog_compiler_pic='+Z'
9206 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9207 lt_prog_compiler_static='${wl}-a ${wl}archive'
9210 irix5* | irix6* | nonstopux*)
9211 lt_prog_compiler_wl='-Wl,'
9212 # PIC (with -KPIC) is the default.
9213 lt_prog_compiler_static='-non_shared'
9216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9217 case $cc_basename in
9218 # old Intel for x86_64 which still supported -KPIC.
9220 lt_prog_compiler_wl='-Wl,'
9221 lt_prog_compiler_pic='-KPIC'
9222 lt_prog_compiler_static='-static'
9224 # icc used to be incompatible with GCC.
9225 # ICC 10 doesn't accept -KPIC any more.
9227 lt_prog_compiler_wl='-Wl,'
9228 lt_prog_compiler_pic='-fPIC'
9229 lt_prog_compiler_static='-static'
9231 # Lahey Fortran 8.1.
9233 lt_prog_compiler_wl='-Wl,'
9234 lt_prog_compiler_pic='--shared'
9235 lt_prog_compiler_static='--static'
9237 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9238 # Portland Group compilers (*not* the Pentium gcc compiler,
9239 # which looks to be a dead project)
9240 lt_prog_compiler_wl='-Wl,'
9241 lt_prog_compiler_pic='-fpic'
9242 lt_prog_compiler_static='-Bstatic'
9245 lt_prog_compiler_wl='-Wl,'
9246 # All Alpha code is PIC.
9247 lt_prog_compiler_static='-non_shared'
9249 xl* | bgxl* | bgf* | mpixl*)
9250 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9251 lt_prog_compiler_wl='-Wl,'
9252 lt_prog_compiler_pic='-qpic'
9253 lt_prog_compiler_static='-qstaticlink'
9256 case `$CC -V 2>&1 | sed 5q` in
9257 *Sun\ F* | *Sun*Fortran*)
9258 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9259 lt_prog_compiler_pic='-KPIC'
9260 lt_prog_compiler_static='-Bstatic'
9261 lt_prog_compiler_wl=''
9265 lt_prog_compiler_pic='-KPIC'
9266 lt_prog_compiler_static='-Bstatic'
9267 lt_prog_compiler_wl='-Wl,'
9275 lt_prog_compiler_pic='-KPIC'
9276 lt_prog_compiler_static='-Bstatic'
9280 # QNX uses GNU C++, but need to define -shared option too, otherwise
9282 lt_prog_compiler_pic='-fPIC -shared'
9285 osf3* | osf4* | osf5*)
9286 lt_prog_compiler_wl='-Wl,'
9287 # All OSF/1 code is PIC.
9288 lt_prog_compiler_static='-non_shared'
9292 lt_prog_compiler_static='-non_shared'
9296 lt_prog_compiler_pic='-KPIC'
9297 lt_prog_compiler_static='-Bstatic'
9298 case $cc_basename in
9300 lt_prog_compiler_wl='-Qoption ld ';;
9302 lt_prog_compiler_wl='-Wl,';;
9307 lt_prog_compiler_wl='-Qoption ld '
9308 lt_prog_compiler_pic='-PIC'
9309 lt_prog_compiler_static='-Bstatic'
9312 sysv4 | sysv4.2uw2* | sysv4.3*)
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='-KPIC'
9315 lt_prog_compiler_static='-Bstatic'
9319 if test -d /usr/nec ;then
9320 lt_prog_compiler_pic='-Kconform_pic'
9321 lt_prog_compiler_static='-Bstatic'
9325 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9326 lt_prog_compiler_wl='-Wl,'
9327 lt_prog_compiler_pic='-KPIC'
9328 lt_prog_compiler_static='-Bstatic'
9332 lt_prog_compiler_wl='-Wl,'
9333 lt_prog_compiler_can_build_shared=no
9337 lt_prog_compiler_pic='-pic'
9338 lt_prog_compiler_static='-Bstatic'
9342 lt_prog_compiler_can_build_shared=no
9348 # For platforms which do not support PIC, -DPIC is meaningless:
9350 lt_prog_compiler_pic=
9353 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9357 $as_echo "$lt_prog_compiler_pic" >&6; }
9365 # Check to make sure the PIC flag actually works.
9367 if test -n "$lt_prog_compiler_pic"; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9369 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9370 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9371 $as_echo_n "(cached
) " >&6
9373 lt_cv_prog_compiler_pic_works=no
9374 ac_outfile=conftest.$ac_objext
9375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9376 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9377 # Insert the option either (1) after the last *FLAGS variable, or
9378 # (2) before a word containing "conftest.
", or (3) at the end.
9379 # Note that $ac_compile itself does not contain backslashes and begins
9380 # with a dollar sign (not a hyphen), so the echo should work correctly.
9381 # The option is referenced via a variable to avoid confusing sed.
9382 lt_compile=`echo "$ac_compile" | $SED \
9383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9385 -e 's:$: $lt_compiler_flag:'`
9386 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9387 (eval "$lt_compile" 2>conftest.err)
9389 cat conftest.err >&5
9390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9391 if (exit $ac_status) && test -s "$ac_outfile"; then
9392 # The compiler can only warn and ignore the option if not recognized
9393 # So say no if there are warnings other than the usual output.
9394 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9395 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9396 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9397 lt_cv_prog_compiler_pic_works=yes
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9404 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9406 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9407 case $lt_prog_compiler_pic in
9409 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9412 lt_prog_compiler_pic=
9413 lt_prog_compiler_can_build_shared=no
9424 # Check to make sure the static flag actually works.
9426 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9428 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9429 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9430 $as_echo_n "(cached
) " >&6
9432 lt_cv_prog_compiler_static_works=no
9433 save_LDFLAGS="$LDFLAGS"
9434 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9435 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9437 # The linker can only warn and ignore the option if not recognized
9438 # So say no if there are warnings
9439 if test -s conftest.err; then
9440 # Append any errors to the config.log.
9441 cat conftest.err 1>&5
9442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9444 if diff conftest.exp conftest.er2 >/dev/null; then
9445 lt_cv_prog_compiler_static_works=yes
9448 lt_cv_prog_compiler_static_works=yes
9452 LDFLAGS="$save_LDFLAGS"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9456 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9458 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9461 lt_prog_compiler_static=
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9471 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9472 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9473 $as_echo_n "(cached
) " >&6
9475 lt_cv_prog_compiler_c_o=no
9476 $RM -r conftest 2>/dev/null
9480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9482 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9483 # Insert the option either (1) after the last *FLAGS variable, or
9484 # (2) before a word containing "conftest.
", or (3) at the end.
9485 # Note that $ac_compile itself does not contain backslashes and begins
9486 # with a dollar sign (not a hyphen), so the echo should work correctly.
9487 lt_compile=`echo "$ac_compile" | $SED \
9488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9490 -e 's:$: $lt_compiler_flag:'`
9491 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9492 (eval "$lt_compile" 2>out/conftest.err)
9494 cat out/conftest.err >&5
9495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9496 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9498 # The compiler can only warn and ignore the option if not recognized
9499 # So say no if there are warnings
9500 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9501 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9502 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9503 lt_cv_prog_compiler_c_o=yes
9508 # SGI C++ compiler will create directory out/ii_files/ for
9509 # template instantiation
9510 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9511 $RM out/* && rmdir out
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9518 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9526 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9527 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9528 $as_echo_n "(cached
) " >&6
9530 lt_cv_prog_compiler_c_o=no
9531 $RM -r conftest 2>/dev/null
9535 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9537 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9538 # Insert the option either (1) after the last *FLAGS variable, or
9539 # (2) before a word containing "conftest.
", or (3) at the end.
9540 # Note that $ac_compile itself does not contain backslashes and begins
9541 # with a dollar sign (not a hyphen), so the echo should work correctly.
9542 lt_compile=`echo "$ac_compile" | $SED \
9543 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9545 -e 's:$: $lt_compiler_flag:'`
9546 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9547 (eval "$lt_compile" 2>out/conftest.err)
9549 cat out/conftest.err >&5
9550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9551 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9553 # The compiler can only warn and ignore the option if not recognized
9554 # So say no if there are warnings
9555 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9556 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9557 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9558 lt_cv_prog_compiler_c_o=yes
9563 # SGI C++ compiler will create directory out/ii_files/ for
9564 # template instantiation
9565 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9566 $RM out/* && rmdir out
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9573 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9578 hard_links="nottested
"
9579 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9580 # do not overwrite the value of need_locks provided by the user
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9582 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9585 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9587 ln conftest.a conftest.b 2>&5 || hard_links=no
9588 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9590 $as_echo "$hard_links" >&6; }
9591 if test "$hard_links" = no; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9593 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9606 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9609 allow_undefined_flag=
9610 always_export_symbols=no
9612 archive_expsym_cmds=
9613 compiler_needs_object=no
9614 enable_shared_with_static_runtimes=no
9615 export_dynamic_flag_spec=
9616 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9617 hardcode_automatic=no
9619 hardcode_direct_absolute=no
9620 hardcode_libdir_flag_spec=
9621 hardcode_libdir_flag_spec_ld=
9622 hardcode_libdir_separator=
9624 hardcode_shlibpath_var=unsupported
9626 link_all_deplibs=unknown
9629 old_archive_from_new_cmds=
9630 old_archive_from_expsyms_cmds=
9631 thread_safe_flag_spec=
9632 whole_archive_flag_spec=
9633 # include_expsyms should be a list of space-separated symbols to be *always*
9634 # included in the symbol list
9636 # exclude_expsyms can be an extended regexp of symbols to exclude
9637 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9638 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9639 # as well as any symbol that contains `d'.
9640 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9641 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9642 # platforms (ab)use it in PIC code, but their linkers get confused if
9643 # the symbol is explicitly referenced. Since portable code cannot
9644 # rely on this symbol name, it's probably fine to never include it in
9645 # preloaded symbol tables.
9646 # Exclude shared library initialization/finalization symbols.
9647 extract_expsyms_cmds=
9650 cygwin* | mingw* | pw32* | cegcc*)
9651 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9652 # When not using gcc, we currently assume that we are using
9653 # Microsoft Visual C++.
9654 if test "$GCC" != yes; then
9659 # we just hope/assume this is gcc and not c89 (= MSVC++)
9669 # On some targets, GNU ld is compatible enough with the native linker
9670 # that we're better off using the native interface for both.
9671 lt_use_gnu_ld_interface=no
9672 if test "$with_gnu_ld" = yes; then
9675 # The AIX port of GNU ld has always aspired to compatibility
9676 # with the native linker. However, as the warning in the GNU ld
9677 # block says, versions before 2.19.5* couldn't really create working
9678 # shared libraries, regardless of the interface used.
9679 case `$LD -v 2>&1` in
9680 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9681 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9682 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9684 lt_use_gnu_ld_interface=yes
9689 lt_use_gnu_ld_interface=yes
9694 if test "$lt_use_gnu_ld_interface" = yes; then
9695 # If archive_cmds runs LD, not CC, wlarc should be empty
9698 # Set some defaults for GNU ld with shared library support. These
9699 # are reset later if shared libraries are not supported. Putting them
9700 # here allows them to be overridden if necessary.
9701 runpath_var=LD_RUN_PATH
9702 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9703 export_dynamic_flag_spec='${wl}--export-dynamic'
9704 # ancient GNU ld didn't support --whole-archive et. al.
9705 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9706 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9708 whole_archive_flag_spec=
9710 supports_anon_versioning=no
9711 case `$LD -v 2>&1` in
9712 *GNU\ gold*) supports_anon_versioning=yes ;;
9713 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9714 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9715 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9716 *\ 2.11.*) ;; # other 2.11 versions
9717 *) supports_anon_versioning=yes ;;
9720 # See if GNU ld supports shared libraries.
9723 # On AIX/PPC, the GNU linker is very broken
9724 if test "$host_cpu" != ia64; then
9728 *** Warning: the GNU linker, at least up to release 2.19, is reported
9729 *** to be unable to reliably create shared libraries on AIX.
9730 *** Therefore, libtool is disabling shared libraries support. If you
9731 *** really care for shared libraries, you may want to install binutils
9732 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9733 *** You will then need to restart the configuration process.
9742 # see comment about AmigaOS4 .so support
9743 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9744 archive_expsym_cmds=''
9747 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)'
9748 hardcode_libdir_flag_spec
='-L$libdir'
9749 hardcode_minus_L
=yes
9755 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9756 allow_undefined_flag
=unsupported
9757 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9758 # support --undefined. This deserves some investigation. FIXME
9759 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9765 cygwin
* | mingw
* | pw32
* | cegcc
*)
9766 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9767 # as there is no search path for DLLs.
9768 hardcode_libdir_flag_spec
='-L$libdir'
9769 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9770 allow_undefined_flag
=unsupported
9771 always_export_symbols
=no
9772 enable_shared_with_static_runtimes
=yes
9773 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9775 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9776 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9777 # If the export-symbols file already is a .def file (1st line
9778 # is EXPORTS), use it as is; otherwise, prepend...
9779 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9780 cp $export_symbols $output_objdir/$soname.def;
9782 echo EXPORTS > $output_objdir/$soname.def;
9783 cat $export_symbols >> $output_objdir/$soname.def;
9785 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9792 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9793 link_all_deplibs
=yes
9798 hardcode_shlibpath_var
=no
9799 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9800 export_dynamic_flag_spec
='${wl}-E'
9801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9802 # Instead, shared libraries are loaded at an image base (0x10000000 by
9803 # default) and relocated if they conflict, which is a slow very memory
9804 # consuming and fragmenting process. To avoid this, we pick a random,
9805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9807 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9808 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'
9811 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9813 if test "$host_os" = linux-dietlibc
; then
9814 case $cc_basename in
9815 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9818 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9819 && test "$tmp_diet" = no
9821 tmp_addflag
=' $pic_flag'
9822 tmp_sharedflag
='-shared'
9823 case $cc_basename,$host_cpu in
9824 pgcc
*) # Portland Group C compiler
9825 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'
9826 tmp_addflag
=' $pic_flag'
9828 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9829 # Portland Group f77 and f90 compilers
9830 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'
9831 tmp_addflag
=' $pic_flag -Mnomain' ;;
9832 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9833 tmp_addflag
=' -i_dynamic' ;;
9834 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9835 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9836 ifc
* | ifort
*) # Intel Fortran compiler
9837 tmp_addflag
=' -nofor_main' ;;
9838 lf95
*) # Lahey Fortran 8.1
9839 whole_archive_flag_spec
=
9840 tmp_sharedflag
='--shared' ;;
9841 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9842 tmp_sharedflag
='-qmkshrobj'
9844 nvcc
*) # Cuda Compiler Driver 2.2
9845 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'
9846 compiler_needs_object
=yes
9849 case `$CC -V 2>&1 | sed 5q` in
9850 *Sun\ C
*) # Sun C 5.9
9851 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'
9852 compiler_needs_object
=yes
9853 tmp_sharedflag
='-G' ;;
9854 *Sun\ F
*) # Sun Fortran 8.3
9855 tmp_sharedflag
='-G' ;;
9857 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9859 if test "x$supports_anon_versioning" = xyes
; then
9860 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9861 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9862 echo "local: *; };" >> $output_objdir/$libname.ver~
9863 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9866 case $cc_basename in
9867 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9868 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9869 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9870 hardcode_libdir_flag_spec
=
9871 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9872 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9873 if test "x$supports_anon_versioning" = xyes
; then
9874 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9875 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9876 echo "local: *; };" >> $output_objdir/$libname.ver~
9877 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9887 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9888 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9891 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9892 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9897 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9901 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9902 *** create shared libraries on Solaris systems. Therefore, libtool
9903 *** is disabling shared libraries support. We urge you to upgrade GNU
9904 *** binutils to release 2.9.1 or newer. Another option is to modify
9905 *** your PATH or compiler configuration so that the native linker is
9906 *** used, and then restart.
9909 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9910 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9917 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9918 case `$LD -v 2>&1` in
9919 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9923 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9924 *** reliably create shared libraries on SCO systems. Therefore, libtool
9925 *** is disabling shared libraries support. We urge you to upgrade GNU
9926 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9927 *** your PATH or compiler configuration so that the native linker is
9928 *** used, and then restart.
9933 # For security reasons, it is highly recommended that you always
9934 # use absolute paths for naming shared libraries, and exclude the
9935 # DT_RUNPATH tag from executables and libraries. But doing so
9936 # requires that you compile everything twice, which is a pain.
9937 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9938 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9939 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9940 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9949 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_shlibpath_var
=no
9956 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9958 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9965 if test "$ld_shlibs" = no
; then
9967 hardcode_libdir_flag_spec
=
9968 export_dynamic_flag_spec
=
9969 whole_archive_flag_spec
=
9972 # PORTME fill in a description of your system's linker (not GNU ld)
9975 allow_undefined_flag
=unsupported
9976 always_export_symbols
=yes
9977 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'
9978 # Note: this linker hardcodes the directories in LIBPATH if there
9979 # are no directories specified by -L.
9980 hardcode_minus_L
=yes
9981 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9982 # Neither direct hardcoding nor static linking is supported with a
9984 hardcode_direct
=unsupported
9989 if test "$host_cpu" = ia64
; then
9990 # On IA64, the linker does run time linking by default, so we don't
9991 # have to do anything special.
9992 aix_use_runtimelinking
=no
9993 exp_sym_flag
='-Bexport'
9996 # If we're using GNU nm, then we don't want the "-C" option.
9997 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9998 # Also, AIX nm treats weak defined symbols like other global
9999 # defined symbols, whereas GNU nm marks them as "W".
10000 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10001 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'
10003 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10005 aix_use_runtimelinking
=no
10007 # Test if we are trying to use run time linking or normal
10008 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10009 # need to do runtime linking.
10010 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10011 for ld_flag
in $LDFLAGS; do
10012 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10013 aix_use_runtimelinking
=yes
10020 exp_sym_flag
='-bexport'
10021 no_entry_flag
='-bnoentry'
10024 # When large executables or shared objects are built, AIX ld can
10025 # have problems creating the table of contents. If linking a library
10026 # or program results in "error TOC overflow" add -mminimal-toc to
10027 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10028 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10031 hardcode_direct
=yes
10032 hardcode_direct_absolute
=yes
10033 hardcode_libdir_separator
=':'
10034 link_all_deplibs
=yes
10035 file_list_spec
='${wl}-f,'
10037 if test "$GCC" = yes; then
10038 case $host_os in aix4.
[012]|aix4.
[012].
*)
10039 # We only want to do this on AIX 4.2 and lower, the check
10040 # below for broken collect2 doesn't work under 4.3+
10041 collect2name
=`${CC} -print-prog-name=collect2`
10042 if test -f "$collect2name" &&
10043 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10045 # We have reworked collect2
10048 # We have old collect2
10049 hardcode_direct
=unsupported
10050 # It fails to find uninstalled libraries when the uninstalled
10051 # path is not listed in the libpath. Setting hardcode_minus_L
10052 # to unsupported forces relinking
10053 hardcode_minus_L
=yes
10054 hardcode_libdir_flag_spec
='-L$libdir'
10055 hardcode_libdir_separator
=
10059 shared_flag
='-shared'
10060 if test "$aix_use_runtimelinking" = yes; then
10061 shared_flag
="$shared_flag "'${wl}-G'
10065 if test "$host_cpu" = ia64
; then
10066 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10067 # chokes on -Wl,-G. The following line is correct:
10070 if test "$aix_use_runtimelinking" = yes; then
10071 shared_flag
='${wl}-G'
10073 shared_flag
='${wl}-bM:SRE'
10078 export_dynamic_flag_spec
='${wl}-bexpall'
10079 # It seems that -bexpall does not export symbols beginning with
10080 # underscore (_), so it is better to generate a list of symbols to export.
10081 always_export_symbols
=yes
10082 if test "$aix_use_runtimelinking" = yes; then
10083 # Warning - without using the other runtime loading flags (-brtl),
10084 # -berok will link without error, but may produce a broken library.
10085 allow_undefined_flag
='-berok'
10086 # Determine the default libpath from the value encoded in an
10087 # empty executable.
10088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10099 if ac_fn_c_try_link
"$LINENO"; then :
10101 lt_aix_libpath_sed
='
10102 /Import File Strings/,/^$/ {
10108 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10109 # Check for a 64-bit object if we didn't find anything.
10110 if test -z "$aix_libpath"; then
10111 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10118 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10119 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"
10121 if test "$host_cpu" = ia64
; then
10122 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10123 allow_undefined_flag
="-z nodefs"
10124 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"
10126 # Determine the default libpath from the value encoded in an
10127 # empty executable.
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10139 if ac_fn_c_try_link
"$LINENO"; then :
10141 lt_aix_libpath_sed
='
10142 /Import File Strings/,/^$/ {
10148 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10149 # Check for a 64-bit object if we didn't find anything.
10150 if test -z "$aix_libpath"; then
10151 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10158 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10159 # Warning - without using the other run time loading flags,
10160 # -berok will link without error, but may produce a broken library.
10161 no_undefined_flag
=' ${wl}-bernotok'
10162 allow_undefined_flag
=' ${wl}-berok'
10163 if test "$with_gnu_ld" = yes; then
10164 # We only use this code for GNU lds that support --whole-archive.
10165 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10167 # Exported symbols can be pulled into shared objects from archives
10168 whole_archive_flag_spec
='$convenience'
10170 archive_cmds_need_lc
=yes
10171 # This is similar to how AIX traditionally builds its shared libraries.
10172 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'
10180 # see comment about AmigaOS4 .so support
10181 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10182 archive_expsym_cmds
=''
10185 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)'
10186 hardcode_libdir_flag_spec
='-L$libdir'
10187 hardcode_minus_L
=yes
10193 export_dynamic_flag_spec
=-rdynamic
10196 cygwin
* | mingw
* | pw32
* | cegcc
*)
10197 # When not using gcc, we currently assume that we are using
10198 # Microsoft Visual C++.
10199 # hardcode_libdir_flag_spec is actually meaningless, as there is
10200 # no search path for DLLs.
10201 hardcode_libdir_flag_spec
=' '
10202 allow_undefined_flag
=unsupported
10203 # Tell ltmain to make .lib files, not .a files.
10205 # Tell ltmain to make .dll files, not .so files.
10207 # FIXME: Setting linknames here is a bad hack.
10208 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10209 # The linker will automatically build a .lib file if we build a DLL.
10210 old_archive_from_new_cmds
='true'
10211 # FIXME: Should let the user specify the lib program.
10212 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10213 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10214 enable_shared_with_static_runtimes
=yes
10217 darwin
* | rhapsody
*)
10220 archive_cmds_need_lc
=no
10222 hardcode_automatic
=yes
10223 hardcode_shlibpath_var
=unsupported
10224 if test "$lt_cv_ld_force_load" = "yes"; then
10225 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\"`'
10227 whole_archive_flag_spec
=''
10229 link_all_deplibs
=yes
10230 allow_undefined_flag
="$_lt_dar_allow_undefined"
10231 case $cc_basename in
10232 ifort
*) _lt_dar_can_shared
=yes ;;
10233 *) _lt_dar_can_shared
=$GCC ;;
10235 if test "$_lt_dar_can_shared" = "yes"; then
10236 output_verbose_link_cmd
=func_echo_all
10237 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10238 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10239 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}"
10240 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}"
10249 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10250 hardcode_libdir_flag_spec
='-L$libdir'
10251 hardcode_shlibpath_var
=no
10254 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10255 # support. Future versions do this automatically, but an explicit c++rt0.o
10256 # does not break anything, and helps significantly (at the cost of a little
10259 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10260 hardcode_libdir_flag_spec
='-R$libdir'
10261 hardcode_direct
=yes
10262 hardcode_shlibpath_var
=no
10265 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10267 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_direct
=yes
10269 hardcode_minus_L
=yes
10270 hardcode_shlibpath_var
=no
10273 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10274 freebsd
* | dragonfly
*)
10275 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10276 hardcode_libdir_flag_spec
='-R$libdir'
10277 hardcode_direct
=yes
10278 hardcode_shlibpath_var
=no
10282 if test "$GCC" = yes; then
10283 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10285 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'
10287 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10288 hardcode_libdir_separator
=:
10289 hardcode_direct
=yes
10291 # hardcode_minus_L: Not really in the search PATH,
10292 # but as the default location of the library.
10293 hardcode_minus_L
=yes
10294 export_dynamic_flag_spec
='${wl}-E'
10298 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10299 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10301 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10303 if test "$with_gnu_ld" = no
; then
10304 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10305 hardcode_libdir_flag_spec_ld
='+b $libdir'
10306 hardcode_libdir_separator
=:
10307 hardcode_direct
=yes
10308 hardcode_direct_absolute
=yes
10309 export_dynamic_flag_spec
='${wl}-E'
10310 # hardcode_minus_L: Not really in the search PATH,
10311 # but as the default location of the library.
10312 hardcode_minus_L
=yes
10317 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10320 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10323 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10335 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10339 # Older versions of the 11.00 compiler do not understand -b yet
10340 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10342 $as_echo_n "checking if $CC understands -b... " >&6; }
10343 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10344 $as_echo_n "(cached) " >&6
10346 lt_cv_prog_compiler__b
=no
10347 save_LDFLAGS
="$LDFLAGS"
10348 LDFLAGS
="$LDFLAGS -b"
10349 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10350 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10351 # The linker can only warn and ignore the option if not recognized
10352 # So say no if there are warnings
10353 if test -s conftest.err
; then
10354 # Append any errors to the config.log.
10355 cat conftest.err
1>&5
10356 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10357 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10358 if diff conftest.exp conftest.er2
>/dev
/null
; then
10359 lt_cv_prog_compiler__b
=yes
10362 lt_cv_prog_compiler__b
=yes
10366 LDFLAGS
="$save_LDFLAGS"
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10370 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10372 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10373 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10381 if test "$with_gnu_ld" = no
; then
10382 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10383 hardcode_libdir_separator
=:
10388 hardcode_shlibpath_var
=no
10391 hardcode_direct
=yes
10392 hardcode_direct_absolute
=yes
10393 export_dynamic_flag_spec
='${wl}-E'
10395 # hardcode_minus_L: Not really in the search PATH,
10396 # but as the default location of the library.
10397 hardcode_minus_L
=yes
10403 irix5
* | irix6
* | nonstopux
*)
10404 if test "$GCC" = yes; then
10405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10406 # Try to use the -exported_symbol ld option, if it does not
10407 # work, assume that -exports_file does not work either and
10408 # implicitly export all symbols.
10409 save_LDFLAGS
="$LDFLAGS"
10410 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10415 if ac_fn_c_try_link
"$LINENO"; then :
10416 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10419 rm -f core conftest.err conftest.
$ac_objext \
10420 conftest
$ac_exeext conftest.
$ac_ext
10421 LDFLAGS
="$save_LDFLAGS"
10423 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'
10424 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'
10426 archive_cmds_need_lc
='no'
10427 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10428 hardcode_libdir_separator
=:
10430 link_all_deplibs
=yes
10434 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10435 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10437 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10439 hardcode_libdir_flag_spec
='-R$libdir'
10440 hardcode_direct
=yes
10441 hardcode_shlibpath_var
=no
10445 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10446 hardcode_direct
=yes
10447 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10448 hardcode_libdir_separator
=:
10449 hardcode_shlibpath_var
=no
10456 if test -f /usr
/libexec
/ld.so
; then
10457 hardcode_direct
=yes
10458 hardcode_shlibpath_var
=no
10459 hardcode_direct_absolute
=yes
10460 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10461 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10462 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10463 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10464 export_dynamic_flag_spec
='${wl}-E'
10467 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10468 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10469 hardcode_libdir_flag_spec
='-R$libdir'
10472 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10473 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10483 hardcode_libdir_flag_spec
='-L$libdir'
10484 hardcode_minus_L
=yes
10485 allow_undefined_flag
=unsupported
10486 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'
10487 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10491 if test "$GCC" = yes; then
10492 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10493 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'
10495 allow_undefined_flag
=' -expect_unresolved \*'
10496 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'
10498 archive_cmds_need_lc
='no'
10499 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10500 hardcode_libdir_separator
=:
10503 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10504 if test "$GCC" = yes; then
10505 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10506 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10507 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10509 allow_undefined_flag
=' -expect_unresolved \*'
10510 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'
10511 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~
10512 $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'
10514 # Both c and cxx compiler support -rpath directly
10515 hardcode_libdir_flag_spec
='-rpath $libdir'
10517 archive_cmds_need_lc
='no'
10518 hardcode_libdir_separator
=:
10522 no_undefined_flag
=' -z defs'
10523 if test "$GCC" = yes; then
10525 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10526 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10527 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10529 case `$CC -V 2>&1` in
10532 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10533 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10534 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10538 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10539 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10540 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10544 hardcode_libdir_flag_spec
='-R$libdir'
10545 hardcode_shlibpath_var
=no
10547 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10549 # The compiler driver will combine and reorder linker options,
10550 # but understands `-z linker_flag'. GCC discards it without `$wl',
10551 # but is careful enough not to reorder.
10552 # Supported since Solaris 2.6 (maybe 2.5.1?)
10553 if test "$GCC" = yes; then
10554 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10556 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10560 link_all_deplibs
=yes
10564 if test "x$host_vendor" = xsequent
; then
10565 # Use $CC to link under sequent, because it throws in some extra .o
10566 # files that make .init and .fini sections work.
10567 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10569 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10571 hardcode_libdir_flag_spec
='-L$libdir'
10572 hardcode_direct
=yes
10573 hardcode_minus_L
=yes
10574 hardcode_shlibpath_var
=no
10578 case $host_vendor in
10580 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581 hardcode_direct
=yes # is this really true???
10584 ## LD is ld it makes a PLAMLIB
10585 ## CC just makes a GrossModule.
10586 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10587 reload_cmds
='$CC -r -o $output$reload_objs'
10591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10592 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10595 runpath_var
='LD_RUN_PATH'
10596 hardcode_shlibpath_var
=no
10600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_shlibpath_var
=no
10602 export_dynamic_flag_spec
='-Bexport'
10606 if test -d /usr
/nec
; then
10607 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_shlibpath_var
=no
10609 runpath_var
=LD_RUN_PATH
10610 hardcode_runpath_var
=yes
10615 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10616 no_undefined_flag
='${wl}-z,text'
10617 archive_cmds_need_lc
=no
10618 hardcode_shlibpath_var
=no
10619 runpath_var
='LD_RUN_PATH'
10621 if test "$GCC" = yes; then
10622 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10626 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10630 sysv5
* | sco3.2v5
* | sco5v6
*)
10631 # Note: We can NOT use -z defs as we might desire, because we do not
10632 # link with -lc, and that would cause any symbols used from libc to
10633 # always be unresolved, which means just about no library would
10634 # ever link correctly. If we're not using GNU ld we use -z text
10635 # though, which does catch some bad symbols but isn't as heavy-handed
10637 no_undefined_flag
='${wl}-z,text'
10638 allow_undefined_flag
='${wl}-z,nodefs'
10639 archive_cmds_need_lc
=no
10640 hardcode_shlibpath_var
=no
10641 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10642 hardcode_libdir_separator
=':'
10643 link_all_deplibs
=yes
10644 export_dynamic_flag_spec
='${wl}-Bexport'
10645 runpath_var
='LD_RUN_PATH'
10647 if test "$GCC" = yes; then
10648 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10652 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10658 hardcode_libdir_flag_spec
='-L$libdir'
10659 hardcode_shlibpath_var
=no
10667 if test x
$host_vendor = xsni
; then
10669 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10670 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10677 $as_echo "$ld_shlibs" >&6; }
10678 test "$ld_shlibs" = no
&& can_build_shared
=no
10680 with_gnu_ld
=$with_gnu_ld
10697 # Do we need to explicitly link libc?
10699 case "x$archive_cmds_need_lc" in
10701 # Assume -lc should be added
10702 archive_cmds_need_lc
=yes
10704 if test "$enable_shared" = yes && test "$GCC" = yes; then
10705 case $archive_cmds in
10707 # FIXME: we may have to deal with multi-command sequences.
10710 # Test whether the compiler implicitly links with -lc since on some
10711 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10712 # to ld, don't add -lc before -lgcc.
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10714 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10715 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10719 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10722 (eval $ac_compile) 2>&5
10724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10725 test $ac_status = 0; } 2>conftest.err
; then
10728 libobjs
=conftest.
$ac_objext
10730 wl
=$lt_prog_compiler_wl
10731 pic_flag
=$lt_prog_compiler_pic
10737 lt_save_allow_undefined_flag
=$allow_undefined_flag
10738 allow_undefined_flag
=
10739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10740 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10743 test $ac_status = 0; }
10745 lt_cv_archive_cmds_need_lc
=no
10747 lt_cv_archive_cmds_need_lc
=yes
10749 allow_undefined_flag
=$lt_save_allow_undefined_flag
10751 cat conftest.err
1>&5
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10757 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10758 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10922 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10924 if test "$GCC" = yes; then
10926 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10927 *) lt_awk_arg
="/^libraries:/" ;;
10930 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10931 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10933 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10934 case $lt_search_path_spec in
10936 # if the path contains ";" then we assume it to be the separator
10937 # otherwise default to the standard path separator (i.e. ":") - it is
10938 # assumed that no part of a normal pathname contains ";" but that should
10939 # okay in the real world where ";" in dirpaths is itself problematic.
10940 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10943 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10946 # Ok, now we have the path, separated by spaces, we can step through it
10947 # and add multilib dir if necessary.
10948 lt_tmp_lt_search_path_spec
=
10949 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10950 for lt_sys_path
in $lt_search_path_spec; do
10951 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10952 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10954 test -d "$lt_sys_path" && \
10955 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10958 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10959 BEGIN {RS=" "; FS="/|\n";} {
10962 for (lt_i = NF; lt_i > 0; lt_i--) {
10963 if ($lt_i != "" && $lt_i != ".") {
10964 if ($lt_i == "..") {
10967 if (lt_count == 0) {
10968 lt_foo="/" $lt_i lt_foo;
10975 if (lt_foo != "") { lt_freq[lt_foo]++; }
10976 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10978 # AWK program above erroneously prepends '/' to C:/dos/paths
10981 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10982 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10984 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10986 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10988 library_names_spec
=
10989 libname_spec
='lib$name'
10993 postuninstall_cmds
=
10997 shlibpath_overrides_runpath
=unknown
10999 dynamic_linker
="$host_os ld.so"
11000 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11001 need_lib_prefix
=unknown
11002 hardcode_into_libs
=no
11004 # when you set need_version to no, make sure it does not cause -set_version
11005 # flags to be left without arguments
11006 need_version
=unknown
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11012 shlibpath_var
=LIBPATH
11014 # AIX 3 has no versioning support, so we append a major version to the name.
11015 soname_spec
='${libname}${release}${shared_ext}$major'
11022 hardcode_into_libs
=yes
11023 if test "$host_cpu" = ia64
; then
11024 # AIX 5 supports IA64
11025 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11026 shlibpath_var
=LD_LIBRARY_PATH
11028 # With GCC up to 2.95.x, collect2 would create an import file
11029 # for dependence libraries. The import file would start with
11030 # the line `#! .'. This would cause the generated library to
11031 # depend on `.', always an invalid library. This was fixed in
11032 # development snapshots of GCC prior to 3.0.
11034 aix4 | aix4.
[01] | aix4.
[01].
*)
11035 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11037 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11040 can_build_shared
=no
11044 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11045 # soname into executable. Probably we can add versioning support to
11046 # collect2, so additional links can be useful in future.
11047 if test "$aix_use_runtimelinking" = yes; then
11048 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11049 # instead of lib<name>.a to let people know that these are not
11050 # typical AIX shared libraries.
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11053 # We preserve .a as extension for shared libraries through AIX4.2
11054 # and later when we are not doing run time linking.
11055 library_names_spec
='${libname}${release}.a $libname.a'
11056 soname_spec
='${libname}${release}${shared_ext}$major'
11058 shlibpath_var
=LIBPATH
11065 # Since July 2007 AmigaOS4 officially supports .so libraries.
11066 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070 library_names_spec
='$libname.ixlibrary $libname.a'
11071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11072 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'
11078 library_names_spec
='${libname}${shared_ext}'
11079 dynamic_linker
="$host_os ld.so"
11080 shlibpath_var
=LIBRARY_PATH
11086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11087 soname_spec
='${libname}${release}${shared_ext}$major'
11088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11089 shlibpath_var
=LD_LIBRARY_PATH
11090 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11091 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11092 # the default ld.so.conf also contains /usr/contrib/lib and
11093 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11094 # libtool to hard-code these into programs
11097 cygwin
* | mingw
* | pw32
* | cegcc
*)
11098 version_type
=windows
11103 case $GCC,$host_os in
11104 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11105 library_names_spec
='$libname.dll.a'
11106 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11107 postinstall_cmds
='base_file=`basename \${file}`~
11108 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11109 dldir=$destdir/`dirname \$dlpath`~
11110 test -d \$dldir || mkdir -p \$dldir~
11111 $install_prog $dir/$dlname \$dldir/$dlname~
11112 chmod a+x \$dldir/$dlname~
11113 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11114 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11116 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11117 dlpath=$dir/\$dldll~
11119 shlibpath_overrides_runpath
=yes
11123 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11124 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11126 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11129 # MinGW DLLs use traditional 'lib' prefix
11130 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11133 # pw32 DLLs use 'pw' prefix rather than 'lib'
11134 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11140 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11143 dynamic_linker
='Win32 ld.exe'
11144 # FIXME: first we should search . and the directory the executable is in
11148 darwin
* | rhapsody
*)
11149 dynamic_linker
="$host_os dyld"
11150 version_type
=darwin
11153 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11154 soname_spec
='${libname}${release}${major}$shared_ext'
11155 shlibpath_overrides_runpath
=yes
11156 shlibpath_var
=DYLD_LIBRARY_PATH
11157 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11159 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11160 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11168 soname_spec
='${libname}${release}${shared_ext}$major'
11169 shlibpath_var
=LD_LIBRARY_PATH
11172 freebsd
* | dragonfly
*)
11173 # DragonFly does not have aout. When/if they implement a new
11174 # versioning mechanism, adjust this.
11175 if test -x /usr
/bin
/objformat
; then
11176 objformat
=`/usr/bin/objformat`
11179 freebsd
[23].
*) objformat
=aout
;;
11180 *) objformat
=elf
;;
11183 version_type
=freebsd-
$objformat
11184 case $version_type in
11186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11191 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11195 shlibpath_var
=LD_LIBRARY_PATH
11198 shlibpath_overrides_runpath
=yes
11200 freebsd3.
[01]* | freebsdelf3.
[01]*)
11201 shlibpath_overrides_runpath
=yes
11202 hardcode_into_libs
=yes
11204 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11205 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11206 shlibpath_overrides_runpath
=no
11207 hardcode_into_libs
=yes
11209 *) # from 4.6 on, and DragonFly
11210 shlibpath_overrides_runpath
=yes
11211 hardcode_into_libs
=yes
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11221 soname_spec
='${libname}${release}${shared_ext}$major'
11222 shlibpath_var
=LD_LIBRARY_PATH
11223 hardcode_into_libs
=yes
11230 dynamic_linker
="$host_os runtime_loader"
11231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11232 soname_spec
='${libname}${release}${shared_ext}$major'
11233 shlibpath_var
=LIBRARY_PATH
11234 shlibpath_overrides_runpath
=yes
11235 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11236 hardcode_into_libs
=yes
11239 hpux9
* | hpux10
* | hpux11
*)
11240 # Give a soname corresponding to the major version so that dld.sl refuses to
11241 # link against other versions.
11248 hardcode_into_libs
=yes
11249 dynamic_linker
="$host_os dld.so"
11250 shlibpath_var
=LD_LIBRARY_PATH
11251 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11253 soname_spec
='${libname}${release}${shared_ext}$major'
11254 if test "X$HPUX_IA64_MODE" = X32
; then
11255 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11257 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11259 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11263 hardcode_into_libs
=yes
11264 dynamic_linker
="$host_os dld.sl"
11265 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11266 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11268 soname_spec
='${libname}${release}${shared_ext}$major'
11269 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11270 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11274 dynamic_linker
="$host_os dld.sl"
11275 shlibpath_var
=SHLIB_PATH
11276 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11278 soname_spec
='${libname}${release}${shared_ext}$major'
11281 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11282 postinstall_cmds
='chmod 555 $lib'
11283 # or fails outright, so override atomically:
11284 install_override_mode
=555
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11292 soname_spec
='${libname}${release}${shared_ext}$major'
11293 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11294 shlibpath_var
=LD_LIBRARY_PATH
11295 shlibpath_overrides_runpath
=no
11296 hardcode_into_libs
=yes
11299 irix5
* | irix6
* | nonstopux
*)
11301 nonstopux
*) version_type
=nonstopux
;;
11303 if test "$lt_cv_prog_gnu_ld" = yes; then
11311 soname_spec
='${libname}${release}${shared_ext}$major'
11312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 irix5
* | nonstopux
*)
11315 libsuff
= shlibsuff
=
11318 case $LD in # libtool.m4 will add one of these switches to LD
11319 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11320 libsuff
= shlibsuff
= libmagic
=32-bit;;
11321 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11322 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11323 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11324 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11325 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11329 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11330 shlibpath_overrides_runpath
=no
11331 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11332 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11333 hardcode_into_libs
=yes
11336 # No shared lib support for Linux oldld, aout, or coff.
11337 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11341 # This must be Linux ELF.
11342 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec
='${libname}${release}${shared_ext}$major'
11348 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11349 shlibpath_var
=LD_LIBRARY_PATH
11350 shlibpath_overrides_runpath
=no
11352 # Some binutils ld are patched to set DT_RUNPATH
11353 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11354 $as_echo_n "(cached) " >&6
11356 lt_cv_shlibpath_overrides_runpath
=no
11357 save_LDFLAGS
=$LDFLAGS
11358 save_libdir
=$libdir
11359 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11360 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11372 if ac_fn_c_try_link
"$LINENO"; then :
11373 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11374 lt_cv_shlibpath_overrides_runpath
=yes
11377 rm -f core conftest.err conftest.
$ac_objext \
11378 conftest
$ac_exeext conftest.
$ac_ext
11379 LDFLAGS
=$save_LDFLAGS
11380 libdir
=$save_libdir
11384 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11386 # This implies no fast_install, which is unacceptable.
11387 # Some rework will be needed to allow for fast_install
11388 # before this can be enabled.
11389 hardcode_into_libs
=yes
11391 # Append ld.so.conf contents to the search path
11392 if test -f /etc
/ld.so.conf
; then
11393 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' ' '`
11394 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11397 # We used to test for /lib/ld.so.1 and disable shared libraries on
11398 # powerpc, because MkLinux only supported shared libraries with the
11399 # GNU dynamic linker. Since this was broken with cross compilers,
11400 # most powerpc-linux boxes support dynamic linking these days and
11401 # people can always --disable-shared, the test was removed, and we
11402 # assume the GNU/Linux dynamic linker is in use.
11403 dynamic_linker
='GNU/Linux ld.so'
11410 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11412 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11413 dynamic_linker
='NetBSD (a.out) ld.so'
11415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11416 soname_spec
='${libname}${release}${shared_ext}$major'
11417 dynamic_linker
='NetBSD ld.elf_so'
11419 shlibpath_var
=LD_LIBRARY_PATH
11420 shlibpath_overrides_runpath
=yes
11421 hardcode_into_libs
=yes
11426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427 shlibpath_var
=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath
=yes
11435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11436 soname_spec
='${libname}${release}${shared_ext}$major'
11437 shlibpath_var
=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath
=no
11439 hardcode_into_libs
=yes
11440 dynamic_linker
='ldqnx.so'
11445 sys_lib_dlsearch_path_spec
="/usr/lib"
11447 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11449 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11450 *) need_version
=no
;;
11452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11453 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11454 shlibpath_var
=LD_LIBRARY_PATH
11455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11457 openbsd2.
[89] | openbsd2.
[89].
*)
11458 shlibpath_overrides_runpath
=no
11461 shlibpath_overrides_runpath
=yes
11465 shlibpath_overrides_runpath
=yes
11470 libname_spec
='$name'
11473 library_names_spec
='$libname${shared_ext} $libname.a'
11474 dynamic_linker
='OS/2 ld.exe'
11475 shlibpath_var
=LIBPATH
11478 osf3
* | osf4
* | osf5
*)
11482 soname_spec
='${libname}${release}${shared_ext}$major'
11483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11484 shlibpath_var
=LD_LIBRARY_PATH
11485 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11486 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498 soname_spec
='${libname}${release}${shared_ext}$major'
11499 shlibpath_var
=LD_LIBRARY_PATH
11500 shlibpath_overrides_runpath
=yes
11501 hardcode_into_libs
=yes
11502 # ldd complains unless libraries are executable
11503 postinstall_cmds
='chmod +x $lib'
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11509 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11510 shlibpath_var
=LD_LIBRARY_PATH
11511 shlibpath_overrides_runpath
=yes
11512 if test "$with_gnu_ld" = yes; then
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11521 soname_spec
='${libname}${release}${shared_ext}$major'
11522 shlibpath_var
=LD_LIBRARY_PATH
11523 case $host_vendor in
11525 shlibpath_overrides_runpath
=no
11527 runpath_var
=LD_RUN_PATH
11535 shlibpath_overrides_runpath
=no
11536 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11542 if test -d /usr
/nec
;then
11544 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11545 soname_spec
='$libname${shared_ext}.$major'
11546 shlibpath_var
=LD_LIBRARY_PATH
11550 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11551 version_type
=freebsd-elf
11554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11555 soname_spec
='${libname}${release}${shared_ext}$major'
11556 shlibpath_var
=LD_LIBRARY_PATH
11557 shlibpath_overrides_runpath
=yes
11558 hardcode_into_libs
=yes
11559 if test "$with_gnu_ld" = yes; then
11560 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11562 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11565 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11569 sys_lib_dlsearch_path_spec
='/usr/lib'
11573 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 shlibpath_var
=LD_LIBRARY_PATH
11579 shlibpath_overrides_runpath
=no
11580 hardcode_into_libs
=yes
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 shlibpath_var
=LD_LIBRARY_PATH
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11595 $as_echo "$dynamic_linker" >&6; }
11596 test "$dynamic_linker" = no
&& can_build_shared
=no
11598 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11599 if test "$GCC" = yes; then
11600 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11603 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11604 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11606 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11607 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11702 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11704 if test -n "$hardcode_libdir_flag_spec" ||
11705 test -n "$runpath_var" ||
11706 test "X$hardcode_automatic" = "Xyes" ; then
11708 # We can hardcode non-existent directories.
11709 if test "$hardcode_direct" != no
&&
11710 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11711 # have to relink, otherwise we might link with an installed library
11712 # when we should be linking with a yet-to-be-installed one
11713 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11714 test "$hardcode_minus_L" != no
; then
11715 # Linking always hardcodes the temporary library directory.
11716 hardcode_action
=relink
11718 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11719 hardcode_action
=immediate
11722 # We cannot hardcode anything, or else we can only hardcode existing
11724 hardcode_action
=unsupported
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11727 $as_echo "$hardcode_action" >&6; }
11729 if test "$hardcode_action" = relink ||
11730 test "$inherit_rpath" = yes; then
11731 # Fast installation is not supported
11732 enable_fast_install
=no
11733 elif test "$shlibpath_overrides_runpath" = yes ||
11734 test "$enable_shared" = no
; then
11735 # Fast installation is not necessary
11736 enable_fast_install
=needless
11744 if test "x$enable_dlopen" != xyes
; then
11745 enable_dlopen
=unknown
11746 enable_dlopen_self
=unknown
11747 enable_dlopen_self_static
=unknown
11754 lt_cv_dlopen
="load_add_on"
11756 lt_cv_dlopen_self
=yes
11759 mingw
* | pw32
* | cegcc
*)
11760 lt_cv_dlopen
="LoadLibrary"
11765 lt_cv_dlopen
="dlopen"
11770 # if libdl is installed we need to link against it
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11772 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11773 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11774 $as_echo_n "(cached) " >&6
11776 ac_check_lib_save_LIBS
=$LIBS
11778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11796 if ac_fn_c_try_link
"$LINENO"; then :
11797 ac_cv_lib_dl_dlopen
=yes
11799 ac_cv_lib_dl_dlopen
=no
11801 rm -f core conftest.err conftest.
$ac_objext \
11802 conftest
$ac_exeext conftest.
$ac_ext
11803 LIBS
=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11806 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11807 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11808 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11811 lt_cv_dlopen
="dyld"
11813 lt_cv_dlopen_self
=yes
11820 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11821 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11822 lt_cv_dlopen
="shl_load"
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11825 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11826 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11827 $as_echo_n "(cached) " >&6
11829 ac_check_lib_save_LIBS
=$LIBS
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11844 return shl_load ();
11849 if ac_fn_c_try_link
"$LINENO"; then :
11850 ac_cv_lib_dld_shl_load
=yes
11852 ac_cv_lib_dld_shl_load
=no
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11859 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11860 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11861 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11863 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11864 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11865 lt_cv_dlopen
="dlopen"
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11868 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11869 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_lib_save_LIBS
=$LIBS
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11892 if ac_fn_c_try_link
"$LINENO"; then :
11893 ac_cv_lib_dl_dlopen
=yes
11895 ac_cv_lib_dl_dlopen
=no
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11899 LIBS
=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11902 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11903 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11904 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11907 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11908 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11909 $as_echo_n "(cached) " >&6
11911 ac_check_lib_save_LIBS
=$LIBS
11912 LIBS
="-lsvld $LIBS"
11913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11931 if ac_fn_c_try_link
"$LINENO"; then :
11932 ac_cv_lib_svld_dlopen
=yes
11934 ac_cv_lib_svld_dlopen
=no
11936 rm -f core conftest.err conftest.
$ac_objext \
11937 conftest
$ac_exeext conftest.
$ac_ext
11938 LIBS
=$ac_check_lib_save_LIBS
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11941 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11942 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11943 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11946 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11947 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11948 $as_echo_n "(cached) " >&6
11950 ac_check_lib_save_LIBS
=$LIBS
11952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11965 return dld_link ();
11970 if ac_fn_c_try_link
"$LINENO"; then :
11971 ac_cv_lib_dld_dld_link
=yes
11973 ac_cv_lib_dld_dld_link
=no
11975 rm -f core conftest.err conftest.
$ac_objext \
11976 conftest
$ac_exeext conftest.
$ac_ext
11977 LIBS
=$ac_check_lib_save_LIBS
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11980 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11981 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11982 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12003 if test "x$lt_cv_dlopen" != xno
; then
12009 case $lt_cv_dlopen in
12011 save_CPPFLAGS
="$CPPFLAGS"
12012 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12014 save_LDFLAGS
="$LDFLAGS"
12015 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12018 LIBS
="$lt_cv_dlopen_libs $LIBS"
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12021 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12022 if test "${lt_cv_dlopen_self+set}" = set; then :
12023 $as_echo_n "(cached) " >&6
12025 if test "$cross_compiling" = yes; then :
12026 lt_cv_dlopen_self
=cross
12028 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12029 lt_status
=$lt_dlunknown
12030 cat > conftest.
$ac_ext <<_LT_EOF
12031 #line 12031 "configure"
12032 #include "confdefs.h"
12041 # define LT_DLGLOBAL RTLD_GLOBAL
12044 # define LT_DLGLOBAL DL_GLOBAL
12046 # define LT_DLGLOBAL 0
12050 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12051 find out it does not work in some platform. */
12052 #ifndef LT_DLLAZY_OR_NOW
12054 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12057 # define LT_DLLAZY_OR_NOW DL_LAZY
12060 # define LT_DLLAZY_OR_NOW RTLD_NOW
12063 # define LT_DLLAZY_OR_NOW DL_NOW
12065 # define LT_DLLAZY_OR_NOW 0
12072 /* When -fvisbility=hidden is used, assume the code has been annotated
12073 correspondingly for the symbols needed. */
12074 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12075 void fnord () __attribute__((visibility("default")));
12078 void fnord () { int i=42; }
12081 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12082 int status = $lt_dlunknown;
12086 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12089 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12090 else puts (dlerror ());
12092 /* dlclose (self); */
12100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12101 (eval $ac_link) 2>&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12104 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12105 (.
/conftest
; exit; ) >&5 2>/dev
/null
12107 case x
$lt_status in
12108 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12109 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12110 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12113 # compilation failed
12114 lt_cv_dlopen_self
=no
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12122 $as_echo "$lt_cv_dlopen_self" >&6; }
12124 if test "x$lt_cv_dlopen_self" = xyes
; then
12125 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12127 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12128 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12131 if test "$cross_compiling" = yes; then :
12132 lt_cv_dlopen_self_static
=cross
12134 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12135 lt_status
=$lt_dlunknown
12136 cat > conftest.
$ac_ext <<_LT_EOF
12137 #line 12137 "configure"
12138 #include "confdefs.h"
12147 # define LT_DLGLOBAL RTLD_GLOBAL
12150 # define LT_DLGLOBAL DL_GLOBAL
12152 # define LT_DLGLOBAL 0
12156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12157 find out it does not work in some platform. */
12158 #ifndef LT_DLLAZY_OR_NOW
12160 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12163 # define LT_DLLAZY_OR_NOW DL_LAZY
12166 # define LT_DLLAZY_OR_NOW RTLD_NOW
12169 # define LT_DLLAZY_OR_NOW DL_NOW
12171 # define LT_DLLAZY_OR_NOW 0
12178 /* When -fvisbility=hidden is used, assume the code has been annotated
12179 correspondingly for the symbols needed. */
12180 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12181 void fnord () __attribute__((visibility("default")));
12184 void fnord () { int i=42; }
12187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12188 int status = $lt_dlunknown;
12192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12195 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12196 else puts (dlerror ());
12198 /* dlclose (self); */
12206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12207 (eval $ac_link) 2>&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12211 (.
/conftest
; exit; ) >&5 2>/dev
/null
12213 case x
$lt_status in
12214 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12215 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12216 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12219 # compilation failed
12220 lt_cv_dlopen_self_static
=no
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12228 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12231 CPPFLAGS
="$save_CPPFLAGS"
12232 LDFLAGS
="$save_LDFLAGS"
12237 case $lt_cv_dlopen_self in
12238 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12239 *) enable_dlopen_self
=unknown
;;
12242 case $lt_cv_dlopen_self_static in
12243 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12244 *) enable_dlopen_self_static
=unknown
;;
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12267 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12268 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12269 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12270 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272 $as_echo "yes" >&6; }
12274 # FIXME - insert some real tests, host_os isn't really good enough
12277 if test -n "$STRIP" ; then
12278 striplib
="$STRIP -x"
12279 old_striplib
="$STRIP -S"
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12281 $as_echo "yes" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12305 # Report which library types will actually be built
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12307 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12309 $as_echo "$can_build_shared" >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12312 $as_echo_n "checking whether to build shared libraries... " >&6; }
12313 test "$can_build_shared" = "no" && enable_shared
=no
12315 # On AIX, shared libraries and static libraries use the same namespace, and
12316 # are all built from PIC.
12319 test "$enable_shared" = yes && enable_static
=no
12320 if test -n "$RANLIB"; then
12321 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12322 postinstall_cmds
='$RANLIB $lib'
12327 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12328 test "$enable_shared" = yes && enable_static
=no
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12333 $as_echo "$enable_shared" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12336 $as_echo_n "checking whether to build static libraries... " >&6; }
12337 # Make sure either enable_shared or enable_static is yes.
12338 test "$enable_shared" = yes || enable_static
=yes
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12340 $as_echo "$enable_static" >&6; }
12347 ac_cpp
='$CPP $CPPFLAGS'
12348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12354 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12355 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12356 (test "X$CXX" != "Xg++"))) ; then
12358 ac_cpp
='$CXXCPP $CPPFLAGS'
12359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12363 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12364 if test -z "$CXXCPP"; then
12365 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12366 $as_echo_n "(cached) " >&6
12368 # Double quotes because CXXCPP needs to be expanded
12369 for CXXCPP
in "$CXX -E" "/lib/cpp"
12371 ac_preproc_ok
=false
12372 for ac_cxx_preproc_warn_flag
in '' yes
12374 # Use a header file that comes with gcc, so configuring glibc
12375 # with a fresh cross-compiler works.
12376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12377 # <limits.h> exists even on freestanding compilers.
12378 # On the NeXT, cc -E runs the code through the compiler's parser,
12379 # not just through cpp. "Syntax error" is here to catch this case.
12380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 # include <limits.h>
12385 # include <assert.h>
12389 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12392 # Broken: fails on valid input.
12395 rm -f conftest.err conftest.
$ac_ext
12397 # OK, works on sane cases. Now check whether nonexistent headers
12398 # can be detected and how.
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <ac_nonexistent.h>
12403 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12404 # Broken: success on invalid input.
12407 # Passes both tests.
12411 rm -f conftest.err conftest.
$ac_ext
12414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12415 rm -f conftest.err conftest.
$ac_ext
12416 if $ac_preproc_ok; then :
12421 ac_cv_prog_CXXCPP
=$CXXCPP
12424 CXXCPP
=$ac_cv_prog_CXXCPP
12426 ac_cv_prog_CXXCPP
=$CXXCPP
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12429 $as_echo "$CXXCPP" >&6; }
12430 ac_preproc_ok
=false
12431 for ac_cxx_preproc_warn_flag
in '' yes
12433 # Use a header file that comes with gcc, so configuring glibc
12434 # with a fresh cross-compiler works.
12435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12436 # <limits.h> exists even on freestanding compilers.
12437 # On the NeXT, cc -E runs the code through the compiler's parser,
12438 # not just through cpp. "Syntax error" is here to catch this case.
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 # include <limits.h>
12444 # include <assert.h>
12448 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12451 # Broken: fails on valid input.
12454 rm -f conftest.err conftest.
$ac_ext
12456 # OK, works on sane cases. Now check whether nonexistent headers
12457 # can be detected and how.
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12460 #include <ac_nonexistent.h>
12462 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12463 # Broken: success on invalid input.
12466 # Passes both tests.
12470 rm -f conftest.err conftest.
$ac_ext
12473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12474 rm -f conftest.err conftest.
$ac_ext
12475 if $ac_preproc_ok; then :
12478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12480 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
12481 See \`config.log' for more details." "$LINENO" 5; }
12485 ac_cpp
='$CPP $CPPFLAGS'
12486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12491 _lt_caught_CXX_error
=yes
12495 ac_cpp
='$CXXCPP $CPPFLAGS'
12496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12500 archive_cmds_need_lc_CXX
=no
12501 allow_undefined_flag_CXX
=
12502 always_export_symbols_CXX
=no
12503 archive_expsym_cmds_CXX
=
12504 compiler_needs_object_CXX
=no
12505 export_dynamic_flag_spec_CXX
=
12506 hardcode_direct_CXX
=no
12507 hardcode_direct_absolute_CXX
=no
12508 hardcode_libdir_flag_spec_CXX
=
12509 hardcode_libdir_flag_spec_ld_CXX
=
12510 hardcode_libdir_separator_CXX
=
12511 hardcode_minus_L_CXX
=no
12512 hardcode_shlibpath_var_CXX
=unsupported
12513 hardcode_automatic_CXX
=no
12514 inherit_rpath_CXX
=no
12516 module_expsym_cmds_CXX
=
12517 link_all_deplibs_CXX
=unknown
12518 old_archive_cmds_CXX
=$old_archive_cmds
12519 reload_flag_CXX
=$reload_flag
12520 reload_cmds_CXX
=$reload_cmds
12521 no_undefined_flag_CXX
=
12522 whole_archive_flag_spec_CXX
=
12523 enable_shared_with_static_runtimes_CXX
=no
12525 # Source file extension for C++ test sources.
12528 # Object file extension for compiled C++ test sources.
12532 # No sense in running all these tests if we already determined that
12533 # the CXX compiler isn't working. Some variables (like enable_shared)
12534 # are currently assumed to apply to all compilers on this platform,
12535 # and will be corrupted by setting them based on a non-working compiler.
12536 if test "$_lt_caught_CXX_error" != yes; then
12537 # Code to be used in simple compile tests
12538 lt_simple_compile_test_code
="int some_variable = 0;"
12540 # Code to be used in simple link tests
12541 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12543 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12550 # If no C compiler was specified, use CC.
12553 # If no C compiler flags were specified, use CFLAGS.
12554 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12556 # Allow CC to be a program name with arguments.
12560 # save warnings/boilerplate of simple test code
12561 ac_outfile
=conftest.
$ac_objext
12562 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12563 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12564 _lt_compiler_boilerplate
=`cat conftest.err`
12567 ac_outfile
=conftest.
$ac_objext
12568 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12569 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12570 _lt_linker_boilerplate
=`cat conftest.err`
12574 # Allow CC to be a program name with arguments.
12579 lt_save_with_gnu_ld
=$with_gnu_ld
12580 lt_save_path_LD
=$lt_cv_path_LD
12581 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12582 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12584 $as_unset lt_cv_prog_gnu_ld
12586 if test -n "${lt_cv_path_LDCXX+set}"; then
12587 lt_cv_path_LD
=$lt_cv_path_LDCXX
12589 $as_unset lt_cv_path_LD
12591 test -z "${LDCXX+set}" || LD
=$LDCXX
12595 for cc_temp
in $compiler""; do
12597 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12598 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12603 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12606 if test -n "$compiler"; then
12607 # We don't want -fno-exception when compiling C++ code, so set the
12608 # no_builtin_flag separately
12609 if test "$GXX" = yes; then
12610 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12612 lt_prog_compiler_no_builtin_flag_CXX
=
12615 if test "$GXX" = yes; then
12616 # Set up default GNU C++ configuration
12620 # Check whether --with-gnu-ld was given.
12621 if test "${with_gnu_ld+set}" = set; then :
12622 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12628 if test "$GCC" = yes; then
12629 # Check if gcc -print-prog-name=ld gives a path.
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12631 $as_echo_n "checking for ld used by $CC... " >&6; }
12634 # gcc leaves a trailing carriage return which upsets mingw
12635 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12637 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12640 # Accept absolute paths.
12642 re_direlt
='/[^/][^/]*/\.\./'
12643 # Canonicalize the pathname of ld
12644 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12645 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12646 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12648 test -z "$LD" && LD
="$ac_prog"
12651 # If it fails, then pretend we aren't using GCC.
12655 # If it is relative, then search for the first ld in PATH.
12656 with_gnu_ld
=unknown
12659 elif test "$with_gnu_ld" = yes; then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12661 $as_echo_n "checking for GNU ld... " >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12664 $as_echo_n "checking for non-GNU ld... " >&6; }
12666 if test "${lt_cv_path_LD+set}" = set; then :
12667 $as_echo_n "(cached) " >&6
12669 if test -z "$LD"; then
12670 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12671 for ac_dir
in $PATH; do
12673 test -z "$ac_dir" && ac_dir
=.
12674 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12675 lt_cv_path_LD
="$ac_dir/$ac_prog"
12676 # Check to see if the program is GNU ld. I'd rather use --version,
12677 # but apparently some variants of GNU ld only accept -v.
12678 # Break only if it was the GNU/non-GNU ld that we prefer.
12679 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12680 *GNU
* |
*'with BFD'*)
12681 test "$with_gnu_ld" != no
&& break
12684 test "$with_gnu_ld" != yes && break
12691 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12695 LD
="$lt_cv_path_LD"
12696 if test -n "$LD"; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12698 $as_echo "$LD" >&6; }
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701 $as_echo "no" >&6; }
12703 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12705 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12706 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12707 $as_echo_n "(cached) " >&6
12709 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12710 case `$LD -v 2>&1 </dev/null` in
12711 *GNU
* |
*'with BFD'*)
12712 lt_cv_prog_gnu_ld
=yes
12715 lt_cv_prog_gnu_ld
=no
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12720 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12721 with_gnu_ld
=$lt_cv_prog_gnu_ld
12729 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12730 # archiving commands below assume that GNU ld is being used.
12731 if test "$with_gnu_ld" = yes; then
12732 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12733 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'
12735 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12736 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12738 # If archive_cmds runs LD, not CC, wlarc should be empty
12739 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12740 # investigate it a little bit more. (MM)
12743 # ancient GNU ld didn't support --whole-archive et. al.
12744 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12745 $GREP 'no-whole-archive' > /dev
/null
; then
12746 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12748 whole_archive_flag_spec_CXX
=
12754 # A generic and very simple default shared library creation
12755 # command for GNU C++ for the case where it uses the native
12756 # linker, instead of GNU ld. If possible, this setting should
12757 # overridden to take advantage of the native linker features on
12758 # the platform it is being used on.
12759 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12765 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12773 # PORTME: fill in a description of your system's C++ link characteristics
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12775 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12779 # FIXME: insert proper C++ library support
12783 if test "$host_cpu" = ia64
; then
12784 # On IA64, the linker does run time linking by default, so we don't
12785 # have to do anything special.
12786 aix_use_runtimelinking
=no
12787 exp_sym_flag
='-Bexport'
12790 aix_use_runtimelinking
=no
12792 # Test if we are trying to use run time linking or normal
12793 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12794 # need to do runtime linking.
12795 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12796 for ld_flag
in $LDFLAGS; do
12799 aix_use_runtimelinking
=yes
12807 exp_sym_flag
='-bexport'
12808 no_entry_flag
='-bnoentry'
12811 # When large executables or shared objects are built, AIX ld can
12812 # have problems creating the table of contents. If linking a library
12813 # or program results in "error TOC overflow" add -mminimal-toc to
12814 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12815 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12817 archive_cmds_CXX
=''
12818 hardcode_direct_CXX
=yes
12819 hardcode_direct_absolute_CXX
=yes
12820 hardcode_libdir_separator_CXX
=':'
12821 link_all_deplibs_CXX
=yes
12822 file_list_spec_CXX
='${wl}-f,'
12824 if test "$GXX" = yes; then
12825 case $host_os in aix4.
[012]|aix4.
[012].
*)
12826 # We only want to do this on AIX 4.2 and lower, the check
12827 # below for broken collect2 doesn't work under 4.3+
12828 collect2name
=`${CC} -print-prog-name=collect2`
12829 if test -f "$collect2name" &&
12830 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12832 # We have reworked collect2
12835 # We have old collect2
12836 hardcode_direct_CXX
=unsupported
12837 # It fails to find uninstalled libraries when the uninstalled
12838 # path is not listed in the libpath. Setting hardcode_minus_L
12839 # to unsupported forces relinking
12840 hardcode_minus_L_CXX
=yes
12841 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12842 hardcode_libdir_separator_CXX
=
12845 shared_flag
='-shared'
12846 if test "$aix_use_runtimelinking" = yes; then
12847 shared_flag
="$shared_flag "'${wl}-G'
12851 if test "$host_cpu" = ia64
; then
12852 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12853 # chokes on -Wl,-G. The following line is correct:
12856 if test "$aix_use_runtimelinking" = yes; then
12857 shared_flag
='${wl}-G'
12859 shared_flag
='${wl}-bM:SRE'
12864 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12865 # It seems that -bexpall does not export symbols beginning with
12866 # underscore (_), so it is better to generate a list of symbols to
12868 always_export_symbols_CXX
=yes
12869 if test "$aix_use_runtimelinking" = yes; then
12870 # Warning - without using the other runtime loading flags (-brtl),
12871 # -berok will link without error, but may produce a broken library.
12872 allow_undefined_flag_CXX
='-berok'
12873 # Determine the default libpath from the value encoded in an empty
12875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12886 if ac_fn_cxx_try_link
"$LINENO"; then :
12888 lt_aix_libpath_sed
='
12889 /Import File Strings/,/^$/ {
12895 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12896 # Check for a 64-bit object if we didn't find anything.
12897 if test -z "$aix_libpath"; then
12898 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12901 rm -f core conftest.err conftest.
$ac_objext \
12902 conftest
$ac_exeext conftest.
$ac_ext
12903 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12905 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12907 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"
12909 if test "$host_cpu" = ia64
; then
12910 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12911 allow_undefined_flag_CXX
="-z nodefs"
12912 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"
12914 # Determine the default libpath from the value encoded in an
12915 # empty executable.
12916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12927 if ac_fn_cxx_try_link
"$LINENO"; then :
12929 lt_aix_libpath_sed
='
12930 /Import File Strings/,/^$/ {
12936 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12937 # Check for a 64-bit object if we didn't find anything.
12938 if test -z "$aix_libpath"; then
12939 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12942 rm -f core conftest.err conftest.
$ac_objext \
12943 conftest
$ac_exeext conftest.
$ac_ext
12944 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12946 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12947 # Warning - without using the other run time loading flags,
12948 # -berok will link without error, but may produce a broken library.
12949 no_undefined_flag_CXX
=' ${wl}-bernotok'
12950 allow_undefined_flag_CXX
=' ${wl}-berok'
12951 if test "$with_gnu_ld" = yes; then
12952 # We only use this code for GNU lds that support --whole-archive.
12953 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12955 # Exported symbols can be pulled into shared objects from archives
12956 whole_archive_flag_spec_CXX
='$convenience'
12958 archive_cmds_need_lc_CXX
=yes
12959 # This is similar to how AIX traditionally builds its shared
12961 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'
12967 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12968 allow_undefined_flag_CXX
=unsupported
12969 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12970 # support --undefined. This deserves some investigation. FIXME
12971 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12978 case $cc_basename in
12980 # FIXME: insert proper C++ library support
12986 cygwin
* | mingw
* | pw32
* | cegcc
*)
12987 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12988 # as there is no search path for DLLs.
12989 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12990 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12991 allow_undefined_flag_CXX
=unsupported
12992 always_export_symbols_CXX
=no
12993 enable_shared_with_static_runtimes_CXX
=yes
12995 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12996 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'
12997 # If the export-symbols file already is a .def file (1st line
12998 # is EXPORTS), use it as is; otherwise, prepend...
12999 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13000 cp $export_symbols $output_objdir/$soname.def;
13002 echo EXPORTS > $output_objdir/$soname.def;
13003 cat $export_symbols >> $output_objdir/$soname.def;
13005 $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'
13010 darwin
* | rhapsody
*)
13013 archive_cmds_need_lc_CXX
=no
13014 hardcode_direct_CXX
=no
13015 hardcode_automatic_CXX
=yes
13016 hardcode_shlibpath_var_CXX
=unsupported
13017 if test "$lt_cv_ld_force_load" = "yes"; then
13018 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\"`'
13020 whole_archive_flag_spec_CXX
=''
13022 link_all_deplibs_CXX
=yes
13023 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13024 case $cc_basename in
13025 ifort
*) _lt_dar_can_shared
=yes ;;
13026 *) _lt_dar_can_shared
=$GCC ;;
13028 if test "$_lt_dar_can_shared" = "yes"; then
13029 output_verbose_link_cmd
=func_echo_all
13030 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}"
13031 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13032 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}"
13033 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}"
13034 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13035 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}"
13036 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}"
13046 case $cc_basename in
13048 # FIXME: insert proper C++ library support
13052 # Green Hills C++ Compiler
13053 # FIXME: insert proper C++ library support
13057 # FIXME: insert proper C++ library support
13064 # C++ shared libraries reported to be fairly broken before
13070 archive_cmds_need_lc_CXX
=no
13073 freebsd
* | dragonfly
*)
13074 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13083 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13084 link_all_deplibs_CXX
=yes
13088 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13089 hardcode_libdir_separator_CXX
=:
13090 export_dynamic_flag_spec_CXX
='${wl}-E'
13091 hardcode_direct_CXX
=yes
13092 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13093 # but as the default
13094 # location of the library.
13096 case $cc_basename in
13098 # FIXME: insert proper C++ library support
13102 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'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13107 # There doesn't appear to be a way to prevent this compiler from
13108 # explicitly linking system object files so we need to strip them
13109 # from the output so that they don't get included in the library
13111 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"'
13114 if test "$GXX" = yes; then
13115 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13117 # FIXME: insert proper C++ library support
13125 if test $with_gnu_ld = no
; then
13126 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13127 hardcode_libdir_separator_CXX
=:
13133 export_dynamic_flag_spec_CXX
='${wl}-E'
13139 hardcode_direct_CXX
=no
13140 hardcode_shlibpath_var_CXX
=no
13143 hardcode_direct_CXX
=yes
13144 hardcode_direct_absolute_CXX
=yes
13145 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13146 # but as the default
13147 # location of the library.
13151 case $cc_basename in
13153 # FIXME: insert proper C++ library support
13159 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13162 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13165 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13168 # Commands to make compiler produce verbose output that lists
13169 # what "hidden" libraries, object files and flags are used when
13170 # linking a shared library.
13172 # There doesn't appear to be a way to prevent this compiler from
13173 # explicitly linking system object files so we need to strip them
13174 # from the output so that they don't get included in the library
13176 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"'
13179 if test "$GXX" = yes; then
13180 if test $with_gnu_ld = no
; then
13183 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13186 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13189 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13194 # FIXME: insert proper C++ library support
13202 hardcode_direct_CXX
=no
13203 hardcode_shlibpath_var_CXX
=no
13204 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13205 export_dynamic_flag_spec_CXX
='${wl}-E'
13206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13207 # Instead, shared libraries are loaded at an image base (0x10000000 by
13208 # default) and relocated if they conflict, which is a slow very memory
13209 # consuming and fragmenting process. To avoid this, we pick a random,
13210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13212 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'
13213 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'
13216 case $cc_basename in
13219 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'
13221 # Archives containing C++ object files must be created using
13222 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13223 # necessary to make sure instantiated templates are included
13225 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13228 if test "$GXX" = yes; then
13229 if test "$with_gnu_ld" = no
; then
13230 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13232 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13235 link_all_deplibs_CXX
=yes
13238 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13239 hardcode_libdir_separator_CXX
=:
13240 inherit_rpath_CXX
=yes
13243 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13244 case $cc_basename in
13246 # Kuck and Associates, Inc. (KAI) C++ Compiler
13248 # KCC will only create a shared library if the output file
13249 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13250 # to its proper name (with version) after linking.
13251 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'
13252 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'
13253 # Commands to make compiler produce verbose output that lists
13254 # what "hidden" libraries, object files and flags are used when
13255 # linking a shared library.
13257 # There doesn't appear to be a way to prevent this compiler from
13258 # explicitly linking system object files so we need to strip them
13259 # from the output so that they don't get included in the library
13261 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"'
13263 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13264 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13266 # Archives containing C++ object files must be created using
13267 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13268 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13273 # version 8.0 and above of icpc choke on multiply defined symbols
13274 # if we add $predep_objects and $postdep_objects, however 7.1 and
13275 # earlier do not add the objects themselves.
13276 case `$CC -V 2>&1` in
13278 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279 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'
13281 *) # Version 8.0 or newer
13284 ia64
*) tmp_idyn
=' -i_dynamic';;
13286 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13287 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'
13290 archive_cmds_need_lc_CXX
=no
13291 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13292 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13293 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13296 # Portland Group C++ compiler
13298 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13299 prelink_cmds_CXX
='tpldir=Template.dir~
13301 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13302 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13303 old_archive_cmds_CXX
='tpldir=Template.dir~
13305 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13306 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13308 archive_cmds_CXX
='tpldir=Template.dir~
13310 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13311 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13312 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13314 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13315 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13317 *) # Version 6 and above use weak symbols
13318 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13319 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'
13323 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13324 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13325 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'
13329 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13330 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'
13332 runpath_var
=LD_RUN_PATH
13333 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13334 hardcode_libdir_separator_CXX
=:
13336 # Commands to make compiler produce verbose output that lists
13337 # what "hidden" libraries, object files and flags are used when
13338 # linking a shared library.
13340 # There doesn't appear to be a way to prevent this compiler from
13341 # explicitly linking system object files so we need to strip them
13342 # from the output so that they don't get included in the library
13344 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'
13346 xl
* | mpixl
* | bgxl
*)
13347 # IBM XL 8.0 on PPC, with GNU ld
13348 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13349 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13350 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13351 if test "x$supports_anon_versioning" = xyes
; then
13352 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13353 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13354 echo "local: *; };" >> $output_objdir/$libname.ver~
13355 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13359 case `$CC -V 2>&1 | sed 5q` in
13362 no_undefined_flag_CXX
=' -zdefs'
13363 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13364 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'
13365 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13366 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'
13367 compiler_needs_object_CXX
=yes
13369 # Not sure whether something based on
13370 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13372 output_verbose_link_cmd
='func_echo_all'
13374 # Archives containing C++ object files must be created using
13375 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13376 # necessary to make sure instantiated templates are included
13378 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13386 # FIXME: insert proper C++ library support
13391 # FIXME: insert proper C++ library support
13396 case $cc_basename in
13398 # FIXME: insert proper C++ library support
13402 # FIXME: insert proper C++ library support
13409 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13410 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13412 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13413 hardcode_direct_CXX
=yes
13414 hardcode_shlibpath_var_CXX
=no
13416 # Workaround some broken pre-1.5 toolchains
13417 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13425 # C++ shared libraries are fairly broken
13430 if test -f /usr
/libexec
/ld.so
; then
13431 hardcode_direct_CXX
=yes
13432 hardcode_shlibpath_var_CXX
=no
13433 hardcode_direct_absolute_CXX
=yes
13434 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13435 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13436 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13437 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13438 export_dynamic_flag_spec_CXX
='${wl}-E'
13439 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13441 output_verbose_link_cmd
=func_echo_all
13447 osf3
* | osf4
* | osf5
*)
13448 case $cc_basename in
13450 # Kuck and Associates, Inc. (KAI) C++ Compiler
13452 # KCC will only create a shared library if the output file
13453 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13454 # to its proper name (with version) after linking.
13455 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'
13457 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13458 hardcode_libdir_separator_CXX
=:
13460 # Archives containing C++ object files must be created using
13461 # the KAI C++ compiler.
13463 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13464 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13468 # Rational C++ 2.4.1
13469 # FIXME: insert proper C++ library support
13475 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13476 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'
13477 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13480 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13481 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'
13482 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13483 echo "-hidden">> $lib.exp~
13484 $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~
13486 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13490 hardcode_libdir_separator_CXX
=:
13492 # Commands to make compiler produce verbose output that lists
13493 # what "hidden" libraries, object files and flags are used when
13494 # linking a shared library.
13496 # There doesn't appear to be a way to prevent this compiler from
13497 # explicitly linking system object files so we need to strip them
13498 # from the output so that they don't get included in the library
13500 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"'
13503 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13504 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13507 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'
13510 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13514 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13515 hardcode_libdir_separator_CXX
=:
13517 # Commands to make compiler produce verbose output that lists
13518 # what "hidden" libraries, object files and flags are used when
13519 # linking a shared library.
13520 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13523 # FIXME: insert proper C++ library support
13531 # FIXME: insert proper C++ library support
13536 case $cc_basename in
13539 # FIXME: insert proper C++ library support
13544 # FIXME: insert proper C++ library support
13548 # FIXME: insert proper C++ library support
13555 case $cc_basename in
13557 # Sun C++ 4.2, 5.x and Centerline C++
13558 archive_cmds_need_lc_CXX
=yes
13559 no_undefined_flag_CXX
=' -zdefs'
13560 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13561 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13562 $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'
13564 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13565 hardcode_shlibpath_var_CXX
=no
13567 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13569 # The compiler driver will combine and reorder linker options,
13570 # but understands `-z linker_flag'.
13571 # Supported since Solaris 2.6 (maybe 2.5.1?)
13572 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13575 link_all_deplibs_CXX
=yes
13577 output_verbose_link_cmd
='func_echo_all'
13579 # Archives containing C++ object files must be created using
13580 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13581 # necessary to make sure instantiated templates are included
13583 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13586 # Green Hills C++ Compiler
13587 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13589 # The C++ compiler must be used to create the archive.
13590 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13593 # GNU C++ compiler with Solaris linker
13594 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13595 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13596 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13597 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13598 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13599 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13601 # Commands to make compiler produce verbose output that lists
13602 # what "hidden" libraries, object files and flags are used when
13603 # linking a shared library.
13604 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13606 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13608 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13609 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13610 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13612 # Commands to make compiler produce verbose output that lists
13613 # what "hidden" libraries, object files and flags are used when
13614 # linking a shared library.
13615 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13618 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13620 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13622 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13630 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13631 no_undefined_flag_CXX
='${wl}-z,text'
13632 archive_cmds_need_lc_CXX
=no
13633 hardcode_shlibpath_var_CXX
=no
13634 runpath_var
='LD_RUN_PATH'
13636 case $cc_basename in
13638 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13639 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13642 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13643 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13648 sysv5
* | sco3.2v5
* | sco5v6
*)
13649 # Note: We can NOT use -z defs as we might desire, because we do not
13650 # link with -lc, and that would cause any symbols used from libc to
13651 # always be unresolved, which means just about no library would
13652 # ever link correctly. If we're not using GNU ld we use -z text
13653 # though, which does catch some bad symbols but isn't as heavy-handed
13655 no_undefined_flag_CXX
='${wl}-z,text'
13656 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13657 archive_cmds_need_lc_CXX
=no
13658 hardcode_shlibpath_var_CXX
=no
13659 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13660 hardcode_libdir_separator_CXX
=':'
13661 link_all_deplibs_CXX
=yes
13662 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13663 runpath_var
='LD_RUN_PATH'
13665 case $cc_basename in
13667 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13668 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13669 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13670 '"$old_archive_cmds_CXX"
13671 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13672 '"$reload_cmds_CXX"
13675 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13682 case $cc_basename in
13684 # NonStop-UX NCC 3.20
13685 # FIXME: insert proper C++ library support
13689 # FIXME: insert proper C++ library support
13696 # FIXME: insert proper C++ library support
13701 # FIXME: insert proper C++ library support
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13707 $as_echo "$ld_shlibs_CXX" >&6; }
13708 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13714 ## There is no encapsulation within the following macros, do not change
13715 ## the running order or otherwise move them around unless you know exactly
13716 ## what you are doing...
13717 # Dependencies to place before and after the object being linked:
13718 predep_objects_CXX
=
13719 postdep_objects_CXX
=
13722 compiler_lib_search_path_CXX
=
13724 cat > conftest.
$ac_ext <<_LT_EOF
13728 Foo (void) { a = 0; }
13734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13735 (eval $ac_compile) 2>&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13738 test $ac_status = 0; }; then
13739 # Parse the compiler output and extract the necessary
13740 # objects, libraries and library flags.
13742 # Sentinel used to keep track of whether or not we are before
13743 # the conftest object file.
13744 pre_test_object_deps_done
=no
13746 for p
in `eval "$output_verbose_link_cmd"`; do
13750 # Some compilers place space between "-{L,R}" and the path.
13751 # Remove the space.
13752 if test $p = "-L" ||
13753 test $p = "-R"; then
13760 if test "$pre_test_object_deps_done" = no
; then
13763 # Internal compiler library paths should come after those
13764 # provided the user. The postdeps already come after the
13765 # user supplied libs so there is no need to process them.
13766 if test -z "$compiler_lib_search_path_CXX"; then
13767 compiler_lib_search_path_CXX
="${prev}${p}"
13769 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13772 # The "-l" case would never come before the object being
13773 # linked, so don't bother handling this case.
13776 if test -z "$postdeps_CXX"; then
13777 postdeps_CXX
="${prev}${p}"
13779 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13785 # This assumes that the test object file only shows up
13786 # once in the compiler output.
13787 if test "$p" = "conftest.$objext"; then
13788 pre_test_object_deps_done
=yes
13792 if test "$pre_test_object_deps_done" = no
; then
13793 if test -z "$predep_objects_CXX"; then
13794 predep_objects_CXX
="$p"
13796 predep_objects_CXX
="$predep_objects_CXX $p"
13799 if test -z "$postdep_objects_CXX"; then
13800 postdep_objects_CXX
="$p"
13802 postdep_objects_CXX
="$postdep_objects_CXX $p"
13807 *) ;; # Ignore the rest.
13815 echo "libtool.m4: error: problem compiling CXX test program"
13818 $RM -f confest.
$objext
13820 # PORTME: override above test on systems where it is broken
13823 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13824 # hack all around it, let's just trust "g++" to DTRT.
13825 predep_objects_CXX
=
13826 postdep_objects_CXX
=
13831 case `$CC -V 2>&1 | sed 5q` in
13835 # The more standards-conforming stlport4 library is
13836 # incompatible with the Cstd library. Avoid specifying
13837 # it if it's in CXXFLAGS. Ignore libCrun as
13838 # -library=stlport4 depends on it.
13839 case " $CXX $CXXFLAGS " in
13840 *" -library=stlport4 "*)
13841 solaris_use_stlport4
=yes
13845 if test "$solaris_use_stlport4" != yes; then
13846 postdeps_CXX
='-library=Cstd -library=Crun'
13853 case $cc_basename in
13855 # The more standards-conforming stlport4 library is
13856 # incompatible with the Cstd library. Avoid specifying
13857 # it if it's in CXXFLAGS. Ignore libCrun as
13858 # -library=stlport4 depends on it.
13859 case " $CXX $CXXFLAGS " in
13860 *" -library=stlport4 "*)
13861 solaris_use_stlport4
=yes
13865 # Adding this requires a known-good setup of shared libraries for
13866 # Sun compiler versions before 5.6, else PIC objects from an old
13867 # archive will be linked into the output, leading to subtle bugs.
13868 if test "$solaris_use_stlport4" != yes; then
13869 postdeps_CXX
='-library=Cstd -library=Crun'
13877 case " $postdeps_CXX " in
13878 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13880 compiler_lib_search_dirs_CXX
=
13881 if test -n "${compiler_lib_search_path_CXX}"; then
13882 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13915 lt_prog_compiler_wl_CXX
=
13916 lt_prog_compiler_pic_CXX
=
13917 lt_prog_compiler_static_CXX
=
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13920 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13922 # C++ specific cases for pic, static, wl, etc.
13923 if test "$GXX" = yes; then
13924 lt_prog_compiler_wl_CXX
='-Wl,'
13925 lt_prog_compiler_static_CXX
='-static'
13929 # All AIX code is PIC.
13930 if test "$host_cpu" = ia64
; then
13931 # AIX 5 now supports IA64 processor
13932 lt_prog_compiler_static_CXX
='-Bstatic'
13934 lt_prog_compiler_pic_CXX
='-fPIC'
13940 # see comment about AmigaOS4 .so support
13941 lt_prog_compiler_pic_CXX
='-fPIC'
13944 # FIXME: we need at least 68020 code to build shared libraries, but
13945 # adding the `-m68020' flag to GCC prevents building anything better,
13947 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13952 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13953 # PIC is the default for these OSes.
13955 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13956 # This hack is so that the source file can tell whether it is being
13957 # built for inclusion in a dll (and should export symbols for example).
13958 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13959 # (--disable-auto-import) libraries
13960 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13962 darwin
* | rhapsody
*)
13963 # PIC is the default on this platform
13964 # Common symbols not allowed in MH_DYLIB files
13965 lt_prog_compiler_pic_CXX
='-fno-common'
13968 # DJGPP does not support shared libraries at all
13969 lt_prog_compiler_pic_CXX
=
13972 # PIC is the default for Haiku.
13973 # The "-static" flag exists, but is broken.
13974 lt_prog_compiler_static_CXX
=
13977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13978 # Instead, we relocate shared libraries at runtime.
13981 if test -d /usr
/nec
; then
13982 lt_prog_compiler_pic_CXX
=-Kconform_pic
13986 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13987 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13988 # sets the default TLS model and affects inlining.
13993 lt_prog_compiler_pic_CXX
='-fPIC'
13998 # QNX uses GNU C++, but need to define -shared option too, otherwise
13999 # it will coredump.
14000 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14003 lt_prog_compiler_pic_CXX
='-fPIC'
14009 # All AIX code is PIC.
14010 if test "$host_cpu" = ia64
; then
14011 # AIX 5 now supports IA64 processor
14012 lt_prog_compiler_static_CXX
='-Bstatic'
14014 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14018 case $cc_basename in
14020 # Green Hills C++ Compiler
14021 # _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"
14026 case $cc_basename in
14028 lt_prog_compiler_pic_CXX
='-KPIC'
14031 # Green Hills C++ Compiler
14032 lt_prog_compiler_pic_CXX
='-pic'
14038 freebsd
* | dragonfly
*)
14039 # FreeBSD uses GNU C++
14041 hpux9
* | hpux10
* | hpux11
*)
14042 case $cc_basename in
14044 lt_prog_compiler_wl_CXX
='-Wl,'
14045 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14046 if test "$host_cpu" != ia64
; then
14047 lt_prog_compiler_pic_CXX
='+Z'
14051 lt_prog_compiler_wl_CXX
='-Wl,'
14052 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14058 lt_prog_compiler_pic_CXX
='+Z'
14067 # This is c89, which is MS Visual C++ (no shared libs)
14068 # Anyone wants to do a port?
14070 irix5
* | irix6
* | nonstopux
*)
14071 case $cc_basename in
14073 lt_prog_compiler_wl_CXX
='-Wl,'
14074 lt_prog_compiler_static_CXX
='-non_shared'
14075 # CC pic flag -KPIC is the default.
14081 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14082 case $cc_basename in
14085 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14086 lt_prog_compiler_pic_CXX
='-fPIC'
14089 # old Intel C++ for x86_64 which still supported -KPIC.
14090 lt_prog_compiler_wl_CXX
='-Wl,'
14091 lt_prog_compiler_pic_CXX
='-KPIC'
14092 lt_prog_compiler_static_CXX
='-static'
14095 # Intel C++, used to be incompatible with GCC.
14096 # ICC 10 doesn't accept -KPIC any more.
14097 lt_prog_compiler_wl_CXX
='-Wl,'
14098 lt_prog_compiler_pic_CXX
='-fPIC'
14099 lt_prog_compiler_static_CXX
='-static'
14102 # Portland Group C++ compiler
14103 lt_prog_compiler_wl_CXX
='-Wl,'
14104 lt_prog_compiler_pic_CXX
='-fpic'
14105 lt_prog_compiler_static_CXX
='-Bstatic'
14109 # Make sure the PIC flag is empty. It appears that all Alpha
14110 # Linux and Compaq Tru64 Unix objects are PIC.
14111 lt_prog_compiler_pic_CXX
=
14112 lt_prog_compiler_static_CXX
='-non_shared'
14114 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14115 # IBM XL 8.0, 9.0 on PPC and BlueGene
14116 lt_prog_compiler_wl_CXX
='-Wl,'
14117 lt_prog_compiler_pic_CXX
='-qpic'
14118 lt_prog_compiler_static_CXX
='-qstaticlink'
14121 case `$CC -V 2>&1 | sed 5q` in
14124 lt_prog_compiler_pic_CXX
='-KPIC'
14125 lt_prog_compiler_static_CXX
='-Bstatic'
14126 lt_prog_compiler_wl_CXX
='-Qoption ld '
14137 case $cc_basename in
14139 lt_prog_compiler_pic_CXX
='-W c,exportall'
14148 # QNX uses GNU C++, but need to define -shared option too, otherwise
14149 # it will coredump.
14150 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14152 osf3
* | osf4
* | osf5
*)
14153 case $cc_basename in
14155 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14158 # Rational C++ 2.4.1
14159 lt_prog_compiler_pic_CXX
='-pic'
14162 # Digital/Compaq C++
14163 lt_prog_compiler_wl_CXX
='-Wl,'
14164 # Make sure the PIC flag is empty. It appears that all Alpha
14165 # Linux and Compaq Tru64 Unix objects are PIC.
14166 lt_prog_compiler_pic_CXX
=
14167 lt_prog_compiler_static_CXX
='-non_shared'
14176 case $cc_basename in
14178 # Sun C++ 4.2, 5.x and Centerline C++
14179 lt_prog_compiler_pic_CXX
='-KPIC'
14180 lt_prog_compiler_static_CXX
='-Bstatic'
14181 lt_prog_compiler_wl_CXX
='-Qoption ld '
14184 # Green Hills C++ Compiler
14185 lt_prog_compiler_pic_CXX
='-PIC'
14192 case $cc_basename in
14195 lt_prog_compiler_pic_CXX
='-pic'
14196 lt_prog_compiler_static_CXX
='-Bstatic'
14200 lt_prog_compiler_pic_CXX
='-pic'
14206 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14207 case $cc_basename in
14209 lt_prog_compiler_wl_CXX
='-Wl,'
14210 lt_prog_compiler_pic_CXX
='-KPIC'
14211 lt_prog_compiler_static_CXX
='-Bstatic'
14216 case $cc_basename in
14218 # NonStop-UX NCC 3.20
14219 lt_prog_compiler_pic_CXX
='-KPIC'
14228 lt_prog_compiler_can_build_shared_CXX
=no
14234 # For platforms which do not support PIC, -DPIC is meaningless:
14236 lt_prog_compiler_pic_CXX
=
14239 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14243 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14248 # Check to make sure the PIC flag actually works.
14250 if test -n "$lt_prog_compiler_pic_CXX"; then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14252 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14253 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14254 $as_echo_n "(cached) " >&6
14256 lt_cv_prog_compiler_pic_works_CXX
=no
14257 ac_outfile
=conftest.
$ac_objext
14258 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14259 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14260 # Insert the option either (1) after the last *FLAGS variable, or
14261 # (2) before a word containing "conftest.", or (3) at the end.
14262 # Note that $ac_compile itself does not contain backslashes and begins
14263 # with a dollar sign (not a hyphen), so the echo should work correctly.
14264 # The option is referenced via a variable to avoid confusing sed.
14265 lt_compile
=`echo "$ac_compile" | $SED \
14266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14268 -e 's:$: $lt_compiler_flag:'`
14269 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14270 (eval "$lt_compile" 2>conftest.err
)
14272 cat conftest.err
>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 if (exit $ac_status) && test -s "$ac_outfile"; then
14275 # The compiler can only warn and ignore the option if not recognized
14276 # So say no if there are warnings other than the usual output.
14277 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14278 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14279 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14280 lt_cv_prog_compiler_pic_works_CXX
=yes
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14287 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14289 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14290 case $lt_prog_compiler_pic_CXX in
14292 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14295 lt_prog_compiler_pic_CXX
=
14296 lt_prog_compiler_can_build_shared_CXX
=no
14304 # Check to make sure the static flag actually works.
14306 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14308 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14309 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14310 $as_echo_n "(cached) " >&6
14312 lt_cv_prog_compiler_static_works_CXX
=no
14313 save_LDFLAGS
="$LDFLAGS"
14314 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14315 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14316 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14317 # The linker can only warn and ignore the option if not recognized
14318 # So say no if there are warnings
14319 if test -s conftest.err
; then
14320 # Append any errors to the config.log.
14321 cat conftest.err
1>&5
14322 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14324 if diff conftest.exp conftest.er2
>/dev
/null
; then
14325 lt_cv_prog_compiler_static_works_CXX
=yes
14328 lt_cv_prog_compiler_static_works_CXX
=yes
14332 LDFLAGS
="$save_LDFLAGS"
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14336 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14338 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14341 lt_prog_compiler_static_CXX
=
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14348 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14349 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14350 $as_echo_n "(cached) " >&6
14352 lt_cv_prog_compiler_c_o_CXX
=no
14353 $RM -r conftest
2>/dev
/null
14357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14359 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14360 # Insert the option either (1) after the last *FLAGS variable, or
14361 # (2) before a word containing "conftest.", or (3) at the end.
14362 # Note that $ac_compile itself does not contain backslashes and begins
14363 # with a dollar sign (not a hyphen), so the echo should work correctly.
14364 lt_compile
=`echo "$ac_compile" | $SED \
14365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14367 -e 's:$: $lt_compiler_flag:'`
14368 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14369 (eval "$lt_compile" 2>out
/conftest.err
)
14371 cat out
/conftest.err
>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14375 # The compiler can only warn and ignore the option if not recognized
14376 # So say no if there are warnings
14377 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14378 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14379 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14380 lt_cv_prog_compiler_c_o_CXX
=yes
14385 # SGI C++ compiler will create directory out/ii_files/ for
14386 # template instantiation
14387 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14388 $RM out
/* && rmdir out
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14395 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14400 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14401 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14402 $as_echo_n "(cached) " >&6
14404 lt_cv_prog_compiler_c_o_CXX
=no
14405 $RM -r conftest
2>/dev
/null
14409 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14411 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14412 # Insert the option either (1) after the last *FLAGS variable, or
14413 # (2) before a word containing "conftest.", or (3) at the end.
14414 # Note that $ac_compile itself does not contain backslashes and begins
14415 # with a dollar sign (not a hyphen), so the echo should work correctly.
14416 lt_compile
=`echo "$ac_compile" | $SED \
14417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14419 -e 's:$: $lt_compiler_flag:'`
14420 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14421 (eval "$lt_compile" 2>out
/conftest.err
)
14423 cat out
/conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14427 # The compiler can only warn and ignore the option if not recognized
14428 # So say no if there are warnings
14429 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14430 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14431 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14432 lt_cv_prog_compiler_c_o_CXX
=yes
14437 # SGI C++ compiler will create directory out/ii_files/ for
14438 # template instantiation
14439 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14440 $RM out
/* && rmdir out
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14447 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14452 hard_links
="nottested"
14453 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14454 # do not overwrite the value of need_locks provided by the user
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14456 $as_echo_n "checking if we can lock with hard links... " >&6; }
14459 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14461 ln conftest.a conftest.b
2>&5 || hard_links
=no
14462 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14464 $as_echo "$hard_links" >&6; }
14465 if test "$hard_links" = no
; then
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14467 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14477 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14479 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14482 # If we're using GNU nm, then we don't want the "-C" option.
14483 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14484 # Also, AIX nm treats weak defined symbols like other global defined
14485 # symbols, whereas GNU nm marks them as "W".
14486 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14487 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'
14489 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14493 export_symbols_cmds_CXX
="$ltdll_cmds"
14495 cygwin
* | mingw
* | cegcc
*)
14496 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14499 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14502 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14505 $as_echo "$ld_shlibs_CXX" >&6; }
14506 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14508 with_gnu_ld_CXX
=$with_gnu_ld
14516 # Do we need to explicitly link libc?
14518 case "x$archive_cmds_need_lc_CXX" in
14520 # Assume -lc should be added
14521 archive_cmds_need_lc_CXX
=yes
14523 if test "$enable_shared" = yes && test "$GCC" = yes; then
14524 case $archive_cmds_CXX in
14526 # FIXME: we may have to deal with multi-command sequences.
14529 # Test whether the compiler implicitly links with -lc since on some
14530 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14531 # to ld, don't add -lc before -lgcc.
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14533 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14534 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14535 $as_echo_n "(cached) " >&6
14538 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14541 (eval $ac_compile) 2>&5
14543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14544 test $ac_status = 0; } 2>conftest.err
; then
14547 libobjs
=conftest.
$ac_objext
14549 wl
=$lt_prog_compiler_wl_CXX
14550 pic_flag
=$lt_prog_compiler_pic_CXX
14556 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14557 allow_undefined_flag_CXX
=
14558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14559 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14562 test $ac_status = 0; }
14564 lt_cv_archive_cmds_need_lc_CXX
=no
14566 lt_cv_archive_cmds_need_lc_CXX
=yes
14568 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14570 cat conftest.err
1>&5
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14576 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14577 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14648 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14650 library_names_spec
=
14651 libname_spec
='lib$name'
14655 postuninstall_cmds
=
14659 shlibpath_overrides_runpath
=unknown
14661 dynamic_linker
="$host_os ld.so"
14662 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14663 need_lib_prefix
=unknown
14664 hardcode_into_libs
=no
14666 # when you set need_version to no, make sure it does not cause -set_version
14667 # flags to be left without arguments
14668 need_version
=unknown
14673 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14674 shlibpath_var
=LIBPATH
14676 # AIX 3 has no versioning support, so we append a major version to the name.
14677 soname_spec
='${libname}${release}${shared_ext}$major'
14684 hardcode_into_libs
=yes
14685 if test "$host_cpu" = ia64
; then
14686 # AIX 5 supports IA64
14687 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14688 shlibpath_var
=LD_LIBRARY_PATH
14690 # With GCC up to 2.95.x, collect2 would create an import file
14691 # for dependence libraries. The import file would start with
14692 # the line `#! .'. This would cause the generated library to
14693 # depend on `.', always an invalid library. This was fixed in
14694 # development snapshots of GCC prior to 3.0.
14696 aix4 | aix4.
[01] | aix4.
[01].
*)
14697 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14699 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14702 can_build_shared
=no
14706 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14707 # soname into executable. Probably we can add versioning support to
14708 # collect2, so additional links can be useful in future.
14709 if test "$aix_use_runtimelinking" = yes; then
14710 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14711 # instead of lib<name>.a to let people know that these are not
14712 # typical AIX shared libraries.
14713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 # We preserve .a as extension for shared libraries through AIX4.2
14716 # and later when we are not doing run time linking.
14717 library_names_spec
='${libname}${release}.a $libname.a'
14718 soname_spec
='${libname}${release}${shared_ext}$major'
14720 shlibpath_var
=LIBPATH
14727 # Since July 2007 AmigaOS4 officially supports .so libraries.
14728 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 library_names_spec
='$libname.ixlibrary $libname.a'
14733 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14734 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'
14740 library_names_spec
='${libname}${shared_ext}'
14741 dynamic_linker
="$host_os ld.so"
14742 shlibpath_var
=LIBRARY_PATH
14748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749 soname_spec
='${libname}${release}${shared_ext}$major'
14750 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14751 shlibpath_var
=LD_LIBRARY_PATH
14752 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14753 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14754 # the default ld.so.conf also contains /usr/contrib/lib and
14755 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14756 # libtool to hard-code these into programs
14759 cygwin
* | mingw
* | pw32
* | cegcc
*)
14760 version_type
=windows
14765 case $GCC,$host_os in
14766 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14767 library_names_spec
='$libname.dll.a'
14768 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14769 postinstall_cmds
='base_file=`basename \${file}`~
14770 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14771 dldir=$destdir/`dirname \$dlpath`~
14772 test -d \$dldir || mkdir -p \$dldir~
14773 $install_prog $dir/$dlname \$dldir/$dlname~
14774 chmod a+x \$dldir/$dlname~
14775 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14776 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14778 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14779 dlpath=$dir/\$dldll~
14781 shlibpath_overrides_runpath
=yes
14785 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14786 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14790 # MinGW DLLs use traditional 'lib' prefix
14791 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14794 # pw32 DLLs use 'pw' prefix rather than 'lib'
14795 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14801 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14804 dynamic_linker
='Win32 ld.exe'
14805 # FIXME: first we should search . and the directory the executable is in
14809 darwin
* | rhapsody
*)
14810 dynamic_linker
="$host_os dyld"
14811 version_type
=darwin
14814 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14815 soname_spec
='${libname}${release}${major}$shared_ext'
14816 shlibpath_overrides_runpath
=yes
14817 shlibpath_var
=DYLD_LIBRARY_PATH
14818 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14820 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14828 soname_spec
='${libname}${release}${shared_ext}$major'
14829 shlibpath_var
=LD_LIBRARY_PATH
14832 freebsd
* | dragonfly
*)
14833 # DragonFly does not have aout. When/if they implement a new
14834 # versioning mechanism, adjust this.
14835 if test -x /usr
/bin
/objformat
; then
14836 objformat
=`/usr/bin/objformat`
14839 freebsd
[23].
*) objformat
=aout
;;
14840 *) objformat
=elf
;;
14843 version_type
=freebsd-
$objformat
14844 case $version_type in
14846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14851 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14855 shlibpath_var
=LD_LIBRARY_PATH
14858 shlibpath_overrides_runpath
=yes
14860 freebsd3.
[01]* | freebsdelf3.
[01]*)
14861 shlibpath_overrides_runpath
=yes
14862 hardcode_into_libs
=yes
14864 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14865 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14866 shlibpath_overrides_runpath
=no
14867 hardcode_into_libs
=yes
14869 *) # from 4.6 on, and DragonFly
14870 shlibpath_overrides_runpath
=yes
14871 hardcode_into_libs
=yes
14880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14881 soname_spec
='${libname}${release}${shared_ext}$major'
14882 shlibpath_var
=LD_LIBRARY_PATH
14883 hardcode_into_libs
=yes
14890 dynamic_linker
="$host_os runtime_loader"
14891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14892 soname_spec
='${libname}${release}${shared_ext}$major'
14893 shlibpath_var
=LIBRARY_PATH
14894 shlibpath_overrides_runpath
=yes
14895 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14896 hardcode_into_libs
=yes
14899 hpux9
* | hpux10
* | hpux11
*)
14900 # Give a soname corresponding to the major version so that dld.sl refuses to
14901 # link against other versions.
14908 hardcode_into_libs
=yes
14909 dynamic_linker
="$host_os dld.so"
14910 shlibpath_var
=LD_LIBRARY_PATH
14911 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14913 soname_spec
='${libname}${release}${shared_ext}$major'
14914 if test "X$HPUX_IA64_MODE" = X32
; then
14915 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14917 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14919 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14923 hardcode_into_libs
=yes
14924 dynamic_linker
="$host_os dld.sl"
14925 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14926 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14928 soname_spec
='${libname}${release}${shared_ext}$major'
14929 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14930 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14934 dynamic_linker
="$host_os dld.sl"
14935 shlibpath_var
=SHLIB_PATH
14936 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938 soname_spec
='${libname}${release}${shared_ext}$major'
14941 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14942 postinstall_cmds
='chmod 555 $lib'
14943 # or fails outright, so override atomically:
14944 install_override_mode
=555
14951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14952 soname_spec
='${libname}${release}${shared_ext}$major'
14953 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14954 shlibpath_var
=LD_LIBRARY_PATH
14955 shlibpath_overrides_runpath
=no
14956 hardcode_into_libs
=yes
14959 irix5
* | irix6
* | nonstopux
*)
14961 nonstopux
*) version_type
=nonstopux
;;
14963 if test "$lt_cv_prog_gnu_ld" = yes; then
14971 soname_spec
='${libname}${release}${shared_ext}$major'
14972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14974 irix5
* | nonstopux
*)
14975 libsuff
= shlibsuff
=
14978 case $LD in # libtool.m4 will add one of these switches to LD
14979 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14980 libsuff
= shlibsuff
= libmagic
=32-bit;;
14981 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14982 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14983 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14984 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14985 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14989 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14990 shlibpath_overrides_runpath
=no
14991 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14992 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14993 hardcode_into_libs
=yes
14996 # No shared lib support for Linux oldld, aout, or coff.
14997 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15001 # This must be Linux ELF.
15002 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 soname_spec
='${libname}${release}${shared_ext}$major'
15008 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15009 shlibpath_var
=LD_LIBRARY_PATH
15010 shlibpath_overrides_runpath
=no
15012 # Some binutils ld are patched to set DT_RUNPATH
15013 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15014 $as_echo_n "(cached) " >&6
15016 lt_cv_shlibpath_overrides_runpath
=no
15017 save_LDFLAGS
=$LDFLAGS
15018 save_libdir
=$libdir
15019 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15020 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15032 if ac_fn_cxx_try_link
"$LINENO"; then :
15033 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15034 lt_cv_shlibpath_overrides_runpath
=yes
15037 rm -f core conftest.err conftest.
$ac_objext \
15038 conftest
$ac_exeext conftest.
$ac_ext
15039 LDFLAGS
=$save_LDFLAGS
15040 libdir
=$save_libdir
15044 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15046 # This implies no fast_install, which is unacceptable.
15047 # Some rework will be needed to allow for fast_install
15048 # before this can be enabled.
15049 hardcode_into_libs
=yes
15051 # Append ld.so.conf contents to the search path
15052 if test -f /etc
/ld.so.conf
; then
15053 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' ' '`
15054 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15057 # We used to test for /lib/ld.so.1 and disable shared libraries on
15058 # powerpc, because MkLinux only supported shared libraries with the
15059 # GNU dynamic linker. Since this was broken with cross compilers,
15060 # most powerpc-linux boxes support dynamic linking these days and
15061 # people can always --disable-shared, the test was removed, and we
15062 # assume the GNU/Linux dynamic linker is in use.
15063 dynamic_linker
='GNU/Linux ld.so'
15070 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15073 dynamic_linker
='NetBSD (a.out) ld.so'
15075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15076 soname_spec
='${libname}${release}${shared_ext}$major'
15077 dynamic_linker
='NetBSD ld.elf_so'
15079 shlibpath_var
=LD_LIBRARY_PATH
15080 shlibpath_overrides_runpath
=yes
15081 hardcode_into_libs
=yes
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 shlibpath_var
=LD_LIBRARY_PATH
15088 shlibpath_overrides_runpath
=yes
15095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15096 soname_spec
='${libname}${release}${shared_ext}$major'
15097 shlibpath_var
=LD_LIBRARY_PATH
15098 shlibpath_overrides_runpath
=no
15099 hardcode_into_libs
=yes
15100 dynamic_linker
='ldqnx.so'
15105 sys_lib_dlsearch_path_spec
="/usr/lib"
15107 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15109 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15110 *) need_version
=no
;;
15112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15114 shlibpath_var
=LD_LIBRARY_PATH
15115 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15117 openbsd2.
[89] | openbsd2.
[89].
*)
15118 shlibpath_overrides_runpath
=no
15121 shlibpath_overrides_runpath
=yes
15125 shlibpath_overrides_runpath
=yes
15130 libname_spec
='$name'
15133 library_names_spec
='$libname${shared_ext} $libname.a'
15134 dynamic_linker
='OS/2 ld.exe'
15135 shlibpath_var
=LIBPATH
15138 osf3
* | osf4
* | osf5
*)
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15144 shlibpath_var
=LD_LIBRARY_PATH
15145 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15146 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 soname_spec
='${libname}${release}${shared_ext}$major'
15159 shlibpath_var
=LD_LIBRARY_PATH
15160 shlibpath_overrides_runpath
=yes
15161 hardcode_into_libs
=yes
15162 # ldd complains unless libraries are executable
15163 postinstall_cmds
='chmod +x $lib'
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15169 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15170 shlibpath_var
=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath
=yes
15172 if test "$with_gnu_ld" = yes; then
15180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181 soname_spec
='${libname}${release}${shared_ext}$major'
15182 shlibpath_var
=LD_LIBRARY_PATH
15183 case $host_vendor in
15185 shlibpath_overrides_runpath
=no
15187 runpath_var
=LD_RUN_PATH
15195 shlibpath_overrides_runpath
=no
15196 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15202 if test -d /usr
/nec
;then
15204 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15205 soname_spec
='$libname${shared_ext}.$major'
15206 shlibpath_var
=LD_LIBRARY_PATH
15210 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15211 version_type
=freebsd-elf
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 shlibpath_var
=LD_LIBRARY_PATH
15217 shlibpath_overrides_runpath
=yes
15218 hardcode_into_libs
=yes
15219 if test "$with_gnu_ld" = yes; then
15220 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15222 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15225 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15229 sys_lib_dlsearch_path_spec
='/usr/lib'
15233 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15238 shlibpath_var
=LD_LIBRARY_PATH
15239 shlibpath_overrides_runpath
=no
15240 hardcode_into_libs
=yes
15245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15246 soname_spec
='${libname}${release}${shared_ext}$major'
15247 shlibpath_var
=LD_LIBRARY_PATH
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15255 $as_echo "$dynamic_linker" >&6; }
15256 test "$dynamic_linker" = no
&& can_build_shared
=no
15258 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15259 if test "$GCC" = yes; then
15260 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15263 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15264 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15266 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15267 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15308 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15309 hardcode_action_CXX
=
15310 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15311 test -n "$runpath_var_CXX" ||
15312 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15314 # We can hardcode non-existent directories.
15315 if test "$hardcode_direct_CXX" != no
&&
15316 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15317 # have to relink, otherwise we might link with an installed library
15318 # when we should be linking with a yet-to-be-installed one
15319 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15320 test "$hardcode_minus_L_CXX" != no
; then
15321 # Linking always hardcodes the temporary library directory.
15322 hardcode_action_CXX
=relink
15324 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15325 hardcode_action_CXX
=immediate
15328 # We cannot hardcode anything, or else we can only hardcode existing
15330 hardcode_action_CXX
=unsupported
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15333 $as_echo "$hardcode_action_CXX" >&6; }
15335 if test "$hardcode_action_CXX" = relink ||
15336 test "$inherit_rpath_CXX" = yes; then
15337 # Fast installation is not supported
15338 enable_fast_install
=no
15339 elif test "$shlibpath_overrides_runpath" = yes ||
15340 test "$enable_shared" = no
; then
15341 # Fast installation is not necessary
15342 enable_fast_install
=needless
15351 fi # test -n "$compiler"
15357 with_gnu_ld
=$lt_save_with_gnu_ld
15358 lt_cv_path_LDCXX
=$lt_cv_path_LD
15359 lt_cv_path_LD
=$lt_save_path_LD
15360 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15361 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15362 fi # test "$_lt_caught_CXX_error" != yes
15365 ac_cpp
='$CPP $CPPFLAGS'
15366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15382 ac_config_commands
="$ac_config_commands libtool"
15387 # Only expand once:
15391 for ac_prog
in gawk mawk nawk
awk
15393 # Extract the first word of "$ac_prog", so it can be a program name with args.
15394 set dummy
$ac_prog; ac_word
=$2
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15396 $as_echo_n "checking for $ac_word... " >&6; }
15397 if test "${ac_cv_prog_AWK+set}" = set; then :
15398 $as_echo_n "(cached) " >&6
15400 if test -n "$AWK"; then
15401 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
15403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15404 for as_dir
in $PATH
15407 test -z "$as_dir" && as_dir
=.
15408 for ac_exec_ext
in '' $ac_executable_extensions; do
15409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15410 ac_cv_prog_AWK
="$ac_prog"
15411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15420 AWK
=$ac_cv_prog_AWK
15421 if test -n "$AWK"; then
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
15423 $as_echo "$AWK" >&6; }
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15426 $as_echo "no" >&6; }
15430 test -n "$AWK" && break
15434 "") as_fn_error
"can't build without awk" "$LINENO" 5 ;;
15440 # The cast to long int works around a bug in the HP C Compiler
15441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15443 # This bug is HP SR number 8606223364.
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15445 $as_echo_n "checking size of void *... " >&6; }
15446 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15447 $as_echo_n "(cached) " >&6
15449 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15452 if test "$ac_cv_type_void_p" = yes; then
15453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15455 { as_fn_set_status
77
15456 as_fn_error
"cannot compute sizeof (void *)
15457 See \`config.log' for more details." "$LINENO" 5; }; }
15459 ac_cv_sizeof_void_p
=0
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15465 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15469 cat >>confdefs.h
<<_ACEOF
15470 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15475 if test "${multilib}" = "yes"; then
15476 multilib_arg
="--enable-multilib"
15481 # Get target configury.
15482 unset TSAN_SUPPORTED
15483 unset LSAN_SUPPORTED
15484 .
${srcdir}/configure.tgt
15485 if test "x$TSAN_SUPPORTED" = "xyes"; then
15486 TSAN_SUPPORTED_TRUE
=
15487 TSAN_SUPPORTED_FALSE
='#'
15489 TSAN_SUPPORTED_TRUE
='#'
15490 TSAN_SUPPORTED_FALSE
=
15493 if test "x$LSAN_SUPPORTED" = "xyes"; then
15494 LSAN_SUPPORTED_TRUE
=
15495 LSAN_SUPPORTED_FALSE
='#'
15497 LSAN_SUPPORTED_TRUE
='#'
15498 LSAN_SUPPORTED_FALSE
=
15502 # Check for functions needed.
15503 for ac_func
in clock_getres clock_gettime clock_settime
15505 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15506 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15507 eval as_val
=\$
$as_ac_var
15508 if test "x$as_val" = x
""yes; then :
15509 cat >>confdefs.h
<<_ACEOF
15510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15517 # Common libraries that we need to link against for all sanitizer libs.
15518 link_sanitizer_common
='-lpthread -lm'
15520 # At least for glibc, shm_open is in librt. But don't pull that
15521 # in if it still doesn't give us the function we want. This
15522 # test is copied from libgomp.
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
15524 $as_echo_n "checking for shm_open in -lrt... " >&6; }
15525 if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
15526 $as_echo_n "(cached) " >&6
15528 ac_check_lib_save_LIBS
=$LIBS
15530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15543 return shm_open ();
15548 if ac_fn_c_try_link
"$LINENO"; then :
15549 ac_cv_lib_rt_shm_open
=yes
15551 ac_cv_lib_rt_shm_open
=no
15553 rm -f core conftest.err conftest.
$ac_objext \
15554 conftest
$ac_exeext conftest.
$ac_ext
15555 LIBS
=$ac_check_lib_save_LIBS
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
15558 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
15559 if test "x$ac_cv_lib_rt_shm_open" = x
""yes; then :
15560 link_sanitizer_common
="-lrt $link_sanitizer_common"
15564 # Do a configure time check for -ldl
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
15566 $as_echo_n "checking for dlsym in -ldl... " >&6; }
15567 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
15568 $as_echo_n "(cached) " >&6
15570 ac_check_lib_save_LIBS
=$LIBS
15572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15575 /* Override any GCC internal prototype to avoid an error.
15576 Use char because int might match the return type of a GCC
15577 builtin and then its argument prototype would still apply. */
15590 if ac_fn_c_try_link
"$LINENO"; then :
15591 ac_cv_lib_dl_dlsym
=yes
15593 ac_cv_lib_dl_dlsym
=no
15595 rm -f core conftest.err conftest.
$ac_objext \
15596 conftest
$ac_exeext conftest.
$ac_ext
15597 LIBS
=$ac_check_lib_save_LIBS
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
15600 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
15601 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then :
15602 link_sanitizer_common
="-ldl $link_sanitizer_common"
15606 # Set up the set of additional libraries that we need to link against for libasan.
15607 link_libasan
=$link_sanitizer_common
15610 # Set up the set of additional libraries that we need to link against for libtsan.
15611 link_libtsan
=$link_sanitizer_common
15614 # Set up the set of additional libraries that we need to link against for libubsan.
15615 link_libubsan
=$link_sanitizer_common
15618 # Set up the set of additional libraries that we need to link against for liblsan.
15619 link_liblsan
=$link_sanitizer_common
15623 # At least for glibc, clock_gettime is in librt. But don't pull that
15624 # in if it still doesn't give us the function we want. This
15625 # test is copied from libgomp.
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15627 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15628 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15629 $as_echo_n "(cached) " >&6
15631 ac_check_lib_save_LIBS
=$LIBS
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15642 char clock_gettime ();
15646 return clock_gettime ();
15651 if ac_fn_c_try_link
"$LINENO"; then :
15652 ac_cv_lib_rt_clock_gettime
=yes
15654 ac_cv_lib_rt_clock_gettime
=no
15656 rm -f core conftest.err conftest.
$ac_objext \
15657 conftest
$ac_exeext conftest.
$ac_ext
15658 LIBS
=$ac_check_lib_save_LIBS
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15661 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15662 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15663 link_libasan
="-lrt $link_libasan"
15664 link_libtsan
="-lrt $link_libtsan"
15665 # Other sanitizers do not override clock_* API
15671 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
15672 *) MAC_INTERPOSE
=false
;;
15674 if $MAC_INTERPOSE; then
15675 USING_MAC_INTERPOSE_TRUE
=
15676 USING_MAC_INTERPOSE_FALSE
='#'
15678 USING_MAC_INTERPOSE_TRUE
='#'
15679 USING_MAC_INTERPOSE_FALSE
=
15683 backtrace_supported
=yes
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
15686 $as_echo_n "checking for necessary platform features... " >&6; }
15689 # Some old Linux distributions miss required syscalls.
15690 sanitizer_supported
=no
15691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15693 #include <sys/syscall.h>
15698 syscall (__NR_gettid);
15699 syscall (__NR_futex);
15700 syscall (__NR_exit_group);
15706 if ac_fn_c_try_compile
"$LINENO"; then :
15707 sanitizer_supported
=yes
15709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15712 sanitizer_supported
=yes
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
15716 $as_echo "$sanitizer_supported" >&6; }
15717 if test "$sanitizer_supported" = yes; then
15718 SANITIZER_SUPPORTED_TRUE
=
15719 SANITIZER_SUPPORTED_FALSE
='#'
15721 SANITIZER_SUPPORTED_TRUE
='#'
15722 SANITIZER_SUPPORTED_FALSE
=
15726 # Test for __sync support.
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
15728 $as_echo_n "checking __sync extensions... " >&6; }
15729 if test "${libsanitizer_cv_sys_sync+set}" = set; then :
15730 $as_echo_n "(cached) " >&6
15732 if test -n "${with_target_subdir}"; then
15733 libsanitizer_cv_sys_sync
=yes
15735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15741 __sync_bool_compare_and_swap (&i, i, i);
15742 __sync_lock_test_and_set (&i, 1);
15743 __sync_lock_release (&i);
15748 if ac_fn_c_try_link
"$LINENO"; then :
15749 libsanitizer_cv_sys_sync
=yes
15751 libsanitizer_cv_sys_sync
=no
15753 rm -f core conftest.err conftest.
$ac_objext \
15754 conftest
$ac_exeext conftest.
$ac_ext
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
15758 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
15759 if test "$libsanitizer_cv_sys_sync" = "yes"; then
15761 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
15765 # Test for __atomic support.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
15767 $as_echo_n "checking __atomic extensions... " >&6; }
15768 if test "${libsanitizer_cv_sys_atomic+set}" = set; then :
15769 $as_echo_n "(cached) " >&6
15771 if test -n "${with_target_subdir}"; then
15772 libsanitizer_cv_sys_atomic
=yes
15774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15780 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
15781 __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
15786 if ac_fn_c_try_link
"$LINENO"; then :
15787 libsanitizer_cv_sys_atomic
=yes
15789 libsanitizer_cv_sys_atomic
=no
15791 rm -f core conftest.err conftest.
$ac_objext \
15792 conftest
$ac_exeext conftest.
$ac_ext
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
15796 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
15797 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
15799 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
15803 # The library needs to be able to read the executable itself. Compile
15804 # a file to determine the executable format. The awk script
15805 # filetype.awk prints out the file type.
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
15807 $as_echo_n "checking output filetype... " >&6; }
15808 if test "${libsanitizer_cv_sys_filetype+set}" = set; then :
15809 $as_echo_n "(cached) " >&6
15812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15823 if ac_fn_c_try_compile
"$LINENO"; then :
15824 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
15826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15828 as_fn_error
"compiler failed
15829 See \`config.log' for more details." "$LINENO" 5; }
15831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15832 libsanitizer_cv_sys_filetype
=$filetype
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
15835 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
15837 # Match the file type to decide what files to compile.
15839 case "$libsanitizer_cv_sys_filetype" in
15840 elf
*) FORMAT_FILE
="elf.lo" ;;
15841 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
15842 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
15843 FORMAT_FILE
="unknown.lo"
15844 backtrace_supported
=no
15851 case "$libsanitizer_cv_sys_filetype" in
15852 elf32
) elfsize
=32 ;;
15853 elf64
) elfsize
=64 ;;
15856 cat >>confdefs.h
<<_ACEOF
15857 #define BACKTRACE_ELF_SIZE $elfsize
15861 BACKTRACE_SUPPORTED
=0
15862 if test "$backtrace_supported" = "yes"; then
15863 BACKTRACE_SUPPORTED
=1
15869 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15871 acx_cv_header_stdint
=stddef.h
15872 acx_cv_header_stdint_kind
="(already complete)"
15873 for i
in stdint.h
$inttype_headers; do
15874 unset ac_cv_type_uintptr_t
15875 unset ac_cv_type_uintmax_t
15876 unset ac_cv_type_int_least32_t
15877 unset ac_cv_type_int_fast32_t
15878 unset ac_cv_type_uint64_t
15879 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15880 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15883 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
15884 acx_cv_header_stdint
=$i
15889 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15892 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15895 acx_cv_header_stdint_kind
="(mostly complete)"
15898 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15901 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
15904 acx_cv_header_stdint_kind
="(mostly complete)"
15907 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15910 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
15913 acx_cv_header_stdint_kind
="(mostly complete)"
15916 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15919 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15922 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15927 if test "$acx_cv_header_stdint" = stddef.h
; then
15928 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15929 for i
in stdint.h
$inttype_headers; do
15930 unset ac_cv_type_uintptr_t
15931 unset ac_cv_type_uint32_t
15932 unset ac_cv_type_uint64_t
15933 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15934 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15937 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
15938 acx_cv_header_stdint
=$i
15943 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15946 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
15950 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15953 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15960 if test "$acx_cv_header_stdint" = stddef.h
; then
15961 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15962 for i
in sys
/types.h
$inttype_headers; do
15963 unset ac_cv_type_u_int32_t
15964 unset ac_cv_type_u_int64_t
15965 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15966 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15969 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
15970 acx_cv_header_stdint
=$i
15975 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15978 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
15985 if test "$acx_cv_header_stdint" = stddef.h
; then
15986 acx_cv_header_stdint_kind
="(using manual detection)"
15989 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15990 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15991 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15992 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15993 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15995 # ----------------- Summarize what we found so far
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15998 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16000 case `$as_basename -- gstdint.h ||
16001 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16002 Xgstdint.h : 'X\(//\)$' \| \
16003 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16004 $as_echo X/gstdint.h |
16005 sed '/^.*\/\([^/][^/]*\)\/*$/{
16018 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16019 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16020 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16021 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16026 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16028 # ----------------- done included file, check C basic types --------
16030 # Lacking an uintptr_t? Test size of void *
16031 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16032 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16035 # This bug is HP SR number 8606223364.
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16037 $as_echo_n "checking size of void *... " >&6; }
16038 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16039 $as_echo_n "(cached) " >&6
16041 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16044 if test "$ac_cv_type_void_p" = yes; then
16045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16047 { as_fn_set_status
77
16048 as_fn_error
"cannot compute sizeof (void *)
16049 See \`config.log' for more details." "$LINENO" 5; }; }
16051 ac_cv_sizeof_void_p
=0
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16057 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16061 cat >>confdefs.h
<<_ACEOF
16062 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16068 # Lacking an uint64_t? Test size of long
16069 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16070 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16073 # This bug is HP SR number 8606223364.
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16075 $as_echo_n "checking size of long... " >&6; }
16076 if test "${ac_cv_sizeof_long+set}" = set; then :
16077 $as_echo_n "(cached) " >&6
16079 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16082 if test "$ac_cv_type_long" = yes; then
16083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16085 { as_fn_set_status
77
16086 as_fn_error
"cannot compute sizeof (long)
16087 See \`config.log' for more details." "$LINENO" 5; }; }
16089 ac_cv_sizeof_long
=0
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16095 $as_echo "$ac_cv_sizeof_long" >&6; }
16099 cat >>confdefs.h
<<_ACEOF
16100 #define SIZEOF_LONG $ac_cv_sizeof_long
16106 if test $acx_cv_header_stdint = stddef.h
; then
16107 # Lacking a good header? Test size of everything and deduce all types.
16108 # The cast to long int works around a bug in the HP C Compiler
16109 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16110 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16111 # This bug is HP SR number 8606223364.
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16113 $as_echo_n "checking size of int... " >&6; }
16114 if test "${ac_cv_sizeof_int+set}" = set; then :
16115 $as_echo_n "(cached) " >&6
16117 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16120 if test "$ac_cv_type_int" = yes; then
16121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16123 { as_fn_set_status
77
16124 as_fn_error
"cannot compute sizeof (int)
16125 See \`config.log' for more details." "$LINENO" 5; }; }
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16133 $as_echo "$ac_cv_sizeof_int" >&6; }
16137 cat >>confdefs.h
<<_ACEOF
16138 #define SIZEOF_INT $ac_cv_sizeof_int
16142 # The cast to long int works around a bug in the HP C Compiler
16143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16145 # This bug is HP SR number 8606223364.
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16147 $as_echo_n "checking size of short... " >&6; }
16148 if test "${ac_cv_sizeof_short+set}" = set; then :
16149 $as_echo_n "(cached) " >&6
16151 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16154 if test "$ac_cv_type_short" = yes; then
16155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16157 { as_fn_set_status
77
16158 as_fn_error
"cannot compute sizeof (short)
16159 See \`config.log' for more details." "$LINENO" 5; }; }
16161 ac_cv_sizeof_short
=0
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16167 $as_echo "$ac_cv_sizeof_short" >&6; }
16171 cat >>confdefs.h
<<_ACEOF
16172 #define SIZEOF_SHORT $ac_cv_sizeof_short
16176 # The cast to long int works around a bug in the HP C Compiler
16177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16179 # This bug is HP SR number 8606223364.
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16181 $as_echo_n "checking size of char... " >&6; }
16182 if test "${ac_cv_sizeof_char+set}" = set; then :
16183 $as_echo_n "(cached) " >&6
16185 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16188 if test "$ac_cv_type_char" = yes; then
16189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16191 { as_fn_set_status
77
16192 as_fn_error
"cannot compute sizeof (char)
16193 See \`config.log' for more details." "$LINENO" 5; }; }
16195 ac_cv_sizeof_char
=0
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16201 $as_echo "$ac_cv_sizeof_char" >&6; }
16205 cat >>confdefs.h
<<_ACEOF
16206 #define SIZEOF_CHAR $ac_cv_sizeof_char
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16212 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16213 case "$ac_cv_sizeof_char" in
16214 1) acx_cv_type_int8_t
=char
;;
16215 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16218 $as_echo "$acx_cv_type_int8_t" >&6; }
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16221 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16222 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16223 2:*) acx_cv_type_int16_t
=int
;;
16224 *:2) acx_cv_type_int16_t
=short
;;
16225 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16228 $as_echo "$acx_cv_type_int16_t" >&6; }
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16231 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16232 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16233 4:*) acx_cv_type_int32_t
=int
;;
16234 *:4) acx_cv_type_int32_t
=long
;;
16235 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16238 $as_echo "$acx_cv_type_int32_t" >&6; }
16241 # These tests are here to make the output prettier
16243 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16244 case "$ac_cv_sizeof_long" in
16245 8) acx_cv_type_int64_t
=long
;;
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16248 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16250 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16253 # Now we can use the above types
16255 if test "$ac_cv_type_uintptr_t" != yes; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16257 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16258 case $ac_cv_sizeof_void_p in
16259 2) acx_cv_type_intptr_t
=int16_t
;;
16260 4) acx_cv_type_intptr_t
=int32_t
;;
16261 8) acx_cv_type_intptr_t
=int64_t
;;
16262 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16265 $as_echo "$acx_cv_type_intptr_t" >&6; }
16268 # ----------------- done all checks, emit header -------------
16269 ac_config_commands
="$ac_config_commands gstdint.h"
16274 for ac_header
in sys
/mman.h alloca.h
16276 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16277 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16278 eval as_val
=\$
$as_ac_Header
16279 if test "x$as_val" = x
""yes; then :
16280 cat >>confdefs.h
<<_ACEOF
16281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16288 if test "$ac_cv_header_sys_mman_h" = "no"; then
16291 if test -n "${with_target_subdir}"; then
16292 # When built as a GCC target library, we can't do a link test. We
16293 # simply assume that if we have mman.h, we have mmap.
16296 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
16297 if test "x$ac_cv_func_mmap" = x
""yes; then :
16305 if test "$have_mmap" = "no"; then
16307 ALLOC_FILE
=alloc.lo
16309 VIEW_FILE
=mmapio.lo
16310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h. */
16313 #include <sys/mman.h>
16314 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
16315 #error no MAP_ANONYMOUS
16319 if ac_fn_c_try_cpp
"$LINENO"; then :
16322 ALLOC_FILE
=alloc.lo
16324 rm -f conftest.err conftest.
$ac_ext
16329 BACKTRACE_USES_MALLOC
=0
16330 if test "$ALLOC_FILE" = "alloc.lo"; then
16331 BACKTRACE_USES_MALLOC
=1
16335 # Don't care about thread support
16336 BACKTRACE_SUPPORTS_THREADS
=0
16339 # Check for dl_iterate_phdr.
16340 for ac_header
in link.h
16342 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
16343 if test "x$ac_cv_header_link_h" = x
""yes; then :
16344 cat >>confdefs.h
<<_ACEOF
16345 #define HAVE_LINK_H 1
16352 if test "$ac_cv_header_link_h" = "no"; then
16353 have_dl_iterate_phdr
=no
16355 # When built as a GCC target library, we can't do a link test.
16356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16362 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
16363 have_dl_iterate_phdr
=yes
16365 have_dl_iterate_phdr
=no
16371 # Avoid dl_iterate_phdr on Solaris 10, where it is in the
16372 # header file but is only in -ldl.
16373 have_dl_iterate_phdr
=no
;;
16376 if test "$have_dl_iterate_phdr" = "yes"; then
16378 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
16382 # Check for the fcntl function.
16383 if test -n "${with_target_subdir}"; then
16385 *-*-mingw*) have_fcntl
=no
;;
16386 *) have_fcntl
=yes ;;
16389 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
16390 if test "x$ac_cv_func_fcntl" = x
""yes; then :
16397 if test "$have_fcntl" = "yes"; then
16399 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
16403 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
16404 if test "x$ac_cv_have_decl_strnlen" = x
""yes; then :
16410 cat >>confdefs.h
<<_ACEOF
16411 #define HAVE_DECL_STRNLEN $ac_have_decl
16415 # Check for getexecname function.
16416 if test -n "${with_target_subdir}"; then
16418 *-*-solaris2*) have_getexecname
=yes ;;
16419 *) have_getexecname
=no
;;
16422 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
16423 if test "x$ac_cv_func_getexecname" = x
""yes; then :
16424 have_getexecname
=yes
16426 have_getexecname
=no
16430 if test "$have_getexecname" = "yes"; then
16432 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
16436 # Check for rpc/xdr.h
16437 for ac_header
in rpc
/xdr.h
16439 ac_fn_c_check_header_mongrel
"$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
16440 if test "x$ac_cv_header_rpc_xdr_h" = x
""yes; then :
16441 cat >>confdefs.h
<<_ACEOF
16442 #define HAVE_RPC_XDR_H 1
16449 if test x
"$ac_cv_header_rpc_xdr_h" = xyes
; then
16450 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=1"
16452 rpc_defs
="$rpc_defs -DHAVE_RPC_XDR_H=0"
16455 # Check for tirpc/rpc/xdr.h
16456 for ac_header
in tirpc
/rpc
/xdr.h
16458 ac_fn_c_check_header_mongrel
"$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
16459 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = x
""yes; then :
16460 cat >>confdefs.h
<<_ACEOF
16461 #define HAVE_TIRPC_RPC_XDR_H 1
16468 if test x
"$ac_cv_header_tirpc_rpc_xdr_h" = xyes
; then
16469 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
16471 rpc_defs
="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking obstack params" >&5
16478 $as_echo_n "checking obstack params... " >&6; }
16479 if test "${libsanitizer_cv_sys_obstack+set}" = set; then :
16480 $as_echo_n "(cached) " >&6
16482 save_cppflags
=$CPPFLAGS
16483 CPPFLAGS
="-I${srcdir}/../include -o conftest.iii $CPPFLAGS"
16484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16487 #include "obstack.h"
16488 #ifdef _OBSTACK_SIZE_T
16495 if ac_fn_c_try_cpp
"$LINENO"; then :
16496 libsanitizer_cv_sys_obstack
=`sed -e '/^#/d;/^[ ]*$/d' conftest.iii | sed -e '$!d;s/size_t/SIZE_T/'`
16498 libsanitizer_cv_sys_obstack
=int
16500 rm -f conftest.err conftest.
$ac_ext
16501 CPPFLAGS
=$save_cppflags
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_obstack" >&5
16506 $as_echo "$libsanitizer_cv_sys_obstack" >&6; }
16507 OBSTACK_DEFS
=-D_OBSTACK_SIZE_T=\"$libsanitizer_cv_sys_obstack\"
16510 if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
16511 LIBBACKTRACE_SUPPORTED_TRUE
=
16512 LIBBACKTRACE_SUPPORTED_FALSE
='#'
16514 LIBBACKTRACE_SUPPORTED_TRUE
='#'
16515 LIBBACKTRACE_SUPPORTED_FALSE
=
16520 ac_config_files
="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
16522 ac_config_headers
="$ac_config_headers config.h"
16525 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
16528 if test "x$TSAN_SUPPORTED" = "xyes"; then
16529 ac_config_files
="$ac_config_files tsan/Makefile"
16535 cat >confcache
<<\_ACEOF
16536 # This file is a shell script that caches the results of configure
16537 # tests run on this system so they can be shared between configure
16538 # scripts and configure runs, see configure's option --config-cache.
16539 # It is not useful on other systems. If it contains results you don't
16540 # want to keep, you may remove or edit it.
16542 # config.status only pays attention to the cache file if you give it
16543 # the --recheck option to rerun configure.
16545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16547 # following values.
16551 # The following way of writing the cache mishandles newlines in values,
16552 # but we know of no workaround that is simple, portable, and efficient.
16553 # So, we kill variables containing newlines.
16554 # Ultrix sh set writes to stderr and can't be redirected directly,
16555 # and sets the high bit in the cache file unless we assign to the vars.
16557 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16558 eval ac_val
=\$
$ac_var
16562 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16563 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16566 _ | IFS | as_nl
) ;; #(
16567 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16568 *) { eval $ac_var=; unset $ac_var;} ;;
16574 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16575 *${as_nl}ac_space
=\
*)
16576 # `set' does not quote correctly, so add quotes: double-quote
16577 # substitution turns \\\\ into \\, and sed turns \\ into \.
16580 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16583 # `set' quotes correctly as required by POSIX, so do not add quotes.
16584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16593 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16595 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16597 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16598 if test -w "$cache_file"; then
16599 test "x$cache_file" != "x/dev/null" &&
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16601 $as_echo "$as_me: updating cache $cache_file" >&6;}
16602 cat confcache
>$cache_file
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16610 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16611 # Let make expand exec_prefix.
16612 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16614 DEFS
=-DHAVE_CONFIG_H
16618 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16619 # 1. Remove the extension, and $U if already installed.
16620 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16621 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16622 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16623 # will be set to the directory where LIBOBJS objects are built.
16624 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16625 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16627 LIBOBJS
=$ac_libobjs
16629 LTLIBOBJS
=$ac_ltlibobjs
16632 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16633 as_fn_error
"conditional \"AMDEP\" was never defined.
16634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16636 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16637 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16640 if test -n "$EXEEXT"; then
16642 am__EXEEXT_FALSE
='#'
16644 am__EXEEXT_TRUE
='#'
16648 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16649 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16652 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16653 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
16654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16656 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16657 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
16658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16660 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
16661 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
16662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16664 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
16665 as_fn_error
"conditional \"LSAN_SUPPORTED\" was never defined.
16666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16668 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
16669 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
16670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16672 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
16673 as_fn_error
"conditional \"SANITIZER_SUPPORTED\" was never defined.
16674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16676 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
16677 as_fn_error
"conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
16678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16681 : ${CONFIG_STATUS=./config.status}
16683 ac_clean_files_save
=$ac_clean_files
16684 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16686 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16688 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16690 # Generated by $as_me.
16691 # Run this file to recreate the current configuration.
16692 # Compiler output produced by configure, useful for debugging
16693 # configure, is in config.log if it exists.
16696 ac_cs_recheck=false
16699 SHELL=\${CONFIG_SHELL-$SHELL}
16702 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16703 ## -------------------- ##
16704 ## M4sh Initialization. ##
16705 ## -------------------- ##
16707 # Be more Bourne compatible
16708 DUALCASE
=1; export DUALCASE
# for MKS sh
16709 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16712 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16713 # is contrary to our usage. Disable this feature.
16714 alias -g '${1+"$@"}'='"$@"'
16715 setopt NO_GLOB_SUBST
16717 case `(set -o) 2>/dev/null` in #(
16729 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16730 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16731 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16732 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16733 # Prefer a ksh shell builtin over an external printf program on Solaris,
16734 # but without wasting forks for bash or zsh.
16735 if test -z "$BASH_VERSION$ZSH_VERSION" \
16736 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16737 as_echo='print
-r --'
16738 as_echo_n='print
-rn --'
16739 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16740 as_echo='printf %s
\n'
16741 as_echo_n='printf %s
'
16743 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16744 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16745 as_echo_n='/usr
/ucb
/echo -n'
16747 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16748 as_echo_n_body='eval
16752 expr "X$arg" : "X\\(.*\\)$as_nl";
16753 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16755 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16757 export as_echo_n_body
16758 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16760 export as_echo_body
16761 as_echo='sh
-c $as_echo_body as_echo
'
16764 # The user is always right.
16765 if test "${PATH_SEPARATOR+set}" != set; then
16767 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16768 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16775 # We need space, tab and new line, in precisely that order. Quoting is
16776 # there to prevent editors from complaining about space-tab.
16777 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16778 # splitting by setting IFS to empty value.)
16781 # Find who we are. Look in the path if we contain no directory separator.
16783 *[\\/]* ) as_myself=$0 ;;
16784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16785 for as_dir in $PATH
16788 test -z "$as_dir" && as_dir=.
16789 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16795 # We did not find ourselves, most probably we were run as `sh COMMAND'
16796 # in which case we are not to be found in the path.
16797 if test "x$as_myself" = x
; then
16800 if test ! -f "$as_myself"; then
16801 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16805 # Unset variables that we do not need and which cause bugs (e.g. in
16806 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16807 # suppresses any "Segmentation fault" message there. '((' could
16808 # trigger a bug in pdksh 5.2.14.
16809 for as_var
in BASH_ENV ENV MAIL MAILPATH
16810 do eval test x\
${$as_var+set} = xset \
16811 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16824 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16827 # as_fn_error ERROR [LINENO LOG_FD]
16828 # ---------------------------------
16829 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16830 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16831 # script with status $?, using 1 if that was 0.
16834 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16836 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16837 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16839 $as_echo "$as_me: error: $1" >&2
16840 as_fn_exit
$as_status
16844 # as_fn_set_status STATUS
16845 # -----------------------
16846 # Set $? to STATUS, without forking.
16847 as_fn_set_status
()
16850 } # as_fn_set_status
16852 # as_fn_exit STATUS
16853 # -----------------
16854 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16858 as_fn_set_status
$1
16864 # Portably unset VAR.
16867 { eval $1=; unset $1;}
16869 as_unset
=as_fn_unset
16870 # as_fn_append VAR VALUE
16871 # ----------------------
16872 # Append the text in VALUE to the end of the definition contained in VAR. Take
16873 # advantage of any shell optimizations that allow amortized linear growth over
16874 # repeated appends, instead of the typical quadratic growth present in naive
16876 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16877 eval 'as_fn_append ()
16888 # as_fn_arith ARG...
16889 # ------------------
16890 # Perform arithmetic evaluation on the ARGs, and store the result in the
16891 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16892 # must be portable across $(()) and expr.
16893 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16894 eval 'as_fn_arith ()
16901 as_val
=`expr "$@" || test $? -eq 1`
16906 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16907 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16913 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16914 as_basename
=basename
16919 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16925 as_me
=`$as_basename -- "$0" ||
16926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16927 X"$0" : 'X\(//\)$' \| \
16928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16930 sed '/^.*\/\([^/][^/]*\)\/*$/{
16944 # Avoid depending upon Character Ranges.
16945 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16946 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16947 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16948 as_cr_digits
='0123456789'
16949 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16951 ECHO_C
= ECHO_N
= ECHO_T
=
16952 case `echo -n x` in #(((((
16954 case `echo 'xy\c'` in
16955 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16957 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16964 rm -f conf$$ conf$$.exe conf$$.
file
16965 if test -d conf$$.dir
; then
16966 rm -f conf$$.dir
/conf$$.
file
16969 mkdir conf$$.dir
2>/dev
/null
16971 if (echo >conf$$.
file) 2>/dev
/null
; then
16972 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16974 # ... but there are two gotchas:
16975 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16976 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16977 # In both cases, we have to default to `cp -p'.
16978 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16980 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16988 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16989 rmdir conf$$.dir
2>/dev
/null
16994 # Create "$as_dir" as a directory, including parents if necessary.
16999 -*) as_dir
=.
/$as_dir;;
17001 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17005 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17006 *) as_qdir
=$as_dir;;
17008 as_dirs
="'$as_qdir' $as_dirs"
17009 as_dir
=`$as_dirname -- "$as_dir" ||
17010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17011 X"$as_dir" : 'X\(//\)[^/]' \| \
17012 X"$as_dir" : 'X\(//\)$' \| \
17013 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17014 $as_echo X"$as_dir" |
17015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17019 /^X\(\/\/\)[^/].*/{
17032 test -d "$as_dir" && break
17034 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17035 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17039 if mkdir
-p .
2>/dev
/null
; then
17040 as_mkdir_p
='mkdir -p "$as_dir"'
17042 test -d .
/-p && rmdir .
/-p
17046 if test -x / >/dev
/null
2>&1; then
17047 as_test_x
='test -x'
17049 if ls -dL / >/dev
/null
2>&1; then
17056 if test -d "$1"; then
17062 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17063 ???[sx]*):;;*)false;;esac;fi
17067 as_executable_p
=$as_test_x
17069 # Sed expression to map a string onto a valid CPP name.
17070 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17072 # Sed expression to map a string onto a valid variable name.
17073 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17077 ## ----------------------------------- ##
17078 ## Main body of $CONFIG_STATUS script. ##
17079 ## ----------------------------------- ##
17081 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17084 # Save the log message, to keep $0 and so on meaningful, and to
17085 # report actual input values of CONFIG_FILES etc. instead of their
17086 # values after options handling.
17088 This file was extended by package-unused $as_me version-unused, which was
17089 generated by GNU Autoconf 2.64. Invocation command line was
17091 CONFIG_FILES = $CONFIG_FILES
17092 CONFIG_HEADERS = $CONFIG_HEADERS
17093 CONFIG_LINKS = $CONFIG_LINKS
17094 CONFIG_COMMANDS = $CONFIG_COMMANDS
17097 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17102 case $ac_config_files in *"
17103 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17106 case $ac_config_headers in *"
17107 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17112 # Files that config.status was made for.
17113 config_files="$ac_config_files"
17114 config_headers="$ac_config_headers"
17115 config_commands="$ac_config_commands"
17119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17121 \`$as_me' instantiates files and other configuration actions
17122 from templates according to the current configuration. Unless the files
17123 and actions are specified as TAGs, all are instantiated by default.
17125 Usage: $0 [OPTION]... [TAG]...
17127 -h, --help print this help, then exit
17128 -V, --version print version number and configuration settings, then exit
17129 -q, --quiet, --silent
17130 do not print progress messages
17131 -d, --debug don't remove temporary files
17132 --recheck update $as_me by reconfiguring in the same conditions
17133 --file=FILE[:TEMPLATE]
17134 instantiate the configuration file FILE
17135 --header=FILE[:TEMPLATE]
17136 instantiate the configuration header FILE
17138 Configuration files:
17141 Configuration headers:
17144 Configuration commands:
17147 Report bugs to <libsanitizer>."
17150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17152 package-unused config.status version-unused
17153 configured by $0, generated by GNU Autoconf 2.64,
17154 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17156 Copyright (C) 2009 Free Software Foundation, Inc.
17157 This config.status script is free software; the Free Software Foundation
17158 gives unlimited permission to copy, distribute and modify it."
17165 test -n "\$AWK" || AWK=awk
17168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17169 # The default lists apply if the user does not specify any file.
17175 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17176 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17187 # Handling of the options.
17188 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17190 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17191 $as_echo "$ac_cs_version"; exit ;;
17192 --debug |
--debu |
--deb |
--de |
--d |
-d )
17194 --file |
--fil |
--fi |
--f )
17197 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17199 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17200 ac_need_defaults
=false
;;
17201 --header |
--heade |
--head |
--hea )
17204 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17206 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17207 ac_need_defaults
=false
;;
17209 # Conflict between --help and --header
17210 as_fn_error
"ambiguous option: \`$1'
17211 Try \`$0 --help' for more information.";;
17212 --help |
--hel |
-h )
17213 $as_echo "$ac_cs_usage"; exit ;;
17214 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17215 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17218 # This is an error.
17219 -*) as_fn_error
"unrecognized option: \`$1'
17220 Try \`$0 --help' for more information." ;;
17222 *) as_fn_append ac_config_targets
" $1"
17223 ac_need_defaults
=false
;;
17229 ac_configure_extra_args
=
17231 if $ac_cs_silent; then
17233 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17238 if \$ac_cs_recheck; then
17239 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17241 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17242 CONFIG_SHELL='$SHELL'
17243 export CONFIG_SHELL
17248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17253 ## Running $as_me. ##
17259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17267 with_multisubdir="$with_multisubdir"
17268 with_multisrctop="$with_multisrctop"
17269 with_target_subdir="$with_target_subdir"
17270 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17271 multi_basedir="$multi_basedir"
17272 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17275 GFORTRAN="$GFORTRAN"
17277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17280 # The HP-UX ksh and POSIX shell print the target directory to stdout
17281 # if CDPATH is set.
17282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17284 sed_quote_subst='$sed_quote_subst'
17285 double_quote_subst='$double_quote_subst'
17286 delay_variable_subst='$delay_variable_subst'
17287 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17288 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17290 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17291 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17292 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17293 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17294 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17295 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17296 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17297 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17298 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17299 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17300 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17301 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17302 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17303 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17304 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17305 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17306 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17307 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17308 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17309 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17310 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17311 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17312 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17313 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17314 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17315 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17316 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17317 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17318 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17319 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17320 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17321 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17322 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17323 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17324 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17325 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17326 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17327 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17328 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17329 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17330 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17331 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17332 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17333 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17334 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17335 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"`'
17336 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17337 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17338 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17339 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17340 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17341 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17342 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17343 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17344 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17345 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17346 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17347 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17348 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17349 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17350 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17351 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17352 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17353 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17354 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17355 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17356 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17357 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17358 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17359 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17360 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17361 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17362 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17363 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17364 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17365 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17366 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17367 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17368 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17369 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17370 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17371 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17372 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17373 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17374 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17375 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17376 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17377 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17378 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17379 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17380 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17381 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17382 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17383 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17384 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17385 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17386 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17387 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17388 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17389 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17390 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17391 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17392 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17393 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17394 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17395 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17396 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17397 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17398 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17399 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17400 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17401 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17402 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17403 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17404 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17405 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17406 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17407 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17408 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17409 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17410 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17411 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17412 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17413 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17414 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17415 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17416 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17417 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17418 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17419 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17420 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17421 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17422 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17423 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17424 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17425 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17426 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17427 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17428 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17429 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17430 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17431 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17432 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17433 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17434 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17435 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17436 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17437 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17438 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17439 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17440 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17441 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17442 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17443 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17444 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17445 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17446 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17447 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17448 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
17449 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17450 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17451 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17452 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17453 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17454 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17455 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17456 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17457 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17458 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17459 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17460 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17461 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17464 LTCFLAGS='$LTCFLAGS'
17465 compiler='$compiler_DEFAULT'
17467 # A function that is used when there is no print builtin or printf.
17468 func_fallback_echo ()
17470 eval 'cat <<_LTECHO_EOF
17475 # Quote evaled strings.
17489 deplibs_check_method \
17498 lt_cv_sys_global_symbol_pipe \
17499 lt_cv_sys_global_symbol_to_cdecl \
17500 lt_cv_sys_global_symbol_to_c_name_address \
17501 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17502 lt_prog_compiler_no_builtin_flag \
17503 lt_prog_compiler_wl \
17504 lt_prog_compiler_pic \
17505 lt_prog_compiler_static \
17506 lt_cv_prog_compiler_c_o \
17514 export_dynamic_flag_spec \
17515 whole_archive_flag_spec \
17516 compiler_needs_object \
17518 allow_undefined_flag \
17519 no_undefined_flag \
17520 hardcode_libdir_flag_spec \
17521 hardcode_libdir_flag_spec_ld \
17522 hardcode_libdir_separator \
17527 variables_saved_for_relink \
17529 library_names_spec \
17531 install_override_mode \
17535 compiler_lib_search_dirs \
17540 compiler_lib_search_path \
17544 lt_prog_compiler_no_builtin_flag_CXX \
17545 lt_prog_compiler_wl_CXX \
17546 lt_prog_compiler_pic_CXX \
17547 lt_prog_compiler_static_CXX \
17548 lt_cv_prog_compiler_c_o_CXX \
17549 export_dynamic_flag_spec_CXX \
17550 whole_archive_flag_spec_CXX \
17551 compiler_needs_object_CXX \
17553 allow_undefined_flag_CXX \
17554 no_undefined_flag_CXX \
17555 hardcode_libdir_flag_spec_CXX \
17556 hardcode_libdir_flag_spec_ld_CXX \
17557 hardcode_libdir_separator_CXX \
17558 fix_srcfile_path_CXX \
17559 exclude_expsyms_CXX \
17560 include_expsyms_CXX \
17561 file_list_spec_CXX \
17562 compiler_lib_search_dirs_CXX \
17563 predep_objects_CXX \
17564 postdep_objects_CXX \
17567 compiler_lib_search_path_CXX; do
17568 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17569 *[\\\\\\\`\\"\\\$]*)
17570 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17573 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17578 # Double-quote double-evaled strings.
17579 for var in reload_cmds \
17580 old_postinstall_cmds \
17581 old_postuninstall_cmds \
17583 extract_expsyms_cmds \
17584 old_archive_from_new_cmds \
17585 old_archive_from_expsyms_cmds \
17587 archive_expsym_cmds \
17589 module_expsym_cmds \
17590 export_symbols_cmds \
17593 postuninstall_cmds \
17595 sys_lib_search_path_spec \
17596 sys_lib_dlsearch_path_spec \
17598 old_archive_cmds_CXX \
17599 old_archive_from_new_cmds_CXX \
17600 old_archive_from_expsyms_cmds_CXX \
17602 archive_expsym_cmds_CXX \
17604 module_expsym_cmds_CXX \
17605 export_symbols_cmds_CXX \
17606 prelink_cmds_CXX; do
17607 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17608 *[\\\\\\\`\\"\\\$]*)
17609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17617 ac_aux_dir='$ac_aux_dir'
17618 xsi_shell='$xsi_shell'
17619 lt_shell_append='$lt_shell_append'
17621 # See if we are running on zsh, and set the options which allow our
17622 # commands through without removal of \ escapes INIT.
17623 if test -n "\${ZSH_VERSION+set}" ; then
17624 setopt NO_GLOB_SUBST
17630 TIMESTAMP='$TIMESTAMP'
17641 acx_cv_header_stdint="$acx_cv_header_stdint"
17642 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17643 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17644 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17645 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17646 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17647 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17648 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17649 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17650 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17651 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17652 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17653 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17654 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17661 # Handling of arguments.
17662 for ac_config_target
in $ac_config_targets
17664 case $ac_config_target in
17665 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17666 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17667 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17668 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17669 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17670 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
17671 "libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
17672 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17673 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
17674 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
17675 "libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES libbacktrace/Makefile" ;;
17676 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
17677 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
17678 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
17679 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
17681 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17686 # If the user did not use the arguments to specify the items to instantiate,
17687 # then the envvar interface is used. Set only those that are not.
17688 # We use the long form for the default assignment because of an extremely
17689 # bizarre bug on SunOS 4.1.3.
17690 if $ac_need_defaults; then
17691 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17692 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17693 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17696 # Have a temporary directory for convenience. Make it in the build tree
17697 # simply because there is no reason against having it here, and in addition,
17698 # creating and moving files from /tmp can sometimes cause problems.
17699 # Hook for its removal unless debugging.
17700 # Note that there is a small window in which the directory will not be cleaned:
17701 # after its creation but before its name has been assigned to `$tmp'.
17705 trap 'exit_status=$?
17706 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17708 trap 'as_fn_exit 1' 1 2 13 15
17710 # Create a (secure) tmp directory for tmp files.
17713 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17714 test -n "$tmp" && test -d "$tmp"
17717 tmp
=.
/conf$$
-$RANDOM
17718 (umask 077 && mkdir
"$tmp")
17719 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17721 # Set up the scripts for CONFIG_FILES section.
17722 # No need to generate them if there are no CONFIG_FILES.
17723 # This happens for instance with `./config.status config.h'.
17724 if test -n "$CONFIG_FILES"; then
17727 ac_cr
=`echo X | tr X '\015'`
17728 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17729 # But we know of no other shell where ac_cr would be empty at this
17730 # point, so we can use a bashism as a fallback.
17731 if test "x$ac_cr" = x
; then
17732 eval ac_cr
=\$
\'\\r
\'
17734 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17735 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17738 ac_cs_awk_cr
=$ac_cr
17741 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17746 echo "cat >conf$$subs.awk <<_ACEOF" &&
17747 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17749 } >conf$$subs.sh ||
17750 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17751 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17753 for ac_last_try in false false false false false :; do
17754 . ./conf$$subs.sh ||
17755 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17757 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17758 if test $ac_delim_n = $ac_delim_num; then
17760 elif $ac_last_try; then
17761 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17763 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17766 rm -f conf$$subs.sh
17768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17769 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17773 s/^/S["/; s
/!.
*/"]=/
17783 s/\(.\{148\}\).*/\1/
17785 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17790 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17797 s/\(.\{148\}\).*/\1/
17799 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17803 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17808 ' <conf$$subs.awk | sed '
17813 ' >>$CONFIG_STATUS || ac_write_fail=1
17814 rm -f conf$$subs.awk
17815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17817 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17818 for (key in S) S_is_set[key] = 1
17824 nfields = split(line, field, "@
")
17826 len = length(field[1])
17827 for (i = 2; i < nfields; i++) {
17829 keylen = length(key)
17830 if (S_is_set[key]) {
17832 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17833 len += length(value) + length(field[++i])
17844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17845 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17846 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17849 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17850 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17853 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17854 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17855 # trailing colons and then remove the whole line if VPATH becomes empty
17856 # (actually we leave an empty line to preserve line numbers).
17857 if test "x
$srcdir" = x.; then
17858 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17859 s/:*\$(srcdir):*/:/
17860 s/:*\${srcdir}:*/:/
17862 s/^\([^=]*=[ ]*\):*/\1/
17868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17869 fi # test -n "$CONFIG_FILES"
17871 # Set up the scripts for CONFIG_HEADERS section.
17872 # No need to generate them if there are no CONFIG_HEADERS.
17873 # This happens for instance with `./config.status Makefile'.
17874 if test -n "$CONFIG_HEADERS"; then
17875 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17879 # Transform confdefs.h into an awk script `defines.awk', embedded as
17880 # here-document in config.status, that substitutes the proper values into
17881 # config.h.in to produce config.h.
17883 # Create a delimiter string that does not exist in confdefs.h, to ease
17884 # handling of long lines.
17886 for ac_last_try in false false :; do
17887 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17888 if test -z "$ac_t"; then
17890 elif $ac_last_try; then
17891 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17893 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17897 # For the awk script, D is an array of macro values keyed by name,
17898 # likewise P contains macro parameters if any. Preserve backslash
17899 # newline sequences.
17901 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17903 s/.\{148\}/&'"$ac_delim"'/g
17906 s/^[ ]*#[ ]*define[ ][ ]*/ /
17913 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17915 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17919 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17920 D["\
1"]=" \
3\\\\\\n
"\\/p
17922 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17927 s/.\{148\}/&'"$ac_delim"'/g
17932 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17935 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17937 ' <confdefs.h | sed '
17938 s/'"$ac_delim"'/"\\\
17939 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942 for (key in D) D_is_set[key] = 1
17945 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17947 split(line, arg, " ")
17948 if (arg[1] == "#") {
17952 defundef
= substr
(arg
[1], 2)
17955 split(mac1
, mac2
, "(") #)
17957 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17958 if (D_is_set
[macro
]) {
17959 # Preserve the white space surrounding the "#".
17960 print prefix
"define", macro P
[macro
] D
[macro
]
17963 # Replace #undef with comments. This is necessary, for example,
17964 # in the case of _POSIX_SOURCE, which is predefined and required
17965 # on some systems where configure will not decide to define it.
17966 if (defundef
== "undef") {
17967 print
"/*", prefix defundef
, macro
, "*/"
17975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17976 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17977 fi # test -n "$CONFIG_HEADERS"
17980 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17985 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17987 case $ac_mode$ac_tag in
17989 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17990 :[FH
]-) ac_tag
=-:-;;
17991 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18008 -) ac_f
="$tmp/stdin";;
18009 *) # Look for the file first in the build tree, then in the source tree
18010 # (if the path is not absolute). The absolute path cannot be DOS-style,
18011 # because $ac_f cannot contain `:'.
18015 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18017 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
18019 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18020 as_fn_append ac_file_inputs
" '$ac_f'"
18023 # Let's still pretend it is `configure' which instantiates (i.e., don't
18024 # use $as_me), people would be surprised to read:
18025 # /* config.h. Generated by config.status. */
18026 configure_input
='Generated from '`
18027 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18029 if test x
"$ac_file" != x-
; then
18030 configure_input
="$ac_file. $configure_input"
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18032 $as_echo "$as_me: creating $ac_file" >&6;}
18034 # Neutralize special characters interpreted by sed in replacement strings.
18035 case $configure_input in #(
18036 *\
&* |
*\|
* |
*\\* )
18037 ac_sed_conf_input
=`$as_echo "$configure_input" |
18038 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18039 *) ac_sed_conf_input
=$configure_input;;
18043 *:-:* |
*:-) cat >"$tmp/stdin" \
18044 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
18049 ac_dir
=`$as_dirname -- "$ac_file" ||
18050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18051 X"$ac_file" : 'X\(//\)[^/]' \| \
18052 X"$ac_file" : 'X\(//\)$' \| \
18053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18054 $as_echo X"$ac_file" |
18055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18059 /^X\(\/\/\)[^/].*/{
18072 as_dir
="$ac_dir"; as_fn_mkdir_p
18076 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18078 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18079 # A ".." for each directory in $ac_dir_suffix.
18080 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18081 case $ac_top_builddir_sub in
18082 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18083 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18086 ac_abs_top_builddir
=$ac_pwd
18087 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18088 # for backward compatibility:
18089 ac_top_builddir
=$ac_top_build_prefix
18092 .
) # We are building in place.
18094 ac_top_srcdir
=$ac_top_builddir_sub
18095 ac_abs_top_srcdir
=$ac_pwd ;;
18096 [\\/]* | ?
:[\\/]* ) # Absolute name.
18097 ac_srcdir
=$srcdir$ac_dir_suffix;
18098 ac_top_srcdir
=$srcdir
18099 ac_abs_top_srcdir
=$srcdir ;;
18100 *) # Relative name.
18101 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18102 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18103 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18105 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18115 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18116 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18118 ac_MKDIR_P
=$MKDIR_P
18120 [\\/$
]* | ?
:[\\/]* ) ;;
18121 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18126 # If the template does not know about datarootdir, expand it.
18127 # FIXME: This hack should be removed a few years after 2.60.
18128 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18140 *datarootdir
*) ac_datarootdir_seen
=yes;;
18141 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18146 ac_datarootdir_hack='
18147 s&@datadir@&$datadir&g
18148 s&@docdir@&$docdir&g
18149 s&@infodir@&$infodir&g
18150 s&@localedir@&$localedir&g
18151 s&@mandir@&$mandir&g
18152 s&\\\${datarootdir}&$datarootdir&g' ;;
18156 # Neutralize VPATH when `$srcdir' = `.'.
18157 # Shell code in configure.ac might set extrasub.
18158 # FIXME: do we really want to maintain this feature?
18159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18160 ac_sed_extra="$ac_vpsub
18163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18165 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18166 s|@configure_input@|
$ac_sed_conf_input|
;t t
18167 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18168 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18169 s
&@srcdir@
&$ac_srcdir&;t t
18170 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18171 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18172 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18173 s
&@builddir@
&$ac_builddir&;t t
18174 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18175 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18176 s
&@INSTALL@
&$ac_INSTALL&;t t
18177 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18178 $ac_datarootdir_hack
18180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18181 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18183 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18184 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18185 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18187 which seems to be undefined. Please make sure it is defined." >&5
18188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18189 which seems to be undefined. Please make sure it is defined." >&2;}
18193 -) cat "$tmp/out" && rm -f "$tmp/out";;
18194 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18196 || as_fn_error "could not create $ac_file" "$LINENO" 5
18202 if test x"$ac_file" != x-; then
18204 $as_echo "/* $configure_input */" \
18205 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18206 } >"$tmp/config.h" \
18207 || as_fn_error "could not create $ac_file" "$LINENO" 5
18208 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18210 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18213 mv "$tmp/config.h" "$ac_file" \
18214 || as_fn_error "could not create $ac_file" "$LINENO" 5
18217 $as_echo "/* $configure_input */" \
18218 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18219 || as_fn_error "could not create -" "$LINENO" 5
18221 # Compute "$ac_file"'s index
in $config_headers.
18224 for _am_header
in $config_headers :; do
18225 case $_am_header in
18226 $_am_arg |
$_am_arg:* )
18229 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18234 X"$_am_arg" : 'X\(//\)[^/]' \| \
18235 X"$_am_arg" : 'X\(//\)$' \| \
18236 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18237 $as_echo X"$_am_arg" |
18238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18242 /^X\(\/\/\)[^/].*/{
18254 s/.*/./; q'`/stamp-h
$_am_stamp_count
18257 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18258 $as_echo "$as_me: executing $ac_file commands" >&6;}
18263 case $ac_file$ac_mode in
18265 # Only add multilib support code if we just rebuilt the top-level
18267 case " $CONFIG_FILES " in
18269 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18272 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18273 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18274 # are listed without --file. Let's play safe and only enable the eval
18275 # if we detect the quoting.
18276 case $CONFIG_FILES in
18277 *\'*) eval set x
"$CONFIG_FILES" ;;
18278 *) set x
$CONFIG_FILES ;;
18283 # Strip MF so we end up with the name of the file.
18284 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18285 # Check whether this is an Automake generated Makefile or not.
18286 # We used to match only the files named `Makefile.in', but
18287 # some people rename them; so instead we look at the file content.
18288 # Grep'ing the first line is not enough: some people post-process
18289 # each Makefile.in and add a new line on top of each file to say so.
18290 # Grep'ing the whole file is not good either: AIX grep has a line
18291 # limit of 2048, but all sed's we know have understand at least 4000.
18292 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18293 dirpart
=`$as_dirname -- "$mf" ||
18294 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18295 X"$mf" : 'X\(//\)[^/]' \| \
18296 X"$mf" : 'X\(//\)$' \| \
18297 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18303 /^X\(\/\/\)[^/].*/{
18319 # Extract the definition of DEPDIR, am__include, and am__quote
18320 # from the Makefile without running `make'.
18321 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18322 test -z "$DEPDIR" && continue
18323 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18324 test -z "am__include" && continue
18325 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18326 # When using ansi2knr, U may be empty or an underscore; expand it
18327 U
=`sed -n 's/^U = //p' < "$mf"`
18328 # Find all dependency output files, they are included files with
18329 # $(DEPDIR) in their names. We invoke sed twice because it is the
18330 # simplest approach to changing $(DEPDIR) to its actual value in the
18332 for file in `sed -n "
18333 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18334 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18335 # Make sure the directory exists.
18336 test -f "$dirpart/$file" && continue
18337 fdir
=`$as_dirname -- "$file" ||
18338 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18339 X"$file" : 'X\(//\)[^/]' \| \
18340 X"$file" : 'X\(//\)$' \| \
18341 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18342 $as_echo X"$file" |
18343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18347 /^X\(\/\/\)[^/].*/{
18360 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18361 # echo "creating $dirpart/$file"
18362 echo '# dummy' > "$dirpart/$file"
18369 # See if we are running on zsh, and set the options which allow our
18370 # commands through without removal of \ escapes.
18371 if test -n "${ZSH_VERSION+set}" ; then
18372 setopt NO_GLOB_SUBST
18375 cfgfile
="${ofile}T"
18376 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18379 cat <<_LT_EOF >> "$cfgfile"
18382 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18383 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18384 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18385 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18388 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18389 # Written by Gordon Matzigkeit, 1996
18391 # This file is part of GNU Libtool.
18393 # GNU Libtool is free software; you can redistribute it and/or
18394 # modify it under the terms of the GNU General Public License as
18395 # published by the Free Software Foundation; either version 2 of
18396 # the License, or (at your option) any later version.
18398 # As a special exception to the GNU General Public License,
18399 # if you distribute this file as part of a program or library that
18400 # is built using GNU Libtool, you may include this file under the
18401 # same distribution terms that you use for the rest of that program.
18403 # GNU Libtool is distributed in the hope that it will be useful,
18404 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18405 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18406 # GNU General Public License for more details.
18408 # You should have received a copy of the GNU General Public License
18409 # along with GNU Libtool; see the file COPYING. If not, a copy
18410 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18411 # obtained by writing to the Free Software Foundation, Inc.,
18412 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18415 # The names of the tagged configurations supported by this script.
18416 available_tags="CXX "
18418 # ### BEGIN LIBTOOL CONFIG
18420 # Which release of libtool.m4 was used?
18421 macro_version=$macro_version
18422 macro_revision=$macro_revision
18424 # Whether or not to build shared libraries.
18425 build_libtool_libs=$enable_shared
18427 # Whether or not to build static libraries.
18428 build_old_libs=$enable_static
18430 # What type of objects to build.
18433 # Whether or not to optimize for fast installation.
18434 fast_install=$enable_fast_install
18436 # Shell to use when invoking shell scripts.
18439 # An echo program that protects backslashes.
18443 host_alias=$host_alias
18447 # The build system.
18448 build_alias=$build_alias
18452 # A sed program that does not truncate output.
18455 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18456 Xsed="\$SED -e 1s/^X//"
18458 # A grep program that handles long lines.
18464 # A literal string matcher.
18467 # A BSD- or MS-compatible name lister.
18470 # Whether we need soft or hard links.
18473 # What is the maximum length of a command?
18474 max_cmd_len=$max_cmd_len
18476 # Object file suffix (normally "o").
18479 # Executable file suffix (normally "").
18482 # whether the shell understands "unset".
18485 # turn spaces into newlines.
18488 # turn newlines into spaces.
18491 # An object symbol dumper.
18492 OBJDUMP=$lt_OBJDUMP
18494 # Method to check whether dependent libraries are shared objects.
18495 deplibs_check_method=$lt_deplibs_check_method
18497 # Command to use when deplibs_check_method == "file_magic".
18498 file_magic_cmd=$lt_file_magic_cmd
18502 AR_FLAGS=$lt_AR_FLAGS
18504 # A symbol stripping program.
18507 # Commands used to install an old-style archive.
18509 old_postinstall_cmds=$lt_old_postinstall_cmds
18510 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18512 # Whether to use a lock for old archive extraction.
18513 lock_old_archive_extraction=$lock_old_archive_extraction
18518 # LTCC compiler flags.
18519 LTCFLAGS=$lt_CFLAGS
18521 # Take the output of nm and produce a listing of raw symbols and C names.
18522 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18524 # Transform the output of nm in a proper C declaration.
18525 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18527 # Transform the output of nm in a C name address pair.
18528 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18530 # Transform the output of nm in a C name address pair when lib prefix is needed.
18531 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18533 # The name of the directory that contains temporary libtool files.
18536 # Used to examine libraries when file_magic_cmd begins with "file".
18537 MAGIC_CMD=$MAGIC_CMD
18539 # Must we lock files when doing compilation?
18540 need_locks=$lt_need_locks
18542 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18543 DSYMUTIL=$lt_DSYMUTIL
18545 # Tool to change global to local symbols on Mac OS X.
18548 # Tool to manipulate fat objects and archives on Mac OS X.
18551 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18554 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18555 OTOOL64=$lt_OTOOL64
18557 # Old archive suffix (normally "a").
18560 # Shared library suffix (normally ".so").
18561 shrext_cmds=$lt_shrext_cmds
18563 # The commands to extract the exported symbol list from a shared archive.
18564 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18566 # Variables whose values should be saved in libtool wrapper scripts and
18567 # restored at link time.
18568 variables_saved_for_relink=$lt_variables_saved_for_relink
18570 # Do we need the "lib" prefix for modules?
18571 need_lib_prefix=$need_lib_prefix
18573 # Do we need a version for libraries?
18574 need_version=$need_version
18576 # Library versioning type.
18577 version_type=$version_type
18579 # Shared library runtime path variable.
18580 runpath_var=$runpath_var
18582 # Shared library path variable.
18583 shlibpath_var=$shlibpath_var
18585 # Is shlibpath searched before the hard-coded library search path?
18586 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18588 # Format of library name prefix.
18589 libname_spec=$lt_libname_spec
18591 # List of archive names. First name is the real one, the rest are links.
18592 # The last name is the one that the linker finds with -lNAME
18593 library_names_spec=$lt_library_names_spec
18595 # The coded name of the library, if different from the real name.
18596 soname_spec=$lt_soname_spec
18598 # Permission mode override for installation of shared libraries.
18599 install_override_mode=$lt_install_override_mode
18601 # Command to use after installation of a shared archive.
18602 postinstall_cmds=$lt_postinstall_cmds
18604 # Command to use after uninstallation of a shared archive.
18605 postuninstall_cmds=$lt_postuninstall_cmds
18607 # Commands used to finish a libtool library installation in a directory.
18608 finish_cmds=$lt_finish_cmds
18610 # As "finish_cmds", except a single script fragment to be evaled but
18612 finish_eval=$lt_finish_eval
18614 # Whether we should hardcode library paths into libraries.
18615 hardcode_into_libs=$hardcode_into_libs
18617 # Compile-time system search path for libraries.
18618 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18620 # Run-time system search path for libraries.
18621 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18623 # Whether dlopen is supported.
18624 dlopen_support=$enable_dlopen
18626 # Whether dlopen of programs is supported.
18627 dlopen_self=$enable_dlopen_self
18629 # Whether dlopen of statically linked programs is supported.
18630 dlopen_self_static=$enable_dlopen_self_static
18632 # Commands to strip libraries.
18633 old_striplib=$lt_old_striplib
18634 striplib=$lt_striplib
18637 # The linker used to build libraries.
18640 # How to create reloadable object files.
18641 reload_flag=$lt_reload_flag
18642 reload_cmds=$lt_reload_cmds
18644 # Commands used to build an old-style archive.
18645 old_archive_cmds=$lt_old_archive_cmds
18647 # A language specific compiler.
18650 # Is the compiler the GNU compiler?
18653 # Compiler flag to turn off builtin functions.
18654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18656 # How to pass a linker flag through the compiler.
18657 wl=$lt_lt_prog_compiler_wl
18659 # Additional compiler flags for building library objects.
18660 pic_flag=$lt_lt_prog_compiler_pic
18662 # Compiler flag to prevent dynamic linking.
18663 link_static_flag=$lt_lt_prog_compiler_static
18665 # Does compiler simultaneously support -c and -o options?
18666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18668 # Whether or not to add -lc for building shared libraries.
18669 build_libtool_need_lc=$archive_cmds_need_lc
18671 # Whether or not to disallow shared libs when runtime libs are static.
18672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18674 # Compiler flag to allow reflexive dlopens.
18675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18677 # Compiler flag to generate shared objects directly from archives.
18678 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18680 # Whether the compiler copes with passing no objects directly.
18681 compiler_needs_object=$lt_compiler_needs_object
18683 # Create an old-style archive from a shared archive.
18684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18686 # Create a temporary old-style archive to link instead of a shared archive.
18687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18689 # Commands used to build a shared archive.
18690 archive_cmds=$lt_archive_cmds
18691 archive_expsym_cmds=$lt_archive_expsym_cmds
18693 # Commands used to build a loadable module if different from building
18694 # a shared archive.
18695 module_cmds=$lt_module_cmds
18696 module_expsym_cmds=$lt_module_expsym_cmds
18698 # Whether we are building with GNU ld or not.
18699 with_gnu_ld=$lt_with_gnu_ld
18701 # Flag that allows shared libraries with undefined symbols to be built.
18702 allow_undefined_flag=$lt_allow_undefined_flag
18704 # Flag that enforces no undefined symbols.
18705 no_undefined_flag=$lt_no_undefined_flag
18707 # Flag to hardcode \$libdir into a binary during linking.
18708 # This must work even if \$libdir does not exist
18709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18711 # If ld is used when linking, flag to hardcode \$libdir into a binary
18712 # during linking. This must work even if \$libdir does not exist.
18713 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18715 # Whether we need a single "-rpath" flag with a separated argument.
18716 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18719 # DIR into the resulting binary.
18720 hardcode_direct=$hardcode_direct
18722 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18723 # DIR into the resulting binary and the resulting library dependency is
18724 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18725 # library is relocated.
18726 hardcode_direct_absolute=$hardcode_direct_absolute
18728 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18729 # into the resulting binary.
18730 hardcode_minus_L=$hardcode_minus_L
18732 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18733 # into the resulting binary.
18734 hardcode_shlibpath_var=$hardcode_shlibpath_var
18736 # Set to "yes" if building a shared library automatically hardcodes DIR
18737 # into the library and all subsequent libraries and executables linked
18739 hardcode_automatic=$hardcode_automatic
18741 # Set to yes if linker adds runtime paths of dependent libraries
18742 # to runtime path list.
18743 inherit_rpath=$inherit_rpath
18745 # Whether libtool must link a program against all its dependency libraries.
18746 link_all_deplibs=$link_all_deplibs
18748 # Fix the shell variable \$srcfile for the compiler.
18749 fix_srcfile_path=$lt_fix_srcfile_path
18751 # Set to "yes" if exported symbols are required.
18752 always_export_symbols=$always_export_symbols
18754 # The commands to list exported symbols.
18755 export_symbols_cmds=$lt_export_symbols_cmds
18757 # Symbols that should not be listed in the preloaded symbols.
18758 exclude_expsyms=$lt_exclude_expsyms
18760 # Symbols that must always be exported.
18761 include_expsyms=$lt_include_expsyms
18763 # Commands necessary for linking programs (against libraries) with templates.
18764 prelink_cmds=$lt_prelink_cmds
18766 # Specify filename containing input files.
18767 file_list_spec=$lt_file_list_spec
18769 # How to hardcode a shared library path into an executable.
18770 hardcode_action=$hardcode_action
18772 # The directories searched by this compiler when creating a shared library.
18773 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18775 # Dependencies to place before and after the objects being linked to
18776 # create a shared library.
18777 predep_objects=$lt_predep_objects
18778 postdep_objects=$lt_postdep_objects
18779 predeps=$lt_predeps
18780 postdeps=$lt_postdeps
18782 # The library search path used internally by the compiler when linking
18783 # a shared library.
18784 compiler_lib_search_path=$lt_compiler_lib_search_path
18786 # ### END LIBTOOL CONFIG
18792 cat <<\_LT_EOF
>> "$cfgfile"
18793 # AIX sometimes has problems with the GCC collect2 program. For some
18794 # reason, if we set the COLLECT_NAMES environment variable, the problems
18795 # vanish in a puff of smoke.
18796 if test "X${COLLECT_NAMES+set}" != Xset
; then
18798 export COLLECT_NAMES
18805 ltmain
="$ac_aux_dir/ltmain.sh"
18808 # We use sed instead of cat because bash on DJGPP gets confused if
18809 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18810 # text mode, it properly converts lines to CR/LF. This bash problem
18811 # is reportedly fixed, but why not run on old versions too?
18812 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18813 ||
(rm -f "$cfgfile"; exit 1)
18817 cat << \_LT_EOF
>> "$cfgfile"
18819 # func_dirname file append nondir_replacement
18820 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18821 # otherwise set result to NONDIR_REPLACEMENT.
18825 */*) func_dirname_result
="${1%/*}${2}" ;;
18826 * ) func_dirname_result
="${3}" ;;
18830 # func_basename file
18833 func_basename_result
="${1##*/}"
18836 # func_dirname_and_basename file append nondir_replacement
18837 # perform func_basename and func_dirname in a single function
18839 # dirname: Compute the dirname of FILE. If nonempty,
18840 # add APPEND to the result, otherwise set result
18841 # to NONDIR_REPLACEMENT.
18842 # value returned in "$func_dirname_result"
18843 # basename: Compute filename of FILE.
18844 # value retuned in "$func_basename_result"
18845 # Implementation must be kept synchronized with func_dirname
18846 # and func_basename. For efficiency, we do not delegate to
18847 # those functions but instead duplicate the functionality here.
18848 func_dirname_and_basename
()
18851 */*) func_dirname_result
="${1%/*}${2}" ;;
18852 * ) func_dirname_result
="${3}" ;;
18854 func_basename_result
="${1##*/}"
18857 # func_stripname prefix suffix name
18858 # strip PREFIX and SUFFIX off of NAME.
18859 # PREFIX and SUFFIX must not contain globbing or regex special
18860 # characters, hashes, percent signs, but SUFFIX may contain a leading
18861 # dot (in which case that matches only a dot).
18864 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18865 # positional parameters, so assign one to ordinary parameter first.
18866 func_stripname_result
=${3}
18867 func_stripname_result
=${func_stripname_result#"${1}"}
18868 func_stripname_result
=${func_stripname_result%"${2}"}
18874 func_opt_split_opt
=${1%%=*}
18875 func_opt_split_arg
=${1#*=}
18882 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18883 *) func_lo2o_result
=${1} ;;
18887 # func_xform libobj-or-source
18890 func_xform_result
=${1%.*}.lo
18893 # func_arith arithmetic-term...
18896 func_arith_result
=$
(( $
* ))
18900 # STRING may not start with a hyphen.
18903 func_len_result
=${#1}
18908 *) # Bourne compatible functions.
18909 cat << \_LT_EOF
>> "$cfgfile"
18911 # func_dirname file append nondir_replacement
18912 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18913 # otherwise set result to NONDIR_REPLACEMENT.
18916 # Extract subdirectory from the argument.
18917 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18918 if test "X$func_dirname_result" = "X${1}"; then
18919 func_dirname_result
="${3}"
18921 func_dirname_result
="$func_dirname_result${2}"
18925 # func_basename file
18928 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18932 # func_stripname prefix suffix name
18933 # strip PREFIX and SUFFIX off of NAME.
18934 # PREFIX and SUFFIX must not contain globbing or regex special
18935 # characters, hashes, percent signs, but SUFFIX may contain a leading
18936 # dot (in which case that matches only a dot).
18937 # func_strip_suffix prefix name
18941 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18942 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18947 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18948 my_sed_long_arg
='1s/^-[^=]*=//'
18953 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18954 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18960 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18963 # func_xform libobj-or-source
18966 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18969 # func_arith arithmetic-term...
18972 func_arith_result
=`expr "$@"`
18976 # STRING may not start with a hyphen.
18979 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18985 case $lt_shell_append in
18987 cat << \_LT_EOF
>> "$cfgfile"
18989 # func_append var value
18990 # Append VALUE to the end of shell variable VAR.
18998 cat << \_LT_EOF
>> "$cfgfile"
19000 # func_append var value
19001 # Append VALUE to the end of shell variable VAR.
19012 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19013 ||
(rm -f "$cfgfile"; exit 1)
19015 mv -f "$cfgfile" "$ofile" ||
19016 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19020 cat <<_LT_EOF >> "$ofile"
19022 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19024 # The linker used to build libraries.
19027 # How to create reloadable object files.
19028 reload_flag=$lt_reload_flag_CXX
19029 reload_cmds=$lt_reload_cmds_CXX
19031 # Commands used to build an old-style archive.
19032 old_archive_cmds=$lt_old_archive_cmds_CXX
19034 # A language specific compiler.
19035 CC=$lt_compiler_CXX
19037 # Is the compiler the GNU compiler?
19040 # Compiler flag to turn off builtin functions.
19041 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19043 # How to pass a linker flag through the compiler.
19044 wl=$lt_lt_prog_compiler_wl_CXX
19046 # Additional compiler flags for building library objects.
19047 pic_flag=$lt_lt_prog_compiler_pic_CXX
19049 # Compiler flag to prevent dynamic linking.
19050 link_static_flag=$lt_lt_prog_compiler_static_CXX
19052 # Does compiler simultaneously support -c and -o options?
19053 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19055 # Whether or not to add -lc for building shared libraries.
19056 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19058 # Whether or not to disallow shared libs when runtime libs are static.
19059 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19061 # Compiler flag to allow reflexive dlopens.
19062 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19064 # Compiler flag to generate shared objects directly from archives.
19065 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19067 # Whether the compiler copes with passing no objects directly.
19068 compiler_needs_object=$lt_compiler_needs_object_CXX
19070 # Create an old-style archive from a shared archive.
19071 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19073 # Create a temporary old-style archive to link instead of a shared archive.
19074 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19076 # Commands used to build a shared archive.
19077 archive_cmds=$lt_archive_cmds_CXX
19078 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19080 # Commands used to build a loadable module if different from building
19081 # a shared archive.
19082 module_cmds=$lt_module_cmds_CXX
19083 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19085 # Whether we are building with GNU ld or not.
19086 with_gnu_ld=$lt_with_gnu_ld_CXX
19088 # Flag that allows shared libraries with undefined symbols to be built.
19089 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19091 # Flag that enforces no undefined symbols.
19092 no_undefined_flag=$lt_no_undefined_flag_CXX
19094 # Flag to hardcode \$libdir into a binary during linking.
19095 # This must work even if \$libdir does not exist
19096 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19098 # If ld is used when linking, flag to hardcode \$libdir into a binary
19099 # during linking. This must work even if \$libdir does not exist.
19100 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19102 # Whether we need a single "-rpath" flag with a separated argument.
19103 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19105 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19106 # DIR into the resulting binary.
19107 hardcode_direct=$hardcode_direct_CXX
19109 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19110 # DIR into the resulting binary and the resulting library dependency is
19111 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19112 # library is relocated.
19113 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19115 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19116 # into the resulting binary.
19117 hardcode_minus_L=$hardcode_minus_L_CXX
19119 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19120 # into the resulting binary.
19121 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19123 # Set to "yes" if building a shared library automatically hardcodes DIR
19124 # into the library and all subsequent libraries and executables linked
19126 hardcode_automatic=$hardcode_automatic_CXX
19128 # Set to yes if linker adds runtime paths of dependent libraries
19129 # to runtime path list.
19130 inherit_rpath=$inherit_rpath_CXX
19132 # Whether libtool must link a program against all its dependency libraries.
19133 link_all_deplibs=$link_all_deplibs_CXX
19135 # Fix the shell variable \$srcfile for the compiler.
19136 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19138 # Set to "yes" if exported symbols are required.
19139 always_export_symbols=$always_export_symbols_CXX
19141 # The commands to list exported symbols.
19142 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19144 # Symbols that should not be listed in the preloaded symbols.
19145 exclude_expsyms=$lt_exclude_expsyms_CXX
19147 # Symbols that must always be exported.
19148 include_expsyms=$lt_include_expsyms_CXX
19150 # Commands necessary for linking programs (against libraries) with templates.
19151 prelink_cmds=$lt_prelink_cmds_CXX
19153 # Specify filename containing input files.
19154 file_list_spec=$lt_file_list_spec_CXX
19156 # How to hardcode a shared library path into an executable.
19157 hardcode_action=$hardcode_action_CXX
19159 # The directories searched by this compiler when creating a shared library.
19160 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19162 # Dependencies to place before and after the objects being linked to
19163 # create a shared library.
19164 predep_objects=$lt_predep_objects_CXX
19165 postdep_objects=$lt_postdep_objects_CXX
19166 predeps=$lt_predeps_CXX
19167 postdeps=$lt_postdeps_CXX
19169 # The library search path used internally by the compiler when linking
19170 # a shared library.
19171 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19173 # ### END LIBTOOL TAG CONFIG: CXX
19178 if test "$GCC" = yes; then
19179 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19181 echo "/* generated for $CC */" > tmp-stdint.h
19184 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19186 #ifndef GCC_GENERATED_STDINT_H
19187 #define GCC_GENERATED_STDINT_H 1
19189 #include <sys/types.h>
19192 if test "$acx_cv_header_stdint" != stdint.h
; then
19193 echo "#include <stddef.h>" >> tmp-stdint.h
19195 if test "$acx_cv_header_stdint" != stddef.h
; then
19196 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19199 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19200 /* glibc uses these symbols as guards to prevent redefinitions. */
19201 #ifdef __int8_t_defined
19206 #ifdef __uint32_t_defined
19212 # ----------------- done header, emit basic int types -------------
19213 if test "$acx_cv_header_stdint" = stddef.h
; then
19214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19218 #ifndef __uint8_t_defined
19219 #define __uint8_t_defined
19221 typedef unsigned $acx_cv_type_int8_t uint8_t;
19228 #ifndef __uint16_t_defined
19229 #define __uint16_t_defined
19231 typedef unsigned $acx_cv_type_int16_t uint16_t;
19238 #ifndef __uint32_t_defined
19239 #define __uint32_t_defined
19241 typedef unsigned $acx_cv_type_int32_t uint32_t;
19248 #ifndef __int8_t_defined
19249 #define __int8_t_defined
19251 typedef $acx_cv_type_int8_t int8_t;
19258 #ifndef __int16_t_defined
19259 #define __int16_t_defined
19261 typedef $acx_cv_type_int16_t int16_t;
19268 #ifndef __int32_t_defined
19269 #define __int32_t_defined
19271 typedef $acx_cv_type_int32_t int32_t;
19276 elif test "$ac_cv_type_u_int32_t" = yes; then
19277 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19279 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19292 #ifndef __uint8_t_defined
19293 #define __uint8_t_defined
19295 typedef u_int8_t uint8_t;
19302 #ifndef __uint16_t_defined
19303 #define __uint16_t_defined
19305 typedef u_int16_t uint16_t;
19312 #ifndef __uint32_t_defined
19313 #define __uint32_t_defined
19315 typedef u_int32_t uint32_t;
19321 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19323 /* Some systems have guard macros to prevent redefinitions, define them. */
19345 # ------------- done basic int types, emit int64_t types ------------
19346 if test "$ac_cv_type_uint64_t" = yes; then
19347 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19349 /* system headers have good uint64_t and int64_t */
19357 elif test "$ac_cv_type_u_int64_t" = yes; then
19358 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19360 /* system headers have an u_int64_t (and int64_t) */
19366 #ifndef __uint64_t_defined
19367 #define __uint64_t_defined
19369 typedef u_int64_t uint64_t;
19374 elif test -n "$acx_cv_type_int64_t"; then
19375 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19377 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19381 typedef $acx_cv_type_int64_t int64_t;
19386 #ifndef __uint64_t_defined
19387 #define __uint64_t_defined
19389 typedef unsigned $acx_cv_type_int64_t uint64_t;
19395 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19397 /* some common heuristics for int64_t, using compiler-specific tests */
19398 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19401 #ifndef __int64_t_defined
19403 typedef long long int64_t;
19410 typedef unsigned long long uint64_t;
19414 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19415 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19416 does not implement __extension__. But that compiler doesn't define
19418 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19419 # define __extension__
19425 __extension__ typedef long long int64_t;
19431 __extension__ typedef unsigned long long uint64_t;
19435 #elif !defined __STRICT_ANSI__
19436 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19441 typedef __int64 int64_t;
19447 typedef unsigned __int64 uint64_t;
19450 # endif /* compiler */
19452 #endif /* ANSI version */
19456 # ------------- done int64_t types, emit intptr types ------------
19457 if test "$ac_cv_type_uintptr_t" != yes; then
19458 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19460 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19461 #ifndef __uintptr_t_defined
19463 typedef u$acx_cv_type_intptr_t uintptr_t;
19466 #ifndef __intptr_t_defined
19468 typedef $acx_cv_type_intptr_t intptr_t;
19474 # ------------- done intptr types, emit int_least types ------------
19475 if test "$ac_cv_type_int_least32_t" != yes; then
19476 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19478 /* Define int_least types */
19479 typedef int8_t int_least8_t;
19480 typedef int16_t int_least16_t;
19481 typedef int32_t int_least32_t;
19483 typedef int64_t int_least64_t;
19486 typedef uint8_t uint_least8_t;
19487 typedef uint16_t uint_least16_t;
19488 typedef uint32_t uint_least32_t;
19490 typedef uint64_t uint_least64_t;
19495 # ------------- done intptr types, emit int_fast types ------------
19496 if test "$ac_cv_type_int_fast32_t" != yes; then
19497 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19499 /* Define int_fast types. short is often slow */
19500 typedef int8_t int_fast8_t;
19501 typedef int int_fast16_t;
19502 typedef int32_t int_fast32_t;
19504 typedef int64_t int_fast64_t;
19507 typedef uint8_t uint_fast8_t;
19508 typedef unsigned int uint_fast16_t;
19509 typedef uint32_t uint_fast32_t;
19511 typedef uint64_t uint_fast64_t;
19516 if test "$ac_cv_type_uintmax_t" != yes; then
19517 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19519 /* Define intmax based on what we found */
19522 typedef int64_t intmax_t;
19524 typedef long intmax_t;
19529 typedef uint64_t uintmax_t;
19531 typedef unsigned long uintmax_t;
19537 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19539 #endif /* GCC_GENERATED_STDINT_H */
19542 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19545 mv -f tmp-stdint.h gstdint.h
19549 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
19550 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19552 sed -f vpsed$$
$ac_file > tmp$$
19555 echo 'MULTISUBDIR =' >> $ac_file
19557 .
${multi_basedir}/config-ml.
in
19558 { ml_norecursion
=; unset ml_norecursion
;}
19560 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
19561 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19563 sed -f vpsed$$
$ac_file > tmp$$
19566 echo 'MULTISUBDIR =' >> $ac_file
19568 .
${multi_basedir}/config-ml.
in
19569 { ml_norecursion
=; unset ml_norecursion
;}
19571 "libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
19572 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19574 sed -f vpsed$$
$ac_file > tmp$$
19577 echo 'MULTISUBDIR =' >> $ac_file
19579 .
${multi_basedir}/config-ml.
in
19580 { ml_norecursion
=; unset ml_norecursion
;}
19582 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19583 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19585 sed -f vpsed$$
$ac_file > tmp$$
19588 echo 'MULTISUBDIR =' >> $ac_file
19590 .
${multi_basedir}/config-ml.
in
19591 { ml_norecursion
=; unset ml_norecursion
;}
19593 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
19594 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19596 sed -f vpsed$$
$ac_file > tmp$$
19599 echo 'MULTISUBDIR =' >> $ac_file
19601 .
${multi_basedir}/config-ml.
in
19602 { ml_norecursion
=; unset ml_norecursion
;}
19604 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19605 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19607 sed -f vpsed$$
$ac_file > tmp$$
19610 echo 'MULTISUBDIR =' >> $ac_file
19612 .
${multi_basedir}/config-ml.
in
19613 { ml_norecursion
=; unset ml_norecursion
;}
19615 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
19616 s
!`test -f '$<' || echo '$(srcdir)/'`!!
19618 sed -f vpsed$$
$ac_file > tmp$$
19621 echo 'MULTISUBDIR =' >> $ac_file
19623 .
${multi_basedir}/config-ml.
in
19624 { ml_norecursion
=; unset ml_norecursion
;}
19633 ac_clean_files
=$ac_clean_files_save
19635 test $ac_write_fail = 0 ||
19636 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19639 # configure is writing to config.log, and then calls config.status.
19640 # config.status does its own redirection, appending to config.log.
19641 # Unfortunately, on DOS this fails, as config.log is still kept open
19642 # by configure, so config.status won't be able to write to it; its
19643 # output is simply discarded. So we exec the FD to /dev/null,
19644 # effectively closing config.log, so it can be properly (re)opened and
19645 # appended to by config.status. When coming back to configure, we
19646 # need to make the FD available again.
19647 if test "$no_create" != yes; then
19649 ac_config_status_args
=
19650 test "$silent" = yes &&
19651 ac_config_status_args
="$ac_config_status_args --quiet"
19653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19656 # would make configure fail if this is the last instruction.
19657 $ac_cs_success || as_fn_exit $?
19659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}